Try it free

Upgrade security notifications to use workflows

  • Latest Dynatrace
  • Upgrade guide
  • 8-min read
  • Published Sep 21, 2026

The upgrade is mandatory. Dynatrace Classic security alerting profiles will stop working.

Dynatrace Classic sends security notifications through an alerting profile linked to an integration that defines the destination, for example, Webhook, Jira, or Email. In Latest Dynatrace, a single workflow replaces both and delivers vulnerability and attack events directly to any destination supported by a workflow connector action, for example, ServiceNow, Jira Service Management (JSM), or PagerDuty.

The classic alerting profile's conditions become a workflow event trigger with a DQL filter over security.events. The classic integration becomes a workflow connector action. Dedicated connectors are available for ServiceNow, JSM, and PagerDuty. For other destinations, use another connector action, for example, Email, GitHub, GitLab, or the HTTP Request action. The action delivers findings directly to the destination without an intermediate webhook.

Each alerting profile and integration pair maps to one workflow. When multiple profiles feed to the same destination, you can consolidate them into a single workflow using a broader filter.

Why upgrade?

Latest Dynatrace consolidates a security alerting profile and an integration that defines where to send it into a single workflow. A workflow's event trigger replaces the alerting profile conditions, and a workflow connector action replaces the integration. This removes the webhook intermediary for ServiceNow and PagerDuty, adds dedicated connectors with structured field mappings, and makes every notification attempt visible in the Workflow execution log.

Upgrade advantages:

  • Workflows cover all security events stored in Grail, including both Dynatrace-generated and third-party ingested events. Classic notifications are limited to vulnerabilities and attacks.
  • Workflows support conditional logic, DQL-based filters, multiple actions, and JavaScript tasks, replacing the fixed conditions of classic alerting profiles.
  • Management zones are not supported in Latest Dynatrace. Use primary Grail fields and tags such as dt.host_group.id, k8s.cluster.name, and primary_tags.* to scope notifications to equivalent entity sets instead.

What will you do?

In this guide, you'll replace each classic security alerting profile and integration pair with a workflow that uses the security event trigger and a connector action for your destination, for example, ServiceNow, JSM, or PagerDuty.

Before you begin

Prerequisites

  • An active Dynatrace Platform Subscription (DPS) license with security modules activated (Runtime Vulnerability Analytics, Runtime Application Protection, or both).
  • Permission to create workflows in the target environment.
  • The storage:security.events:read permission, required for the workflow event trigger to read from security.events.
  • A configured connection for the relevant connector. If you don't have a connection, go to Settings Settings > Connections and follow one of the guides:
    • ServiceNow.
    • Set up Jira Service Management.
    • Set up PagerDuty.

New concepts

General workflow concepts:

Workflows

Workflows orchestrates notifications, remediation, and enrichment steps.

Event trigger

Event trigger replaces classic alerting profile conditions with a DQL filter over security.events.

Connectors and actions

Connectors and actions are integrations that replace the generic webhook. Dedicated connectors are available for ServiceNow, JSM, and PagerDuty.

Security events Grail table

The security.events Grail table stores the security.events, which includes vulnerability and attack findings.

Simple workflow

A simple workflow has a trigger and a single connector action. Simple workflows consume no workflow execution hours but don't support JavaScript tasks or multi-step logic. Use this when the connector action alone covers your notification needs.

Workflow (standard workflow)

A standard workflow has a trigger and multiple actions, with full orchestration capabilities and execution logging. Use this when you need conditional logic, multiple destinations, or additional DQL query steps.

Evaluate both workflow options with their respective pros and cons, and choose the right workflow type according to the target requirements, needs, preferences, and design choices. For a comparison, see Simple workflows vs standard workflows.

Workflow actor

Run the workflow under a dedicated service user rather than a personal account. A service user keeps the workflow active regardless of account changes and lets you scope permissions to the minimum required. Grant the service user the storage:security.events:read permission and authorize the workflow with the same permission.

For setup details, see Workflow permissions and Dynatrace service users.

How to upgrade security notifications

Step 1: List current security notification configurations

Before creating anything, audit the existing alerting profiles and integrations. Don't upgrade them one-to-one. Use this as an opportunity to consolidate.

Read the classic configuration through the Settings API:

  • Vulnerability alerting profiles: builtin:appsec.notification-alerting-profile
  • Attack alerting profiles: builtin:appsec.notification-attack-alerting-profile
  • Integrations: builtin:appsec.notification-integration

