CWE
CWE categories
This API endpoint returns a given set of CWE categories by identifier. Multiple identifiers are separated by a comma. If keyword "all" is given, all CWE categories are returned.
get/cwe/category/{id(s)}
Path parameters
id(s)string required
CWE Category ID(s) - comma separated
Response
success
Example response
{
"Categories": [
{
"Name": "Category Name",
"Status": "Draft",
"Summary": "A brief summary of the category",
"Taxonomy_Mappings": [
{
"TaxonomyName": "OWASP Top Ten",
"EntryID": "A1",
"EntryName": "Cross Site Scription (XSS)",
"MappingFit": "Exact"
}
],
"Relationships": [
{
"CWE_ID": "123",
"View_ID": "321"
}
],
"References": [
{
"ExternalReferenceID": "REF-2",
"Section": "Chapter 11, Page 384",
"Authors": [
"John Doe",
"Jane Doe"
],
"Title": "An Analysis of All That is Wrong With Software Development",
"Edition": "2nd Edition",
"PublicationYear": "2000",
"PublicationMonth": "01",
"PublicationDay": "01",
"Publisher": "Perfect Publishing",
"URL": "https://example.com",
"URLDate": "2021-10-24"
}
],
"Notes": [
{
"Type": "Relationship",
"Note": "A note on the relationship"
}
],
"Content_History": [
{
"Type": "Submission",
"SubmissionName": "PLOVER",
"SubmissionDate": "2006-07-19"
},
{
"Type": "Modification",
"ModificationName": "John Doe",
"ModificationOrganization": "ACME Corp",
"ModificationDate": "2008-07-01",
"ModificationComment": "Updated Description"
},
{
"Type": "Rename",
"PreviousEntryName": "Old name",
"Date": "2000-01-04"
}
]
}
]
}