一键导入
kyverno-image-validation-templates
Kyverno image validation: registry allowlists, digests, signatures, and CVE scanning gates for K8s supply chain security.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Kyverno image validation: registry allowlists, digests, signatures, and CVE scanning gates for K8s supply chain security.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | kyverno-image-validation-templates |
| description | Kyverno image validation: registry allowlists, digests, signatures, and CVE scanning gates for K8s supply chain security. |
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.
Production-grade Go CLI patterns, automated release workflows with Release Please, versioned docs, and coverage enforcement for DevSecOps build pipelines.
Design CLI commands that work independently and compose well for automation. Orchestrator pattern coordinates, subcommands execute discrete tasks.
Implement idiomatic Kubernetes operations with label selectors, strategic merge patches, and proper error handling for production-grade CLI tooling.
Choose the right Go CLI framework for Kubernetes-native tools. Decision matrix compares Cobra, urfave/cli, and Kong for ecosystem alignment and features.
Build Kubernetes-native CLIs in Go with type safety, testability, and complex orchestration logic for deployment tools and cluster automation.
Integrate Go CLIs with Kubernetes using client-go. Automatic config detection works on laptops, CI runners, and cluster pods with minimal RBAC setup.