remediation

package
v4.13.1 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDockerfilePinningRemediation added in v4.5.0

func CreateDockerfilePinningRemediation(dep *checker.Dependency, digester Digester) *rule.Remediation

CreateDockerfilePinningRemediation create remediaiton for pinning Dockerfile images.

Types

type CraneDigester added in v4.10.3

type CraneDigester struct{}

func (CraneDigester) Digest added in v4.10.3

func (c CraneDigester) Digest(name string) (string, error)

type Digester added in v4.10.3

type Digester interface{ Digest(string) (string, error) }

type RemediationMetadata added in v4.6.0

type RemediationMetadata struct {
	Branch string
	Repo   string
}

TODO fix how this info makes it checks/evaluation.

func New added in v4.6.0

New returns remediation relevant metadata from a CheckRequest.

func (*RemediationMetadata) CreateWorkflowPinningRemediation added in v4.6.0

func (r *RemediationMetadata) CreateWorkflowPinningRemediation(filepath string) *rule.Remediation

CreateWorkflowPinningRemediation create remediaiton for pinninn GH Actions.

Jump to

Keyboard shortcuts

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