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
- Fixed behaviour if parameter `types` value is empty string, behave the same way as not set, not like no type.
22
25
23
26
#### Parsers
24
27
-`intelmq.bots.parsers.shadowserver._config`:
@@ -31,12 +34,20 @@
31
34
- Added new bot (PR#2538 by Frank Westers and Sebastian Wagner)
32
35
33
36
#### Outputs
37
+
-`intelmq.bots.outputs.cif3.output`:
38
+
- The requirement can only be installed on Python version < 3.12.
39
+
- Add a check on the Python version and exit if incompatible.
40
+
- Add a deprecation warning (PR#2544 by Sebastian Wagner)
34
41
35
42
### Documentation
36
43
37
44
### Packaging
38
45
39
46
### Tests
47
+
- Install build dependencies for `pymssql` on Python 3.8 as there are no wheels available for this Python version (PR#2542 by Sebastian Wagner).
48
+
- Install `psql` explicitly for workflow support on other platforms such as act (PR#2542 by Sebastian Wagner).
49
+
- Create intelmq user & group if running privileged to allow dropping privileges (PR#2542 by Sebastian Wagner).
50
+
-`intelmq.tests.lib.test_pipeline.TestAmqp.test_acknowledge`: Also skip on Python 3.11 besides on 3.8 when running on CI (PR#2542 by Sebastian Wagner).
Copy file name to clipboardExpand all lines: NEWS.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,12 @@ Please refer to the change log for a full list of changes.
14
14
---------------------------------
15
15
16
16
### Requirements
17
+
Python 3.8 or newer is required.
18
+
19
+
## Bots
20
+
#### CIF 3 API
21
+
The CIF 3 API Output bot is not compatible with Python version greater or equal to 3.12 and will be removed in the future due to lack of maintenance.
22
+
See https://lists.cert.at/pipermail/intelmq-users/2024-December/000474.html for more information.
17
23
18
24
### Tools
19
25
@@ -36,7 +42,7 @@ No changes are required by administrators.
36
42
----------------------------------
37
43
38
44
### Documentation
39
-
The documentation is now available at [docs.intelmq.org](https://docs.intelmq.org/). Documentation has been updated and restructured into User, Administrator and Developer Guide. It provides modern look with various quality of life improvements. Big thanks to to @gethvi.
45
+
The documentation is now available at [docs.intelmq.org](https://docs.intelmq.org/). Documentation has been updated and restructured into User, Administrator and Developer Guide. It provides modern look with various quality of life improvements. Big thanks to to @gethvi.
40
46
We now have a slick, modern mkdocs based documentation. Please do check it out!
41
47
42
48
@@ -55,7 +61,7 @@ Shadowserver adds new scans on a nearly weekly basis. IntelMQ's release cycle an
55
61
We therefore (thanks to @eslif2) move the shadowserver reports collector and parser to a new, dynamic system. It can:
56
62
57
63
- fetch the shadowserver schema from shadowserver (https://interchange.shadowserver.org/intelmq/v1/schema)
58
-
- dynamically collect new reports (see also https://docs.intelmq.org/latest/user/bots/?h=shadow#shadowserver-reports-api)
64
+
- dynamically collect new reports (see also https://docs.intelmq.org/latest/user/bots/?h=shadow#shadowserver-reports-api)
59
65
- parse the new reports
60
66
61
67
**Note well**: if your IntelMQ system runs in an airgapped environment or if it may only reach out to specific IPs/sites, you should read the notes here:
@@ -86,7 +92,7 @@ Quite a few changes (thanks to Kamil, @gethvi) on AMQP
86
92
### General changes and bug fixes
87
93
88
94
Digital Trust Center fixed a bug where the config was loaded twice in intelmqctl which created quite some speedups. Thanks!
Copy file name to clipboardExpand all lines: intelmq/bots/collectors/shadowserver/collector_reports_api.py
+9-4Lines changed: 9 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ class ShadowServerAPICollectorBot(CollectorBot, HttpMixin, CacheMixin):
33
33
reports (list):
34
34
A list of strings or a comma-separated list of the mailing lists you want to process.
35
35
types (list):
36
-
A list of strings or a string of comma-separated values with the names of reporttypes you want to process. If you leave this empty, all the available reports will be downloaded and processed (i.e. 'scan', 'drones', 'intel', 'sandbox_connection', 'sinkhole_combined').
36
+
A list of strings or a string of comma-separated values with the names of report types you want to process. If you leave this empty, all the available reports will be downloaded and processed (i.e. 'scan', 'drones', 'intel', 'sandbox_connection', 'sinkhole_combined').
37
37
"""
38
38
39
39
country=None
@@ -48,6 +48,7 @@ class ShadowServerAPICollectorBot(CollectorBot, HttpMixin, CacheMixin):
48
48
redis_cache_ttl: int=864000# 10 days
49
49
redis_cache_password: Optional[str] =None
50
50
_report_list= []
51
+
_type_list= []
51
52
52
53
definit(self):
53
54
ifnotself.api_key:
@@ -62,7 +63,11 @@ def init(self):
62
63
elifisinstance(self.reports, list):
63
64
self._report_list=self.reports
64
65
ifisinstance(self.types, str):
65
-
self.types=self.types.split(',')
66
+
# if types is an empty string (or only contains whitespace), behave as if the parameter is not set and select all types
self.logger.warn("Deprecated parameter 'country' found. Please use 'reports' instead. The backwards-compatibility will be removed in IntelMQ version 4.0.0.")
0 commit comments