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

Ingest tool data from metadata.tools and make it available in CEL policies #1058

Closed
nscuro opened this issue Feb 7, 2024 · 0 comments · Fixed by DependencyTrack/hyades-apiserver#588
Assignees
Labels
component/api-server domain/vuln-policy enhancement New feature or request p2 Non-critical bugs, and features that help organizations to identify and reduce risk size/M Medium effort

Comments

@nscuro
Copy link
Member

nscuro commented Feb 7, 2024

Users may wish to access information about the tooling that generated a BOM in their policies. CycloneDX BOMs include this info in the metadata.tools node. However, it is not currently ingested by Dependency-Track.

As per vanilla DT 4.10.0, metadata.supplier and metadata.manufacturer are already ingested:

These changes haven't been ported to Hyades yet (#983). We should do that before adding the tooling part, to ensure we're not deviating implementation-wise.

Warning

metadata.tools[] was deprecated in favor of metadata.tools.components[] and metadata.tools.services[] in CycloneDX 1.5. We need to ensure that we can handle both, and our internal data model should likely reflect the new representation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/api-server domain/vuln-policy enhancement New feature or request p2 Non-critical bugs, and features that help organizations to identify and reduce risk size/M Medium effort
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant