verify

package
v1.1.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2026 License: MIT Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL