intelmq.bots.outputs.rpz_file package

Submodules

intelmq.bots.outputs.rpz_file.output module

RPZ file output

SPDX-FileCopyrightText: 2021 Marius Karotkis <marius.karotkis@gmail.com> SPDX-License-Identifier: AGPL-3.0-or-later

intelmq.bots.outputs.rpz_file.output.BOT

alias of intelmq.bots.outputs.rpz_file.output.RpzFileOutputBot

class intelmq.bots.outputs.rpz_file.output.RpzFileOutputBot(bot_id: str, start: bool = False, sighup_event=None, disable_multithreading: bool = None)

Bases: intelmq.lib.bot.OutputBot

add_rpz_header()
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
cname = ''
encoding_errors_mode = 'strict'
expire = 432000
file = '/opt/intelmq/var/lib/bots/file-output/rpz'
format_filename = False
hostmaster_rpz_domain = ''
init()
ncachttl = 60
open_file(filename: str = None)
organization_name = ''
process()
refresh = 60
retry = 60
rpz_domain = ''
rpz_email = ''
serial = '2208311502'
set_rpz_header()
shutdown()
test_domain = ''
ttl = 3600

Module contents