get_violations
Retrieve active Kubernetes policy violations enriched with compliance framework references. Filter by namespace, engine, severity, or cluster to pinpoint non-compliant resources.
Instructions
All active violations enriched with compliance framework refs.
namespace: restrict to a specific Kubernetes namespace. engine: one of gatekeeper, kyverno, azure_policy. min_severity: only return violations at or above this level (critical → info). cluster: restrict to a specific cluster label (multi-cluster mode only).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_violations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace | No | ||
| engine | No | ||
| min_severity | No | ||
| cluster | No |