skills/security-full-setup/SKILL.md
Interactive guide for complete Elastic Security setup — discovers data sources, assesses detection coverage, configures rules, and creates security dashboards.
npx skillsauth add patrykkopycinski/elastic-cursor-plugin security-full-setupInstall 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 a complete Elastic Security configuration for their deployment.
Use when the user asks to:
Also activates on keywords: "security setup", "SIEM setup", "security onboarding", "detection coverage", "security posture assessment"
Do NOT use when:
security-detection-engineering)security-alert-triage)Call get_cluster_context to get cached cluster awareness — version, health, installed features, and security capabilities. This determines which security features are available and what data is already flowing.
Call discover_security_data with no filters to get a complete picture of available security data.
Present the results to the user as a summary:
Call get_security_summary with the discovery results.
Present the posture assessment:
Based on the gaps identified, ask the user which areas to improve:
Fast-track alternative: For a quick setup, use siem_quickstart to automatically enable the most impactful prebuilt rules based on available data sources. This skips manual rule selection and is ideal for initial deployments.
For each approved rule category, call manage_detection_rules with operation: "bulk_enable" and the appropriate filters.
Report results:
Ask the user if they want threshold-based alerting on security metrics:
For each approved alert, call kibana_api with POST /api/alerting/rule and the configured parameters.
Ask the user if they want a security overview dashboard:
Call kibana_api with POST /api/dashboards/dashboard and the selected dashboard configuration.
Present a final summary:
get_cluster_context — cached cluster awareness (version, health, capabilities)discover_security_data — discover security data sources, rules, and alertsget_security_summary — generate posture assessment with gaps and recommendationssiem_quickstart — fast-track prebuilt rule enablement based on available datamanage_detection_rules — enable/disable detection rules in bulkkibana_api — create dashboards (POST /api/dashboards/dashboard), alert rules (POST /api/alerting/rule), and query rules (GET /api/detection_engine/rules/_find)elastic://docs/api/kibana — Kibana REST API reference for security, dashboard, and alerting endpointselastic://docs/api/security — Security-specific API reference for cases, exceptions, and timelinesES_URL and ES_API_KEY (or basic auth) configuredKIBANA_URL configured for detection rule and dashboard managementsecurity-detection-engineering — create custom detection rules for specific threatssecurity-alert-triage — investigate and triage security alertssecurity-case-management — track and manage security investigationssecurity-threat-hunting — proactive threat hunting with ES|QLtesting
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
Guide for authoring custom detection rules — from threat hypothesis through rule creation, testing, and tuning with KQL, EQL, ES|QL, and threshold rules.
testing
Guide for creating and managing security investigation cases — from case creation through alert attachment, investigation tracking, and resolution.