intelmq.bots.experts.remove_affix package¶
Submodules¶
intelmq.bots.experts.remove_affix.expert module¶
Remove Affix
SPDX-FileCopyrightText: 2021 Marius Karotkis <marius.karotkis@gmail.com> SPDX-License-Identifier: AGPL-3.0-or-later
- intelmq.bots.experts.remove_affix.expert.BOT¶
alias of
RemoveAffixExpertBot
- class intelmq.bots.experts.remove_affix.expert.RemoveAffixExpertBot(bot_id: str, start: bool = False, sighup_event=None, disable_multithreading: bool | None = None)¶
Bases:
Bot
- affix: str = 'www.'¶
- field: str = 'source.fqdn'¶
- process()¶
- remove_prefix: bool = True¶
- removeprefix(field: str, prefix: str) str ¶
- removesuffix(field: str, suffix: str) str ¶