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.
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.