From ffb93031545082042887178a1247aa765b3e2e9a Mon Sep 17 00:00:00 2001 From: Weston Steimel Date: Wed, 15 May 2024 11:09:32 +0100 Subject: [PATCH] make json schema use consistent casing Signed-off-by: Weston Steimel --- data/anchore/2014/CVE-2014-125110.json | 6 +++--- schema/enrichment_record.schema.json | 9 +++------ 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/data/anchore/2014/CVE-2014-125110.json b/data/anchore/2014/CVE-2014-125110.json index 48b021e9..2b9c19da 100644 --- a/data/anchore/2014/CVE-2014-125110.json +++ b/data/anchore/2014/CVE-2014-125110.json @@ -1,8 +1,8 @@ { "additionalMetadata": { - "cve_id": "CVE-2014-125110", + "cveId": "CVE-2014-125110", "reason": "Added CPE configurations because not yet analyzed by NVD.", - "triage_notes": { + "triageNotes": { "references": [ "https://vuldb.com/?ctiid.258781", "https://github.com/wp-plugins/wp-file-upload/releases/tag/2.4.4", @@ -21,7 +21,7 @@ { "collectionURL": "https://wordpress.org/plugins", "packageName": "wp-file-upload", - "repo": "https://plugins.svn.wordpress.org/wp-file-upload/", + "repo": "https://plugins.svn.wordpress.org/wp-file-upload", "cpes": [ "cpe:2.3:a:iptanus:wordpress_file_upload:*:*:*:*:*:wordpress:*:*" ], diff --git a/schema/enrichment_record.schema.json b/schema/enrichment_record.schema.json index ef9252dd..81c9cecf 100644 --- a/schema/enrichment_record.schema.json +++ b/schema/enrichment_record.schema.json @@ -20,16 +20,13 @@ "description": "A place to capture additional metadata which is not part of the CVE5 adp json spec but is useful for triage, etc", "type": "object", "properties": { - "cve_id": { + "cveId": { "type": "string" }, "reason": { "type": "string" }, - "snapshot": { - "type": "string" - }, - "triage_notes": { + "triageNotes": { "type": "object", "additionalProperties": true, "properties": { @@ -50,7 +47,7 @@ }, "required": [ "reason", - "cve_id" + "cveId" ], "additionalProperties": true }