
Security Detection Rule Management
elastic/agent-skillsOfficial
Detection rule tuning and creation for Elastic Security, managed through the Kibana Detection Engine API and rule-manager.js.
- CCM score
- 73 of 100
- skills.sh installs
- 4.4K
- GitHub stars
- 613
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the full rule lifecycle: find noisy rules, investigate false positives, tune or disable, and create new detections
- Includes
rule-manager.jscommands (noisy-rules,find,get,patch,add-exception,validate-query) plusrun-query.jsfor alert and data investigation - Enforces a preference order for tuning: add exception first, then tighten query, adjust threshold, lower severity, and disable only as a last resort
- Designed for SOC and detection engineers working on SIEM and Endpoint rules in Elastic Security
Install
$ npx -y skills add elastic/agent-skills --skill security-detection-rule-management -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Detection Rule Management
Create new detection rules for emerging threats and coverage gaps, and tune existing rules to reduce false positives.
All operations use the Kibana Detection Engine API via rule-manager.js.
Execution rules
- Start executing tools immediately — do not read SKILL.md, browse the workspace, or list files first.
- Report tool output faithfully. Copy rule IDs, names, alert counts, exception IDs, and error messages exactly as returned by the API. Do not abbreviate rule UUIDs, invent rule names, or round alert counts.
- When a tool returns an error (rule not found, API failure), report the exact error — do not guess at alternatives.
Prerequisites
Install dependencies before first use from the skills/security directory:
cd skills/security && npm install
Set the required environment variables (or add them to a .env file in the workspace root):
export ELASTICSEARCH_URL="https://your-cluster.es.cloud.example.com:443"
export ELASTICSEARCH_API_KEY="your-api-key"
export KIBANA_URL="https://your-cluster.kb.cloud.example.com:443"
export KIBANA_API_KEY="your-kibana-api-key"
Common multi-step workflows
Details
- Repository
- github.com/elastic/agent-skills
- Category
- Security
- First seen
- May 16, 2026
More from elastic/agent-skills
All 19- Security Generate Security Sample Data4.3K
- Kibana Anomaly Detection3.6K
- Observability K8s Investigation3.6K
- Kibana Agent Builder
- Security Alert Triage
- Security Case Management
- Security Detection Rule Management
- Security Generate Security Sample Data
- Observability K8s Investigation
- Observability Llm Obs
- Elasticsearch Esql5.5K
- Elasticsearch Onboarding5K
- Kibana Dashboards4.9K
- Security Case Management4.7K
- Kibana Alerting Rules4.6K
- Kibana Agent Builder4.5K
- Observability Llm Obs4.5K
- Security Alert Triage4.4K
Similar to Security Detection Rule Management
More Security
security-detection-rule-managementelastic/agent-skills613 starsDetection rule tuning and creation for Elastic Security via the Kibana Detection Engine API and rule-manager.js.
kibana-alerting-ruleselastic/agent-skills4.6K installsCreate, update, and manage Kibana alerting rules through REST API or Terraform workflows for rules-as-code.
detecting-and-respondingtelagod/code-abyss243 starsBlue-team and purple-team playbook for writing detection rules, tuning SIEM/EDR, responding to incidents, and hunting threats.
sast-configurationwshobson/agents11.5K installsGuide for configuring Semgrep, SonarQube, and CodeQL SAST scanning, with custom rules and CI integration.
semgrep-rule-creatortrailofbits/skills6.7K installsGuided workflow for writing custom Semgrep rules with test-first validation, taint mode prioritized for data flow issues.
Skills-Security-Checktoolsai/skills-security-check596 installsStatic and AI-assisted scanner that audits agent skills for security risks and threats through a three-step workflow.