We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
What would you like to be added:
I would like to be able to store a container's labels/annotations inside a syft generated SBOM.
For example, the image mongo:4.4 contains these labels/annotations which are set by its base image ubuntu:focal
mongo:4.4
ubuntu:focal
$ docker inspect mongo:4.4 | jq ".[0].Config.Labels" { "org.opencontainers.image.ref.name": "ubuntu", "org.opencontainers.image.version": "20.04" }
which could be stored inside a CycloneDX SBOM in the properties field like
"properties": [ { "name": "syft:image:annotation:org.opencontainers.image.ref.name", "value": "ubuntu" }, { "name": "syft:image:annotation:org.opencontainers.image.version", "value": "20.04" } ... ]
Why is this needed:
It would be nice to see what base image a container is using, as well as other metadata. This solves #1199.
The text was updated successfully, but these errors were encountered:
This is a great addition. Thanks @noqcks!
Sorry, something went wrong.
👊 thanks @captn3m0!
Thanks @captn3m0 any idea if we can have labels in spdx too
wagoodman
Successfully merging a pull request may close this issue.
What would you like to be added:
I would like to be able to store a container's labels/annotations inside a syft generated SBOM.
For example, the image
mongo:4.4
contains these labels/annotations which are set by its base imageubuntu:focal
which could be stored inside a CycloneDX SBOM in the properties field like
Why is this needed:
It would be nice to see what base image a container is using, as well as other metadata. This solves #1199.
The text was updated successfully, but these errors were encountered: