Active
TMM Created
Zero-Day Response
KNOW, CONTAIN, FIX, PROVE - PHP2Shell on RHEL and AWS
AI reads. Owners decide. AAP acts. Automation orchestrator holds every lane.
Description
A zero-day is being exploited before a fix exists. Two automation orchestrator workflows run the response a board asks for - KNOW (evidence, classification, log look-back), CONTAIN (AI-extracted interim controls, policy gate, test, two named owner approvals, production verify, board update), then FIX and PROVE (per-stream fix availability from the Red Hat Security Data API, test and rolling patch, controls removed only where the fix is verified, re-scan, case kept open while lanes remain). Import both workflows with the two Download JSON buttons - KNOW + CONTAIN first, then FIX + PROVE. This is a historical replay - the advisories are recorded snapshots, the estate is a lab, "AcmeCMS" is a simulated vendor, and there is no exploit code.
Why it matters
- The gap between first exploitation and the fix is where the risk is; the demo shows a governed way to act inside it instead of waiting for a patch.
- Classification, fix status and verification are reviewed, deterministic automation. AI reads advisories and explains - it cannot change a priority or skip a gate.
- Every AI answer is validated by a deterministic check step, every AI-proposed control by a policy gate and a test host, and every production change by an owner approval.
- Interim controls come off only where the fix is verified running, so there is no forgotten workaround - and the case stays open, with owners, for the lanes that are not fixed.
AO building blocks
Automation orchestrator step types this workflow uses on the canvas. See all building blocks
-
Triggers
Manual trigger
Starts a workflow when a user clicks Run in the UI or calls the workflow execution API - the simplest entry point for on-demand runs like demos, break-glass remediation, or operator-initiated changes. No extra configuration is required, and runs appear in history with the triggering user as the source.
-
AI & integrations
Task agent
Adds LLM reasoning to a workflow - the step receives a natural-language prompt, can call enabled tools, and returns structured output that downstream steps reference through expressions. Use it for unstructured data (logs, tickets, alerts) to summarize, classify, triage, and recommend remediation actions; pair with an approval step for human oversight.
-
Action steps
HTTP request
Calls an external HTTP API from the workflow, with the response status and body available to downstream steps through the expression system. Use it to integrate REST endpoints that aren't exposed through MCP tools - verify endpoints first, since step testing sends real network requests.
-
Logic
Conditional step
Evaluates one expression and routes to a true or false branch, sharing the same expression builder as switch steps. Use it for simple binary branching, and leave the false path unconnected to end the branch when the condition isn't met.
-
Logic
Converge step
Joins multiple parallel branches back into a single execution path, waiting until every connected upstream branch completes before continuing. Place it after switch or conditional branches that must rejoin so the workflow proceeds as a single thread.
-
Approval
Approval step
Pauses the branch and creates an approval request; an approver reviews context, approves or rejects, and the workflow continues on the matching path. Place approvals before destructive or production changes, with configurable approver users/groups, a decision window, and fallback behavior if no one responds in time.
-
AAP execution
AAP job template
Launches a single Ansible Automation Platform job template from the workflow, polling until the job completes and exposing results to downstream steps. The standard bridge between automation orchestrator reasoning and AAP execution - one playbook with resolved inventory, credentials, limits, and extra vars.
Interactive Experience
Workflow
flowchart LR
A@{ img: "https://ansible-tmm.github.io/aap-orchestrator-demos/assets/icons/manual-trigger.png", label: "Advisory received", pos: "b", h: 96, constraint: "on" } --> B@{ img: "https://ansible-tmm.github.io/aap-orchestrator-demos/assets/icons/launch-aap-job-template.png", label: "KNOW: Evidence + look-back", pos: "b", h: 96, constraint: "on" }
B --> C@{ img: "https://ansible-tmm.github.io/aap-orchestrator-demos/assets/icons/task-agent.png", label: "AI: Explain for humans", pos: "b", h: 96, constraint: "on" }
C --> D@{ img: "https://ansible-tmm.github.io/aap-orchestrator-demos/assets/icons/task-agent.png", label: "AI: Read the advisory", pos: "b", h: 96, constraint: "on" }
D --> E@{ img: "https://ansible-tmm.github.io/aap-orchestrator-demos/assets/icons/launch-aap-job-template.png", label: "Policy gate + test", pos: "b", h: 96, constraint: "on" }
E --> F@{ img: "https://ansible-tmm.github.io/aap-orchestrator-demos/assets/icons/approval-node.png", label: "Security + service owner", pos: "b", h: 96, constraint: "on" }
F -->|Approved| G@{ img: "https://ansible-tmm.github.io/aap-orchestrator-demos/assets/icons/launch-aap-job-template.png", label: "PROD: Contain + verify", pos: "b", h: 96, constraint: "on" }
G --> H@{ img: "https://ansible-tmm.github.io/aap-orchestrator-demos/assets/icons/task-agent.png", label: "AI: Board update", pos: "b", h: 96, constraint: "on" }
classDef noBorder fill:transparent,stroke:transparent
class A,B,C,D,E,F,G,H noBorder
Playbooks
| Playbook | What it does | Runs on |
|---|---|---|
infra_provision_aws.yml
|
Creates (or, with role_action deprovision, removes) the dedicated VPC and six tagged RHEL instances. | AWS (localhost) |
estate_configure.yml
|
Builds or resets the estate to its vulnerable baseline. | RHEL hosts |
p2s_scan.yml
|
KNOW - evidence from every PHP asset, then the deterministic classification. | RHEL hosts |
p2s_lookback.yml
|
KNOW - log look-back, were we already hit? | RHEL hosts |
p2s_ai_check.yml
|
Parses and validates every AI answer against its schema. | localhost |
p2s_spec_check.yml
|
Policy gate - is the AI-extracted control spec inside the reviewed envelope? | localhost |
p2s_controls.yml
|
CONTAIN - applies and verifies the interim controls, test then production. | RHEL hosts |
p2s_fix_availability.yml
|
FIX - decides per stream on the Red Hat API answers the workflow recorded. | localhost |
p2s_patch.yml
|
FIX - patch and verify, test then rolling production with rollback. | RHEL hosts |
p2s_standdown.yml
|
Removes interim controls only where the fix is verified. | RHEL hosts |
p2s_case_record.yml
|
PROVE - records the AI-drafted update on the case; refuses an empty draft. | localhost |
p2s_independent_check.yml
|
Independent read of live estate state and business transactions, outside the response roles. | RHEL hosts |
Demo ideas
- Run KNOW + CONTAIN end to end and stop on the security approval panel - the AI summary, the tested change and Red Hat's residual-risk sentence on one screen
- Show the board update's "not claimed" list - control verified is not safe
- Run FIX + PROVE to show the fix arriving unevenly - patched lanes, a vendor appliance still contained, an unknown asset still escalated