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

Module contents