skills/security-case-management/SKILL.md
Guide for creating and managing security investigation cases — from case creation through alert attachment, investigation tracking, and resolution.
npx skillsauth add patrykkopycinski/elastic-cursor-plugin security-case-managementInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Guide the user through Elastic Security case management for tracking investigations.
Use when the user asks to:
Also activates on keywords: "case management", "security case", "investigation tracking", "escalate", "case queue"
Do NOT use when:
security-alert-triage)security-threat-hunting)Call get_cluster_context to get cached cluster awareness — version, health, installed features, and case management capabilities.
Call manage_cases with operation: "list" to get the existing case queue.
Present:
If creating a new case, ask the user for:
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.
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>" }
}
Help the user add investigation notes:
Call manage_cases with operation: "add_comment" for each note.
When the investigation is complete, ask the user:
Call manage_cases with operation: "update_status" to close the case with the appropriate status.
If closing, add a final comment summarizing:
Present:
get_cluster_context — cached cluster awareness (version, health, capabilities)discover_security_data — get context on available security data before case creationmanage_cases — create, list, update, and close security casestriage_alerts — find and manage alerts for case attachmentkibana_api — attach alerts to cases (POST /api/cases/<id>/comments), advanced case operationsesql_query — investigative queries for case evidenceelastic://docs/api/security — Cases API referenceelastic://docs/api/kibana — Kibana alerting and detection engine APIsES_URL and ES_API_KEY configuredKIBANA_URL configured for case managementInteractive Dashboard: When using Claude Desktop or other ext-apps hosts,
manage_casesrenders an interactive case management dashboard with IOC tracking, timeline visualization, and comment threads. In Cursor/CLI, it returns markdown.
security-alert-triage — triage alerts that may lead to case creationsecurity-threat-hunting — hunt for threats that may require investigation casestesting
Interactive threat hunting workflow using ES|QL and Elasticsearch queries — from hypothesis formulation through data exploration, IOC search, and finding documentation.
testing
Start your security session with a personalized briefing — attacks, alerts, cases, rules, threat intel. Use as the first thing when starting security work.
testing
Interactive guide for complete Elastic Security setup — discovers data sources, assesses detection coverage, configures rules, and creates security dashboards.
testing
Guide for authoring custom detection rules — from threat hypothesis through rule creation, testing, and tuning with KQL, EQL, ES|QL, and threshold rules.