Skip to content

Commit

Permalink
make json schema use consistent casing
Browse files Browse the repository at this point in the history
Signed-off-by: Weston Steimel <[email protected]>
  • Loading branch information
westonsteimel committed May 15, 2024
1 parent 58d8c92 commit ffb9303
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
6 changes: 3 additions & 3 deletions data/anchore/2014/CVE-2014-125110.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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:*:*"
],
Expand Down
9 changes: 3 additions & 6 deletions schema/enrichment_record.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand All @@ -50,7 +47,7 @@
},
"required": [
"reason",
"cve_id"
"cveId"
],
"additionalProperties": true
}
Expand Down

0 comments on commit ffb9303

Please sign in to comment.