Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

security-alert-analysis

Skill by elastic

Investigates a specific Elastic Security detection alert, from gathering context through classification to optional acknowledgement. Built for SOC analysts triaging a known alert or following up on a grouped triage.

  • Score 79
  • 613 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install security-alert-analysis

Built from the published package, never by AI.

git clone --depth 1 https://github.com/elastic/agent-skills /tmp/agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agent-skills/skills/security/alert-analysis ~/.claude/skills/security-alert-analysis

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install security-alert-analysis in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The security-alert-analysis skill helps a SOC analyst investigate one Elastic Security detection alert, or one group of related alerts, from start to finish. It fetches the alert from the .alerts-security.alerts-* indices, finds related alerts on the same agent within a time window, and runs focused ES|QL queries for process trees and network activity. It also checks Risk Engine scores and asset criticality for the involved host or user.

The skill then guides a disposition call: true positive, benign true positive, false positive, or unknown. It warns against classifying before context is gathered and asks the analyst to confirm scope before acknowledging alerts through the Detection Engine API. It targets Kibana 8.x or 9.x, and it refers case creation to the kibana-cases skill.

Written from the project's SKILL.md and checked against it.

What it can do

  • Fetch the alertRetrieves the oldest unacknowledged alert or a specific alert by _id from the security alerts indices.
  • Find related alertsGroups alerts on the same agent and about a five-minute window as one incident.
  • Gather entity contextRuns focused queries on process trees and network activity around the alert timestamp.
  • Assess entity riskChecks Risk Engine scores and asset criticality for the involved host or user.
  • Determine dispositionHelps classify the alert as true positive, benign true positive, false positive, or unknown.
  • Acknowledge related alertsPreviews the alert count, then acknowledges matching alerts through the Detection Engine API after analyst confirmation.

What you need

  • elastic CLI with es and kb support
  • Kibana 8.x or 9.x with matching Elasticsearch
  • Self-managed, Elastic Cloud Hosted, or Elastic Cloud Serverless deployment

Try asking

  • Fetch the next unacknowledged alert and triage it.
  • Investigate alert ID abc-123 and classify it.
  • Triage the alert group on host WIN-SRV01 from 2025-09-14.

Good to know

  • Acknowledgement cannot be undone.
  • Runs 2 to 4 focused queries per alert group by design.
  • Acknowledgement uses the Detection Engine API because direct writes are rejected on Serverless.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/security/alert-analysis/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to security-alert-analysis

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

security-alert-analysis: common questions

What does the security-alert-analysis skill do?

It investigates one Elastic Security alert or a group of related alerts. It gathers context, assesses entity risk, helps classify the threat, and can acknowledge alerts after the analyst confirms scope.

Which Elastic deployments does it support?

The source lists Kibana 8.x or 9.x with matching Elasticsearch, on self-managed, Elastic Cloud Hosted, or Elastic Cloud Serverless.

Can it create cases?

It does not create cases itself. The source says case creation and alert attachment should use the kibana-cases skill.

How do I install security-alert-analysis?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is security-alert-analysis free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is security-alert-analysis safe to use?

It scores 79 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to security-alert-analysis?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

security-alert-analysis Install

Add to stack

Loading.