forked from certat/intelmq-webinput-csv
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CSV special case corrections, extra data in notifications, documentation
- Loading branch information
1 parent
a4d23c2
commit 5814c91
Showing
4 changed files
with
53 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,24 @@ | ||
intelmq-webinput-csv (1.2.3-1) UNRELEASED; urgency=medium | ||
|
||
* backend: convert example data to Event to handle extra data in database insert: | ||
for the mailgen preview, convert the example data to an IntelMQ event | ||
and before submitting it to the database, to a dict with extra as a | ||
string. | ||
Previously, extra-data provided by the user could not be inserted, | ||
raising an error | ||
* docs: document format spec (mailgen) influence | ||
* docs: change URLs to rendered sphinx docs in README | ||
* frontend: detect if csv data header can be used as field name and use it: | ||
if the csv column name (table header) contains a legitimate IntelMQ | ||
field name, use this one and skip the further sanitation steps | ||
* frontend: handle CSV data with no body, but only with a header: | ||
if the CSV data contains just one line and the header option is active, | ||
the data is body/content-less | ||
handle these special cases by aborting the parse and disabling the | ||
spinner | ||
|
||
-- Sebastian Wagner <[email protected]> Fri, 13 Oct 2023 17:48:08 +0200 | ||
|
||
intelmq-webinput-csv (1.2.2-1) stable; urgency=medium | ||
|
||
* Validate Template Preview Data: The user data, (first line of parsed input data), used for the template content validation and preview, validated (sanitized) by IntelMQ before using it for the template preview, otherwise syntactically incorrect values could lead to PostgreSQL errors. Invalid fields are ignored and replaced by example data. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# SPDX-FileCopyrightText: 2017-2018 nic.at GmbH <[email protected]>, 2022-2023 Bundesamt für Sicherheit in der Informationstechnik | ||
# SPDX-License-Identifier: AGPL-3.0-or-later | ||
__version_info__ = (1, 2, 2) | ||
__version_info__ = (1, 2, 3) | ||
__version__ = '.'.join(map(str, __version_info__)) |