Skip to content

[Security][AD/Workflows][9.5 & Serverless] Alerts and Attacks Workflow Steps docs (9.5) #7222

Closed

Description

@e40pud

Description

For 9.5 we are shipping a set of named Workflow action steps for alert and attack triage under a new security.* namespace. Until now, analysts and detection engineers had no named steps for these operations — status changes, assignments, and tags on alerts/attacks were only reachable through the generic kibana.request step, which requires API knowledge and offers no discoverability or schema validation in the Workflows editor.

These new steps expose explicit input schemas so parameters are validated at save time and are discoverable in the Workflows editor, advancing the SOAR-replacement positioning by closing the gap between Kibana's alert/attack management surface and its automation capabilities.

Six steps are being delivered:

Step Operation Availability
security.setAlertStatus Set alert status: open / acknowledged / closed (with optional close reason) GA
security.assignAlert Add or remove assignees on an alert GA
security.setAlertTags Add or remove tags on an alert GA
security.setAttackStatus Set attack status: open / acknowledged / closed (with optional close reason) GA
security.assignAttack Add or remove assignees on an attack GA
security.setAttackTags Add or remove tags on an attack GA

All six steps are GA in 9.5. They live in the StepCategory.KibanaSecurity category and are automatically authenticated using the permissions/API key of the identity executing the workflow (same model as the existing kibana.* and cases.* steps). They are implemented as custom steps on top of the existing Kibana alert/attack management APIs via the callKibanaApi platform utility.


Docs work

There are two deliverables, closely modeled on the existing Cases steps documentation.

1. New page: Security Triage and Investigation action steps

Create a new reference page under explore-analyze/workflows/steps/, modeled on the Cases action steps page (source: explore-analyze/workflows/steps/cases.md — published).

Suggested path: explore-analyze/workflows/steps/security.md
Suggested title / navigation_title: Security (page H1: Security Triage and Investigation action steps)

Reuse the Cases page structure:

  • Frontmatter (navigation_title, applies_to, description, products). All six steps are GA in 9.5 — use applies_to values consistent with the Cases page (stack: ga 9.5+, serverless: ga).
  • Short intro describing the security.* namespace and common triage automation patterns.
  • A Shared conventions section (see below).
  • A Step catalog with jump links, grouped by Alerts vs. Attacks.
  • One subsection per step: purpose sentence, a parameter table (Parameter | Location | Type | Required | Description), and a YAML example — identical layout to the Cases page.
  • Include the :::{include} ../_snippets/schema-location-legend.md ::: legend, as the Cases page does.
  • A Related section linking to Kibana action steps, Cases action steps, and Alert triggers.

Shared conventions to document

  • All parameters live under with. IDs, status, assignees, and tags are all with-level fields.
  • Single or bulk. Every ID field accepts either a single string or an array of strings, so one step can target one or many alerts/attacks.
  • Add/remove is not a full override. For assignees and tags, existing values are preserved unless explicitly listed in the corresponding *_to_remove field. This matters for docs — it's the opposite of a "set/replace" operation.
  • At least one of add/remove is required for the assign and tags steps (assignees_to_add/assignees_to_remove, tags_to_add/tags_to_remove). You can send both in a single step invocation.
  • ⚠️ Parameter naming differs between the alert and attack steps — please document exactly as implemented, do not normalize:
    • Alert steps use alert_ids; attack steps use ids.
    • The alert close-reason field is close_reason; the attack close-reason field is reason.
    • Attack steps have an extra update_related_alerts boolean (default false); alert steps do not.
  • Reading current assignees. To remove specific alert assignees, users can read current values from the kibana.alert.workflow_assignee_ids alert field before composing the security.assignAlert step.

Per-step reference (schemas as implemented)

security.setAlertStatus — Change the status of one or multiple alerts.

Parameter Location Type Required Description
alert_ids with string or string[] Yes A single alert ID or a list of IDs (bulk).
status with open | acknowledged | closed Yes New status for the alerts.
close_reason with string No — only valid when status: closed Reason for closing. Predefined values: false_positive, duplicate, true_positive, benign_positive, automated_closure, other; a custom string (max 1024 chars) is also accepted.
- name: close_alerts
  type: security.setAlertStatus
  with:
    alert_ids:
      - 'alert-1'
      - 'alert-2'
    status: 'closed'
    close_reason: 'false_positive'

security.assignAlert — Assign or unassign users on one or multiple alerts.

Parameter Location Type Required Description
alert_ids with string or string[] Yes A single alert ID or a list of IDs (bulk).
assignees_to_add with string[] (user IDs) At least one of add/remove User IDs to assign.
assignees_to_remove with string[] (user IDs) At least one of add/remove User IDs to unassign.
- name: update_alert_assignees
  type: security.assignAlert
  with:
    alert_ids: '{{ variables.alert_id }}'
    assignees_to_add:
      - 'user_id_1'
    assignees_to_remove:
      - 'user_id_2'

security.setAlertTags — Add or remove tags on one or multiple alerts.

Parameter Location Type Required Description
alert_ids with string or string[] Yes A single alert ID or a list of IDs (bulk).
tags_to_add with string[] At least one of add/remove Tags to add. Existing tags are preserved.
tags_to_remove with string[] At least one of add/remove Tags to remove.
- name: retag_alerts
  type: security.setAlertTags
  with:
    alert_ids:
      - 'alert-1'
      - 'alert-2'
    tags_to_add:
      - 'escalated'
    tags_to_remove:
      - 'needs-review'

security.setAttackStatus — Change the status of one or multiple attacks.

