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
Once we support a "distribution mode" (for a lack of better terms; see #20 (comment) - variant 1), we need to express for which build constraints the SBOM has been generated.
Constraints could be included via properties of the main component, e.g.
Because build constraints will be controlled via environment variables, the easiest way to tackle this is by calling go env -json and filtering out values we don't care about.
Once we support a "distribution mode" (for a lack of better terms; see #20 (comment) - variant 1), we need to express for which build constraints the SBOM has been generated.
Constraints could be included via properties of the main component, e.g.
Or, alternatively:
This requires
cyclonedx-go
to support v1.3 of the spec (CycloneDX/cyclonedx-go#1).Additionally, these constraints could be added to the main component's PURL as well, via qualifiers:
The text was updated successfully, but these errors were encountered: