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(*args, **kwargs)¶ 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= ''¶
-
dns_record_type= 'CNAME'¶
-
encoding_errors_mode= 'strict'¶
-
expire= 432000¶
-
file= '/opt/intelmq/var/lib/bots/file-output/rpz'¶
-
format_filename= False¶
-
generate_time= '2023-08-29 20:38:27'¶
-
hierarchical_output= False¶
-
hostmaster_rpz_domain= ''¶
-
init()¶
-
keep_raw_field= False¶
-
message_jsondict_as_string= False¶
-
message_with_type= False¶
-
ncachttl= 60¶
-
open_file(filename: str = None)¶
-
organization_name= ''¶
-
process()¶
-
refresh= 60¶
-
retry= 60¶
-
rpz_domain= ''¶
-
rpz_email= ''¶
-
serial= '2308292038'¶
-
set_rpz_header()¶
-
shutdown()¶
-
single_key= False¶
-
test_domain= ''¶
-
ttl= 3600¶
-