Skip to content

Commit

Permalink
Merge pull request #2458 from kamil-certat/line_in_cap
Browse files Browse the repository at this point in the history
FIX: Save current line when processing Cymru data
  • Loading branch information
sebix committed Feb 6, 2024
2 parents 1b04f3d + 7ae4e70 commit 2dc4a01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
- `intelmq.bots.parsers.sucuri.parser`: Removed as the feed is discontinued. (#2442 by Filip Pokorný)
- `intelmq.bots.parsers.shadowserver._config`:
- Switch to dynamic configuration to decouple report schema changes from IntelMQ releases by regularly downloading them from the Shadowserver server (PR#2372 by elsif2).
- `intelmq.bots.parsers.cymru`: Save current line. (PR by Kamil Mankowski)

#### Experts
- `intelmq.bots.experts.jinja` (PR#2417 by Mikk Margus Möll):
Expand Down
1 change: 1 addition & 0 deletions intelmq/bots/parsers/cymru/parser_cap_program.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ def parse(self, report):
elif 'Data file written at' in line:
self.parse_line = self.parse_line_old
else:
self._current_line = line
yield line

def parse_bot_old(self, comment_split, report_type, event):
Expand Down

0 comments on commit 2dc4a01

Please sign in to comment.