Docs
Live demo
GET/api/v2/audit/events/facets
audit:readAPI token

Retrieve aggregated facet counts for Audit V2 filters

Parameters

Query17 optional
fromstringquery

Start timestamp (RFC3339)

tostringquery

End timestamp (RFC3339)

event_id[]array of stringquery

Filter by event IDs

category[]array of stringquery

Filter by categories

type[]array of stringquery

Filter by event types

action[]array of stringquery

Filter by actions

outcome[]array of stringquery

Filter by outcomes

severity[]array of stringquery

Filter by severities

actor_kind[]array of stringquery

Filter by actor kinds

actor_label[]array of stringquery

Filter by exact actor labels (case-insensitive)

actor_querystringquery

Search actor label

resource_kind[]array of stringquery

Filter by resource kinds

resource_querystringquery

Search resource label

resource_idstring · uuidquery

Keep events whose primary or related resource has this internal id. The actor and event details are not matched. A value that is not a UUID is rejected with 400.

without_plan_readsbooleanquery

true leaves out the reads of a rule's plan (opening its preview, diff or plan), so an object's history pages hold only changes and runs.

owner_domain[]array of stringquery

Filter by owner domains

qstringquery

Free-text search

Responses

200

OK

AuditEventFacetsResponse · 11 fields
categoriesarray of AuditFacetValueResponserequired
3 fields
valuestringrequired

Filter code of the value.

labelstringrequired

Display name of the value. The UI shows it instead of the code.

countintegerrequired
typesarray of AuditFacetValueResponserequired
3 fields
valuestringrequired

Filter code of the value.

labelstringrequired

Display name of the value. The UI shows it instead of the code.

countintegerrequired
actionsarray of AuditFacetValueResponserequired
3 fields
valuestringrequired

Filter code of the value.

labelstringrequired

Display name of the value. The UI shows it instead of the code.

countintegerrequired
outcomesarray of AuditFacetValueResponserequired
3 fields
valuestringrequired

Filter code of the value.

labelstringrequired

Display name of the value. The UI shows it instead of the code.

countintegerrequired
severitiesarray of AuditFacetValueResponserequired
3 fields
valuestringrequired

Filter code of the value.

labelstringrequired

Display name of the value. The UI shows it instead of the code.

countintegerrequired
actor_kindsarray of AuditFacetValueResponserequired
3 fields
valuestringrequired

Filter code of the value.

labelstringrequired

Display name of the value. The UI shows it instead of the code.

countintegerrequired
actorsarray of AuditFacetValueResponserequired

Actor labels ranked by matching event count for top-actor views.

3 fields
valuestringrequired

Filter code of the value.

labelstringrequired

Display name of the value. The UI shows it instead of the code.

countintegerrequired
owner_domainsarray of AuditFacetValueResponserequired
3 fields
valuestringrequired

Filter code of the value.

labelstringrequired

Display name of the value. The UI shows it instead of the code.

countintegerrequired
resource_kindsarray of AuditFacetValueResponserequired
3 fields
valuestringrequired

Filter code of the value.

labelstringrequired

Display name of the value. The UI shows it instead of the code.

countintegerrequired
unique_actors_countintegerrequired
2 fields
2 fields
fromstringrequired
tostringrequired
default_window_appliedbooleanrequired

Common errors: 400 401 403 429 504. They mean the same for every operation, see Errors.

↑ ↓ to moveEnter to openEsc to close