Skip to content

Commit e30b6fd

Browse files
committed
Fix order
1 parent 6913ae5 commit e30b6fd

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

intelmq/etc/harmonization.conf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,12 @@
233233
"description": "Some source may report URLs related to a an image generated of a resource without any metadata. Or an URL pointing to resource, which has been rendered into a webshot, e.g. a PNG image and the relevant metadata related to its retrieval/generation.",
234234
"type": "URL"
235235
},
236+
"severity": {
237+
"description": "Severity of the event, based on the information from the source, and eventually modified by IntelMQ during processing. Meaning of the levels may differ based on the event source.",
238+
"length": 10,
239+
"regex": "^(critical|high|medium|low|info|undefined)$",
240+
"type": "LowercaseString"
241+
},
236242
"source.abuse_contact": {
237243
"description": "Abuse contact for source address. A comma separated list.",
238244
"type": "LowercaseString"
@@ -362,12 +368,6 @@
362368
"tlp": {
363369
"description": "Traffic Light Protocol level of the event.",
364370
"type": "TLP"
365-
},
366-
"severity": {
367-
"description": "Severity of the event, based on the information from the source, and eventually modified by IntelMQ during processing. Meaning of the levels may differ based on the event source.",
368-
"type": "LowercaseString",
369-
"regex": "^(critical|high|medium|low|info|undefined)$",
370-
"length": 10
371371
}
372372
},
373373
"report": {

intelmq/tests/bin/initdb.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ CREATE TABLE events (
5252
"raw" text,
5353
"rtir_id" integer,
5454
"screenshot_url" text,
55+
"severity" varchar(10),
5556
"source.abuse_contact" text,
5657
"source.account" text,
5758
"source.allocated" timestamp with time zone,
@@ -93,4 +94,4 @@ CREATE INDEX "idx_events_source.asn" ON events USING btree ("source.asn");
9394
CREATE INDEX "idx_events_source.ip" ON events USING btree ("source.ip");
9495
CREATE INDEX "idx_events_source.fqdn" ON events USING btree ("source.fqdn");
9596
CREATE INDEX "idx_events_time.observation" ON events USING btree ("time.observation");
96-
CREATE INDEX "idx_events_time.source" ON events USING btree ("time.source");
97+
CREATE INDEX "idx_events_time.source" ON events USING btree ("time.source");

0 commit comments

Comments
 (0)