github.com/cloudwan/edgelq-sdk@v1.15.4/audit/proto/v1alpha2/audited_resource_descriptor.proto (about) 1 syntax = "proto3"; 2 3 package ntt.audit.v1alpha2; 4 5 import "edgelq-sdk/audit/proto/v1alpha2/common.proto"; 6 import "google/api/resource.proto"; 7 import "goten-sdk/types/meta.proto"; 8 9 option go_package = "github.com/cloudwan/edgelq-sdk/audit/resources/v1alpha2/audited_resource_descriptor;audited_resource_descriptor"; 10 option java_multiple_files = true; 11 option java_outer_classname = "AuditedResourceDescriptorProto"; 12 option java_package = "com.ntt.audit.pb.v1alpha2"; 13 14 // AuditedResourceDescriptor Resource 15 message AuditedResourceDescriptor { 16 option (google.api.resource) = { 17 type : "audit.edgelq.com/AuditedResourceDescriptor" 18 pattern : "auditedResourceDescriptors/{audited_resource_descriptor}" 19 }; 20 21 // Name of AuditedResourceDescriptor - contains service name and 22 // resource type name, separated by '/' sign. Example name: 23 // "iam.edgelq.com/RoleBinding" 24 string name = 1; 25 26 // Optional. A concise name for the audited object type that might be 27 // displayed in user interfaces. It should be a Title Cased Noun Phrase, 28 // without any article or other determiners. 29 string display_name = 2; 30 31 // Optional. A detailed description of the audited object type that might 32 // be used in documentation. 33 string description = 3; 34 35 // Required. A set of labels used to describe instances of this audited 36 // resource type. For example, for "RoleBinding" we can define name+member. 37 // This can allow us to make query like "who allowed user X to do those 38 // things?" 39 repeated LabelDescriptor labels = 4; 40 41 // Promoted Label Key Sets allow defining multiple indexing rules for 42 // underlying backend enabling query optimizations. 43 repeated LabelKeySet promoted_label_key_sets = 5; 44 45 // List of API versions which define this resource 46 repeated string versions = 6; 47 48 // List of spec fields 49 repeated string spec_fields = 7; 50 51 // List of state fields 52 repeated string state_fields = 8; 53 54 // List of meta fields 55 repeated string meta_fields = 9; 56 57 // Metadata 58 goten.types.Meta metadata = 10; 59 }