policy

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reason

type Reason string

Reason defines violation reason type

type Violation

type Violation interface {
	Type() ViolationType
	Reason() Reason
	Details() interface{}
}

Violation represents a Policy Violation.

type ViolationType

type ViolationType int

ViolationType defines type of the violation

const (
	UnqualifiedImageViolation ViolationType = iota
	FixUnavailableViolation
	SeverityViolation
)

A list of security policy violations TODO: Add Attestation checking violations

Jump to

Keyboard shortcuts

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