Monitoring Strategy
Design security monitoring, alerting, and observability for "$ARGUMENTS". Define what to monitor, set alert thresholds and severity levels, and establish on-call procedures and response runbooks.
Prerequisites
Read .metapowers/security/$ARGUMENTS/00-govern.md. If this file does not exist, tell the user:
Phase 0 (Govern) has not been completed for "$ARGUMENTS". Run a Govern skill first (e.g., /security:security-policy $ARGUMENTS), or use --skip-checks to bypass.
If --skip-checks is present in $ARGUMENTS, skip this check and log to .metapowers/security/$ARGUMENTS/skip-log.md.
Process
Define what to monitor:
- Authentication events — login successes and failures, MFA challenges, password resets, account lockouts
- Authorization failures — access denied events, privilege escalation attempts, unauthorized API calls
- Data access — sensitive data reads, bulk data exports, data modification patterns
- Configuration changes — infrastructure changes, security group modifications, IAM policy updates
- Network traffic anomalies — unusual outbound traffic, connections to known malicious IPs, DNS anomalies
- Application-level events — error rate spikes, request pattern changes, resource exhaustion
Set alert thresholds and severity levels:
- Critical (P1) — active breach indicators, data exfiltration detected, privilege escalation confirmed (response: immediate, 24/7)
- High (P2) — multiple failed login attempts from single source, unauthorized configuration change, known malware signature (response: within 1 hour)
- Medium (P3) — unusual access pattern, new admin account created, certificate expiring soon (response: within 4 hours)
- Low (P4) — informational security events, policy compliance drift, minor configuration anomaly (response: next business day)
- Define alert deduplication and correlation to reduce noise
Define on-call rotation and escalation:
- Design on-call rotation schedule (primary and secondary responders)
- Define escalation paths by severity (P1 escalates to security lead and CISO)
- Set escalation timeouts (auto-escalate if not acknowledged within defined window)
- Ensure coverage across time zones and holidays
- Define communication channels per severity (PagerDuty, Slack, phone)
Choose monitoring stack:
- Evaluate monitoring platforms (Datadog, Splunk, Elastic, CloudWatch, Grafana + Prometheus)
- Define integration requirements with existing infrastructure
- Plan metric collection, log aggregation, and trace correlation
- Design dashboard hierarchy (executive overview, team-specific, service-specific)
Create runbooks for common alerts:
- Write step-by-step response procedures for each alert type
- Include investigation steps, containment actions, and escalation criteria
- Define automated response actions for high-confidence detections
- Link runbooks to alert configurations for quick access during incidents
Define SLOs for detection and response:
- Mean time to detect (MTTD) targets by threat category
- Mean time to respond (MTTR) targets by severity level
- Alert accuracy targets (minimize false positive rate)
- Coverage targets (percentage of critical systems monitored)
- Define measurement and reporting cadence
Write the artifact to .metapowers/security/$ARGUMENTS/03-detect.md with heading:
Monitoring Strategy
Include sections:
- Monitoring Scope — events and systems to monitor with rationale
- Alert Thresholds — severity levels, thresholds, and response timeframes
- On-Call and Escalation — rotation schedule and escalation paths
- Monitoring Stack — selected tools and integration architecture
- Runbooks — response procedures per alert type
- Detection SLOs — MTTD, MTTR, accuracy, and coverage targets
Output
The monitoring strategy written to .metapowers/security/$ARGUMENTS/03-detect.md. Present a summary to the user highlighting:
- Key events and systems to be monitored
- Alert severity levels and response timeframes
- On-call structure and escalation paths
- Detection SLO targets
1---2name: monitoring-strategy3description: Design security monitoring, alerting, and observability4---56# Monitoring Strategy78Design security monitoring, alerting, and observability for "$ARGUMENTS". Define what to monitor, set alert thresholds and severity levels, and establish on-call procedures and response runbooks.910## Prerequisites1112Read `.metapowers/security/$ARGUMENTS/00-govern.md`. If this file does not exist, tell the user:1314> Phase 0 (Govern) has not been completed for "$ARGUMENTS". Run a Govern skill first (e.g., `/security:security-policy $ARGUMENTS`), or use `--skip-checks` to bypass.1516If `--skip-checks` is present in $ARGUMENTS, skip this check and log to `.metapowers/security/$ARGUMENTS/skip-log.md`.1718## Process19201. **Define what to monitor:**21 - **Authentication events** — login successes and failures, MFA challenges, password resets, account lockouts22 - **Authorization failures** — access denied events, privilege escalation attempts, unauthorized API calls23 - **Data access** — sensitive data reads, bulk data exports, data modification patterns24 - **Configuration changes** — infrastructure changes, security group modifications, IAM policy updates25 - **Network traffic anomalies** — unusual outbound traffic, connections to known malicious IPs, DNS anomalies26 - **Application-level events** — error rate spikes, request pattern changes, resource exhaustion27282. **Set alert thresholds and severity levels:**29 - **Critical (P1)** — active breach indicators, data exfiltration detected, privilege escalation confirmed (response: immediate, 24/7)30 - **High (P2)** — multiple failed login attempts from single source, unauthorized configuration change, known malware signature (response: within 1 hour)31 - **Medium (P3)** — unusual access pattern, new admin account created, certificate expiring soon (response: within 4 hours)32 - **Low (P4)** — informational security events, policy compliance drift, minor configuration anomaly (response: next business day)33 - Define alert deduplication and correlation to reduce noise34353. **Define on-call rotation and escalation:**36 - Design on-call rotation schedule (primary and secondary responders)37 - Define escalation paths by severity (P1 escalates to security lead and CISO)38 - Set escalation timeouts (auto-escalate if not acknowledged within defined window)39 - Ensure coverage across time zones and holidays40 - Define communication channels per severity (PagerDuty, Slack, phone)41424. **Choose monitoring stack:**43 - Evaluate monitoring platforms (Datadog, Splunk, Elastic, CloudWatch, Grafana + Prometheus)44 - Define integration requirements with existing infrastructure45 - Plan metric collection, log aggregation, and trace correlation46 - Design dashboard hierarchy (executive overview, team-specific, service-specific)47485. **Create runbooks for common alerts:**49 - Write step-by-step response procedures for each alert type50 - Include investigation steps, containment actions, and escalation criteria51 - Define automated response actions for high-confidence detections52 - Link runbooks to alert configurations for quick access during incidents53546. **Define SLOs for detection and response:**55 - Mean time to detect (MTTD) targets by threat category56 - Mean time to respond (MTTR) targets by severity level57 - Alert accuracy targets (minimize false positive rate)58 - Coverage targets (percentage of critical systems monitored)59 - Define measurement and reporting cadence60617. **Write the artifact** to `.metapowers/security/$ARGUMENTS/03-detect.md` with heading:6263 ## Monitoring Strategy6465 Include sections:66 - **Monitoring Scope** — events and systems to monitor with rationale67 - **Alert Thresholds** — severity levels, thresholds, and response timeframes68 - **On-Call and Escalation** — rotation schedule and escalation paths69 - **Monitoring Stack** — selected tools and integration architecture70 - **Runbooks** — response procedures per alert type71 - **Detection SLOs** — MTTD, MTTR, accuracy, and coverage targets7273## Output7475The monitoring strategy written to `.metapowers/security/$ARGUMENTS/03-detect.md`. Present a summary to the user highlighting:76- Key events and systems to be monitored77- Alert severity levels and response timeframes78- On-call structure and escalation paths79- Detection SLO targets