security-case-management
Skill by elastic
Creates, searches, updates and manages SOC cases in Kibana Security through the Kibana Cases API. Built for analysts who track incidents, link alerts to cases, add investigation notes and manage triage output.
Install security-case-management
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/case-management ~/.claude/skills/security-case-managementRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install security-case-management 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/case-management ~/.gemini/antigravity-cli/skills/security-case-managementAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install security-case-management in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Security case management is an agent skill from Elastic that manages SOC cases in Kibana through the Cases API. It runs a case_manager script that can create, find, list, get and update cases, attach single or multiple alerts, and add investigation comments. All cases are scoped to the securitySolution owner, so the skill works only inside Elastic Security. Cases can be assigned to analysts, linked to alerts and pushed to external incident management systems through connectors.
The skill uses structured tags such as classification, confidence, MITRE technique and agent ID, and maps triage classification to a Kibana severity level. Write operations ask for confirmation unless --yes is passed. It is aimed at SOC analysts and security teams who track incidents and manage triage output in Kibana. It requires Node.js 22+ and a Kibana URL with an API key or username and password.
Written from the project's SKILL.md and checked against it.
What it can do
- createCreates a case with a title, description, tags and severity, with alert sync on by default.
- findSearches cases by tags or by text, such as a hostname or rule name.
- listLists recent cases, optionally filtered by status and page size.
- getRetrieves a single case by its case ID.
- attach-alertAttaches one alert to an existing case.
- attach-alertsAttaches multiple alerts to a case in a batch with rate-limit retry.
- add-commentAdds an investigation comment to an existing case.
- updateChanges a case's status, severity or tags.
What you need
- Node.js 22+
- Network access to a Kibana instance
- KIBANA_URL environment variable
- KIBANA_API_KEY, or KIBANA_USERNAME and KIBANA_PASSWORD
Try asking
- Create a case for the phishing alert I triaged with severity high
- Search for open cases related to brute force attacks
- Add the investigation findings as a comment to case ID abc-123
Good to know
- Works only with securitySolution cases, not Observability or Elasticsearch cases.
- The find --search option may return 500 errors on Kibana Serverless.
- Tag searches are exact match only.
- Attaching alerts one at a time should be spaced about 10 seconds apart due to rate limits.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/security/case-management/SKILL.md, skills/security/case-management/scripts/case-manager.js, skills/security/case-management/scripts/kibana-client.js. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md10 KB -
references/kibana-cases-api.md4 KB -
scripts/case-manager.js9 KB -
scripts/kibana-client.js7 KB
Alternatives to security-case-management
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-case-management: common questions
Can this skill manage Observability cases?
No. The skill hardcodes owner securitySolution and does not affect Observability or Elasticsearch cases.
Does the skill ask before changing a case?
Create and update operations prompt for confirmation by default. Passing --yes skips the prompt, which is required when an agent calls the skill.
Can alerts be linked to a case with this skill?
Yes. The attach-alert command links one alert, and attach-alerts links several in a batch, both requiring a rule ID and rule name.
How do I install security-case-management?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is security-case-management free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is security-case-management safe to use?
It scores 83 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-case-management?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
