devton/agentic-workflow-blueprint/scanning-kubernetes-manifests-with-kubesec
Claude Code and agent skill by devton/agentic-workflow-blueprint
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install devton/agentic-workflow-blueprint/scanning-kubernetes-manifests-with-kubesecSKILL.md
agentic-workflows-blueprint.workflow.scanning-kubernetes-manifests-with-kubesec
Goal
Assess Kubernetes manifests with Kubesec to detect insecure pod/workload configurations and enforce policy thresholds before deployment.
Scope
- Applies to: Kubernetes YAML/JSON manifests, including workloads and related deployment artifacts.
- Does not cover: live runtime behavioral threat detection after workloads are deployed.
Triggers
- "Scan Kubernetes manifests with Kubesec"
- "Block insecure K8s manifests in CI"
- "Validate pod security controls before deploy"
- "Add static manifest security gate"
Inputs
manifestPaths: files/directories containing Kubernetes manifestsscorePolicy: numeric/qualitative threshold policy (for example reject score < 0)executionMode: CLI binary, Docker, plugin, or HTTP APIpipelineContext(optional): CI platform and artifact/reporting requirementsnamespaceContext(optional): target namespaces or environment tiers
Invariants
- Every scanned resource must emit an explicit score and advisory list.
- Gate policy must be deterministic and documented.
- Critical insecure patterns (privileged, host PID/network, dangerous capabilities) are non-negotiable blockers.
- Results must be retained for review and remediation tracking.
Procedure
- Prepare scan environment
- Select execution mode (local CLI, container, plugin, or API endpoint).
- Validate tool availability and version.
- Define scoring and fail policy
- Set
scorePolicyand advisory severity interpretation. - Define fail-fast behavior for critical controls.
- Scan manifests
- Run Kubesec on each target manifest.
- Capture structured output (JSON preferred for automation).
- Evaluate key control categories
- Privilege and root controls.
- Capabilities and host namespace usage.
- Volume mount and filesystem hardening controls.
- Resource limits/requests and service account hygiene.
- Seccomp/AppArmor/SELinux posture where applicable.
- Enforce CI/CD gate
- Integrate scan step into PR/build pipeline.
- Fail pipeline on score/policy breach.
- Optional admission enforcement
- Where required, integrate as validating webhook to enforce policy at admission.
- Ensure fail-closed behavior is intentional and staged by environment.
- Report and remediation
- Produce actionable findings with manifest path and control IDs.
- Generate prioritized remediation plan for blocked resources.
Outputs
- Kubesec scan report for all manifest targets.
- Gate decision summary with score threshold outcome.
- Findings list mapped to manifest resources and remediation actions.
- Optional admission policy integration notes.
Review gate
- [ ] All manifest targets are scanned with auditable output.
- [ ] Critical policy violations trigger blocking outcome.
- [ ] Score/advisory thresholds are clearly enforced.
- [ ] Findings include direct remediation guidance.
- [ ] Pipeline/admission integration behavior is documented.
References
../../SKILL.md../implementing-network-policies-for-kubernetes/SKILL.md../review/SKILL.md
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingworkflows/scanning-kubernetes-manifests-with-kubesec/SKILL.md
Popularity
- Repository stars
- 72
- Repository forks
- 4
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/devton/agentic-workflow-blueprint/scanning-kubernetes-manifests-with-kubesec)