Parameter Location Type Required Description
ids with string or string[] Yes A single attack ID or a list of IDs (bulk).
status with open | acknowledged | closed Yes New status for the attacks.
reason with string No — only valid when status: closed Reason for closing (same predefined values / custom string as close_reason above).
update_related_alerts with boolean No (default false) Also apply the status to alerts related to the attack.
- name: close_attacks
  type: security.setAttackStatus
  with:
    ids:
      - 'attack-1'
      - 'attack-2'
    status: 'closed'
    reason: 'false_positive'
    update_related_alerts: true

security.assignAttack — Assign or unassign users on one or multiple attacks.

Parameter Location Type Required Description
ids with string or string[] Yes A single attack ID or a list of IDs (bulk).
assignees_to_add with string[] (user IDs) At least one of add/remove User IDs to assign.
assignees_to_remove with string[] (user IDs) At least one of add/remove User IDs to unassign.
update_related_alerts with boolean No (default false) Also apply the assignment change to related alerts.
- name: assign_attack
  type: security.assignAttack
  with:
    ids: '{{ variables.attack_id }}'
    assignees_to_add:
      - 'user_id_1'

security.setAttackTags — Add or remove tags on one or multiple attacks.

Parameter Location Type Required Description
ids with string or string[] Yes A single attack ID or a list of IDs (bulk).
tags_to_add with string[] At least one of add/remove Tags to add. Existing tags are preserved.
tags_to_remove with string[] At least one of add/remove Tags to remove.
update_related_alerts with boolean No (default false) Also apply the tag change to related alerts.
- name: retag_attacks
  type: security.setAttackTags
  with:
    ids:
      - 'attack-1'
      - 'attack-2'
    tags_to_add:
      - 'escalated'
    tags_to_remove:
      - 'needs-review'
    update_related_alerts: true

2. Update the Action steps overview page

Update explore-analyze/workflows/steps/action-steps.md (published).

The page currently lists these action categories: Elasticsearch, Kibana, Cases, Streams, External systems and apps. Add a new category section — Security (Triage and Investigation) — following the same pattern as the existing category blurbs (short description + "Use … to:" bullet list + Refer to … link to the new page). Suggested content:

  • Set alert status and manage alert tags and assignees (security.setAlertStatus, security.setAlertTags, security.assignAlert)
  • Set attack status and manage attack tags and assignees (security.setAttackStatus, security.setAttackTags, security.assignAttack)
  • Link to the new explore-analyze/workflows/steps/security.md page.

3. Cross-reference from the existing Kibana alert steps

The Kibana action steps page (source kibana.md) already documents the PascalCase detection-alert steps kibana.SetAlertsStatus and kibana.SetAlertTags, which overlap functionally with the new security.setAlertStatus / security.setAlertTags steps.

Add a cross-reference from the Kibana page recommending the security.* steps as the preferred path for alert triage going forward (similar to how the Kibana page already points users to cases.* for case operations). This keeps the two pages consistent and steers new workflows toward the security.* namespace.

4. Update the step-type index and cheat sheet

  • reference/step-types.md (A–Z index): add a Security category / rows for all six security.* steps so the index is a complete lookup (it currently lists only the kibana.* alert steps).
  • reference/cheat-sheet.md: add security.setAlertStatus / security.setAlertTags (and security.assignAlert) to the "Manage alerts" row alongside the kibana.* entries, and add a "Manage attacks" row for the three attack steps.

Timeline & environment

  • Stack release: 9.5
  • Serverless: Week of July 27, 2026
  • All six steps are GA in 9.5. The attack steps are wired up alongside the Attacks page rollout (docs-content#6949).

Resources

Kibana implementation PRs

  • security.setAlertTags + sibling security.setAlertStatus — kibana#274004
  • security.assignAttack — kibana#275863
  • security.setAttackStatus — kibana#275368
  • security.setAttackTags — kibana#275864
  • (security.assignAlert PR — track via sub-ticket security-team#17815)

Consolidation notes

This issue is the single source of truth for the security.* workflow-step docs. It supersedes and absorbs docs-content-internal#1459 (which tracked the same namespace but was assembled from Docs Quest Scanner PRs and had a less complete step list and a since-resolved maturity question). Absorbed into this issue:

Reconciled note: #1459 had described the three attack steps as Technical Preview behind the publicAttacksApiEnabled flag (that flag gated them during development). This issue's authoritative position is that all six steps are GA in 9.5 — tag everything stack: ga 9.5+ / serverless: ga.


Which deployment methods does this change impact?

Elastic On-Prem and Cloud (all)

Feature differences

All six alert and attack triage steps are GA in 9.5.

What Elastic Stack release is this request related to?

9.5

Serverless release

Week of July 27, 2026

Collaboration model

The documentation team will create the first draft. Full step schemas, parameter tables, and YAML examples (taken directly from the implementation) are provided above to make drafting straightforward.

Point of contact.

Main contact: @e40pud

Stakeholders: @cthulhusec

Activity

  1. added
    Team:Experience
    on Jul 6, 2026
  2. added
    needs-team
    Team:SKI
    and removed
    Team:Experience
    needs-team
    on Jul 6, 2026
  3. github-actions commented on Jul 6, 2026

    @github-actions
    Contributor

    Elastic Docs AI Menu

    Check one box to run an AI workflow for this issue.

    Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team.

  4. changed the title [-][Internal]: Alerts and Attacks Workflow Steps docs (9.5)[/-] [+][Security][AD/Workflows][9.5 & Serverless] Alerts and Attacks Workflow Steps docs (9.5)[/+] on Jul 10, 2026
  5. nastasha-solomon commented on Jul 23, 2026

    @nastasha-solomon
    Member

    Just changing to "Waiting on dev/product" to flag this as pending a technical review.

  6. added a commit that references this issue on Jul 28, 2026
    12dbd8e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Team:SKI

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions