Audit

The audit log provides audit trail information for user activity, changes to business objects and other important information. For more information, see Audit log.

Deprecated

Get audit logs.

get

Retrieve audit logs using the query parameters.

Authorizations
AuthorizationstringRequired

Bearer authentication

Query parameters
startstring · date-timeOptional

Starting date for audit logs retrieval. format yyyy-MM-dd for date yyyy-MM-ddTHH:mm:ss for date-time.

Example: 2022-06-07T09:01:02
endstring · date-timeOptional

Ending date for audit logs retrieval. format yyyy-MM-dd for date yyyy-MM-ddTHH:mm:ss for date-time.

Example: 2022-06-07T09:01:02
cluster_uuidstringOptional

The cluster uuid of the logged operation (for cluster related operations)

Example: 123e4567-e89b-12d3-a456-426614174000
actionstringOptional

The action of the logged operation.

Example: Create
source_typestringOptional

The type of the source of the action.

Example: User
source_idstringOptional

The id of the source of the action.

Example: 96a4382e-afa5-4604-9eb1-c3071aa021fc
source_namestringOptional

The name of the source of the action.

Example: test@run.ai
entity_typestringOptional

The type of the action related entity.

Example: Department
entity_idstringOptional

The id of the action related entity.

Example: 51
limitinteger · int32 · min: 1 · max: 500Optional

The maximum number of entries to return.

Default: 50
offsetinteger · int32Optional

The offset of the first item returned in the collection.

Example: 100
successstringOptional

enter true for success audits and false for failures (leave blank for all)

Example: true
downloadstringOptional

enter true to download the logs into logs.json file

Example: true
Responses
200

Filtered audit logs returned successfully

application/json
idintegerOptional

The unique id of the audit log.

Example: 12
clusterUuidstring · uuidOptional

The id of the cluster.

Example: 71f69d83-ba66-4822-adf5-55ce55efd210
tenantIdinteger · int32Optional

The id of the tenant.

Example: 1001
happenedAtstring · date-timeOptional

The date and time in which the event happened.

Example: 2022-06-08T11:28:24.131Z
actionstringOptional

The action that was performed by the user.

Example: Create
versionstringOptional

The version of the audit log record.

Example: 1
entityIdstringOptional

The id of the action related entity.

Example: 51
entityTypestringOptional

The type of the action related entity.

Example: Department
entityNamestringOptional

The name of the action related entity.

Example: MyDepartment123
sourceTypestringOptional

The type of the source of the action.

Example: User
sourceIdstringOptional

The id of the source of the action.

Example: 96a4382e-afa5-4604-9eb1-c3071aa021fc
sourceNamestringOptional

The name of the source of the action.

Example: test@run.ai
errorstringOptional

In case of a failed action, the corresponding error

Example: {"status":404,"description":"Cluster with uuid '19519f4b-e3a5-45c7-9451-0def7b931546' does not exist","errorType":"BackendError"}
contextobjectOptional

The context of the action.

Example: {"user_agent":"Thunder Client (https://www.thunderclient.com)"}
bodyobjectOptional

The body of the action http request.

Example: {"name":"test1","deservedGpus":1,"allowOverQuota":false,"maxAllowedGpus":1}
get
/v1/k8s/audit

Last updated