Policy As Code

Covers enforcing infrastructure and cluster rules automatically, before a bad change ever reaches production — OPA, Sentinel, and Kyverno policies evaluated against the plan or admission request, and testing those policies like real code. Use this whenever the user is writing a Rego or Sentinel policy, adding an admission controller, wiring a policy check into a pipeline, or deciding whether a rule should be enforced or just audited. For the Terraform plan those policies gate use `infrastructure-as-code`, for Kubernetes-specific admission enforcement use `kubernetes-security`.

arjunprabhulal Updated

File contents

arjunprabhulal/devops-skills/tree/main/skills/iac/policy-as-code commit 1e54a17e54

Frequently asked questions

npx skillmds@latest add arjunprabhulal/policy-as-code