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.
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-analysisRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install security-alert-analysis in Claude Code
git clone --depth 1 https://github.com/elastic/agent-skills /tmp/agent-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agent-skills/skills/security/alert-analysis ~/.gemini/antigravity-cli/skills/security-alert-analysisAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install security-alert-analysis in Antigravity CLI
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
ANo 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 →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
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.
