Skip to content

Commit 69f0c50

Browse files
author
Jonathan Evans
authored
Move CNA controlled metadata fields to the container level
1 parent 4442ce0 commit 69f0c50

1 file changed

Lines changed: 17 additions & 21 deletions

File tree

schema/v5.0/CVE_JSON_5.0.schema

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@
274274
"enum": ["5.0"]
275275
},
276276
"cveMetadataPublished": {
277-
"description": "This is meta data about the CVE ID such as the CVE ID, who requested it, who assigned it, when it was requested, when it was assigned, the current state (RESERVED, PUBLISHED, or REJECTED) and so on.",
277+
"description": "This is meta data about the CVE ID such as the CVE ID, who requested it, who assigned it, when it was requested, the current state (PUBLISHED, REJECTED, etc.) and so on. These fields are controlled by the CVE Services.",
278278
"type": "object",
279279
"required": [
280280
"id",
@@ -311,14 +311,6 @@
311311
"$ref": "#/definitions/timestamp",
312312
"description": "The date/time this CVE ID was reserved in the CVE automation workgroup services system. Disclaimer: This date reflects when the CVE ID was reserved, and does not necessarily indicate when this vulnerability was discovered, shared with the affected vendor, publicly disclosed, or updated in CVE."
313313
},
314-
"dateAssigned": {
315-
"$ref": "#/definitions/timestamp",
316-
"description": "The date/time this CVE ID was associated with a vulnerability by a CNA."
317-
},
318-
"datePublic": {
319-
"$ref": "#/definitions/timestamp",
320-
"description": "if known, the date/time the vulnerability was disclosed publicly."
321-
},
322314
"datePublished": {
323315
"$ref": "#/definitions/timestamp",
324316
"description": "The date/time the CVE record was first published in the CVE List."
@@ -327,19 +319,13 @@
327319
"description": "State of CVE - PUBLISHED, RESERVED, REJECTED",
328320
"type": "string",
329321
"enum": ["PUBLISHED"]
330-
},
331-
"title": {
332-
"type": "string",
333-
"description": "Short title - if the description is long we may want a short title to refer to",
334-
"minLength": 1,
335-
"maxLength": 128
336322
}
337323
},
338324
"additionalProperties": false
339325
},
340326
"cveMetadataReserved": {
341327
"type": "object",
342-
"description": "This is meta data about the CVE ID such as the CVE ID, who requested it, who assigned it, when it was requested, when it was assigned, the current state (PUBLISHED, REJECTED, etc.) and so on.",
328+
"description": "This is meta data about the CVE ID such as the CVE ID, who requested it, who assigned it, when it was requested, the current state (PUBLISHED, REJECTED, etc.) and so on. These fields are controlled by the CVE Services.",
343329
"required": [
344330
"id",
345331
"state"
@@ -362,10 +348,6 @@
362348
"description": "State of CVE - PUBLISHED, RESERVED, REJECTED",
363349
"enum": ["RESERVED"]
364350
},
365-
"datePublic": {
366-
"$ref": "#/definitions/datestamp",
367-
"description": "Anticipated date for public release (YYYY-MM-DD)."
368-
},
369351
"dateReserved": {
370352
"$ref": "#/definitions/timestamp",
371353
"description": "The date/time this CVE ID was reserved in the CVE automation workgroup services system. Disclaimer: This date reflects when the CVE ID was reserved, and does not necessarily indicate when this vulnerability was discovered, shared with the affected vendor, publicly disclosed, or updated in CVE."
@@ -375,7 +357,7 @@
375357
},
376358
"cveMetadataRejected": {
377359
"type": "object",
378-
"description": "This is meta data about the CVE ID such as the CVE ID, who requested it, who assigned it, when it was requested, when it was assigned, the current state (RESERVED, PUBLISHED, or REJECTED) and so on.",
360+
"description": "This is meta data about the CVE ID such as the CVE ID, who requested it, who assigned it, when it was requested, the current state (PUBLISHED, REJECTED, etc.) and so on. These fields are controlled by the CVE Services.",
379361
"required": [
380362
"id",
381363
"assigner",
@@ -431,6 +413,20 @@
431413
"updated": {
432414
"$ref": "#/definitions/timestamp",
433415
"description": "Timestamp to be set by the system of record at time of submission. If updated is provided to the system of record it will be replaced by the current timestamp at the time of submission. If a provider has multiple contributions, they shall be consolidated to a final single contribution before submission, or the system of record will reject the input with, Rejected \u2013 simultaneous contributions by a single provider."
416+
},
417+
"dateAssigned": {
418+
"$ref": "#/definitions/timestamp",
419+
"description": "The date/time this CVE ID was associated with a vulnerability by a CNA."
420+
},
421+
"datePublic": {
422+
"$ref": "#/definitions/timestamp",
423+
"description": "if known, the date/time the vulnerability was disclosed publicly."
424+
},
425+
"title": {
426+
"type": "string",
427+
"description": "Short title - if the description is long we may want a short title to refer to",
428+
"minLength": 1,
429+
"maxLength": 128
434430
}
435431
},
436432
"required": ["id"]

0 commit comments

Comments
 (0)