adoroszlai opened a new pull request, #6785:
URL: https://github.com/apache/ozone/pull/6785

   ## What changes were proposed in this pull request?
   
   Create and publish Software Bill of Materials (SBOM) for Ozone.
   
   
https://cwiki.apache.org/confluence/display/SECURITY/Software+Bill+of+Materials+SBOM
   
   SBOM is created using `cyclonedx-maven-plugin` at build time, when using 
`dist` profile.
   
   Both aggregate and module-level BOM is created.  Aggregate SBOM is included 
in the binary tarball, submodule BOMs are attached to JARs published to Maven 
repo.
   
   https://issues.apache.org/jira/browse/HDDS-10986
   
   ## How was this patch tested?
   
   ```
   $ mvn -DskipShade -DskipTests -Pdist clean install
   ...
   
   $ ls -1hs hadoop-ozone/dist/target/ozone-1.5.0-SNAPSHOT/bom*
   640K hadoop-ozone/dist/target/ozone-1.5.0-SNAPSHOT/bom.json
   572K hadoop-ozone/dist/target/ozone-1.5.0-SNAPSHOT/bom.xml
   ...
   
   $ ls 
~/.m2/repository/org/apache/ozone/hdds-config/1.5.0-SNAPSHOT/*cyclonedx.*
   
~/.m2/repository/org/apache/ozone/hdds-config/1.5.0-SNAPSHOT/hdds-config-1.5.0-SNAPSHOT-cyclonedx.json
   
~/.m2/repository/org/apache/ozone/hdds-config/1.5.0-SNAPSHOT/hdds-config-1.5.0-SNAPSHOT-cyclonedx.xml
   ```
   
   CI:
   https://github.com/adoroszlai/ozone/actions/runs/9417663961


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to