123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181 |
- syntax = "proto3";
- package google.cloud.securitycenter.v1;
- import "google/cloud/securitycenter/v1/container.proto";
- import "google/cloud/securitycenter/v1/label.proto";
- option csharp_namespace = "Google.Cloud.SecurityCenter.V1";
- option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter";
- option java_multiple_files = true;
- option java_outer_classname = "KubernetesProto";
- option java_package = "com.google.cloud.securitycenter.v1";
- option php_namespace = "Google\\Cloud\\SecurityCenter\\V1";
- option ruby_package = "Google::Cloud::SecurityCenter::V1";
- message Kubernetes {
-
- message Pod {
-
- string ns = 1;
-
- string name = 2;
-
-
- repeated Label labels = 3;
-
- repeated Container containers = 4;
- }
-
- message Node {
-
-
- string name = 1;
- }
-
- message NodePool {
-
- string name = 1;
-
- repeated Node nodes = 2;
- }
-
- message Role {
-
- enum Kind {
-
- KIND_UNSPECIFIED = 0;
-
- ROLE = 1;
-
- CLUSTER_ROLE = 2;
- }
-
- Kind kind = 1;
-
- string ns = 2;
-
- string name = 3;
- }
-
- message Binding {
-
- string ns = 1;
-
- string name = 2;
-
- Role role = 3;
-
-
- repeated Subject subjects = 4;
- }
-
- message Subject {
-
- enum AuthType {
-
- AUTH_TYPE_UNSPECIFIED = 0;
-
- USER = 1;
-
- SERVICEACCOUNT = 2;
-
- GROUP = 3;
- }
-
- AuthType kind = 1;
-
- string ns = 2;
-
- string name = 3;
- }
-
-
- message AccessReview {
-
- string group = 1;
-
-
-
- string ns = 2;
-
- string name = 3;
-
- string resource = 4;
-
- string subresource = 5;
-
-
- string verb = 6;
-
- string version = 7;
- }
-
-
- repeated Pod pods = 1;
-
- repeated Node nodes = 2;
-
-
- repeated NodePool node_pools = 3;
-
-
- repeated Role roles = 4;
-
-
- repeated Binding bindings = 5;
-
-
- repeated AccessReview access_reviews = 6;
- }
|