Sachin Chaurasiya

Tag

#Policy As Code

7 items tagged Policy As Code.

All tags

Articles 4

DevOps intermediate

Platform Guardrails with Kyverno and GitOps

Kyverno as a platform guardrail system: baseline and production policy layers keyed on namespace labels, delivered by Argo CD from one repository, rolled out audit-first, with scoped expiring exceptions.

17 min read
Infrastructure as Code intermediate

IaC Security in CI/CD: Gates, Exceptions and Baselines

Put Checkov in front of terraform plan: a GitLab CI job on every merge request, a baseline so only new findings fail, a pass/fail policy by check ID, exceptions with reasons, reports in the MR, and branch protection.

12 min read
Infrastructure as Code intermediate

Scan Infrastructure as Code with Checkov

Run Checkov against Terraform with a public database, an open security group and an unprotected bucket; read the 22 findings and why they matter; fix them; then record the rest as documented skips.

12 min read

Tools 3

secure IaC scanner

Checkov

Static analysis for infrastructure as code: Terraform, CloudFormation, Kubernetes and Dockerfiles.

protect Admission policy

Kyverno

Kubernetes-native policy engine: validate, mutate, generate and verify images with YAML.