intelmq.bots.experts.domain_suffix package

Submodules

intelmq.bots.experts.domain_suffix.expert module

The library publicsuffixlist will be used if installed, otherwise our own internal fallback is used.

intelmq.bots.experts.domain_suffix.expert.BOT

alias of DomainSuffixExpertBot

class intelmq.bots.experts.domain_suffix.expert.DomainSuffixExpertBot(*args, **kwargs)

Bases: ExpertBot

Extract the domain suffix from a domain and save it in the the domain_suffix field. Requires a local file with valid domain suffixes

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

field: str = None
init()
process()
classmethod run(parsed_args=None)
suffix_file: str = None
classmethod update_database(verbose=False)

Module contents