Response Workflows
Run a workflow when a signal is raised or its triage changes — notify, open a ticket, page on-call, block the source IP, or triage the signal itself.
A response workflow is a workflow with a Security signal trigger. It runs when a signal is raised or its triage changes, and its steps can do anything a workflow does — query logs and traces, post to Slack, call Jira, PagerDuty or your firewall over HTTP — and also triage the signal itself with the Update signal step.
Open Security → Signals, then Settings → Response workflows. The page counts the workflows with a Security signal trigger, and Open response workflows lists them under Workflows.
Creating One
Click Create New Workflow under Workflows and start from one of the Security blueprints, or from scratch with a Security signal trigger.
| Blueprint | What it builds |
|---|---|
| Notify Slack with samples | A high or critical signal is raised: pull the log lines behind it and post them to Slack with the signal |
| Open a Jira issue | A high or critical signal is raised: file a Jira issue for it and comment the issue key back on the signal |
| Page on-call | A critical signal is raised: trigger a PagerDuty incident through the Events API v2, deduplicated on the signal |
| Block the source IP | A high or critical signal is raised: block its source IP with a Cloudflare IP access rule, then note on the signal that it was blocked |
| Unblock on archive | A signal is archived: remove the Cloudflare IP access rule that Block the source IP added for it. Rules anyone else added are left alone |
| Enrich and re-rate | A signal is raised: look its source IP up on AbuseIPDB and raise the signal to critical when the IP is a known abuser |
The three IP blueprints only run on signals whose detection rule groups by source IP. Like every blueprint, they open disabled and without connections: add the connection (a Cloudflare API token, your Jira or PagerDuty credentials, an AbuseIPDB key), replace the placeholders such as YOUR_ZONE_ID, then publish and enable.
The Security Signal Trigger
| Field | What it sets |
|---|---|
| Run on | The events that start it: Created (a signal is raised), Severity changed, State changed (opened, put under review, archived), Assigned. At least one. |
| Detection rules | Only signals from these rules. None selected: every rule. |
| Severity at or above | The lowest severity it runs on, judged on the signal as it is after the change |
| Sources | Logs, Traces, Scanner activity. None selected: every source. |
| New state | With State changed: only changes to these states, for example only Archived. None selected: any. |
| Only when all of these match | Conditions on the signal's group values, domain, namespace or service, written like a suppression's. (empty) matches a value the group does not have. |
| Also run on changes made by workflows | Off by default: a change another workflow makes (an assignment, a new severity) does not start this one, so two workflows cannot keep starting each other. |
A workflow has at most one Security signal trigger: put every event and filter in it.
When It Runs
- About a minute after the change. Signal changes are picked up on the same pass that sends notifications, which runs after each detection pass.
- One run per change. Each matching change starts each matching workflow once; a run is never repeated for the same change.
- Only for changes made after the workflow started listening — when it was published, or enabled again. Publishing a workflow does not replay the signals raised before it. Republishing a workflow that is already enabled keeps it listening without a gap.
- At most 50 runs per workflow per pass. A burst beyond that, such as a scanner raising hundreds of signals at once, is recorded as Skipped · rate limited in the run history instead of calling your services hundreds of times.
- Workflow chains stop after three. With Also run on changes made by workflows on, a workflow can start another by changing the signal; a chain stops after three workflows in a row.
Each run is noted on the signal: its history shows Workflow <name> queued.
Run a Workflow on a Signal
The signal drawer has Run workflow: pick one of the published, enabled workflows with a Security signal trigger and confirm. The run gets this signal as its trigger, as if it had just changed (its event is manual), whatever the workflow's filters say. Pressing it twice for the same workflow and signal within a minute (a double click) runs the workflow once.
The drawer's Workflows tab lists every run about the signal — the ones its changes started and the ones run from the drawer — with the workflow, the event, the state and the duration. Click a run to open it. The list refreshes while a run is still queued or running.
The Update Signal Step
Update signal triages a signal the way an analyst does from its drawer:
| Action | What it does |
|---|---|
| Assign | Sets the assignee, or clears it with Unassigned |
| Comment | Adds a comment (up to 4,000 characters) |
| Set severity | Changes the severity |
| Set state | Open or Under review |
| Archive | Archives it with a reason (False positive, Testing or maintenance, Remediated, Other) and an optional comment (up to 1,024 characters) |
Signal is empty by default: the step acts on the signal that started the run. A template such as {{ .Steps.lookup.body.id }} acts on another. Every field accepts a template, so a comment can carry what earlier steps found — Jira issue {{ .Steps.create_issue.body.key }} opened.
The step's output is the signal as it is after the change, so later steps can read its new severity or state. In a dry run the step changes nothing and reports what it would have sent.
The change appears in the signal's history under the workflow's name, with View run: for example Workflow Enrich and re-rate changed the severity from High to Critical. It reaches notifications like any triage: archiving resolves the signal's alert, and a new severity re-sends it at that severity.
A change the API refuses — reopening a signal that a newer one has replaced, for instance — fails the step without retrying.
What the Steps Receive
| Path | What it is |
|---|---|
.Trigger.signal.id | The signal's id |
.Trigger.signal.title | Its title |
.Trigger.signal.rule_name / .rule_id | The detection rule that raised it |
.Trigger.signal.rule_source | logs, traces or probes (scanner activity) |
.Trigger.signal.severity / .state | As it is now: info … critical; open, under_review, archived |
.Trigger.signal.group.<field> | The values the rule grouped by, for example .Trigger.signal.group.source_ip |
.Trigger.signal.cluster / .namespace / .service | Where it happened |
.Trigger.signal.first_seen / .last_seen | Its first and latest breach |
.Trigger.signal.breach_count / .latest_value | How many breaches it has taken, and the latest one's value |
.Trigger.signal.assignee_id, .case_id, .archive_reason | When set |
.Trigger.signal.url | A link that opens the signal's drawer (when the dashboard host is set) |
.Trigger.event.kind | created, severity_changed, state_changed, assigned, or manual for a run from the drawer |
.Trigger.event.from / .to | The old and new value of a severity, state or assignee change |
.Trigger.event.reason | The archive reason, when the change archived it |
.Trigger.event.actor_id | The user who made the change; empty for the system or a workflow |
.Trigger.event.at | When the change was made |
.Trigger.signal.group only has the fields the detection rule groups by: use | default for one that may be missing. A query or samples step set to From the trigger's window reads the signal's first to latest breach.
Permissions
| To | You need |
|---|---|
| See response workflows and their runs (the drawer's Workflows tab) | Workflows — Viewer |
| Publish a workflow with a Security signal trigger | Workflows — Editor and Security Signals — Viewer |
| Publish or run a workflow with an Update signal step | Workflows — Editor and Security Signals — Editor |
| Run workflow from the signal drawer | Workflows — Editor and Security Signals — Editor |
Response workflows need Workflows switched on: ENABLE_WORKFLOWS=true in the web app, and the workflow settings in Turning It On.