plugins/enforce/skills/kyverno-image-validation-templates/SKILL.md
Kyverno image validation: registry allowlists, digests, signatures, and CVE scanning gates for K8s supply chain security.
npx skillsauth add adaptive-enforcement-lab/claude-skills kyverno-image-validation-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.
Enforce container image security controls before deployment. These policies validate image sources, require cryptographic signatures, enforce digest-based references, and block images with critical vulnerabilities.
Phased Rollout Recommended
Start with registry controls and digest requirements before adding signature verification and CVE scanning. This minimizes disruption while building security layers progressively.
Block untrusted registries before enforcing signatures or scans.
kubectl apply -f registry-allowlist-policy.yaml # Registry controls first
kubectl get clusterpolicy -w # Watch for Ready status
Enforce immutable image references.
kubectl apply -f digest-enforcement-policy.yaml # Digest enforcement
kubectl get clusterpolicy -w
Verify images come from trusted sources.
kubectl apply -f signature-verification-policy.yaml # Signature verification
kubectl get clusterpolicy -w
Block vulnerable images based on scan attestations.
kubectl apply -f cve-scanning-policy.yaml # CVE gates
kubectl get clusterpolicy -w
Standardize on approved, maintained base images.
kubectl apply -f base-image-policy.yaml # Base image enforcement
kubectl get clusterpolicy -w
See examples.md for code examples.
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.