Skip to content

Commit ce244cc

Browse files
committed
chore: configure SpotBugs plugin find-sec-bugs
1 parent bfb27ee commit ce244cc

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,11 @@
127127
<artifactId>fb-contrib</artifactId>
128128
<version>7.6.4</version>
129129
</plugin>
130+
<plugin>
131+
<groupId>com.h3xstream.findsecbugs</groupId>
132+
<artifactId>findsecbugs-plugin</artifactId>
133+
<version>1.13.0</version>
134+
</plugin>
130135
</plugins>
131136
</configuration>
132137
</plugin>

spotbugs-exclude.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,4 +282,14 @@
282282
<Match>
283283
<Bug pattern="SPP_TOSTRING_ON_STRING" />
284284
</Match>
285+
<!-- find-sec-bugs -->
286+
<Match>
287+
<Bug pattern="PREDICTABLE_RANDOM" />
288+
</Match>
289+
<Match>
290+
<Bug pattern="HARD_CODE_KEY" />
291+
</Match>
292+
<Match>
293+
<Bug pattern="PATH_TRAVERSAL_IN" />
294+
</Match>
285295
</FindBugsFilter>

0 commit comments

Comments
 (0)