@@ -19,6 +19,7 @@ import "temporal/api/cloud/region/v1/message.proto";
1919import "temporal/api/cloud/account/v1/message.proto" ;
2020import "temporal/api/cloud/usage/v1/message.proto" ;
2121import "temporal/api/cloud/connectivityrule/v1/message.proto" ;
22+ import "temporal/api/cloud/auditlog/v1/message.proto" ;
2223
2324message GetUsersRequest {
2425 // The requested size of the page to retrieve - optional.
@@ -949,6 +950,25 @@ message DeleteConnectivityRuleResponse {
949950 temporal.api.cloud.operation.v1.AsyncOperation async_operation = 1 ;
950951}
951952
953+ message GetAuditLogsRequest {
954+ // The requested size of the page to retrieve - optional.
955+ // Cannot exceed 1000. Defaults to 100.
956+ int32 page_size = 1 ;
957+ // The page token if this is continuing from another response - optional.
958+ string page_token = 2 ;
959+ // Filter for UTC time >= (defaults to 30 days ago) - optional.
960+ google.protobuf.Timestamp start_time_inclusive = 3 ;
961+ // Filter for UTC time < (defaults to current time) - optional.
962+ google.protobuf.Timestamp end_time_exclusive = 4 ;
963+ }
964+
965+ message GetAuditLogsResponse {
966+ // The list of audit logs ordered by emit time, log_id
967+ repeated temporal.api.cloud.auditlog.v1.LogRecord logs = 1 ;
968+ // The next page's token.
969+ string next_page_token = 2 ;
970+ }
971+
952972message ValidateAccountAuditLogSinkRequest {
953973 // The audit log sink spec that will be validated
954974 temporal.api.cloud.account.v1.AuditLogSinkSpec spec = 1 ;
0 commit comments