Admin API
Create an Admin API client
An actor triggers this event when they attempt to create an API client for the
Admin API. The name and scopes are
set in a subsequent update, so they are not included in this event. When the
outcome is DENIED, the actor did not have permission to create the client.
typestringDefault value: CREATE_ADMIN_API_CLIENT
Available values: The only valid value is CREATE_ADMIN_API_CLIENT.
Example
{"id": ...,"timestamp": ...,"actor": ...,"target": ...,"action": {"type": "CREATE_ADMIN_API_CLIENT"},"outcome": ...,"context": ...}
Update an Admin API client
An actor triggers this event when they attempt to update an API client for the
Admin API. When the outcome is DENIED,
the actor did not have permission to update the client.
typestringDefault value: UPDATE_ADMIN_API_CLIENT
Available values: The only valid value is UPDATE_ADMIN_API_CLIENT.
changed_fieldsstring[]The fields the actor requested changes for in this update.
Available values:
NAME: The name of the API client.SCOPES: The scopes granted to the API client.SECRET: The client secret was regenerated.
old_namestringThe previous name of the API client.
new_namestringThe new name of the API client.
old_scopesstring[]The previous scopes granted to the API client.
new_scopesstring[]The new scopes granted to the API client.
Example
{"id": ...,"timestamp": ...,"actor": ...,"target": ...,"action": {"type": "UPDATE_ADMIN_API_CLIENT","changed_fields": ["NAME","SCOPES","SECRET"],"old_name": "My Integration","new_name": "My Updated Integration","old_scopes": ["admin:team:read"],"new_scopes": ["admin:team:read"]},"outcome": ...,"context": ...}
Delete an Admin API client
An actor triggers this event when they attempt to delete an API client for the
Admin API. When the outcome is DENIED,
the actor did not have permission to delete the client.
typestringDefault value: DELETE_ADMIN_API_CLIENT
Available values: The only valid value is DELETE_ADMIN_API_CLIENT.
Example
{"id": ...,"timestamp": ...,"actor": ...,"target": ...,"action": {"type": "DELETE_ADMIN_API_CLIENT"},"outcome": ...,"context": ...}
Send a request to the Admin API
An actor (an Admin API client) triggers this event
when it sends a request to an Admin API endpoint. When the outcome is DENIED, the
request was rejected because the client was missing a required scope or did not have
sufficient permissions; the outcome details carry the reason. These events help
administrators detect misuse or reconnaissance by an over-permissioned or misconfigured
integration.
typestringDefault value: SEND_ADMIN_API_REQUEST
Available values: The only valid value is SEND_ADMIN_API_REQUEST.
operation_idstringThe Admin API operation the client attempted to invoke.
Example
{"id": ...,"timestamp": ...,"actor": ...,"target": ...,"action": {"type": "SEND_ADMIN_API_REQUEST","operation_id": "listGroups"},"outcome": ...,"context": ...}