sbom

package
v1.15.33 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package sbom defines the sbom actions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseOriginalReference

func ParseOriginalReference(reference string) (string, string, error)

ParseOriginalReference splits a string reference into a repository and a tag or digest reference.

Types

type Action

type Action struct {
	*actions.DataTool
}

Action represents a general security action.

type FetchSBOM

type FetchSBOM struct {
	*Action
	SourceImage             string
	GatherArtifactReference string
	Output                  string
	Platforms               []string
}

FetchSBOM represents the scan action.

func (*FetchSBOM) Run

func (action *FetchSBOM) Run(ctx context.Context) error

Run executes the sbom fetch command.

type List

type List struct {
	*Action
	GatherArtifactReference string
	SourceImage             string
	Platforms               []string
}

List represents the sbom list action.

func (*List) Run

func (action *List) Run(ctx context.Context) error

Run executes the sbom list command.

Jump to

Keyboard shortcuts

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