Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Weakness ¶
type Weakness struct { ID string `xml:"ID,attr"` Name string `xml:"Name,attr"` Description string `xml:"Description"` ExtendedDescription string `xml:"Extended_Description"` }
Weakness has CWE weakness item
type WeaknessCatalog ¶
type WeaknessCatalog struct {
Weaknesses []Weakness `xml:"Weaknesses>Weakness"`
}
WeaknessCatalog has cwe items http://cwe.mitre.org/data/index.html
func FetchCWE ¶
func FetchCWE(httpProxy string) (cwes WeaknessCatalog, err error)
FetchCWE fetches CWE archive
Click to show internal directories.
Click to hide internal directories.