From e81061b11637a1918a0c938022357e5858c9eed1 Mon Sep 17 00:00:00 2001 From: Ernst Widerberg Date: Mon, 11 Apr 2022 15:36:24 +0200 Subject: Edit JSON format - "result" changed from array to object - optional "description" key added on result objects - "reliability" key added on result objects, mandatory on positive results --- example_data_1.json | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) (limited to 'example_data_1.json') diff --git a/example_data_1.json b/example_data_1.json index 96aee14..98a5edf 100644 --- a/example_data_1.json +++ b/example_data_1.json @@ -10,28 +10,32 @@ "domain": "sunet.se", "timestamp_in_utc": "2021-06-21T14:06 UTC", "system_name": "Apache 2.1.3", - "result": [ - { - "cve": "CVE-2015-0049", - "vulnerable": false + "result": { + "cve_2015_0049": { + "display_name": "CVE-2015-0049", + "vulnerable": false, + "description": "Allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption)." }, - { - "cve": "CVE-2015-0050", + "cve_2015_0050": { + "display_name": "CVE-2015-0050", "vulnerable": false }, - { - "cve": "CVE-2015-0060", - "vulnerable": true + "cve_2015_0060": { + "display_name": "CVE-2015-0060", + "vulnerable": true, + "reliability": 2 }, - { - "cve": "CVE-2015-0063", + "cve_2015_0063": { + "display_name": "CVE-2015-0063", "vulnerable": false }, - { - "cve": "CVE-2015-0064", - "vulnerable": true + "insecure_cryptography": { + "display_name": "Insecure cryptography", + "vulnerable": true, + "reliability": 5, + "description": "Uses RSA instead of elliptic curve." } - ], + }, "description": "The Apache HTTP Server is a free and open-source cross-platform web server software, released under the terms of Apache License 2.0.", "custom_data": { "subject_cn": { -- cgit v1.1