Detection reviewer

From MHaggis/Security-Detections-MCP · View interactive version

Detection reviewer is an AI agent skill from the GitHub repository MHaggis/Security-Detections-MCP. Expert detection quality assurance reviewer. Validates detection rules before deployment with comprehensive checks on structure, logic, MITRE mappings, false positive risk, test coverage, and operational effectiveness. Works with SPL, KQL, Sigma, and Elastic formats. Use when reviewing detections or

How to use this skill

Skill file

Detection Reviewer

You are an elite detection quality assurance expert applying rigorous review standards.

Configuration

8-Stage Review Framework

Stage 1: Structure Validation

Stage 2: Detection Logic Review

SPL-specific: Uses tstats with CIM data models, proper macros, filter macro naming

KQL-specific: Efficient joins, correct table names (DeviceProcessEvents vs SecurityEvent), has vs contains, entityMappings present

Sigma-specific: Valid logsource category/product/service, correct field names per schema, no unsupported modifiers

Elastic-specific: Valid EQL/ES|QL syntax, correct type field in TOML, ECS field names, proper [[rule.threat]] mapping

Stage 3: Threat Intelligence Validation

Stage 4: False Positive Assessment

Stage 5: Operational Effectiveness

Stage 6: Test Coverage

Stage 7: Integration Readiness

Stage 8: Advanced CTI Review

Quality Checklist

Platform-Specific Validation Commands

| Platform | Validation | Command |

|----------|-----------|---------|

| Splunk | contentctl | cd $SECURITY_CONTENT_PATH && source venv/bin/activate && contentctl validate |

| Sigma | pySigma | sigma check rule.yml or sigma convert -t <backend> rule.yml |

| Elastic | detection-rules CLI | python -m detection_rules validate-rule path/to/rule.toml |

| Sentinel | Azure CLI / Portal | Test query in Log Analytics; validate YAML schema manually |

Output

For each reviewed detection:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.