Skip to main content
GET
Daily security posture trend of one cluster

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

cluster_id
string<uuid>
required

Query Parameters

days
integer
default:90

Trend window in days, 1 to 365 (default 90); out-of-range values are clamped.

Response

The cluster's daily posture snapshots for the requested window, oldest first; an empty items list when no vulnerability snapshot exists yet. access_posture_history lists the days the access posture was recorded, including days without a vulnerability snapshot.

days
integer
required
items
object[]
required

The days with a vulnerability snapshot, oldest first. A day absent here recorded no Trivy rollup (no scanner, or no reports yet); it is not a day with zero findings.

access_posture_history
object[]
required

The days on which the cluster's Kubernetes access posture was recorded, oldest first, including days with no vulnerability snapshot (a cluster without Trivy reports). A day absent here recorded no access posture, which is never a clean posture.