chore: configure SpotBugs plugin find-sec-bugs (#5144)

This commit is contained in:
Piotr Idzik
2024-05-07 20:29:11 +02:00
committed by GitHub
parent ff5267d393
commit 030bb91d05
2 changed files with 15 additions and 0 deletions

View File

@ -127,6 +127,11 @@
<artifactId>fb-contrib</artifactId> <artifactId>fb-contrib</artifactId>
<version>7.6.4</version> <version>7.6.4</version>
</plugin> </plugin>
<plugin>
<groupId>com.h3xstream.findsecbugs</groupId>
<artifactId>findsecbugs-plugin</artifactId>
<version>1.13.0</version>
</plugin>
</plugins> </plugins>
</configuration> </configuration>
</plugin> </plugin>

View File

@ -282,4 +282,14 @@
<Match> <Match>
<Bug pattern="SPP_TOSTRING_ON_STRING" /> <Bug pattern="SPP_TOSTRING_ON_STRING" />
</Match> </Match>
<!-- find-sec-bugs -->
<Match>
<Bug pattern="PREDICTABLE_RANDOM" />
</Match>
<Match>
<Bug pattern="HARD_CODE_KEY" />
</Match>
<Match>
<Bug pattern="PATH_TRAVERSAL_IN" />
</Match>
</FindBugsFilter> </FindBugsFilter>