Skip to content

Commit 2331bda

Browse files
authored
Merge pull request #2386 from sebkuf/fix_missing_kommas
Fix #2125
2 parents 9750181 + acf17e3 commit 2331bda

File tree

2 files changed

+24
-23
lines changed

2 files changed

+24
-23
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ CHANGELOG
7272
### Tools
7373
- `intelmqsetup`:
7474
- SECURITY: fixed a low-risk bug causing the tool to change owner of `/` if run with the `INTELMQ_PATHS_NO_OPT` environment variable set. This affects only the PIP package as the DEB/RPM packages don't contain this tool. (PR#2355 by Kamil Mańkowski, fixes #2354)
75+
- `contrib.eventdb.separate-raws-table.sql`: Added the missing commas to complete the sql syntax. (PR#2386, fixes #2125 by Sebastian Kufner)
7576
- `intelmq_psql_initdb`:
7677
- Added parameter `-o` to set the output file destination. (by Sebastian Kufner)
7778

contrib/eventdb/separate-raws-table.sql

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -27,29 +27,29 @@ CREATE VIEW public.v_events AS
2727
events."classification.taxonomy",
2828
events."classification.type",
2929
events."comment",
30-
events."destination.abuse_contact"
31-
events."destination.account"
32-
events."destination.allocated"
33-
events."destination.asn"
34-
events."destination.as_name"
30+
events."destination.abuse_contact",
31+
events."destination.account",
32+
events."destination.allocated",
33+
events."destination.asn",
34+
events."destination.as_name",
3535
events."destination.domain_suffix",
36-
events."destination.fqdn"
36+
events."destination.fqdn",
3737
events."destination.geolocation.cc",
38-
events."destination.geolocation.city"
39-
events."destination.geolocation.country"
40-
events."destination.geolocation.latitude"
41-
events."destination.geolocation.longitude"
42-
events."destination.geolocation.region"
43-
events."destination.geolocation.state"
44-
events."destination.ip"
45-
events."destination.local_hostname"
46-
events."destination.local_ip"
47-
events."destination.network"
48-
events."destination.port"
49-
events."destination.registry"
50-
events."destination.reverse_dns"
51-
events."destination.tor_node"
52-
events."destination.url"
38+
events."destination.geolocation.city",
39+
events."destination.geolocation.country",
40+
events."destination.geolocation.latitude",
41+
events."destination.geolocation.longitude",
42+
events."destination.geolocation.region",
43+
events."destination.geolocation.state",
44+
events."destination.ip",
45+
events."destination.local_hostname",
46+
events."destination.local_ip",
47+
events."destination.network",
48+
events."destination.port",
49+
events."destination.registry",
50+
events."destination.reverse_dns",
51+
events."destination.tor_node",
52+
events."destination.url",
5353
events."destination.urlpath",
5454
events."event_description.target",
5555
events."event_description.text",
@@ -103,9 +103,9 @@ CREATE VIEW public.v_events AS
103103
events."status",
104104
events."time.observation",
105105
events."time.source",
106-
events."tlp"
106+
events."tlp",
107107
raws."event_id",
108-
raws."raw",
108+
raws."raw"
109109
FROM (
110110
public.events
111111
JOIN public.raws ON ((events.id = raws.event_id)));

0 commit comments

Comments
 (0)