get_cluster_security_history
The daily security posture trend of one cluster from its stored snapshots, oldest first: findings by severity, fixable critical/high, workloads and namespaces scanned, the risk score, the actionable / acknowledged / accepted-risk split, and the Kubernetes access posture summary the day recorded (access_posture; null on a day that recorded none, which is not a clean posture) per day in items. access_posture_history lists every day the access posture was recorded, also for a cluster without Trivy reports; vulnerability_snapshot_recorded false there means no scan that day, not zero findings. Read-only. A cluster with no snapshots yet (Trivy not installed or the snapshot loop not yet run) answers an empty items list, not an error - say so rather than reporting a clean history.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | How many days back to read, 1 to 365 (default 90); out-of-range values are clamped. | |
| cluster_id | No | Cluster id (UUID). Optional when the conversation is bound to a cluster. |