You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This buildpack should opt-in to allowing users to disable SBOM generation. In doing so, it should conform to RFC044.
When BP_DISABLE_SBOM is set to true, buildpacks that allow SBOM to be omitted from their output should refrain from generating or attaching an SBOM in their outputs. This would apply to both new (Syft, CycloneDX, and SPDX formats) and old (label) SBOM outputs.
Additionally, when this variable is set to true a buildpack should set an image label of io.paketo.sbom.disabled to true. This label interface would allow downstream consumers of the image to understand that SBOM generation had been explicitly disabled.
Possible Solution
Motivation
SBOM generation can take substantial time. There may also be other reasons for wanting this functionality to be disabled.
The text was updated successfully, but these errors were encountered:
SBOM generation can take substantial time. There may also be other reasons for wanting this functionality to be disabled.
Do you have an example of it actually taking a long time? My experience has been that syft can scan a Java app in a negligible/non-noticable amount of time. If you have an example application or something that can show this, it'll help with prioritization.
I'm also going to move this to paketo-buildpacks/java, as this would have to be implemented in a few different places.
Thanks
dmikusa
transferred this issue from paketo-buildpacks/bellsoft-liberica
Jun 15, 2023
Describe the Enhancement
This buildpack should opt-in to allowing users to disable SBOM generation. In doing so, it should conform to RFC044.
Possible Solution
Motivation
SBOM generation can take substantial time. There may also be other reasons for wanting this functionality to be disabled.
The text was updated successfully, but these errors were encountered: