intelmq.bots.parsers.cznic package¶
Submodules¶
intelmq.bots.parsers.cznic.parser_haas module¶
-
intelmq.bots.parsers.cznic.parser_haas.
BOT
¶ alias of
intelmq.bots.parsers.cznic.parser_haas.CZNICHaasParserBot
-
class
intelmq.bots.parsers.cznic.parser_haas.
CZNICHaasParserBot
(bot_id: str, start: bool = False, sighup_event=None, disable_multithreading: bool = None)¶ Bases:
intelmq.lib.bot.ParserBot
CZ.NIC HaaS Parser is the bot responsible to parse the report and sanitize the information
-
parse
(report: intelmq.lib.message.Report)¶ A basic JSON parser. Assumes a list of objects as input to be yield.
-
parse_line
(line, report)¶
-
recover_line
(line: dict) → str¶ Reverse of parse for JSON pulses.
Recovers a fully functional report with only the problematic pulse.
-
intelmq.bots.parsers.cznic.parser_proki module¶
-
intelmq.bots.parsers.cznic.parser_proki.
BOT
¶ alias of
intelmq.bots.parsers.cznic.parser_proki.CZNICProkiParserBot
-
class
intelmq.bots.parsers.cznic.parser_proki.
CZNICProkiParserBot
(bot_id: str, start: bool = False, sighup_event=None, disable_multithreading: bool = None)¶ Bases:
intelmq.lib.bot.ParserBot
Parse the feed from malicious IP addresses on Czech networks
-
parse
(report)¶
-
parse_line
(line, report)¶
-
recover_line
(line: dict) → str¶ Reverse of parse for JSON pulses.
Recovers a fully functional report with only the problematic pulse.
-