Skip to content

Include sendcsv parameter for email alert action #447

@AndreiBanaru

Description

@AndreiBanaru

Is your feature request related to a problem? Please describe.
Allow the results to be attached as CSV when this option is enabled for the email alert action.

Describe the solution you'd like
When the sendcsv key is defined as 'true':

deployment:
  alert_action:
    email:
      sendcsv: 'true'

, then it's set through the jinja2 template:

{% if detection.deployment.alert_action.email.sendcsv %}
action.email.sendcsv = 1
{% endif %}

Describe alternatives you've considered
We can of course set it through the Spunk UI or REST API, but the preference is to use DaC as much as possible.

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions