forked from GoogleCloudPlatform/professional-services
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gke-data-access-admin-read.log
113 lines (113 loc) · 3.37 KB
/
gke-data-access-admin-read.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
Query: protopayload_auditlog.serviceName:"k8s.io"
Data Access Log (GKE):
{
"logName": "projects/sample-project/logs/cloudaudit.googleapis.com%2Fdata_access",
"resource": {
"type": "k8s_cluster",
"labels": {
"location": "us-central1",
"instance_group_manager_name": null,
"project_id": "sample-project",
"instance_group_manager_id": null,
"zone": null,
"disk_id": null,
"service": null,
"method": null,
"version": null,
"dataset_id": null,
"cluster_name": "elk",
"name": null,
"subscription_id": null,
"bucket_name": null,
"database_id": null,
"region": null,
"network_id": null,
"instance_id": null,
"firewall_rule_id": null,
"function_name": null,
"reserved_address_id": null,
"unique_id": null,
"email_id": null,
"operation_name": null,
"key_ring_id": null,
"backend_service_id": null,
"instance_group_id": null,
"instance_group_name": null,
"instance_template_name": null,
"instance_template_id": null,
"route_id": null,
"subnetwork_name": null,
"subnetwork_id": null,
"health_check_id": null,
"forwarding_rule_id": null,
"target_http_proxy_id": null,
"target_https_proxy_id": null,
"ssl_certificate_id": null,
"ssl_certificate_name": null,
"target_ssl_proxy_id": null,
"url_map_id": null,
"backend_bucket_id": null,
"snapshot_id": null,
"policy_name": null
}
},
"protopayload_auditlog": {
"serviceName": "k8s.io",
"methodName": "io.k8s.coordination.v1.leases.get",
"resourceName": "coordination.k8s.io/v1/namespaces/kube-system/leases/kube-scheduler",
"resourceLocation": null,
"numResponseItems": null,
"status": null,
"authenticationInfo": {
"principalEmail": "system:kube-scheduler",
"authoritySelector": null,
"serviceAccountKeyName": null,
"serviceAccountDelegationInfo": [],
"principalSubject": null
},
"authorizationInfo": [
{
"resource": "coordination.k8s.io/v1/namespaces/kube-system/leases/kube-scheduler",
"permission": "io.k8s.coordination.v1.leases.get",
"granted": true,
"resourceAttributes": null
}
],
"requestMetadata": {
"callerIp": "2600::111",
"callerSuppliedUserAgent": "kube-scheduler/v1.20.8 (linux/amd64) kubernetes/28ab850/leader-election",
"callerNetwork": null,
"requestAttributes": null,
"destinationAttributes": null
},
"requestJson": null,
"servicedata_v1_bigquery": null,
"metadataJson": null,
"servicedata_v1_iam": null,
"responseJson": null
},
"textPayload": null,
"timestamp": "2021-08-11 15:35:06.914207 UTC",
"receiveTimestamp": "2021-08-11 15:35:09.210099 UTC",
"severity": null,
"insertId": "07bc266b-33e8-4353-b731-2db2450d9420",
"httpRequest": null,
"operation": {
"id": "07bc266b-33e8-4353-b731-2db2450d9420",
"producer": "k8s.io",
"first": true,
"last": true
},
"trace": null,
"spanId": null,
"traceSampled": null,
"sourceLocation": null,
"labels": {
"authorization_k8s_io_decision": "allow",
"authorization_k8s_io_reason": "RBAC: allowed by ClusterRoleBinding \"system:kube-scheduler\" of ClusterRole \"system:kube-scheduler\" to User \"system:kube-scheduler\"",
"k8s_io_deprecated": null,
"k8s_io_removed_release": null,
"audit_k8s_io_truncated": null,
"authentication_k8s_io_legacy_token": null
}
}