Skip to content

Commit

Permalink
Generate SBOM and check for vulnerability during build (#246)
Browse files Browse the repository at this point in the history
* feat: generate CylconeDX SBOM as part of the build

* feat: check for vulnerabilities in dependencies during build
  • Loading branch information
mbarbero authored Oct 23, 2023
1 parent fcb0c72 commit bd76baf
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,31 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
<version>2.7.9</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>makeAggregateBom</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>8.4.0</version>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
Expand Down

0 comments on commit bd76baf

Please sign in to comment.