Automation
SOAR
Cheat sheet · https://pcornel.dk/topic.php?topic=5769
Answer
SOAR (Security Orchestration, Automation and Response) connects security tools and runs playbooks that enrich, triage and respond to alerts automatically, such as blocking an IP or isolating a host.
Remember
- Automate enrichment first; approve disruptive actions.
- Integrations need maintained credentials.
- Playbooks must handle missing data.
First checks
- SOAR integrations health — connectors
- Playbook run metrics — MTTR impact
- Case management — tracking
Verify in this order
alert → SOAR playbook → actions → case
Where it usually breaks
Automation/controller success is not target-state proof; target config/state is not effective-runtime proof; effective state is not workload proof.
→ SOAR · operational reference
| Layer | SOAR operational reference |
|---|---|
| Runtime/ownership | SOAR / CACAO security playbooks · identify controller/worker/target ownership before mutation |
| Persistent intent | Versioned configuration/playbook/workflow with explicit dependencies and least-privilege identity |
| Verification | jq "{type,spec_version,name,workflow_start}" playbook.json; jq -e ".workflow_start and .workflow" playbook.json |
| Expected interpretation | The security playbook has stable identity/version, explicit start/workflow steps, bounded credentials/actions, observable case/artifact IDs and independently verified containment/remediation outcomes. |
| Recovery boundary | Preserve correlation IDs + pre-state, then verify target/service independently after remediation |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5769