ARCHOS 525 BLUEPRINT · /d/dgm_iac-policy-as-code-in-pipeline
Policy-as-code in the IaC pipeline
7 COMPONENTS · 6 FLOWS · UPDATED 2026-11-23
GITHUB README / PR PREVIEW CARD
[](https://archos.sageideas.dev/d/dgm_iac-policy-as-code-in-pipeline) *Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_iac-policy-as-code-in-pipeline)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_iac-policy-as-code-in-pipeline" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Policy-as-code in the IaC pipeline — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
src_0[("Client application")]
n0_1["CI runner"]
n1_2["Guardrails"]
n2_3["Deploy orchestrator"]
n3_4[("Audit log")]
ctrl_5["OpenTelemetry Collector"]
sink_6[("Client application")]
src_0 -->|"1. Plans JSON · HTTPS"| n0_1
n0_1 -->|"2. Evaluates · HTTP"| n1_2
n1_2 -->|"3. Gates apply · HTTPS"| n2_3
n2_3 -->|"4. Audits · TCP"| n3_4
n3_4 -->|"5. Compliant · HTTPS"| sink_6
n1_2 -->|"Logs deny · OTLP"| ctrl_5COMPONENT STACK (7)
- Client applicationSTATEFULTerraform PR + plan
- CI runnerSTATELESSOutputs plan.json
- GuardrailsSTATELESSOPA Rego + Trivy scan
- Deploy orchestratorSTATELESSBlocks public S3 / *:*
- Audit logSTATEFULSigned exception trail
- OpenTelemetry CollectorSTATELESSPolicy violation metrics
- Client applicationSTATEFULZero public leaks
REQUEST & DATA FLOW (6)
- Client application → CI runner (Plans JSON)[HTTPS]
- CI runner → Guardrails (Evaluates)[HTTP]
- Guardrails → Deploy orchestrator (Gates apply)[HTTPS]
- Deploy orchestrator → Audit log (Audits)[TCP]
- Audit log → Client application (Compliant)[HTTPS]
- Guardrails → OpenTelemetry Collector (Logs deny)[OTLP]