For each integration, answer these questions:

  • Is it disabled, or has it not fired recently? If the answer is yes, delete it rather than upgrading it.
  • Does it point to the same ServiceNow instance, JSM project, or PagerDuty service as another integration? Consolidate both into one workflow.
  • Does the same alerting profile feed more than one integration? Create one workflow per destination.

You now have a categorized inventory: what to delete, what to consolidate, and what to upgrade one-to-one.

Step 2: Create a workflow with a security event trigger or time-interval trigger

Each workflow you create replaces one alerting profile and integration pair.

Choose how to trigger the workflow

Your options are:

  • Event trigger starts immediately each time a new security event is written to Grail. The event object is available directly in the connector action via Jinja. Use this trigger for real-time notifications and for a simple workflow. Simple workflows only support event triggers.

    The Event trigger allows you to:

    • Manage one event at a time for each workflow execution.

    • Implement any desired logic to the incoming event through the DQL filter, applying restrictions to the security events' severity level, to the impacted entities, or to any other security events property.

    • Run simple workflows, as the trigger already provides the event object, which could then be shipped towards the selected notification system, for example, Email, Slack, Microsoft Teams, or any other Connector.

      For example, use this Filter query for an Event trigger:

      event.category == "VULNERABILITY_MANAGEMENT" AND
      event.type == "VULNERABILITY_STATUS_CHANGE_EVENT" AND
      event.level == "ENTITY" AND
      vulnerability.resolution.status == "OPEN" AND
      vulnerability.mute.status != "MUTED"
  • Time-interval trigger runs on a schedule, for example, every hour. Add a second Execute DQL Query action that runs a DQL query to retrieve the security events detected in the selected time interval. Use this when you need to deduplicate notifications or control execution volume in environments with high event rates.

    The Time-interval trigger allows you to:

    • Perform aggregations and a better deduplication of notifications.

    • Ensure the workflow runs a determined number of times, avoiding uncontrolled executions.

    • Process all the retrieved events in batches, leveraging the workflow loop option.

    • Implement any desired logic to the incoming event through the DQL query action, applying restrictions to the security events' severity level, to the impacted entities, or to any other security events property.

      For example, use this DQL query in the Execute DQL Query action:

      fetch security.events
      | filter dt.openpipeline.source == "built-in-security-events"
      | filter product.vendor == "Dynatrace" AND
      event.type == "VULNERABILITY_FINDING" AND
      in(vulnerability.risk.level, {"HIGH", "CRITICAL"})

Replace Dynatrace Classic Vulnerability (re)opened alerting profile condition

  1. Go to Settings Settings > Alerting > Vulnerability alerting profiles to list the current Dynatrace Classic Vulnerability (re)opened alerting profiles.

    Dynatrace Classic page for Vulnerability (re)opened alerting profile
    Dynatrace Classic page for Vulnerability (re)opened alerting profile
  2. Replace the condition with one of the following:

    • Event trigger filter query

      event.category == "VULNERABILITY_MANAGEMENT" AND
      event.type == "VULNERABILITY_STATUS_CHANGE_EVENT" AND
      event.level == "ENTITY" AND
      vulnerability.resolution.status == "OPEN" AND
      vulnerability.mute.status != "MUTED"
    • Execute DQL Query action for a Time-interval trigger

      fetch security.events
      | filter event.category == "VULNERABILITY_MANAGEMENT" AND
      event.type == "VULNERABILITY_STATUS_CHANGE_EVENT" AND
      event.level == "ENTITY"
      | filter in(event.change_list, "vulnerability.resolution.status") AND
      vulnerability.resolution.status == "OPEN" AND
      vulnerability.mute.status != "MUTED"

      Make sure to select the right security events schema according to your needs and requirements.

Replace Dynatrace Classic Attack blocked alerting profile condition

In this example, find out how to replace the Dynatrace Classic Attack alerting profile in Latest Dynatrace.

To find your current Dynatrace Classic Attack alerting profile, go to Settings Settings > Alerting > Attack alerting profile.

Dynatrace Classic page for Attack blocked alerting profile condition
Dynatrace Classic page for Attack blocked alerting profile condition

