plugins/enforce/skills/opa-policy-templates/SKILL.md
OPA Gatekeeper policy templates overview. 20 production-ready constraint templates for pod security, image validation, RBAC, and resource governance.
npx skillsauth add adaptive-enforcement-lab/claude-skills opa-policy-templatesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Deploy in Audit Mode First
Use
enforcementAction: dryruninitially. Existing resources may violate constraints. Monitor violations for 48 hours usingkubectl get constraints, fix non-compliant resources, then switch todeny.
Production-ready OPA/Gatekeeper constraint templates for Kubernetes admission control. 20 policies covering pod security, image validation, RBAC, and resource governance. Each template includes complete Rego implementation, constraint examples, customization options, validation commands, and real-world use cases.
Standard deployment workflow for all templates:
See examples.md for detailed code examples.
Choosing between OPA/Gatekeeper and Kyverno depends on your team's expertise and requirements:
See Decision Guide → for detailed comparison and migration strategies.
See examples.md for code examples.
See reference.md for complete documentation.
documentation
Workload Identity Federation implementation guide. GKE setup, IAM bindings, ServiceAccount configuration, migration from service account keys, and troubleshooting patterns.
development
Secure GitHub Actions trigger patterns for pull requests, forks, and reusable workflows. Preventing privilege escalation and code injection through trigger misconfiguration.
development
Structured framework for evaluating GitHub Actions security before adoption. Trust tiers, risk assessment checklist, and decision tree for action evaluation.
testing
Securely store GitHub App credentials across different environments. GitHub Actions secrets, external CI, Kubernetes, and automated rotation patterns.