summaryrefslogtreecommitdiff
path: root/example_data_1.json
diff options
context:
space:
mode:
authorErnst Widerberg <ernst@sunet.se>2022-04-11 15:36:24 +0200
committerErnst Widerberg <ernst@sunet.se>2022-04-11 15:36:24 +0200
commite81061b11637a1918a0c938022357e5858c9eed1 (patch)
treeda5e481b5188ac1edb868ca2954a8a4064d80159 /example_data_1.json
parent3d24518dd254d54c7be8bb56e66ce1242630af18 (diff)
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
Diffstat (limited to 'example_data_1.json')
-rw-r--r--example_data_1.json34
1 files changed, 19 insertions, 15 deletions
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": {