intelmq.bots.experts.asn_lookup package

Submodules

intelmq.bots.experts.asn_lookup.expert module

class intelmq.bots.experts.asn_lookup.expert.ASNLookupExpertBot(*args, **kwargs)

Bases: ExpertBot

Add ASN and netmask information from a local BGP dump

autoupdate_cached_database: bool = True
static check(parameters)

The bot’s own check function can perform individual checks on it’s parameters. init() is not called before, this is a staticmethod which does not require class initialization.

Parameters:

parameters – Bot’s parameters, defaults and runtime merged together

Returns:

None or a list of [log_level, log_message] pairs, both

strings. log_level must be a valid log level.

Return type:

output

database = None
init()
process()
classmethod run(parsed_args=None)
classmethod update_database(verbose=False)
intelmq.bots.experts.asn_lookup.expert.BOT

alias of ASNLookupExpertBot

Module contents