Skip to content
Back to skills

Kubernetes Security

ASecurity

Kubernetes and container security skill for cluster hardening, RBAC review, admission control (OPA Gatekeeper, Kyverno), Pod Security Standards, network policies, secrets management, runtime defense (Falco, Tetragon), image supply chain (cosign, SLSA, in-toto), and CIS benchmark compliance. Use to assess and harden clusters you operate.

  • 19 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 11, 2026
ai-agentsrustgoshellnodekubernetesapisecurity

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 11, 2026

npx -y skills add Garyson26/Trident-SecOps-Skills --skill kubernetes-security --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Kubernetes Security?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Kubernetes Security
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/garyson26-kubernetes-security/badge)](https://www.skillsdirectory.com/skills/garyson26-kubernetes-security)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: kubernetes-security
description: Kubernetes and container security skill for cluster hardening, RBAC review, admission control (OPA Gatekeeper, Kyverno), Pod Security Standards, network policies, secrets management, runtime defense (Falco, Tetragon), image supply chain (cosign, SLSA, in-toto), and CIS benchmark compliance. Use to assess and harden clusters you operate.
---

# Kubernetes Security

## Authorization Boundary

- Require cluster context, namespace scope, and read-only kubeconfig before live queries.
- Avoid disruptive runtime probes on production; prefer staging or ephemeral clusters.

## Hardening Workflow

1. Inventory: API server flags, node OS, CNI, CSI, ingress, service mesh, admission plugins, controllers.
2. Scan: `kube-bench`, `kubescape`, `trivy k8s`, `polaris`, `kubeaudit`, `popeye`.
3. RBAC: enumerate `ClusterRole`/`RoleBinding`; flag wildcard verbs, `system:masters`, `escalate`, `bind`, `impersonate`, secret reads from broad subjects.
4. Workloads: enforce Pod Security `restricted`, drop capabilities, read-only rootfs, non-root UID, seccomp `RuntimeDefault`, no `hostPath`/`hostNetwork`/`hostPID`.
5. Network: default-deny `NetworkPolicy`; explicit egress to known services; mTLS via mesh where applicable.
6. Supply chain: signed images (`cosign verify`), provenance attestations (SLSA), admission policy that blocks unsigned.
7. Runtime: Falco/Tetragon rules for exec-in-container, reverse shells, crypto miners, sensitive mounts.

## Multi-Tenant Patterns

- Namespace-per-tenant with quotas, limit ranges, and `NetworkPolicy` isolation.
- Separate node pools for untrusted workloads; gVisor or Kata for sandboxing.
- Per-tenant audit log filters; secrets via external KMS, never inline.

## Output Contract

- `inventory.yaml`, `findings.csv`, `policies/` (Gatekeeper/Kyverno), `netpol/`, `runtime/falco-rules.yaml`.
- `runbook.md`: incident response for compromised pod, leaked token, miner detection.
- `gap.md`: missing telemetry and proposed fixes.

Files in this skill

  • SKILL.md2 KB
  • agents/openai.yaml220 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.