Get cluster security posture
get_cluster_security_postureRead one cluster's security posture detail. report picks it: access (the cluster's Kubernetes access findings, such as standing cluster-admin grants or grants past the access policy, each with its remediation, and every check that could not be evaluated; the twin of ankra security access; grantee emails are withheld) or benchmark_resources (the Kubernetes objects failing one compliance control, each with the Ankra add-on or manifest that deploys it and its stack; the twin of ankra security benchmarks resources; needs check_id, and benchmark_id unless source is config_audit; take both from get_compliance_reports). An unknown is not a pass. benchmark_resources reads the cluster live and fails when its agent is unreachable. Read-only; needs security.read. For the benchmark totals use get_compliance_reports; for NetworkPolicy exposure use get_cluster_network_policy_overprivilege.
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": {
"report": "<report>"
},
"name": "get_cluster_security_posture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| report | Yes | Which report to read. | |
| source | No | benchmark_resources: where the control comes from (default benchmark). | |
| check_id | No | benchmark_resources: the control's id. | |
| cluster_id | No | Cluster id (UUID). Optional when the conversation is bound to a cluster. | |
| benchmark_id | No | benchmark_resources: the benchmark the control belongs to; required unless source is config_audit. |