Audit
The audit events of IAM in the caller's organization: changes to its roles and role assignments, with the queries that read them.
Queries
myAuditEvents
The audit events IAM keeps of the caller's organization, the one the token's organization_id claim names: the changes to its roles and to who holds them, newest first by default. IAM authorizes the read itself, as for roles: a caller it refuses gets PERMISSION_DENIED with extensions.dependency iam. Only iam's events are read: filter.products absent or empty reads them, and naming any other product fails with VALIDATION_ERROR. IAM records its events with no workspace, so AuditEvent.workspace is null. node(id:) does not resolve these events. The types are the ones BdrQuery.myAuditEvents returns too.
myAuditEvents(
filter: AuditEventFilter
first: Int
after: String
last: Int
before: String
orderBy: AuditEventOrder = { field: OCCURRED_AT, direction: DESC }
): AuditEventConnection!Arguments
filter
AuditEventFilter
Filtering options for the returned events.
orderBy
AuditEventOrder
The ordering options for the returned events.
Input types:
Output types:
myEntityHistory
The audit events IAM keeps about one entity of the caller's organization, such as a role, newest first by default. The access and the products are as for myAuditEvents.
Arguments
entityId
ID!
The ID of the entity whose events to return.
filter
AuditEventFilter
Filtering options for the returned events.
orderBy
AuditEventOrder
The ordering options for the returned events.
Input types:
Output types:
See also
Last updated
Was this helpful?