Skip to content

Commit caed88d

Browse files
REL: 1.2.5 Limit allowed Event fields
1 parent 0950af3 commit caed88d

File tree

5 files changed

+44
-4
lines changed

5 files changed

+44
-4
lines changed

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,27 @@ CHANGELOG
22
=========
33

44

5+
1.2.5: Limit allowed Event fields
6+
---------------------------------
7+
8+
## Configuration
9+
* New parameter `allowed_event_fields` to limit the list of allowed event field names.
10+
Default (unset) is to allow all fields.
11+
12+
## Backend
13+
* Add check for `allowed_event_fields`
14+
15+
## Frontend
16+
* Template preview
17+
* Add support for unsigned (plain/text) e-mails
18+
* Show Content Type of resulting e-mail
19+
* Modal window for row details (events, bot logs):
20+
* add line-wrapping for code blocks
21+
* format the section headings better
22+
23+
## Documentation
24+
* mailgen: add notes on database privs and gnupg
25+
526
1.2.4: Field name selector improvements
627
---------------------------------------
728

client/src/components/WebinputCSV.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -828,7 +828,7 @@ export default ({
828828
errorMessage: null,
829829
showErrorModal: false,
830830
mailgenTargetGroups: [],
831-
clientVersion: "1.2.4",
831+
clientVersion: "1.2.5",
832832
templateDeletionModal: false,
833833
templateToDelete: {'index': null, 'template_name': null},
834834
mailgenTemplate: '',

debian/changelog

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
intelmq-webinput-csv (1.2.5-1) stable; urgency=medium
2+
3+
* Configuration
4+
* New parameter `allowed_event_fields` to limit the list of allowed event field names.
5+
Default (unset) is to allow all fields.
6+
* Backend
7+
* Add check for `allowed_event_fields`
8+
* Frontend
9+
* Template preview
10+
* Add support for unsigned (plain/text) e-mails
11+
* Show Content Type of resulting e-mail
12+
* Modal window for row details (events, bot logs):
13+
* add line-wrapping for code blocks
14+
* format the section headings better
15+
* Documentation
16+
* mailgen: add notes on database privs and gnupg
17+
18+
-- Sebastian Wagner <[email protected]> Tue, 20 Aug 2024 18:17:42 +0200
19+
120
intelmq-webinput-csv (1.2.4-1) stable; urgency=medium
221

322
* Backend: New API endpoint to check the validity of a field name with IntelMQ.

docs/user-guide.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Usual configuration parameters
8484
with bots, no data will be written anywhere, neither to an IntelMQ pipeline,
8585
nor to the database!
8686
- ``allowed_event_fields``: A list of `IntelMQ Event Field Names
87-
<https://docs.intelmq.org/latest/user/event/#fields-reference>_` which are
87+
<https://docs.intelmq.org/latest/user/event/#fields-reference>`_ which are
8888
allowed for user input. If left empty, all fields are allowed (default).
8989
The check is applied in the frontend (field selection for columns) and backend.
9090
The check does **not** apply to constant fields and custom input fields!
@@ -172,7 +172,7 @@ A few things need to be considered for the setup and configuration:
172172
GRANT INSERT ON TABLE events TO intelmq_mailgen;
173173
GRANT INSERT ON events_id_seq TO intelmq_mailgen;
174174
175-
2. For OpenPGP-signatures in maigen, the webserver user must have sufficient privileges to the gnupg home directory
175+
2. For OpenPGP-signatures in mailgen, the webserver user (or the user running the WSGI process) must have sufficient privileges to the gnupg home directory
176176

177177
1. write access on the directory itself to create temporary files
178178
2. read access to all files in the directoy

intelmq_webinput_csv/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# SPDX-FileCopyrightText: 2017-2018 nic.at GmbH <[email protected]>, 2022-2024 Bundesamt für Sicherheit in der Informationstechnik
22
# SPDX-License-Identifier: AGPL-3.0-or-later
3-
__version_info__ = (1, 2, 4)
3+
__version_info__ = (1, 2, 5)
44
__version__ = '.'.join(map(str, __version_info__))

0 commit comments

Comments
 (0)