Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 538: Add CWE Object #558

Closed
wants to merge 9 commits into from
6 changes: 0 additions & 6 deletions objects/cve.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@
"cvss": {
"requirement": "recommended"
},
"cwe_uid": {
"requirement": "optional"
},
"cwe_url": {
"requirement": "optional"
},
"modified_time": {
"caption": "Record Modified Date",
"description": "The Record Modified Date identifies when the CVE record was last updated.",
Expand Down
18 changes: 18 additions & 0 deletions objects/cwe.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"caption": "CWE",
"description": "The CWE object represents a weakness in a software system that can be exploited by a threat actor to perform an attack. The CWE object is based on the <a target='_blank' href='https://cwe.mitre.org/'>Common Weakness Enumeration (CWE)</a> catalog.",
"extends": "object",
"name": "cwe",
"attributes": {
"uid": {
"caption": "CWE ID",
"description": "The Common Weakness Enumeration unique number assigned to a specific weakness. A CWE Identifier begins \"CWE\" followed by a sequence of digits that acts as a unique identifier. For example: <code>CWE-123</code>.",
"requirement": "required"
},
"cwe_url": {
"caption": "CWE URL",
"description": "The URL to the CWE entry in the <a target='_blank' href='https://cwe.mitre.org/'>Common Weakness Enumeration (CWE)</a> list.",
"requirement": "optional"
}
}
}
5 changes: 4 additions & 1 deletion objects/vulnerability.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
"extends": "object",
"attributes": {
"cve": {
"requirement": "required"
"requirement": "recommended"
},
"cwe": {
"requirement": "recommended"
},
"desc": {
"description": "The description of the vulnerability.",
Expand Down