Skip to content

Commit

Permalink
Tune mvn dep check (#176)
Browse files Browse the repository at this point in the history
Ignore cvss scan in UI.frontend
  • Loading branch information
nhirrle authored Jan 2, 2024
1 parent 32b0ad1 commit 71245a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -457,8 +457,7 @@
<artifactId>dependency-check-maven</artifactId>
<version>8.3.1</version>
<configuration>
<failBuildOnCVSS>0</failBuildOnCVSS>
<failBuildOnAnyVulnerability>true</failBuildOnAnyVulnerability>
<failBuildOnCVSS>8</failBuildOnCVSS>
<skipProvidedScope>true</skipProvidedScope>
</configuration>
<executions>
Expand Down
3 changes: 3 additions & 0 deletions ui.frontend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<configuration>
<failBuildOnCVSS>11</failBuildOnCVSS>
</configuration>
</plugin>
</plugins>
</build>
Expand Down

0 comments on commit 71245a5

Please sign in to comment.