intelmq.bots.outputs.smtp package

Submodules

intelmq.bots.outputs.smtp.output module

intelmq.bots.outputs.smtp.output.BOT

alias of intelmq.bots.outputs.smtp.output.SMTPOutputBot

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

Bases: intelmq.lib.bot.Bot

Send single events as CSV attachment in dynamically formatted e-mails via SMTP

fieldnames = 'classification.taxonomy,classification.type,classification.identifier,source.ip,source.asn,source.port'
http_verify_cert = True
init()
mail_from = 'cert@localhost'
mail_to = '{ev[source.abuse_contact]}'
process()
smtp_host = 'localhost'
smtp_password = None
smtp_port = 25
smtp_username = None
ssl = False
starttls = True
subject = 'Incident in your AS {ev[source.asn]}'
text = 'Dear network owner,\\n\\nWe have been informed that the following device might have security problems.\\n\\nYour localhost CERT'

Module contents