You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(optional, list) By-default events are grouped by the E-Mail-Address into buckets. For each bucket one E-Mail is sent. You may add more fields to group-by here to make potentially more buckets.
5125
+
Side-effect: Every field that is included in the group-by is ensured to be unique for all events in the bucket and may thus be used for templating.
5126
+
Note: The keys listed here refer to the keys in the events (in contrast to the CSV column names).
5127
+
Default: `[]`
5128
+
5129
+
**`templating`**
5130
+
5131
+
(optional, dict) Defines which strings should be processed by jinja2 templating. For templating only keys which are unique for the complete bucket are available. This always includes the destination address (`source.abuse_contact`) and all keys of `additional_grouping_keys` which are present in the bucket. There is one additional key `current_time` available which holds a `datetime.datetime` object of the current (local) time.
5132
+
Note: The keys available for templating refer to the keys defined for the events (in contrast to the CSV column names). Still the keys get transformed: each `'.'` gets replaced to `_` in order to make referencing the key in jinja2 easier.
(optional, list) Lists the fields which are included in the csv file. Every element should be also included in `fieldnames_translation` to avoid crashes.
5138
+
5139
+
**`fieldnames_translation`**
5140
+
5141
+
(optional, dict) Maps each the name of each field listed in `allowed_fieldnames` to a different name to be used in the csv header.
5142
+
**Warning:** The Bot will crash on sending in case a fieldname is present in an event and in `allowed_fieldnames` but not in `fieldnames_translation`.
5143
+
5122
5144
**`attachment_name`**
5123
5145
5124
5146
(optional, string) Attachment file name for the outgoing messages. May contain date formatting like this `%Y-%m-%d`. Example: "events_%Y-%m-%d" will appear as "events_2022-12-01.zip". Defaults to "intelmq_%Y-%m-%d".
0 commit comments