Replace the condition with one of the following:

  • Event trigger filter query

    product.vendor == "Dynatrace" AND
    event.type == "DETECTION_FINDING" AND
    finding.action == "Blocked"
  • DQL query

    fetch security.events
    | filter product.vendor == "Dynatrace" AND
    event.type == "DETECTION_FINDING" AND
    finding.action == "Blocked"

    Make sure to select the right security events schema according to your needs and requirements.

Replace New management zone affected vulnerability alerting profile condition

The Dynatrace Classic New management zone affected condition triggered whenever an already-open vulnerability began affecting a management zone that hadn't previously been affected. Management zones are not supported in Latest Dynatrace, so this condition has no direct equivalent.

To replace it, configure the workflow event trigger with a DQL filter that uses Grail record-based fields to scope which security events generate notifications.

Use one of the following field types as your scoping condition:

  • Primary Grail fields: Confirm the field is available for your security event data type before using it.

    | filter matchesPhrase(dt.host_group.id, "easytravel*")
    | filter matchesPhrase(k8s.cluster.name, "*PROD")
  • Security event metadata: Requires custom metadata enrichment on the security events.

    | filter matchesPhrase(dt.security_context, "easytravel*")
    | filter matchesPhrase(dt.security_context, "*PROD")
  • Primary Grail tags: Scope by tag key and value.

    | filter matchesPhrase(primary_tags.app, "easytravel")
    | filter matchesPhrase(primary_tags.environment, "PROD")

Set up event trigger

The steps below use the event trigger. If you choose the Time-interval trigger, use a schedule trigger instead of the event trigger, and add an Execute DQL Query action before the connector action.

  1. Go to Workflows.

  2. Select Workflow > Create a blank workflow, and select Workflow.

  3. Select Event trigger as the trigger type.

  4. Set the Event type to security.events.

  5. In the Filter query field, enter a DQL filter that matches the alerting profile conditions you're replacing.

    The following list shows how to translate common classic alerting profile conditions into DQL filters.

    • Vulnerability (re)opened:

      event.category == "VULNERABILITY_MANAGEMENT" and event.type == "VULNERABILITY_STATUS_CHANGE_EVENT" and event.level == "ENTITY" and vulnerability.resolution.status == "OPEN" and vulnerability.mute.status != "MUTED"
    • Attack blocked:

      product.vendor == "Dynatrace" and event.type == "DETECTION_FINDING" and finding.action == "Blocked"
    • New management zone affected: Management zones are not supported in Latest Dynatrace. Use Grail primary fields such as dt.host_group.id, k8s.cluster.name, or primary_tags.* to scope notifications to the equivalent entity set.

    Refine the filter using fields from the security events schema, such as vulnerability.display_id, vulnerability.risk.level, or vulnerability.affected_entity.tags, to match the severity, entity, or scope conditions from the classic alerting profile.

  6. Select Query past events to confirm the filter returns the events you expect before adding the action.

You now have a workflow with a security event trigger scoped to the findings you want to route.

Step 3: Add a connector action

  1. Add a connector action that delivers matching security findings to your destination.

  2. Choose the destination that replaces your classic integration and follow only that section:

    • ServiceNow: Send findings as IT Operations Management (ITOM) events to your ServiceNow instance.
    • Jira Service Management: Send findings as alerts to your Jira Service Management site. JSM replaces the classic Jira integration.
    • PagerDuty: Send findings as events to your PagerDuty service.
    • Other destinations: Add another connector action, for example, Email, GitHub, GitLab, or the HTTP Request action, and map the security event fields to the action's inputs. Use the Jinja expressions in the sections below as a reference for the fields you need.

For the ServiceNow, JSM, and PagerDuty destinations, you use Jinja expressions to reference fields of the security event that started the workflow. For the full set of available fields, see the Security events schema.

ServiceNow for Workflows ServiceNow

