automation

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Rule

type Rule struct {
	RuleDescription string         `json:"ruleDescription"`
	RuleActions     []string       `json:"ruleActions"`
	RuleLink        string         `json:"ruleLink"`
	HasCves         bool           `json:"hasCves"`
	Triggered       bool           `json:"triggered"`
	TriggerEvents   []TriggerEvent `json:"triggerEvents"`
}

func (*Rule) FailPipeline

func (rule *Rule) FailPipeline() bool

func (*Rule) Print

func (rule *Rule) Print(mirror io.Writer)

type TriggerEvent

type TriggerEvent struct {
	Dependency     string   `json:"dependency"`
	DependencyLink string   `json:"dependencyLink"`
	Licenses       []string `json:"licenses"`
	Cve            string   `json:"cve"`
	Cvss2          float32  `json:"cvss2"`
	Cvss3          float32  `json:"cvss3"`
	CveLink        string   `json:"cveLink"`
}

Jump to

Keyboard shortcuts

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