Skip to content

Add self.rule parameters to jinja2 Template #281

Closed
@mrfroggg

Description

Currently, only the match (self.match) dictionary is accessible in alert_text when using alert_text_type: alert_text_jinja.

As we can access self.rule dictionary using alert_text_args, adding the rule content to alert_text_jinja would make a lot of sense.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions