Skip to content

Response actions

Response actions let analysts act in the connected systems from DRACO: block an IP address at Cloudflare, disable an AWS access key, suspend an Okta user. Configure them under Detection & Response > Response (tabs Actions, Workflows, Templates); run them with Respond on an incident, an investigation, an asset or the risk drawer.

Reading needs Read in the Response actions & playbooks area; configuring, responding, running a playbook, undoing and approving need Read-Write.

An action has one of two types:

  • Integration: a configured type from the catalogue below (Cloudflare, AWS, Okta, Slack, webhook...).
  • Python: your own code, run as a Python step of a workflow in an isolated sandbox, for logic no built-in action covers.

The Actions tab lists both, with a type badge, and filters them (All, Integrations, Python). New action first asks the type: Integration opens the catalogue, Custom Python code the code editor. Python actions are listed with Read in Response code (Python) and created with Read-Write there; without that area the list shows integrations only, and with only that area (no access to Response actions & playbooks) it shows your Python actions only.

To check an indicator before acting (VirusTotal, AbuseIPDB, GreyNoise, abuse.ch, your MISP and more), add a read-only threat-intel lookup.

Types

Type Does Undo Needs on the vendor side
Cloudflare: block IP adds the IP to an account IP list (draco_blocklist) that a WAF custom rule of the zone blocks; list and rule created once removes the IP Cloudflare token with Account Filter Lists Edit and Zone WAF Edit
Cloudflare: toggle WAF rule enables or disables a custom rule of the zone previous state Zone WAF Edit
Cloudflare: under attack mode security level "I'm Under Attack" previous level Zone Settings Edit
AWS: disable access key sets an IAM access key Inactive Active again iam:GetAccessKeyLastUsed, iam:ListAccessKeys, iam:UpdateAccessKey
AWS: revoke role sessions inline deny policy DRACORevokeOlderSessions on sessions issued before now removes it iam:GetRolePolicy, iam:PutRolePolicy, iam:DeleteRolePolicy
AWS: isolate instance replaces the instance's security groups with a rule-less draco-quarantine group restores the saved groups ec2:DescribeInstances, ec2:DescribeSecurityGroups, ec2:CreateSecurityGroup, ec2:RevokeSecurityGroupEgress, ec2:ModifyNetworkInterfaceAttribute, ec2:CreateTags
AWS: WAF block IP adds the IP to a WAFv2 IP set (reference it in a block rule of your web ACL) removes it wafv2:GetIPSet, wafv2:UpdateIPSet
Azure: block IP (network security group) adds the IP to a deny rule (draco-block-ip, inbound or outbound) of a network security group; the rule is created once with the priority you set removes the IP, and the rule when it holds nothing else Network Contributor on the group's resource group
Azure: block IP (WAF custom rule) adds the IP to a custom block rule (DracoBlockIp) of a Front Door or Application Gateway WAF policy; other rules are kept removes the IP, and the rule when it holds nothing else Network Contributor on the policy's resource group
Google Cloud: block IP (VPC firewall) adds the IP to a firewall rule (draco-block-ip) that denies all traffic from it (or to it) on a VPC network; created once with the priority you set removes the IP, and deletes the rule when it holds nothing else compute.firewalls.get, create, update, delete and compute.networks.updatePolicy (Compute Security Admin)
Google Cloud: disable service account key disables a user-managed key (target: the key's resource name, as audit logs give it) enables it iam.serviceAccountKeys.get, disable, enable (Service Account Key Admin)
Google Cloud: disable service account disables a service account: its keys and tokens stop working enables it iam.serviceAccounts.get, disable, enable (Service Account Admin)
Google Workspace: suspend user suspends a user: no sign-in, sessions end (mail is still delivered) restores the user delegated scope admin.directory.user, acting as a super administrator
Google Workspace: sign out user signs the user out of every web and device session not reversible delegated scopes admin.directory.user.security and admin.directory.user.readonly
Fly.io: revoke token revokes an organization or deploy token not reversible the Fly.io provider's token, an organization token that may change apps (fly tokens create org; a read-only token is refused)
Fly.io: scale app stops started Machines beyond a count (0 stops the app) starts them again same
Fly.io: rotate secret sets an app secret to a new random value and updates the Machines not reversible same
Okta: suspend user suspends an active user unsuspends scope okta.users.manage, or an API token of an admin who manages users
Okta: enable user (unsuspend) unsuspends a suspended user suspends again same
Okta: clear sessions ends the user's sessions and revokes OAuth tokens not reversible same
Okta: reset MFA resets every factor not reversible same
Okta: block IP zone adds a CIDR to an IP zone with usage block list removes it okta.networkZones.manage, or a super or org admin's API token
Check Point: block IP adds the IP to the network group a drop rule references (host object created when missing), publishes, and optionally installs a policy package removes it, publishes an API key or administrator with Read/Write on network objects, Publish and Install Policy
Palo Alto Networks: block IP adds the IP to a static address group (firewall vsys or Panorama device group), optionally commits and pushes removes it, commits an API key whose admin role allows REST API Objects (Addresses, Address Groups) and XML API Commit and Operational Requests
FortiGate: block IP adds the IP to an address group a deny policy references (address object created when missing) removes it a REST API administrator token with Firewall > Address Read/Write
FortiGate: quarantine IP bans the IP (Monitor > Quarantine) for a time or until cleared clears the ban a REST API administrator token with User & Device Read/Write
Imperva Cloud WAF: block IP adds the IP to the blocked IPs of DRACO's own ACL policy, applied to your sites (blocked at the Imperva edge) removes it a second account API key whose role may view and edit policies
Imperva Cloud WAF: unblock IP removes the IP from DRACO's ACL policy blocks it again same
Slack: deactivate user deactivates the Slack account (SCIM): signed out everywhere, cannot sign in reactivates it an admin app's user token (xoxp-) with the user scope admin, installed by an Owner (Business+ or Enterprise plan)
Slack: sign out user ends every web, desktop and mobile session not reversible the same app with admin.users:write (and users:read.email to find users by email); Enterprise plan
1Password: suspend user suspends the user: no access to the account and its vaults reactivates the user an OAuth application (client credentials) with the scopes users.view, users.suspend and users.reactivate for Undo
Entra ID: disable user blocks sign-in (accountEnabled false) enables the account User.EnableDisableAccount.All (administrators: also a privileged directory role for the app)
Entra ID: enable user allows sign-in again (accountEnabled true) disables the account same
Entra ID: revoke sessions revokes refresh tokens and session cookies not reversible User.RevokeSessions.All
Entra ID: add to group adds the user to an assigned group, such as one Conditional Access blocks removes the user GroupMember.ReadWrite.All, User.Read.All
CrowdStrike Falcon: contain host network-contains a Falcon host (by device id or host name) lifts the containment API client scopes Hosts: Read, Hosts: Write
CrowdStrike Falcon: lift containment lifts the network containment of a host contains it again same
CrowdStrike Falcon: push IOC adds a custom IOC (IP, domain, SHA-256 or MD5 hash) with detect or prevent (hashes), severity, platforms and expiry deletes it (or restores the action it changed) IOC Management: Read, IOC Management: Write
CrowdStrike Falcon: remove IOC deletes the custom IOC of a value not reversible same
SentinelOne: disconnect agent disconnects the endpoint from the network (it keeps talking to the console) reconnects it a role with Endpoints Disconnect From Network and Reconnect To Network (IR Team, SOC, Admin)
SentinelOne: reconnect agent reconnects the endpoint to the network disconnects it again same
SentinelOne: blocklist hash adds a SHA-1 or SHA-256 hash to the blocklist, per operating system, for sites, accounts or the whole tenant deletes the entries it created a role with Blocklist View, Create and Delete at that scope (IR Team, SOC, Admin)
SentinelOne: remove hash from blocklist deletes the blocklist entries of a hash not reversible same
Sophos Central: isolate endpoint isolates a Sophos endpoint (by endpoint id or host name; Sophos EDR, XDR or MDR) releases it a separate API credential with Service Principal Management
Sophos Central: release endpoint from isolation ends the admin isolation isolates it again same
Sophos Central: block SHA-256 adds a SHA-256 to the blocked items (Windows endpoints block and clean up the application; Sophos XDR, at most 5,000) deletes the item it created same
Sophos Central: unblock SHA-256 deletes the blocked items of a SHA-256 not reversible same
Defender for Endpoint: isolate device full or selective isolation of a device (by machine id or device name) releases it WindowsDefenderATP Machine.Isolate, Machine.Read.All
Defender for Endpoint: release device ends the isolation isolates again (full) same
Defender for Endpoint: add indicator adds an indicator (public IP, URL, domain, file hash) with audit, warn, block or block and remediate (files) and expiry deletes it (or restores the action it changed) WindowsDefenderATP Ti.ReadWrite.All
Defender for Endpoint: remove indicator deletes the indicators of a value not reversible same
Elastic Defend: isolate host isolates an Elastic Defend endpoint from the network (by Elastic Agent id or host name); it keeps talking to Elastic releases it Kibana privileges Security: All with sub-features Endpoint List: Read, Host Isolation: All, Response Actions History: Read
Elastic Defend: release host ends the isolation of an endpoint isolates it again same
Wazuh: run active response runs one active-response command you allow in the action settings (for example firewall-drop or host-deny for an IP, disable-account for a user, restart-wazuh for an agent) on the chosen agents, or on the agent of a host target not reversible (Wazuh reverts stateful commands after their timeout) a Wazuh API user whose role allows active-response:command and agent:read on agent:id:*
GitHub: remove member removes an outside collaborator from a repository, or a member from the organization invites them back with their role organization Members (or repository Administration) write; classic token admin:org
GitHub: revoke tokens revokes the fine-grained personal access tokens granted to the organization (one, or all of a user) and optionally the user's SAML SSO authorizations not reversible a GitHub App with organization Personal access tokens write
GitHub: remove deploy key removes a repository deploy key adds the same key back repository Administration write
GitHub: block user blocks a user from the organization unblocks organization Blocking users write
GitHub: create issue opens a security issue in a repository closes it repository Issues write
Kubernetes: cordon node marks a node unschedulable uncordons get, patch on nodes
Kubernetes: isolate pod applies a deny-all NetworkPolicy to the pod's labels or its namespace deletes the policy get on pods; create, delete on networkpolicies
Kubernetes: scale to zero scales a deployment to 0 replicas restores the replicas get, patch on deployments/scale
Kubernetes: delete pod deletes a pod not reversible get, delete on pods
Cloudflare: block ASN, country or path adds a WAF custom rule to a zone deletes the rule Zone WAF Edit
Cloudflare: Access deny group adds the user's email to an Access group a Block policy uses, and revokes their sessions removes the email Access: Organizations, Identity Providers, and Groups Edit
Cloudflare: revoke Access sessions signs the user out of every Access application not reversible same
AWS: snapshot volumes EBS snapshots of an instance's volumes for forensics (ids in the result) not reversible ec2:CreateSnapshot, ec2:CreateTags, ec2:Describe*
AWS: block public bucket access turns on S3 Block Public Access for a bucket restores the previous settings s3:Get/PutBucketPublicAccessBlock
AWS: tag resource tags a resource by ARN (draco:quarantine=true) restores or removes the tag tag:TagResources, tag:UntagResources, tag:GetResources
Slack: post message posts to a channel, or replies in a thread not reversible a bot token with chat:write
Microsoft Teams: post message posts a card through a channel's incoming webhook not reversible the webhook URL (saved as a token credential)
Telegram: send message your bot sends a message to a group, channel or private chat, with an Open button to the incident or task not reversible a bot token from @BotFather; the bot is in the chat (in a channel an administrator that may post)
Email sends an email to the listed recipients through the platform's mail server not reversible nothing
Jira: create, update, comment, transition through your Jira integration update, comment and transition can be undone the integration account's project permissions
Webhook POSTs the action, target and incident to a URL (optional credential in a header) not reversible what the receiver checks
Notify only sends the incident summary through the on_incident notification rules not reversible nothing

Every type signs in with a provider (like scans) or a credential, is idempotent (a repeat reports "already" and changes nothing), supports a dry run (signs in and reports what would change, without changing it) and stores what undo needs encrypted.

The EDR actions (CrowdStrike Falcon, SentinelOne, Defender for Endpoint) take a host as the vendor's id or as its name: a name is looked up in the ID directory (names learned from the vendor's alerts and incidents), then at the vendor, and the result shows both the id and the name. When several hosts share a name, the action stops and lists their ids. Their test checks each action's write permission without changing anything, and names the missing scope, role or permission.

