summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErnst Widerberg <ernst@sunet.se>2022-04-11 16:27:22 +0200
committerErnst Widerberg <ernst@sunet.se>2022-04-11 16:27:22 +0200
commite28a618db0505d8ba6fdd64a1bb5cddb170090f8 (patch)
treebabd73931321dd5521de33e7e7b0a7d98407e75c
parent014d0ed1370139ceb4614ba30e71c5b0d7829870 (diff)
Rename top-level property "system_name" -> "display_name"
-rw-r--r--example_data_1.json2
-rw-r--r--example_data_2.json2
-rw-r--r--src/schema.py4
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",