CWE
The parent of a specified weakness, sampling by the view
get/cwe/{id}/parents
Path parameters
idstring required
CWE ID
Query parameters
viewstring
The View_ID field specifies which view to follow in the Has_Member entries and ChildOf relationships to determine the direct parent(s). If there are no parents, the response will be empty. If no view is provided, the parents in all views will be returned
Response
success
Example response
[
{
"Type": "base_weakness",
"ID": "91",
"ViewID": "1003"
}
]