Documentation ¶
Index ¶
Constants ¶
View Source
const ( Low = "low" Medium = "medium" High = "high" Critical = "critical" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v0.4.2
type Config struct { URL string `json:"url" yaml:"url"` Source string `json:"source" yaml:"source"` Key string `json:"key" yaml:"key"` Ecosystems []string `json:"ecosystems" yaml:"ecosystems"` }
Config is the structure accepted to configure all matchers.
type Factory ¶ added in v0.3.2
type Factory struct {
// contains filtered or unexported fields
}
Factory contains the configuration to connect to the CRDA remote matcher.
type VulnReport ¶
type VulnReport struct { Name string `json:"name"` Version string `json:"version"` Vulnerabilities []Vulnerability `json:"vulnerabilities"` }
type VulnRequest ¶ added in v0.4.1
type Vulnerability ¶
type Vulnerability struct { ID string `json:"id"` Severity string `json:"severity"` Title string `json:"title"` URL string `json:"url"` FixedIn []string `json:"fixed_in"` }
Build struct to model CRDA V2 ComponentAnalysis response which delivers Snyk sourced Vulnerability information.
Click to show internal directories.
Click to hide internal directories.