From e28a618db0505d8ba6fdd64a1bb5cddb170090f8 Mon Sep 17 00:00:00 2001 From: Ernst Widerberg Date: Mon, 11 Apr 2022 16:27:22 +0200 Subject: Rename top-level property "system_name" -> "display_name" --- example_data_1.json | 2 +- example_data_2.json | 2 +- src/schema.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/example_data_1.json b/example_data_1.json index 3b64472..51d6a95 100644 --- a/example_data_1.json +++ b/example_data_1.json @@ -9,7 +9,7 @@ "abuse_mail": "abuse@test.soc.sunet.se", "domain": "sunet.se", "timestamp_in_utc": "2021-06-21T14:06 UTC", - "system_name": "Apache 2.1.3", + "display_name": "Apache 2.1.3", "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": { diff --git a/example_data_2.json b/example_data_2.json index ad35fcd..90e3f0a 100644 --- a/example_data_2.json +++ b/example_data_2.json @@ -9,7 +9,7 @@ "abuse_mail": "abuse@test.soc.sunet.se", "domain": "sunet.se", "timestamp_in_utc": "2021-06-30T10:00 UTC", - "system_name": "VMware ESXi 6.7.0 build-17700523", + "display_name": "VMware ESXi 6.7.0 build-17700523", "description": "VMware ESXi is an enterprise-class, type-1 hypervisor developed by VMware for deploying and serving virtual computers. As a type-1 hypervisor, ESXi is not a software application that is installed on an operating system; instead, it includes and integrates vital OS components, such as a kernel.", "custom_data": { "subject_cn": { diff --git a/src/schema.py b/src/schema.py index 7e106d1..29df4f3 100644 --- a/src/schema.py +++ b/src/schema.py @@ -20,7 +20,7 @@ schema = { "abuse_mail": {"type": "string"}, "domain": {"type": "string"}, "timestamp_in_utc": {"type": "string"}, - "system_name": {"type": "string"}, + "display_name": {"type": "string"}, "description": {"type": "string"}, "custom_data": { "type": "object", @@ -72,7 +72,7 @@ schema = { "abuse_mail", "domain", "timestamp_in_utc", - "system_name", + "display_name", # "description", # "custom_data", "result", -- cgit v1.1