Audit
The audit events of Console in the caller's organization: changes to it, its workspaces, members, and API keys, with the queries that read them.
Queries
myAuditEvents
The audit events Console keeps of the caller's organization, the one the token names, newest first by default. Console authorizes the read itself, from the caller's membership of the organization and access in Console: a caller it refuses gets PERMISSION_DENIED with extensions.dependency console. Only console's events are read: filter.products absent or empty reads them, and naming any other product fails with VALIDATION_ERROR. AuditEvent.workspace resolves only to the caller's own workspace, the one the token names, and is null for an event of another workspace or of none. 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 Console keeps about one entity of the caller's organization, such as a workspace or an API key, 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?