get_rbac_for_workload
Assess a workload's ServiceAccount RBAC and get an over-privilege verdict to identify excessive permissions.
Instructions
Effective RBAC of the workload's ServiceAccount, with an over-privilege verdict.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"service": "<service>"
},
"name": "get_rbac_for_workload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service | Yes | Workload name as you would say it: a Deployment, StatefulSet, DaemonSet, Service, or Pod name | |
| namespace | No | Kubernetes namespace (required: no default configured; see list_namespaces) |