Skip to content

Commit 6c89013

Browse files
author
Sebastian Wagner
committed
Merge branch 'maintenance' into develop
2 parents 8a66a7d + 2e633ba commit 6c89013

File tree

4 files changed

+22
-5
lines changed

4 files changed

+22
-5
lines changed

CHANGELOG.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,11 @@ CHANGELOG
134134
### Development
135135

136136
### Harmonization
137+
- See NEWS.md for information on a fixed bug in the taxonomy expert.
137138

138139
### Bots
139140
#### Collectors
141+
- `intelmq.bots.rt.collector_rt`: Log the size of the downloaded file in bytes on debug logging level.
140142

141143
#### Parsers
142144
- `intelmq.bots.parsers.cymru.parser_cap_program`: Add support for protocols 47 (GRE) and 59 (IPv6-NoNxt).
@@ -145,9 +147,10 @@ CHANGELOG
145147
- Explicitly ignore field `DestinationIpInfo.DestinationIpv4Int` as the data is already in another field.
146148
- `intelmq.bots.parsers.generic.parser_csv`:
147149
- Ignore line having spaces or tabs only or comment having leading tabs or spaces (PR#1669 by Brajneesh).
148-
- Data fields containing `-` are now ignored and do not raise an exeception anymore (#1651, PR#74 by Sebastian Waldbauer).
150+
- Data fields containing `-` are now ignored and do not raise an exception anymore (#1651, PR#74 by Sebastian Waldbauer).
149151

150152
#### Experts
153+
- `intelmq.bots.experts.taxonomy.expert`: Map type `scanner` to `information-gathering` instead of `information gathering` See NEWS file for more information.
151154

152155
#### Outputs
153156

@@ -203,7 +206,7 @@ CHANGELOG
203206
- Add information on Microsoft CTIP C2 feed.
204207

205208
### Packaging
206-
- In Debian packages, `intelmqctl check` and `intelmqctl upgrade-config` are executed in the postinst step (#1551, PR#1624 by Birger Schacht).
209+
- In Debian packages, `intelmqctl check` and `intelmqctl upgrade-config` are executed in the "postinst" step (#1551, PR#1624 by Birger Schacht).
207210
- Require `requests<2.26` for Python 3.5, as 2.25.x will be the last release series of the requests library with support for Python 3.5.
208211

209212
### Tests
@@ -228,7 +231,7 @@ CHANGELOG
228231

229232
### Core
230233
- `intelmq.lib.upgrades`:
231-
- Add upgrade function for changed configuration of the feed "Abuse.ch URLHaus" (#1571, PR#1572 by Filip Pokorný).
234+
- Add upgrade function for changed configuration of the feed "Abuse.ch URLhaus" (#1571, PR#1572 by Filip Pokorný).
232235
- Add upgrade function for removal of *HPHosts Hosts file* feed and `intelmq.bots.parsers.hphosts` parser (#1559).
233236
- `intelmq.lib.harmonization`:
234237
- For IP Addresses, explicitly reject IPv6 addresses with scope ID (due to changed behavior in Python 3.9, #1550).
@@ -259,7 +262,7 @@ CHANGELOG
259262

260263
### Documentation
261264
- Feeds:
262-
- Update documentation of feed "Abuse.ch URLHaus" (#1571, PR#1572 by Filip Pokorný).
265+
- Update documentation of feed "Abuse.ch URLhaus" (#1571, PR#1572 by Filip Pokorný).
263266
- Bots:
264267
- Overhaul of all bots' description fields (#1570).
265268
- User-Guide:

NEWS.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,25 @@ The bots are logging a deprecation warning now and the current plan is to remove
5454
### Tools
5555

5656
### Harmonization
57+
A bug in the taxonomy expert did set the Taxonomy for the type `scanning` to `information gathering`
58+
whereas for the type `sniffing` and `social-engineering`, the taxonomy was correctly set to `information-gathering`.
59+
This inconsistency for the taxonomy `information-gathering` is now fixed, but the data eventually needs to fixed in data output (databases) as well.
60+
61+
There are still some inconsistencies in the naming of the classification taxonomies and types,
62+
more fixes will come in version 3.0.0. See [issue #1409](https://github.com/certtools/intelmq/issues/1409).
5763

5864
### Configuration
5965

6066
### Libraries
6167

6268
### Postgres databases
69+
The following statements optionally update existing data.
70+
Please check if you did use these feed names and eventually adapt them for your setup!
71+
```SQL
72+
UPDATE events
73+
SET "classification.taxonomy" = 'information-gathering'
74+
WHERE "classification.taxonomy" = 'information gathering';
75+
```
6376

6477
2.2.2 Bugfix release (2020-10-28)
6578
---------------------------------

intelmq/bots/collectors/rt/collector_rt.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ def process(self):
144144
self.logger.info('Skipping now.')
145145
continue
146146
self.logger.info("Report #%d downloaded.", ticket_id)
147+
self.logger.debug("Downloaded content has %d bytes.", len(resp.content))
147148
if self.extract_download:
148149
raw = resp.content
149150
else:

intelmq/bots/experts/taxonomy/expert.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"data-loss": "information content security",
3030
"dropzone": "information content security", # not in ENISA eCSIRT-II taxonomy
3131
"leak": "information content security", # not in ENISA eCSIRT-II taxonomy
32-
"scanner": "information gathering",
32+
"scanner": "information-gathering",
3333
"sniffing": "information-gathering",
3434
"social-engineering": "information-gathering",
3535
"brute-force": "intrusion attempts",

0 commit comments

Comments
 (0)