attestation

package
v0.0.0-...-3c7fb79 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetImagesByTag

func GetImagesByTag(ctx context.Context, parent string, tag string) ([]string, error)

func GetRepositories

func GetRepositories(ctx context.Context, parent string) ([]string, error)

func GetRevisions

func GetRevisions(ctx context.Context, service *crpb.Service) ([]*crpb.Revision, error)

func GetServices

func GetServices(ctx context.Context, parent string) ([]*crpb.Service, error)

func Import

func Import(ctx context.Context, options types.Options) error

Import imports attestation metadata from a source.

Types

type RunRevision

type RunRevision struct {
	ServiceName  string
	RevisionName string
	ArtifactURI  string
	Match        bool
}

func GetRunRevisions

func GetRunRevisions(ctx context.Context, options types.Options) ([]RunRevision, error)

type Vulnerability

type Vulnerability struct {
	Cve         string
	Severity    string
	Cvss        float32
	ArtifactURI string
}

func GetAAVulnerabilities

func GetAAVulnerabilities(ctx context.Context, parent string, filter string) ([]Vulnerability, error)

func GetVulnerabilities

func GetVulnerabilities(ctx context.Context, options types.Options) ([]Vulnerability, error)

Jump to

Keyboard shortcuts

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