intelmq.bots.collectors.api package

Submodules

intelmq.bots.collectors.api.collector_api module

API Collector bot

class intelmq.bots.collectors.api.collector_api.APICollectorBot(bot_id: str, start: bool = False, sighup_event=None, disable_multithreading: Optional[bool] = None)

Bases: intelmq.lib.bot.CollectorBot

Collect data by exposing a HTTP API interface

init()
name: str = 'API'
port: int = 5000
process()
provider: str = 'APICollector'
request_handler(data)
shutdown()
socket_path = '/tmp/imq_api_default_socket'
use_socket = False
intelmq.bots.collectors.api.collector_api.BOT

alias of intelmq.bots.collectors.api.collector_api.APICollectorBot

Module contents