plugins/enforce/skills/jmespath-for-kyverno/SKILL.md
Master JMESPath for Kyverno policies. Query nested resources, build complex conditions, and validate Kubernetes workloads with production-tested patterns.
npx skillsauth add adaptive-enforcement-lab/claude-skills jmespath-for-kyvernoInstall 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.
Use JMESPath when:
Skip JMESPath when:
pattern, anyPattern)Test Before Deploying
Always test JMESPath expressions with
kyverno jpbefore adding them to policies. Syntax errors fail silently in audit mode and block resources in enforce mode.
Install Kyverno CLI for testing:
# Install kyverno CLI
brew install kyverno/kyverno/kyverno
# Test JMESPath expression
kyverno jp query -i manifest.yaml 'spec.template.spec.containers[*].name'
Simple validation example:
See examples.md for detailed code examples.
What this does:
containers[?!resources.limits.memory].name| length(@)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.