Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func VerifySBOM ¶
func VerifySBOM(ctx context.Context, pluginName, version string, opts SBOMCheckOptions) error
VerifySBOM downloads and validates the SBOM for a plugin release. Returns nil if SBOM is valid or check is skipped. Returns error if SBOM is missing (non-404), malformed, or fails schema validation.
Types ¶
type SBOMCheckOptions ¶
type SBOMCheckOptions struct {
SkipCheck bool // --skip-sbom-check flag (air-gapped installs only)
Version string // plugin version to verify
}
SBOMCheckOptions controls SBOM verification behavior.
Click to show internal directories.
Click to hide internal directories.