Use the ServiceNow for Workflows ServiceNow Connector to create and close alerts directly in your ServiceNow instance.

  1. In the workflow, select Add task.

  2. Search for and select ServiceNow for Workflows ServiceNow.

  3. Select the Send ITOM event action.

  4. Select the connection. If you haven't created one yet, see Set up ServiceNow.

  5. Enter the following Jinja expressions in the action fields.

    The following list shows ServiceNow Send ITOM event action fields and the Jinja expressions that fill them with security event data.

    • Type

      {{ event().get("event.type") }}
    • Message Key

      {{ event().get("vulnerability.display_id") }}
    • Severity

      {% set severity_mapping = {
      "CRITICAL": "1",
      "HIGH": "2",
      "MEDIUM": "3",
      "LOW": "4",
      "NONE": "4"
      }
      %}
      {% set riskLevel = event().get("vulnerability.risk.level") %}
      {{ severity_mapping.get(riskLevel | trim, "4") }}
    • Resolution State

      {% set resolutionState = "UNKNOWN" %}
      {% if event().get("vulnerability.resolution.status") == "OPEN" %}
      {% set resolutionState = "New" %}
      {% elif event().get("vulnerability.resolution.status") == "RESOLVED" %}
      {% set resolutionState = "Closing" %}
      {% endif %}
      {{ resolutionState }}
    • Time Of Event

      {% set timeOfEvent = now() | string %}
      {% if event().get("timestamp") %}
      {% set timeOfEvent = event()["timestamp"] %}
      {% endif %}
      {{ (timeOfEvent | to_datetime(timezone='UTC')).strftime("%Y-%m-%d %H:%M:%S") if timeOfEvent else "" }}
    • Metric Name

      {{ event().get("vulnerability.title") }}
    • Description

      {{ event()["event.description"] | default("Vulnerability found") }}
    • Additional Info

      {% set payload = {} %}
      {% set _ = payload.update({
      'workflow_link': execution()['workflow']['link'],
      'security_event': event()
      }) %}
      {{ payload | to_json }}
  6. Select Save.

You now have a workflow that creates or closes a ServiceNow alert for every security event that matches the filter.

Jira Service Management Connector Jira Service Management

Use the Jira Service Management Connector Jira Service Management Connector to open and close vulnerability alerts in Jira Service Management.

If you were previously using the Classic Jira Software integration for security notifications, JSM is the recommended replacement. JSM uses a service desk project type instead of a software project, so service management teams get request queues, SLA tracking, and approval workflows without additional project configuration.

  1. In the workflow, select Add task.

  2. Search for and select Jira Service Management Connector Jira Service Management.

  3. Select the Send alert action.

  4. Select the connection. If you haven't created one yet, see Set up Jira Service Management.

  5. Enter the following Jinja expressions in the action fields.

    The following list shows Jira Service Management Connector Send alert action fields and the Jinja expressions that fill them with security event data.

    • Message

      {{ event().get("vulnerability.title") }}
    • Priority

      {% set priority_mapping = {
      "CRITICAL": "P1",
      "HIGH": "P2",
      "MEDIUM": "P3",
      "LOW": "P4",
      "NONE": "P5"
      }
      %}
      {% set riskLevel = event().get("vulnerability.risk.level") %}
      {{ priority_mapping.get(riskLevel | trim, "P3") }}
    • State

      {% set status = event().get("vulnerability.resolution.status") %}
      {% set jsmState = "UNKNOWN" %}
      {% if status == "OPEN" %}
      {% set jsmState = "CREATE" %}
      {% elif status == "RESOLVED" %}
      {% set jsmState = "CLOSE" %}
      {% endif %}
      {{ jsmState }}
    • Alias

      {{ event().get("vulnerability.display_id") }}
    • Note

      {% set note = "" %}
      {% set status = event().get("vulnerability.resolution.status") %}
      {% if status == "OPEN" %}
      {% set note %}
      New alert for Security vulnerability {{ event()["vulnerability.display_id"] | default("") }} created.
      Workflow link: {{ execution()["workflow"]["link"] }}
      {% endset %}
      {% endif %}
      {{ note | trim }}
    • Description

      {{ event()["event.description"] | default("Vulnerability found") }}
    • Entity

      {% set ae = event().get("affected_entity.name") ~ " (" ~ event().get("affected_entity.id") ~ ")" %}
      {
      "affected_entity": "{{ ae }}"
      }

    For more examples, see JSM workflow actions and the JSM problem notification template.

  6. Select Save.

You now have a workflow that creates or closes JSM alerts for every matching security finding.

PagerDuty PagerDuty

