Skip to content

Commit d4638fa

Browse files
jumbogoanekkanti
andauthored
new audit log message (#86)
* new audit log message * update * update version * Update temporal/api/cloud/auditlog/v1/message.proto Co-authored-by: Abhinav Nekkanti <[email protected]> * Update temporal/api/cloud/auditlog/v1/message.proto Co-authored-by: Abhinav Nekkanti <[email protected]> * Update temporal/api/cloud/auditlog/v1/message.proto Co-authored-by: Abhinav Nekkanti <[email protected]> * Update temporal/api/cloud/auditlog/v1/message.proto Co-authored-by: Abhinav Nekkanti <[email protected]> * Update temporal/api/cloud/auditlog/v1/message.proto Co-authored-by: Abhinav Nekkanti <[email protected]> * Update temporal/api/cloud/auditlog/v1/message.proto Co-authored-by: Abhinav Nekkanti <[email protected]> * Update temporal/api/cloud/auditlog/v1/message.proto Co-authored-by: Abhinav Nekkanti <[email protected]> * Update temporal/api/cloud/auditlog/v1/message.proto Co-authored-by: Abhinav Nekkanti <[email protected]> * update * update * update --------- Co-authored-by: Abhinav Nekkanti <[email protected]>
1 parent f43a366 commit d4638fa

File tree

2 files changed

+60
-1
lines changed

2 files changed

+60
-1
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.8.0
1+
v0.8.1
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
syntax = "proto3";
2+
3+
package temporal.api.cloud.auditlog.v1;
4+
5+
option go_package = "go.temporal.io/api/cloud/auditlog/v1;auditlog";
6+
option java_package = "io.temporal.api.cloud.auditlog.v1";
7+
option java_multiple_files = true;
8+
option java_outer_classname = "MessageProto";
9+
option ruby_package = "Temporalio::Api::Cloud::AuditLog::V1";
10+
option csharp_namespace = "Temporalio.Api.Cloud.AuditLog.V1";
11+
12+
import "google/protobuf/timestamp.proto";
13+
import "google/protobuf/struct.proto";
14+
15+
// LogRecord represents an audit log entry from Temporal, structured for easy parsing and analysis.
16+
message LogRecord {
17+
// Time when the log was emitted.
18+
google.protobuf.Timestamp emit_time = 1;
19+
20+
// The operation performed.
21+
string operation = 5;
22+
23+
// The status of the operation.
24+
string status = 7;
25+
26+
// The internal version of the log message. Can be used in deduplication if needed.
27+
int32 version = 9;
28+
29+
// Unique ID for the log record.
30+
string log_id = 10;
31+
32+
// The ID of the async operation.
33+
string async_operation_id = 11;
34+
35+
// The principal that performed the operation.
36+
Principal principal = 12;
37+
38+
// The raw details of the operation.
39+
google.protobuf.Struct raw_details = 13;
40+
41+
// The originating IP address of the request.
42+
string x_forwarded_for = 14;
43+
}
44+
45+
message Principal {
46+
// The type of the principal.
47+
// Possible type values: user, serviceaccount.
48+
string type = 1;
49+
50+
// The id of the principal.
51+
string id = 2;
52+
53+
// The name of the principal.
54+
string name = 3;
55+
56+
// The api key id of the principal if provided.
57+
string api_key_id = 4;
58+
}
59+

0 commit comments

Comments
 (0)