chg: [vulnerability] vulnerability is is now a vulnerability type

The vulnerability type is an official CVE number.

We might need to add in the future a new attribute in the object
for non-CVE id of a vulnerability or adding other id type in the object.

This commit fixes #234
pull/281/head
Alexandre Dulaunoy 2020-08-28 11:23:10 +02:00
parent fbe850e6c4
commit 6b6c136b9c
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@
}, },
"id": { "id": {
"description": "Vulnerability ID (generally CVE, but not necessarely). The id is not required as the object itself has an UUID and the CVE id can be update or assigned later.", "description": "Vulnerability ID (generally CVE, but not necessarely). The id is not required as the object itself has an UUID and the CVE id can be update or assigned later.",
"misp-attribute": "text", "misp-attribute": "vulnerability",
"multiple": true, "multiple": true,
"ui-priority": 0 "ui-priority": 0
}, },
@ -94,5 +94,5 @@
"id" "id"
], ],
"uuid": "81650945-f186-437b-8945-9f31715d32da", "uuid": "81650945-f186-437b-8945-9f31715d32da",
"version": 6 "version": 7
} }