Actions whose address you type (webhooks, Check Point, Palo Alto Networks and FortiGate management URLs, MISP and OpenCTI lookups) send their credential only to hosts approved for that credential: binding a credential to a new host, or changing the host while a credential is bound, also needs Read-Write in Credentials, and a Respond cannot redirect it to another URL.

Tip

Providers hold read-only credentials, and they stay that way: DRACO never makes a change with a provider's credentials. Every action that changes something signs in with its own write credential holding only the write permissions above. AWS, Azure, Google Cloud, Google Workspace, Cloudflare, Kubernetes, Fly.io, Microsoft 365 (Entra ID, Defender for Endpoint), Okta and GitHub actions still pick their provider (it names the account, subscription, project, zone account, cluster context, organization or tenant they act in) and take the write credential next to it:

  • AWS: an AWS access keys credential of an IAM user in the provider's account with only the action's permissions. Keys of another account are refused.
  • Azure: an OAuth client credential (client ID and secret) of a separate app registration with Network Contributor on the resource groups DRACO acts in; set the directory (tenant) ID in the action when the credential's token URL does not name it.
  • Google Cloud: a Generic JSON credential holding the key file of a separate service account with only the action's permissions.
  • Google Workspace: a Generic JSON credential holding the key file of a separate service account whose domain-wide delegation holds only the action's scopes, and the administrator it acts as (in the action, or as "delegated_user" in the credential).
  • Cloudflare: a Token credential holding an API token with only the action's permissions.
  • Fly.io: a Token credential holding an organization token (fly tokens create org) that may change apps.
  • Kubernetes: a Generic JSON credential {"kubeconfig": "<kubeconfig YAML>"} whose user has only the action's RBAC rights; an optional "context" picks the context (by default the provider's, else the kubeconfig's current context).
  • Microsoft 365: an OAuth client (or Certificate) credential of a separate app registration with only the action's application permissions.
  • Okta: a Token credential holding an API token of an administrator who may make the change, or a Generic JSON credential {"client_id": "...", "private_key": "<PEM or JWK>"} of an API service app of its own with the action's scope and an admin role.
  • GitHub: a Token credential, or a Generic JSON credential with the github_app_id and github_app_key of a GitHub App.

