Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Acronym is the acronym of CWE Acronym = "CWE" // Version the CWE version Version = "4.4" // ReleaseDateUtc the release Date of CWE Version ReleaseDateUtc = "2021-03-15" // Organization MITRE Organization = "MITRE" // Description the description of CWE Description = "The MITRE Common Weakness Enumeration" // InformationURI link to the published CWE PDF InformationURI = "https://cwe.mitre.org/data/published/cwe_v" + Version + ".pdf/" // DownloadURI link to the zipped XML of the CWE list DownloadURI = "https://cwe.mitre.org/data/xml/cwec_v" + Version + ".xml.zip" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Weakness ¶
Weakness defines a CWE weakness based on http://cwe.mitre.org/data/xsd/cwe_schema_v6.4.xsd
func (*Weakness) MarshalJSON ¶
MarshalJSON print only id and URL
Click to show internal directories.
Click to hide internal directories.