{% extends 'projects/base_project.html' %} {% load crispy_forms_tags %} {% block title %}{% if object %}Edit{% else %}Create{% endif %} Automation - {{ block.super }}{% endblock %} {% block content_project %}
{% csrf_token %} {{ form.configuration_json }} {{ form.trigger_type }}

General Settings

{{ form.is_enabled|as_crispy_field }}
{% if trigger_type == 'report' %} Report {% else %} Alert {% endif %}
{{ form.name|as_crispy_field }}
Cancel

Info

{% if trigger_type == 'report' %}

Report automations collect matching CVEs over a full daily or weekly period, based on the selected timezone.

Actions are executed later, at the scheduled time, on the CVEs collected in that report. For example, a daily report sent at 09:00 includes CVEs from the previous full day.

{% else %}

Alert automations run every hour on CVEs that matched during the previous hour.

Use them for near real-time actions, such as sending a notification as soon as a CVE enters the project or matches your conditions.

{% endif %}

Conditions

{% if trigger_type == 'report' %}
Collect matching CVEs over a period in the {{ form.schedule_timezone }} timezone
{% if form.schedule_timezone.errors %}

{{ form.schedule_timezone.errors.0 }}

{% endif %} {% if form.trigger_type.errors %}

{{ form.trigger_type.errors.0 }}

{% endif %} {% if form.frequency.errors %}

{{ form.frequency.errors.0 }}

{% endif %}
{% endif %} {% if trigger_type == 'alert' %}
one or more of these events occur
{% endif %}
optional all of these conditions match
{% if trigger_type == 'report' %} optional Run these actions every at {% else %} perform these actions {% endif %}
{% if trigger_type == 'report' %} {% if form.schedule_time.errors %}

{{ form.schedule_time.errors.0 }}

{% endif %} {% if form.schedule_weekday.errors %}

{{ form.schedule_weekday.errors.0 }}

{% endif %} {% endif %}
{% if form.configuration_json.errors %}

{{ form.configuration_json.errors.0 }}

{% endif %}
{% endblock %}