Slack and 1Password user actions have no provider: they take their own write credential only. Slack: a Token credential with the user token (xoxp-) of a separate admin app; never the audit app's token or the posting bot's. 1Password: an OAuth client credential with the client ID and secret of an OAuth application of the account, plus the sign-in address and the account ID in the action's settings.

An action without its write credential is refused with needs a write credential, and its test says what to add. On a connection this separate credential is the connector's write credential: set it once there and every response action and enforcement target of the account uses it.

Firewalls on your network

Check Point, Palo Alto Networks and FortiGate actions call your management interface over https://, and always verify its certificate. If it uses a private CA or a self-signed certificate, paste the CA certificate (PEM) in the action's CA certificate field; DRACO never turns verification off.

The management address must be reachable from the internet: actions call public addresses only (publish the management interface to DRACO's outbound address, for example through a firewall rule limited to that address). Private, loopback, link-local (cloud metadata) and DRACO's own internal addresses are never called.

  • Check Point: create the network group once and reference it in a drop rule above your allow rules; DRACO only changes the group's members. Every execution opens its own session, publishes it (or discards it on failure) and logs out. Set a policy package to install the policy too.
  • Palo Alto Networks: create a static address group referenced by a deny rule, with one placeholder address as its first member (a static group cannot be empty; for example 192.0.2.255/32). With Commit on, DRACO commits (only its administrator's changes when Partial commit of administrator is set) and, on Panorama, pushes the device group. A failed commit removes DRACO's change from the candidate configuration. Without write access, an External Dynamic List served by DRACO (Threat intel > Enforcement) is an alternative.
  • FortiGate: create the address group referenced by a deny policy, with the built-in address none as its first member (FortiOS refuses an empty group); changes apply at once.

Resetting MFA methods in Entra ID is not offered: Microsoft Graph has no single reset, and removing methods one by one cannot be undone. Disable the user and revoke their sessions, then require re-registration in the Entra admin center.

Wazuh active response

The Wazuh action runs only the commands you list in Allowed commands; a workflow or a person running the action cannot send any other command. Each command must also exist on the Wazuh manager: a <command> block in ossec.conf (Wazuh ships firewall-drop, host-deny, route-null, disable-account and restart-wazuh), or a script in active-response/bin written with the ! prefix (!my-script.sh).

  • IP target: the IP is passed to the command as the alert's source address (srcip), on the agents of Agents (agent ids such as 001).
  • User target: the user is passed as the alert's user (dstuser), on the same agents.
  • Host target: the command runs on that agent (an agent id or an agent name).

Agents that are not active are skipped and named in the result; with no active agent the run fails. Wazuh keeps no state DRACO could read for a command, so a repeated run sends it again (the shipped scripts skip a rule already in place), and DRACO cannot undo it: stateful commands such as firewall-drop are reverted by Wazuh after the timeout of their <active-response> block. The manager API (port 55000) must be reachable from DRACO over https://; paste its CA certificate when it is self-signed.

Messages, tickets and clusters

Slack, Teams, Telegram, email, Jira and GitHub issue texts are templates: {{ incident.title }}, {{ incident.severity }}, {{ incident.url }}, {{ incident.what_happened }} (what happened, with the facts of the events, up to 1,500 characters), {{ target.value }} and similar fields are filled in; nothing else is evaluated. Their results carry what later steps need (the Slack message ts for a thread reply, the Telegram message id, the Jira issue key, the email Message-ID).

  • Slack: create a Slack app with a bot token (xoxb-), give it chat:write, invite it to the channel, and save the token as a credential. With channels:history too, a retried execution finds its message instead of posting twice.
  • Teams: in the channel open Workflows, add the Send webhook alerts to a channel template (a variant that anyone may trigger) and save its webhook URL as a token credential (the URL is the secret). Office 365 connector webhooks were retired by Microsoft in May 2026 and are refused. Microsoft Graph cannot post channel messages with an app's own permissions, so DRACO uses the webhook.
  • Telegram: create a bot with @BotFather, add it to the group (in a channel as an administrator that may post; a person starts a private chat with the bot first), save its token as a token credential and enter the chat id in the action. The token is never shown in a preview, an error or a log. See Telegram.
  • Jira: pick the Jira integration (the Jira connector: Connectors > Add connector > Jira); DRACO uses its sign-in.
  • Kubernetes: actions use the Kubernetes provider's context and the kubeconfig of their write credential, with a token or client certificate and the cluster's CA. The API server needs a public address (limit it to DRACO's outbound address with the cluster's authorized networks), or turn on On-premises (private address) for a private API server DRACO reaches over your VPN; your DRACO operator first assigns that private network to your organization (other private addresses are never called). Isolating a pod only works when the cluster's network plugin enforces NetworkPolicies.
  • GitHub: revoking fine-grained tokens needs a GitHub App installed on the organization (GitHub answers that API for GitHub Apps only); its test refuses a token credential. With a GitHub App the test reads the app's permissions on the organization. A classic token of an organization without SAML SSO cannot be revoked by the organization: its owner must delete it.

Configuring an action

An action is a configured type: its settings, the provider or credential, approval (none or required), the approvers, enabled, and dry run by default. Test runs a dry run against a target now.

Running an action

Respond picks an action and up to 20 targets (IP, CIDR, user, host, app, resource, token, from the incident's entities or typed), optionally as a dry run. Each target becomes an execution:

pending approval → approved → running → succeeded or failed; also rejected, expired (after 24 hours without a decision) and undone.

Before anything runs, Review shows what happens at the vendor for each target: the system, the action, the resolved parameters (IP list, rule id, zone...), every call with its method, URL and body (secrets, headers and generated values are never shown), and whether undo is available. A dry run only makes the reading calls. The same preview is kept with the execution, so the approver sees exactly what the requester saw.

Network failures, rate limits and server errors are retried twice; an execution is stopped after 120 seconds. Every state change is in the incident's history; Undo reverses an execution when the type allows it.

Allowlisted targets

Before an action blocks or changes something at a vendor, DRACO checks the target against what your organization protects: the threat intel allowlist (entries that have not expired), the enforcement exclusions that apply to every target, and your own internet-facing assets from attack surface management (confirmed, present, not third-party). The coverage rules are those of the allowlist: a CIDR entry covers the addresses inside it, a domain entry covers its subdomains, the URLs on them and the email addresses at them. A target that contains a protected value counts too: blocking 203.0.113.0/24 would also block an allowlisted 203.0.113.9.

The check applies to actions that change something and take an IP, CIDR, domain, URL, email or file hash target. Lookups, messages, dry runs and undo are never checked.

  • Respond: Review shows a warning above the vendor calls, for example "203.0.113.9 is on the allowlist (office VPN, added by [email protected], 2026-11-01). Blocking it may cut legitimate traffic." The button becomes Block anyway and needs the confirmation checkbox. The API refuses the request with 400 and the code target_protected (the error lists what matched) until it carries confirm_protected: true.
  • Approvals: the approval request (Tasks, email, Slack or Teams) shows the same warning; approving it is the confirmation.
  • Workflows: a response action step whose target is protected is skipped ("Skipped: 203.0.113.9 is on the allowlist"), a note is added to the incident, and the run goes on: the step ends on success with output.skipped set and the matches in output.protected, so a condition can branch on it. The step blocks anyway only when its own approval, or an approval right before it, showed the warning and was approved, or when its Block even if on the allowlist setting is on (off by default).
  • AI analyst and AI clients never confirm a protected target: the request is refused with what matched, and a person decides with Block anyway.

Every block of a protected target is recorded in the execution and the incident history, and in the audit log as Protected target blocked anyway, with what matched and who decided.

Approvals

When an action requires approval, the request waits on Analyst work > Tasks (Mine for the members who may decide it, All for every request; an approval of a workflow run that is cancelled or fails shows Cancelled, of a run that timed out Expired; the old Approvals links open it) and emails the recipients of the matching on_incident notification rules. Another member than the requester, with Read-Write in Response actions & playbooks, approves or rejects it (four-eyes); the API refuses a requester's own approval. Approve asks for a confirmation that shows the preview. When the organization has a single member who may approve, the action and the Respond dialog say that four-eyes cannot be satisfied; the action's Allow self-approval switch (off by default, audited) then lets the requester approve their own requests.

Security of webhooks

Webhook URLs must be https://. URLs that resolve to private network addresses are refused unless your DRACO operator allows private networks platform-wide.