Use the PagerDuty PagerDuty Connector to trigger or resolve PagerDuty alerts for vulnerability events.

  1. In the workflow, select Add task.

  2. Search for and select PagerDuty PagerDuty.

  3. Select the Send event action.

  4. Select the connection. If you haven't created one yet, see Set up PagerDuty.

  5. Enter the following Jinja expressions in the action fields.

    The following list shows PagerDuty Send event action fields and the Jinja expressions that fill them with security event data.

    • Summary

      {{ event()["vulnerability.title"] | default("Vulnerability found") }}
    • Timestamp

      {% set timeOfEvent = now().strftime("%Y-%m-%dT%H:%M:%S.%fZ") %}
      {% if event().get("timestamp") %}
      {% set timeOfEvent = event()["timestamp"] %}
      {% endif %}
      {{ timeOfEvent }}
    • Severity

      {% set severity_mapping = {
      "CRITICAL": "critical",
      "HIGH": "error",
      "MEDIUM": "error",
      "LOW": "warning",
      "NONE": "info"
      }
      %}
      {% set riskLevel = event().get("vulnerability.risk.level") %}
      {{ severity_mapping.get(riskLevel | trim, "warning") }}
    • Source

      {{ event().get("affected_entity.name") }}
    • Class

      {{ event().get("event.type") }}
    • Deduplication key

      {{ event().get("vulnerability.display_id") }}
    • Event action

      {% set action = "unknown" %}
      {% set status = event().get("vulnerability.resolution.status") %}
      {% if status == "OPEN" %}
      {% set action = "trigger" %}
      {% elif status == "RESOLVED" %}
      {% set action = "resolve" %}
      {% endif %}
      {{ action }}
    • Client

      Dynatrace ({{ environment()['id'] }})
    • Client URL

      {{ environment()['url'] }}
    • Custom details

      {{ event() | to_json }}

    For available actions, see PagerDuty workflow actions.

  6. Select Save.

You now have a workflow that triggers or resolves PagerDuty alerts for every matching security event.

Step 4: Verify and switch over

Before decommissioning the classic security notifications, confirm that the new workflow delivers correctly.

  1. Run the workflow manually against a real security event to confirm the connector action succeeds end-to-end.

  2. Leave both the classic security notifications and the new workflow active for one full business cycle.

  3. Compare delivery volumes on both sides. Query workflow execution history with:

    fetch dt.system.events
    | filter event.kind == "WORKFLOW_EVENT" and event.provider == "AUTOMATION_ENGINE" and event.type == "WORKFLOW_EXECUTION"
    | filter matchesValue(dt.automation_engine.workflow.title, "<your workflow name>")
    | summarize count = count(), by: { date = toStartOf(timestamp, 1d) }
    | sort date desc
  4. When delivery volumes match and no findings are missing, deactivate the classic integration.

  5. Delete the classic alerting profile and integration after a further settling period.

The workflow now delivers your security notifications, and you've deleted the classic alerting profile and integration. Your upgrade is complete.

FAQ

What happened to my classic webhook integration for ServiceNow or PagerDuty?

Classic security notification integrations support three destinations: webhook, Jira, and email. If you used ServiceNow or PagerDuty, you likely connected through a generic webhook. Workflows Workflows replaces the webhook with dedicated connectors that provide structured field mappings, authentication management via Connections, and built-in execution logging. The webhook destination still exists in Workflows Workflows as the HTTP Request action if you need a fully custom payload.

How do I filter by vulnerability risk level?

Use the vulnerability.risk.level field in the DQL filter. Valid values are CRITICAL, HIGH, MEDIUM, and LOW.

For example, to route only critical and high findings to PagerDuty:

event.kind == "SECURITY_EVENT"
and vulnerability.resolution.status == "OPEN"
and (vulnerability.risk.level == "CRITICAL" or vulnerability.risk.level == "HIGH")

How do I suppress notifications for findings already tracked in my ticketing system?

Use a DQL query action before the connector action to check whether a ticket already exists for this vulnerability.display_id. If the query returns a result, use a condition step to skip the connector action. For more information, see Build a workflow.

Do I need a separate workflow for vulnerabilities and attacks?

You can combine both in one workflow by filtering on event.kind == "SECURITY_EVENT" without further restricting on type. However, if the two finding types need different destinations, priorities, or payload shapes, use separate workflows, for example, one per event type or per destination.

Related topics

  • Upgrade from Classic problem notification to simple workflows
  • Security notifications for vulnerabilities
  • ServiceNow Connector
  • Jira Service Management Connector
  • PagerDuty Connector
  • Event triggers for workflows
Related tags
Dynatrace PlatformApplication Security