forked from GoogleCloudPlatform/professional-services
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gke-k8s.log
49 lines (49 loc) · 1.58 KB
/
gke-k8s.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Query: "logName": "logs/cloudaudit.googleapis.com%2Fdata_access",
GKE Data Access Log:
{
"protoPayload": {
"@type": "type.googleapis.com/google.cloud.audit.AuditLog",
"authenticationInfo": {
"principalEmail": "system:serviceaccount:kube-system:generic-garbage-collector"
},
"authorizationInfo": [
{
"granted": true,
"permission": "io.k8s.get",
"resource": "apis/networking.gke.io/v1"
}
],
"methodName": "io.k8s.get",
"requestMetadata": {
"callerIp": "2600::11",
"callerSuppliedUserAgent": "kube-controller-manager/v1.20.8 (linux/amd64) kubernetes/28ab850/system:serviceaccount:kube-system:generic-garbage-collector"
},
"resourceName": "apis/networking.gke.io/v1",
"serviceName": "k8s.io",
"status": {
"code": 0
}
},
"insertId": "da8f374f-fd39-4513-b1f6-b7ec2790a43e",
"resource": {
"type": "k8s_cluster",
"labels": {
"location": "us-west1-a",
"project_id": "testproject-320520",
"cluster_name": "cluster-name"
}
},
"timestamp": "2021-08-15T19:54:44.480829Z",
"labels": {
"authorization.k8s.io/decision": "allow",
"authorization.k8s.io/reason": "RBAC: allowed by ClusterRoleBinding \"system:discovery\" of ClusterRole \"system:discovery\" to Group \"system:authenticated\""
},
"logName": "projects/testproject-320520/logs/cloudaudit.googleapis.com%2Fdata_access",
"operation": {
"id": "da8f374f-fd39-4513-b1f6-b7ec2790a43e",
"producer": "k8s.io",
"first": true,
"last": true
},
"receiveTimestamp": "2021-08-15T19:54:45.638315018Z"
}