| name | mandate-2-3-2-runtime-evidence-intake-guide |
| description | Gather natural-language context and generate runtime/process evidence collection guidance for Mandate 2.3.2 (Anomaly Detection), including concrete system command templates and artifact checklists for final compliance evaluation. |
Mandate 2.3.2 Runtime Evidence Intake and Guidance Skill
Mandate
- ID: 2.3.2
- Title: Anomaly Detection
Mitigates
- ML08 Model Skewing
- LLM10 Unbounded Consumption
- ASI02 Tool Misuse and Exploitation
- ASI10 Rogue Agents
Purpose
Collect user-provided context in natural language, convert it into an evidence plan, and produce actionable steps and commands to generate runtime/process evidence for final assessment.
Step-by-Step Workflow
- Elicit context in natural language.
Ask for environment stack, deployment model, cloud/on-prem platform, logging/identity/security tooling, and data sensitivity profile.
- Normalize context.
Convert user responses into a structured environment profile: systems, owners, data stores, auth layers, monitoring tools.
- Build mandate evidence matrix.
Map required evidence types to concrete systems and responsible owners.
- Generate evidence collection plan.
Provide ordered steps to extract artifacts, expected output formats, and validation checks.
- Generate system command pack.
Produce commands with placeholders for the user environment and explain expected outputs.
- Validate completeness.
Mark each required artifact as collected, partial, or missing.
- Produce final readiness report.
Summarize what is sufficient for final pass/fail and what gaps remain.
Runtime/Process Evidence Required
- Telemetry coverage map (what is monitored in production).
- Alerting configuration and on-call routing.
- Alert quality metrics (precision/false positives/MTTD).
- Incident tickets showing anomaly-to-response lifecycle.
Minimum User Inputs to Start
- SIEM/monitoring configuration exports.
- Recent anomaly alert samples with response timestamps.
- Post-incident reports for anomaly-triggered events.
Command Templates (Adapt to User Environment)
- Alert policy export (CloudWatch/GCP/Prometheus): cat anomaly_alert_policies_.json
- Alert trigger history: cat anomaly_alert_history_.csv
- On-call routing config: cat oncall_routing_.yaml
- MTTD/false-positive metrics: cat anomaly_detection_metrics_.csv
- Incident ticket export: cat anomaly_incident_tickets_.csv
Final Evaluation Logic
- Pass only if detection logic exists in code and operations data shows reliable detection plus timely response.
- Fail if detection coverage or operational response evidence is weak.
Output Contract
Return:
- context_profile: normalized system context
- evidence_requirements: checklist by artifact
- command_plan: runnable command templates with placeholders
- collection_status: per-artifact status
- assessment_readiness: ready|not_ready
- remaining_gaps: missing evidence blocking final verdict
Guardrails
- Ask concise follow-up questions when context is ambiguous.
- Keep commands read-only by default.
- Call out commands requiring elevated privileges before execution.