ci(security): generate cyclonedx sbom, add sbom upload to ci and update stride security model
This commit is contained in:
@@ -79,6 +79,7 @@
|
||||
<spotbugs-maven-plugin.version>4.10.4.1</spotbugs-maven-plugin.version>
|
||||
<findsecbugs-plugin.version>1.14.0</findsecbugs-plugin.version>
|
||||
<javafx-maven-plugin.version>0.0.8</javafx-maven-plugin.version>
|
||||
<cyclonedx-maven-plugin.version>2.9.1</cyclonedx-maven-plugin.version>
|
||||
|
||||
<!-- Qualidade -->
|
||||
<spotbugs.skip>false</spotbugs.skip>
|
||||
@@ -315,6 +316,21 @@
|
||||
<artifactId>javafx-maven-plugin</artifactId>
|
||||
<version>${javafx-maven-plugin.version}</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.cyclonedx</groupId>
|
||||
<artifactId>cyclonedx-maven-plugin</artifactId>
|
||||
<version>${cyclonedx-maven-plugin.version}</version>
|
||||
<configuration>
|
||||
<projectType>application</projectType>
|
||||
<schemaVersion>1.6</schemaVersion>
|
||||
<includeBomSerialNumber>true</includeBomSerialNumber>
|
||||
<includeCompileScope>true</includeCompileScope>
|
||||
<includeProvidedScope>true</includeProvidedScope>
|
||||
<includeRuntimeScope>true</includeRuntimeScope>
|
||||
<includeSystemScope>false</includeSystemScope>
|
||||
<includeTestScope>false</includeTestScope>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
|
||||
@@ -377,6 +393,19 @@
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.cyclonedx</groupId>
|
||||
<artifactId>cyclonedx-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>cyclonedx-aggregate-bom</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>makeAggregateBom</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user