review-security-k8s-main · git:20260522.4bbd4a0 · 2026-05-22 · sha256 75f403edb6b2f378
review-security-k8s-main git:20260522.4bbd4a0A
Immutable. This exact content is served forever at /api/v1/blob/75f403edb6b2f378.
---
name: review-security-k8s-main
description: Orchestrates comprehensive Kubernetes security reviews.
---
# Task
Coordinate Kubernetes security review sub-agents, gather findings, and produce a summarized JSON report.
# Workflow
## 1. Context
Invoke `review-security-k8s-understand`. Wait for summary.
## 2. Parallel Reviews
Pass context and launch in parallel sub-agents:
- `review-security-k8s-rbac`
- `review-security-k8s-nodes`
- `review-security-k8s-network`
- `review-security-k8s-gateway`
- `review-security-k8s-namespaces`
- `review-security-k8s-service-accounts`
- `review-security-k8s-storage`
- `review-security-k8s-admission`
- `review-security-k8s-pod`
- `review-security-k8s-agents-main`
**CRITICAL**: Instruct each to output JSON:
```json
[{"agent": "<skill>", "findings": [{"message": "<desc>", "file": "<name>", "line": "<num>"}]}]
```
(Return empty list if no findings). Wait for completion.
## 3. Triage & Filtering
Evaluate the raw findings against the project context to determine actual risk. Filter out findings that are functionally required by the workload's specific role or adequately mitigated by broader architectural controls.
- *Example:* Filter out `hostPath` or `privileged` warnings for recognized infrastructure daemonsets (e.g., CSI drivers).
- *Example:* Downgrade or filter missing `NetworkPolicy` warnings if the context confirms a strict Service Mesh is handling all routing and authorization.
## 4. Aggregation
Merge the filtered findings into a single JSON array. Output MUST be valid JSON string (markdown blocks okay). Omit agents with no findings or return empty `findings`.