Audit
AuditService
The Audit Service provides access to the Service Bridge audit log APIs.
All operations performed against TSB resources generate audit log events that can be queried using the Audit log APIs. Those events include information about the users that performed each action and about the actions themselves.
This API is integrated with the TSB permission system, and all its methods will only return audit logs for those resources the users making the queries have permissions on.
ListAuditLogs
rpc ListAuditLogs (tetrateio.api.audit.v1.ListAuditLogsRequest) returns (tetrateio.api.audit.v1.ListAuditLogsResponse)
List audit logs. If no 'count' parameter has been specified, the last 25 audit logs are returned. This method will only return audit logs for those resources the user making the query has permissions on.
AuditLog
AuditLog
A system log describing something that happened in the system.
Field | Description | Validation Rule |
createTime | google.protobuf.Timestamp | timestamp = { |
severity | string | string = { |
kind | string | string = { |
message | string | string = { |
triggeredBy | string | string = { |
properties | map<string, string> | |
fqn | string | – |
operation | string | – |
ListAuditLogsRequest
Request to get the audit logs.
Field | Description | Validation Rule |
count | int32 | – |
sinceTimestamp | google.protobuf.Timestamp | – |
severity | string | – |
kind | string | – |
triggeredBy | string | – |
text | string | – |
recursive | bool | – |
operation | string | – |
ListAuditLogsResponse
The list of audit logs.
Field | Description | Validation Rule |
auditLogs | List of tetrateio.api.audit.v1.AuditLog | – |