Skip to content

Commit

Permalink
Merge pull request #2386 from sebkuf/fix_missing_kommas
Browse files Browse the repository at this point in the history
Fix #2125
  • Loading branch information
sebix authored Jul 18, 2023
2 parents 9750181 + acf17e3 commit 2331bda
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 23 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ CHANGELOG
### Tools
- `intelmqsetup`:
- 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)
- `contrib.eventdb.separate-raws-table.sql`: Added the missing commas to complete the sql syntax. (PR#2386, fixes #2125 by Sebastian Kufner)
- `intelmq_psql_initdb`:
- Added parameter `-o` to set the output file destination. (by Sebastian Kufner)

Expand Down
46 changes: 23 additions & 23 deletions contrib/eventdb/separate-raws-table.sql
Original file line number Diff line number Diff line change
Expand Up @@ -27,29 +27,29 @@ CREATE VIEW public.v_events AS
events."classification.taxonomy",
events."classification.type",
events."comment",
events."destination.abuse_contact"
events."destination.account"
events."destination.allocated"
events."destination.asn"
events."destination.as_name"
events."destination.abuse_contact",
events."destination.account",
events."destination.allocated",
events."destination.asn",
events."destination.as_name",
events."destination.domain_suffix",
events."destination.fqdn"
events."destination.fqdn",
events."destination.geolocation.cc",
events."destination.geolocation.city"
events."destination.geolocation.country"
events."destination.geolocation.latitude"
events."destination.geolocation.longitude"
events."destination.geolocation.region"
events."destination.geolocation.state"
events."destination.ip"
events."destination.local_hostname"
events."destination.local_ip"
events."destination.network"
events."destination.port"
events."destination.registry"
events."destination.reverse_dns"
events."destination.tor_node"
events."destination.url"
events."destination.geolocation.city",
events."destination.geolocation.country",
events."destination.geolocation.latitude",
events."destination.geolocation.longitude",
events."destination.geolocation.region",
events."destination.geolocation.state",
events."destination.ip",
events."destination.local_hostname",
events."destination.local_ip",
events."destination.network",
events."destination.port",
events."destination.registry",
events."destination.reverse_dns",
events."destination.tor_node",
events."destination.url",
events."destination.urlpath",
events."event_description.target",
events."event_description.text",
Expand Down Expand Up @@ -103,9 +103,9 @@ CREATE VIEW public.v_events AS
events."status",
events."time.observation",
events."time.source",
events."tlp"
events."tlp",
raws."event_id",
raws."raw",
raws."raw"
FROM (
public.events
JOIN public.raws ON ((events.id = raws.event_id)));
Expand Down

0 comments on commit 2331bda

Please sign in to comment.