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 RpzFileOutputBot

class intelmq.bots.outputs.rpz_file.output.RpzFileOutputBot(*args, **kwargs)

Bases: 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 = ''
dns_record_type: str = 'CNAME'
encoding_errors_mode = 'strict'
expire: int = 432000
file: str = '/opt/intelmq/var/lib/bots/file-output/rpz'
format_filename: bool = False
generate_time: str = '2023-10-17 06:45:43'
hierarchical_output: bool = False
hostmaster_rpz_domain: str = ''
init()
keep_raw_field: bool = False
message_jsondict_as_string: bool = False
message_with_type: bool = False
ncachttl: int = 60
open_file(filename: str = None)
organization_name: str = ''
process()
refresh: int = 60
retry: int = 60
rpz_domain: str = ''
rpz_email: str = ''
serial: str = '2310170645'
set_rpz_header()
shutdown()
single_key: bool = False
test_domain: str = ''
ttl: int = 3600

Module contents