build: generate and attach CycloneDX SBOM

This commit is contained in:
Stefan Kalscheuer 2024-06-29 10:30:25 +02:00
parent 5f1f94f59c
commit 1a18e6b73b
Signed by: stefan
GPG Key ID: 3887EC2A53B55430
2 changed files with 26 additions and 0 deletions

View File

@ -11,6 +11,7 @@
* Add `mount_type` attribute to common response model * Add `mount_type` attribute to common response model
* Add `auth` attribute to common response model * Add `auth` attribute to common response model
* Add `custom_metadata`, `cas_required` and `delete_version_after` fields for KVv2 metadata * Add `custom_metadata`, `cas_required` and `delete_version_after` fields for KVv2 metadata
* Generate and attach CycloneDX SBOM
### Fix ### Fix
* Rename `enable_local_secret_id` to `local_secret_ids` in `AppRole` model * Rename `enable_local_secret_id` to `local_secret_ids` in `AppRole` model

25
pom.xml
View File

@ -179,6 +179,11 @@
</argLine> </argLine>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
<version>2.8.0</version>
</plugin>
<plugin> <plugin>
<groupId>org.jacoco</groupId> <groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId> <artifactId>jacoco-maven-plugin</artifactId>
@ -244,6 +249,26 @@
</build> </build>
</profile> </profile>
<profile>
<id>sbom</id>
<build>
<plugins>
<plugin>
<groupId>org.cyclonedx</groupId>
<artifactId>cyclonedx-maven-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>makeBom</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile> <profile>
<id>sign</id> <id>sign</id>
<build> <build>