retirejs

package
v0.0.0-...-854c770 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2015 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SeverityMap = map[string]issue.Severity{
	"low":    issue.SeverityLow,
	"medium": issue.SeverityMedium,
	"high":   issue.SeverityHigh,
}

Functions

This section is empty.

Types

type Identifiers

type Identifiers struct {
	Summary MultiLine `json:"summary"`
	Bug     string    `json:"bug"`
	Release string    `json:"release"`
	Commit  string    `json:"commit"`
}

type MultiLine

type MultiLine []string

func (MultiLine) String

func (m MultiLine) String() string

func (*MultiLine) UnmarshalJSON

func (m *MultiLine) UnmarshalJSON(data []byte) error

type RetireJs

type RetireJs struct{}

func New

func New() *RetireJs

func (*RetireJs) Handle

func (s *RetireJs) Handle(ctx context.Context, client script.ClientV1, conf *plan.Conf) error

type RetireJsItem

type RetireJsItem struct {
	Component       string           `json:"component"`
	Version         string           `json:"version"`
	Vulnerabilities []*Vulnerability `json:"vulnerabilities,omitempty"`
}

type Vulnerability

type Vulnerability struct {
	Severity    string       `json:"serverity"`
	Info        []string     `json:"info"`
	Identifiers *Identifiers `json:"identifiers"`
}

Jump to

Keyboard shortcuts

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