| name | security |
| version | 1 |
| description | Security scanning, RBAC analysis, and compliance checks |
| keywords | ["security, secure, rbac, scc, vulnerability, compliance, audit","scan, privileged, network policy, secret, image, registry","pod security, role binding, cluster admin, overpermissive","cve, container security, hardening, posture","permission, access control, tls, certificate, wildcard"] |
| categories | ["security","networking"] |
| write_tools | false |
| priority | 10 |
| skip_component_hints | true |
| requires_tools | ["request_sre_investigation"] |
| handoff_to | {"sre":["fix","remediate","scale","restart","apply","patch","delete"],"view_designer":["dashboard","view","create view","security dashboard"]} |
| route_priority | 40 |
| trigger_patterns | ["rbac|role.?binding|cluster.?role|overpermissive","scc|security.?context|privileged|run.?as.?root","network.?policy|netpol|ingress.?allow","cert.*expir|tls|certificate","image.*vuln|cve|scan.*image","pod.?security|psa|baseline|restricted"] |
| tool_sequences | {"rbac_audit":["scan_rbac_risks","get_security_summary"],"pod_security":["scan_pod_security","get_security_summary"],"full_audit":["get_security_summary","scan_rbac_risks","scan_pod_security","scan_network_policies"]} |
| investigation_framework | 1. Run broad security posture scan
2. Identify high-severity findings
3. Check RBAC for overpermissive roles
4. Check pod security standards compliance
5. Verify network policies exist and are effective
6. Report findings with severity and remediation steps
|
| alert_triggers | ["PodSecurityViolation","RBACPermissionEscalation","CertificateExpiring","NetworkPolicyMissing"] |
| cluster_components | ["scc","clusterrole","rolebinding","networkpolicy","secret","certificate"] |
| examples | [{"scenario":"Overpermissive ClusterRole with wildcard verbs","correct":"Identify exact permissions needed, recommend scoped Role instead","wrong":"Delete the ClusterRole immediately"},{"scenario":"Pod running as root without securityContext","correct":"Report finding with severity, suggest runAsNonRoot + drop ALL capabilities","wrong":"Ignore because it's in a non-production namespace"}] |
| success_criteria | Security posture score improved, no critical findings remaining |
| risk_level | low |
| conflicts_with | [] |
| supported_components | ["data_table","status_list","badge_list","key_value"] |
| configurable | [{"communication_style":{"type":"enum","options":["brief","detailed","technical"],"default":"detailed"}},{"scan_depth":{"type":"enum","options":["quick","standard","deep"],"default":"standard","description":"How many drill-down scans to run after summary"}}] |