| name | security-case-management |
| description | Guide for creating and managing security investigation cases โ from case creation through alert attachment, investigation tracking, and resolution. |
Security Case Management Workflow
Guide the user through Elastic Security case management for tracking investigations.
Trigger
Use when the user asks to:
- "Create a case"
- "Manage cases"
- "Investigation case"
- "Security case"
- "Escalate alert"
- "Track investigation"
Also activates on keywords: "case management", "security case", "investigation tracking", "escalate", "case queue"
Do NOT use when:
- "Triage alerts" (โ use
security-alert-triage)
- "Hunt threats" (โ use
security-threat-hunting)
Steps
0. Get Cluster Context
Call get_cluster_context to get cached cluster awareness โ version, health, installed features, and case management capabilities.
1. Assess Current Cases
Call manage_cases with operation: "list" to get the existing case queue.
Present:
- Open cases by status (open, in-progress, closed)
- Cases by severity
- Recently updated cases
- Unassigned cases
2. Create or Select a Case
If creating a new case, ask the user for:
- Case title (suggest based on investigation context)
- Description (what triggered the investigation)
- Severity: low, medium, high, critical
- Tags (e.g., incident type, affected system)
- Assignee (optional)
Call manage_cases with operation: "create" and the provided details.
If continuing an existing case, call manage_cases with operation: "get" and the case ID.
3. Attach Alerts to Case
Call triage_alerts with operation: "list" and relevant filters to find alerts related to this investigation.
Present matching alerts and ask which to attach.
Call manage_cases with operation: "add_comment" to attach alert references, or use kibana_api with POST /api/cases/<case_id>/comments to attach alert objects directly:
{
"type": "alert",
"alertId": "<alert_id>",
"index": ".alerts-security.alerts-default",
"rule": { "id": "<rule_id>", "name": "<rule_name>" }
}
4. Document Investigation Progress
Help the user add investigation notes:
- Findings from alert triage
- Enrichment results (host activity, user behavior)
- IOCs identified (IPs, hashes, domains)
- Containment actions taken
Call manage_cases with operation: "add_comment" for each note.
5. User Decision Point โ Case Resolution
When the investigation is complete, ask the user:
- Close as resolved โ threat confirmed and remediated
- Close as duplicate โ merged with another case
- Close as false positive โ no actual threat
- Escalate โ requires additional response
6. Close the Case
Call manage_cases with operation: "update_status" to close the case with the appropriate status.
If closing, add a final comment summarizing:
- Root cause
- Impact assessment
- Remediation steps taken
- Lessons learned / follow-up actions
7. Summary
Present:
- Case ID and final status
- Alerts attached and their disposition
- Investigation timeline
- Recommended follow-ups (new detection rules, process improvements)
Tools Used
get_cluster_context โ cached cluster awareness (version, health, capabilities)
discover_security_data โ get context on available security data before case creation
manage_cases โ create, list, update, and close security cases
triage_alerts โ find and manage alerts for case attachment
kibana_api โ attach alerts to cases (POST /api/cases/<id>/comments), advanced case operations
esql_query โ investigative queries for case evidence
API References
elastic://docs/api/security โ Cases API reference
elastic://docs/api/kibana โ Kibana alerting and detection engine APIs
Prerequisites
ES_URL and ES_API_KEY configured
KIBANA_URL configured for case management
- Cases feature enabled in Elastic Security
Interactive Dashboard
Interactive Dashboard: When using Claude Desktop or other ext-apps hosts, manage_cases renders an interactive case management dashboard with IOC tracking, timeline visualization, and comment threads. In Cursor/CLI, it returns markdown.
Related Skills
security-alert-triage โ triage alerts that may lead to case creation
security-threat-hunting โ hunt for threats that may require investigation cases