Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Vuln ¶
type Vuln struct { Id int `json:"id"` Title string `json:"title"` Description MultiLine `json:"description"` Severity string `json:"severity"` Tags []string `json:"tags,omitempty"` References []Reference `json:"references"` Wasc []string `json:"wasc,omitempty"` Cwe []string `json:"cwe,omitempty"` OwaspTop10 map[string][]int `json:"owasp_top_10,omitempty"` Fix VulnFix `json:"fix"` // filename is taken from file name Filename string }
type VulnList ¶
type VulnList []*Vuln
func LoadFromDir ¶
get all vulnerabilities from the vulndb directory
func (VulnList) FilterBySeverity ¶
Get all vulnerabilites filtered by severity
func (VulnList) FilterByTag ¶
Get all vulnerabilites filtered by tag
Click to show internal directories.
Click to hide internal directories.