Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SBOM] Capture all tools with their version / digest that are downloaded during a build #3535

Closed
netomi opened this issue Nov 14, 2023 · 3 comments
Assignees
Labels
enhancement Issues that enhance the code or documentation of the repo in any way

Comments

@netomi
Copy link
Contributor

netomi commented Nov 14, 2023

The sbom should capture all external tools with their version / digests that are downloaded during the build. This mainly concerns the cyclonedx tools / dependencies.

Ideally, in the long run, there should not be a need to download these tools externally for each build, but they could be hosted in a tool repository that is checked out using a defined commit during the build to avoid relying on external services as much as possible.

@netomi netomi added the enhancement Issues that enhance the code or documentation of the repo in any way label Nov 14, 2023
@sxa
Copy link
Member

sxa commented Nov 16, 2023

Noting that CycloneDX is pulled from the build.getDependency job:

srcurl="https://ci.adoptium.net/view/all/job/build.getDependency/lastSuccessfulBuild/artifact/sbom_dependencies/cyclonedx-core-java.jar"

While the checksums are stored in the ant build file, we can generate those for the artifacts on the file system at SBoM creation time and incorporate those.

@sxa
Copy link
Member

sxa commented Dec 5, 2023

PR for the CycloneDX now merged, build.getDependencies re-run to pick up the new version, so #3538 can proceed

@sxa sxa self-assigned this Dec 5, 2023
@sxa
Copy link
Member

sxa commented Dec 14, 2023

CycloneDX SHAs are in the SBoM so this is complete as far as I'm aware. Closing.

@sxa sxa closed this as completed Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issues that enhance the code or documentation of the repo in any way
Projects
No open projects
Status: Done
Development

No branches or pull requests

2 participants