intelmq.bots.experts.jinja namespace

Submodules

intelmq.bots.experts.jinja.expert module

intelmq.bots.experts.jinja.expert.BOT

alias of JinjaExpertBot

class intelmq.bots.experts.jinja.expert.JinjaExpertBot(*args, **kwargs)

Bases: ExpertBot

Modify the message using the Jinja templating engine .. rubric:: Example


fields:

output: The provider is {{ msg[‘feed.provider’] }}! feed.url: “{{ msg[‘feed.url’] | upper }}” extra.somejinjaoutput: file:///etc/intelmq/somejinjatemplate.j2

fields: Dict[str, str | Template] = {}
init()
overwrite: bool = False
process()