inspector

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateInspectorClient

func CreateInspectorClient(cfg aws.Config) *inspector2.Client

func ListInspectorFindingsByImageID

func ListInspectorFindingsByImageID(client *inspector2.Client, results []types.Finding, imageID string) []types.Finding

func ListInspectorFindingsByRepoImage

func ListInspectorFindingsByRepoImage(client *inspector2.Client, results []types.Finding, repoName string, imageTag string) []types.Finding

func ListInspectorFindingsEcr

func ListInspectorFindingsEcr(client *inspector2.Client, results []types.Finding, scanType *string, ecrImageRegistry *string) []types.Finding

func RenderInspectorOutput

func RenderInspectorOutput(ecrRepos []ecr.ECRRepo, results []types.Finding, output *string, format *string, repoTag *string, cfg aws.Config, m *metrics.Metrics)

Types

type VulpineFinding

type VulpineFinding struct {
	Title          string
	Severity       types.Severity
	FixAvailable   types.FixAvailable
	Remediation    string
	PackageManager types.PackageManager
	RepositoryName string
	ImageTag       string
}

type VulpineFindingsCounts

type VulpineFindingsCounts struct {
	CriticalCount      float64
	HighCount          float64
	MediumCount        float64
	LowCount           float64
	InformationalCount float64
}

Jump to

Keyboard shortcuts

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