DevOps / SRE / Platform Engineer / Stage 12 · Secure operations
Enforce identity, provenance and policy as code
"Already know" meets prerequisites. "Not relevant" removes the topic from your total but leaves what builds on it waiting.
Self-check
- In a kind cluster, enforce the restricted pod security level on a namespace, show a privileged pod being refused, and write one policy-as-code rule that refuses an image without a pinned digest.
- Evidence to include: Keep the namespace labels, the refusal message, the policy and a test that shows it allowing a pinned image and refusing an unpinned one.
Try it without the material first, then compare. Save your answer in your notes below. Report a problem with this self-check
Learning activities
2 activities- Not donePod Security Standards (opens another site)
The privileged, baseline and restricted levels and what each refuses.
10 min - Not doneOpen Policy Agent (OPA) (opens another site)
A general policy engine and the Rego language, with a worked example.
15 min