| 1 |
// Copyright 2025 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by protoc-gen-go. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// protoc-gen-go v1.35.2 |
| 18 |
// protoc v4.25.7 |
| 19 |
// source: google/cloud/securitycenter/v1/access.proto |
| 20 |
|
| 21 |
package securitycenterpb |
| 22 |
|
| 23 |
import ( |
| 24 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 25 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 26 |
reflect "reflect" |
| 27 |
sync "sync" |
| 28 |
) |
| 29 |
|
| 30 |
const ( |
| 31 |
// Verify that this generated code is sufficiently up-to-date. |
| 32 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 33 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 34 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 35 |
) |
| 36 |
|
| 37 |
// Represents an access event. |
| 38 |
type Access struct { |
| 39 |
state protoimpl.MessageState |
| 40 |
sizeCache protoimpl.SizeCache |
| 41 |
unknownFields protoimpl.UnknownFields |
| 42 |
|
| 43 |
// Associated email, such as "[email protected]". |
| 44 |
// |
| 45 |
// The email address of the authenticated user or a service account acting on |
| 46 |
// behalf of a third party principal making the request. For third party |
| 47 |
// identity callers, the `principal_subject` field is populated instead of |
| 48 |
// this field. For privacy reasons, the principal email address is sometimes |
| 49 |
// redacted. For more information, see [Caller identities in audit |
| 50 |
// logs](https://cloud.google.com/logging/docs/audit#user-id). |
| 51 |
PrincipalEmail string `protobuf:"bytes,1,opt,name=principal_email,json=principalEmail,proto3" json:"principal_email,omitempty"` |
| 52 |
// Caller's IP address, such as "1.1.1.1". |
| 53 |
CallerIp string `protobuf:"bytes,2,opt,name=caller_ip,json=callerIp,proto3" json:"caller_ip,omitempty"` |
| 54 |
// The caller IP's geolocation, which identifies where the call came from. |
| 55 |
CallerIpGeo *Geolocation `protobuf:"bytes,3,opt,name=caller_ip_geo,json=callerIpGeo,proto3" json:"caller_ip_geo,omitempty"` |
| 56 |
// Type of user agent associated with the finding. For example, an operating |
| 57 |
// system shell or an embedded or standalone application. |
| 58 |
UserAgentFamily string `protobuf:"bytes,4,opt,name=user_agent_family,json=userAgentFamily,proto3" json:"user_agent_family,omitempty"` |
| 59 |
// The caller's user agent string associated with the finding. |
| 60 |
UserAgent string `protobuf:"bytes,12,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"` |
| 61 |
// This is the API service that the service account made a call to, e.g. |
| 62 |
// "iam.googleapis.com" |
| 63 |
ServiceName string `protobuf:"bytes,5,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` |
| 64 |
// The method that the service account called, e.g. "SetIamPolicy". |
| 65 |
MethodName string `protobuf:"bytes,6,opt,name=method_name,json=methodName,proto3" json:"method_name,omitempty"` |
| 66 |
// A string that represents the principal_subject that is associated with the |
| 67 |
// identity. Unlike `principal_email`, `principal_subject` supports principals |
| 68 |
// that aren't associated with email addresses, such as third party |
| 69 |
// principals. For most identities, the format is |
| 70 |
// `principal://iam.googleapis.com/{identity pool name}/subject/{subject}`. |
| 71 |
// Some GKE identities, such as GKE_WORKLOAD, FREEFORM, and GKE_HUB_WORKLOAD, |
| 72 |
// still use the legacy format `serviceAccount:{identity pool |
| 73 |
// name}[{subject}]`. |
| 74 |
PrincipalSubject string `protobuf:"bytes,7,opt,name=principal_subject,json=principalSubject,proto3" json:"principal_subject,omitempty"` |
| 75 |
// The name of the service account key that was used to create or exchange |
| 76 |
// credentials when authenticating the service account that made the request. |
| 77 |
// This is a scheme-less URI full resource name. For example: |
| 78 |
// |
| 79 |
// "//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}". |
| 80 |
ServiceAccountKeyName string `protobuf:"bytes,8,opt,name=service_account_key_name,json=serviceAccountKeyName,proto3" json:"service_account_key_name,omitempty"` |
| 81 |
// The identity delegation history of an authenticated service account that |
| 82 |
// made the request. The `serviceAccountDelegationInfo[]` object contains |
| 83 |
// information about the real authorities that try to access Google Cloud |
| 84 |
// resources by delegating on a service account. When multiple authorities are |
| 85 |
// present, they are guaranteed to be sorted based on the original ordering of |
| 86 |
// the identity delegation events. |
| 87 |
ServiceAccountDelegationInfo []*ServiceAccountDelegationInfo `protobuf:"bytes,9,rep,name=service_account_delegation_info,json=serviceAccountDelegationInfo,proto3" json:"service_account_delegation_info,omitempty"` |
| 88 |
// A string that represents a username. The username provided depends on the |
| 89 |
// type of the finding and is likely not an IAM principal. For example, this |
| 90 |
// can be a system username if the finding is related to a virtual machine, or |
| 91 |
// it can be an application login username. |
| 92 |
UserName string `protobuf:"bytes,11,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` |
| 93 |
} |
| 94 |
|
| 95 |
func (x *Access) Reset() { |
| 96 |
*x = Access{} |
| 97 |
mi := &file_google_cloud_securitycenter_v1_access_proto_msgTypes[0] |
| 98 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 99 |
ms.StoreMessageInfo(mi) |
| 100 |
} |
| 101 |
|
| 102 |
func (x *Access) String() string { |
| 103 |
return protoimpl.X.MessageStringOf(x) |
| 104 |
} |
| 105 |
|
| 106 |
func (*Access) ProtoMessage() {} |
| 107 |
|
| 108 |
func (x *Access) ProtoReflect() protoreflect.Message { |
| 109 |
mi := &file_google_cloud_securitycenter_v1_access_proto_msgTypes[0] |
| 110 |
if x != nil { |
| 111 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 112 |
if ms.LoadMessageInfo() == nil { |
| 113 |
ms.StoreMessageInfo(mi) |
| 114 |
} |
| 115 |
return ms |
| 116 |
} |
| 117 |
return mi.MessageOf(x) |
| 118 |
} |
| 119 |
|
| 120 |
// Deprecated: Use Access.ProtoReflect.Descriptor instead. |
| 121 |
func (*Access) Descriptor() ([]byte, []int) { |
| 122 |
return file_google_cloud_securitycenter_v1_access_proto_rawDescGZIP(), []int{0} |
| 123 |
} |
| 124 |
|
| 125 |
func (x *Access) GetPrincipalEmail() string { |
| 126 |
if x != nil { |
| 127 |
return x.PrincipalEmail |
| 128 |
} |
| 129 |
return "" |
| 130 |
} |
| 131 |
|
| 132 |
func (x *Access) GetCallerIp() string { |
| 133 |
if x != nil { |
| 134 |
return x.CallerIp |
| 135 |
} |
| 136 |
return "" |
| 137 |
} |
| 138 |
|
| 139 |
func (x *Access) GetCallerIpGeo() *Geolocation { |
| 140 |
if x != nil { |
| 141 |
return x.CallerIpGeo |
| 142 |
} |
| 143 |
return nil |
| 144 |
} |
| 145 |
|
| 146 |
func (x *Access) GetUserAgentFamily() string { |
| 147 |
if x != nil { |
| 148 |
return x.UserAgentFamily |
| 149 |
} |
| 150 |
return "" |
| 151 |
} |
| 152 |
|
| 153 |
func (x *Access) GetUserAgent() string { |
| 154 |
if x != nil { |
| 155 |
return x.UserAgent |
| 156 |
} |
| 157 |
return "" |
| 158 |
} |
| 159 |
|
| 160 |
func (x *Access) GetServiceName() string { |
| 161 |
if x != nil { |
| 162 |
return x.ServiceName |
| 163 |
} |
| 164 |
return "" |
| 165 |
} |
| 166 |
|
| 167 |
func (x *Access) GetMethodName() string { |
| 168 |
if x != nil { |
| 169 |
return x.MethodName |
| 170 |
} |
| 171 |
return "" |
| 172 |
} |
| 173 |
|
| 174 |
func (x *Access) GetPrincipalSubject() string { |
| 175 |
if x != nil { |
| 176 |
return x.PrincipalSubject |
| 177 |
} |
| 178 |
return "" |
| 179 |
} |
| 180 |
|
| 181 |
func (x *Access) GetServiceAccountKeyName() string { |
| 182 |
if x != nil { |
| 183 |
return x.ServiceAccountKeyName |
| 184 |
} |
| 185 |
return "" |
| 186 |
} |
| 187 |
|
| 188 |
func (x *Access) GetServiceAccountDelegationInfo() []*ServiceAccountDelegationInfo { |
| 189 |
if x != nil { |
| 190 |
return x.ServiceAccountDelegationInfo |
| 191 |
} |
| 192 |
return nil |
| 193 |
} |
| 194 |
|
| 195 |
func (x *Access) GetUserName() string { |
| 196 |
if x != nil { |
| 197 |
return x.UserName |
| 198 |
} |
| 199 |
return "" |
| 200 |
} |
| 201 |
|
| 202 |
// Identity delegation history of an authenticated service account. |
| 203 |
type ServiceAccountDelegationInfo struct { |
| 204 |
state protoimpl.MessageState |
| 205 |
sizeCache protoimpl.SizeCache |
| 206 |
unknownFields protoimpl.UnknownFields |
| 207 |
|
| 208 |
// The email address of a Google account. |
| 209 |
PrincipalEmail string `protobuf:"bytes,1,opt,name=principal_email,json=principalEmail,proto3" json:"principal_email,omitempty"` |
| 210 |
// A string representing the principal_subject associated with the identity. |
| 211 |
// As compared to `principal_email`, supports principals that aren't |
| 212 |
// associated with email addresses, such as third party principals. For most |
| 213 |
// identities, the format will be `principal://iam.googleapis.com/{identity |
| 214 |
// pool name}/subjects/{subject}` except for some GKE identities |
| 215 |
// (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) that are still in the legacy |
| 216 |
// format `serviceAccount:{identity pool name}[{subject}]` |
| 217 |
PrincipalSubject string `protobuf:"bytes,2,opt,name=principal_subject,json=principalSubject,proto3" json:"principal_subject,omitempty"` |
| 218 |
} |
| 219 |
|
| 220 |
func (x *ServiceAccountDelegationInfo) Reset() { |
| 221 |
*x = ServiceAccountDelegationInfo{} |
| 222 |
mi := &file_google_cloud_securitycenter_v1_access_proto_msgTypes[1] |
| 223 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 224 |
ms.StoreMessageInfo(mi) |
| 225 |
} |
| 226 |
|
| 227 |
func (x *ServiceAccountDelegationInfo) String() string { |
| 228 |
return protoimpl.X.MessageStringOf(x) |
| 229 |
} |
| 230 |
|
| 231 |
func (*ServiceAccountDelegationInfo) ProtoMessage() {} |
| 232 |
|
| 233 |
func (x *ServiceAccountDelegationInfo) ProtoReflect() protoreflect.Message { |
| 234 |
mi := &file_google_cloud_securitycenter_v1_access_proto_msgTypes[1] |
| 235 |
if x != nil { |
| 236 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 237 |
if ms.LoadMessageInfo() == nil { |
| 238 |
ms.StoreMessageInfo(mi) |
| 239 |
} |
| 240 |
return ms |
| 241 |
} |
| 242 |
return mi.MessageOf(x) |
| 243 |
} |
| 244 |
|
| 245 |
// Deprecated: Use ServiceAccountDelegationInfo.ProtoReflect.Descriptor instead. |
| 246 |
func (*ServiceAccountDelegationInfo) Descriptor() ([]byte, []int) { |
| 247 |
return file_google_cloud_securitycenter_v1_access_proto_rawDescGZIP(), []int{1} |
| 248 |
} |
| 249 |
|
| 250 |
func (x *ServiceAccountDelegationInfo) GetPrincipalEmail() string { |
| 251 |
if x != nil { |
| 252 |
return x.PrincipalEmail |
| 253 |
} |
| 254 |
return "" |
| 255 |
} |
| 256 |
|
| 257 |
func (x *ServiceAccountDelegationInfo) GetPrincipalSubject() string { |
| 258 |
if x != nil { |
| 259 |
return x.PrincipalSubject |
| 260 |
} |
| 261 |
return "" |
| 262 |
} |
| 263 |
|
| 264 |
// Represents a geographical location for a given access. |
| 265 |
type Geolocation struct { |
| 266 |
state protoimpl.MessageState |
| 267 |
sizeCache protoimpl.SizeCache |
| 268 |
unknownFields protoimpl.UnknownFields |
| 269 |
|
| 270 |
// A CLDR. |
| 271 |
RegionCode string `protobuf:"bytes,1,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"` |
| 272 |
} |
| 273 |
|
| 274 |
func (x *Geolocation) Reset() { |
| 275 |
*x = Geolocation{} |
| 276 |
mi := &file_google_cloud_securitycenter_v1_access_proto_msgTypes[2] |
| 277 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 278 |
ms.StoreMessageInfo(mi) |
| 279 |
} |
| 280 |
|
| 281 |
func (x *Geolocation) String() string { |
| 282 |
return protoimpl.X.MessageStringOf(x) |
| 283 |
} |
| 284 |
|
| 285 |
func (*Geolocation) ProtoMessage() {} |
| 286 |
|
| 287 |
func (x *Geolocation) ProtoReflect() protoreflect.Message { |
| 288 |
mi := &file_google_cloud_securitycenter_v1_access_proto_msgTypes[2] |
| 289 |
if x != nil { |
| 290 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 291 |
if ms.LoadMessageInfo() == nil { |
| 292 |
ms.StoreMessageInfo(mi) |
| 293 |
} |
| 294 |
return ms |
| 295 |
} |
| 296 |
return mi.MessageOf(x) |
| 297 |
} |
| 298 |
|
| 299 |
// Deprecated: Use Geolocation.ProtoReflect.Descriptor instead. |
| 300 |
func (*Geolocation) Descriptor() ([]byte, []int) { |
| 301 |
return file_google_cloud_securitycenter_v1_access_proto_rawDescGZIP(), []int{2} |
| 302 |
} |
| 303 |
|
| 304 |
func (x *Geolocation) GetRegionCode() string { |
| 305 |
if x != nil { |
| 306 |
return x.RegionCode |
| 307 |
} |
| 308 |
return "" |
| 309 |
} |
| 310 |
|
| 311 |
var File_google_cloud_securitycenter_v1_access_proto protoreflect.FileDescriptor |
| 312 |
|
| 313 |
var file_google_cloud_securitycenter_v1_access_proto_rawDesc = []byte{ |
| 314 |
0x0a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, |
| 315 |
0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31, |
| 316 |
0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67, |
| 317 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, |
| 318 |
0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x22, 0xb7, 0x04, |
| 319 |
0x0a, 0x06, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x72, 0x69, 0x6e, |
| 320 |
0x63, 0x69, 0x70, 0x61, 0x6c, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 321 |
0x09, 0x52, 0x0e, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x45, 0x6d, 0x61, 0x69, |
| 322 |
0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x70, 0x18, 0x02, |
| 323 |
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x70, 0x12, 0x4f, |
| 324 |
0x0a, 0x0d, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x69, 0x70, 0x5f, 0x67, 0x65, 0x6f, 0x18, |
| 325 |
0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 326 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, |
| 327 |
0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x6f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, |
| 328 |
0x6f, 0x6e, 0x52, 0x0b, 0x63, 0x61, 0x6c, 0x6c, 0x65, 0x72, 0x49, 0x70, 0x47, 0x65, 0x6f, 0x12, |
| 329 |
0x2a, 0x0a, 0x11, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x66, 0x61, |
| 330 |
0x6d, 0x69, 0x6c, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x75, 0x73, 0x65, 0x72, |
| 331 |
0x41, 0x67, 0x65, 0x6e, 0x74, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x75, |
| 332 |
0x73, 0x65, 0x72, 0x5f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 333 |
0x09, 0x75, 0x73, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, |
| 334 |
0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, |
| 335 |
0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, |
| 336 |
0x0b, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, |
| 337 |
0x28, 0x09, 0x52, 0x0a, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2b, |
| 338 |
0x0a, 0x11, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x5f, 0x73, 0x75, 0x62, 0x6a, |
| 339 |
0x65, 0x63, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x70, 0x72, 0x69, 0x6e, 0x63, |
| 340 |
0x69, 0x70, 0x61, 0x6c, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x37, 0x0a, 0x18, 0x73, |
| 341 |
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6b, |
| 342 |
0x65, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x73, |
| 343 |
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4b, 0x65, 0x79, |
| 344 |
0x4e, 0x61, 0x6d, 0x65, 0x12, 0x83, 0x01, 0x0a, 0x1f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, |
| 345 |
0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, |
| 346 |
0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, |
| 347 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, |
| 348 |
0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, |
| 349 |
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x65, |
| 350 |
0x6c, 0x65, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x1c, 0x73, 0x65, |
| 351 |
0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x65, 0x6c, 0x65, |
| 352 |
0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x75, 0x73, |
| 353 |
0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, |
| 354 |
0x73, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x74, 0x0a, 0x1c, 0x53, 0x65, 0x72, 0x76, 0x69, |
| 355 |
0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, |
| 356 |
0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x72, 0x69, 0x6e, 0x63, |
| 357 |
0x69, 0x70, 0x61, 0x6c, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, |
| 358 |
0x52, 0x0e, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x45, 0x6d, 0x61, 0x69, 0x6c, |
| 359 |
0x12, 0x2b, 0x0a, 0x11, 0x70, 0x72, 0x69, 0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x5f, 0x73, 0x75, |
| 360 |
0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x70, 0x72, 0x69, |
| 361 |
0x6e, 0x63, 0x69, 0x70, 0x61, 0x6c, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x2e, 0x0a, |
| 362 |
0x0b, 0x47, 0x65, 0x6f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, |
| 363 |
0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 364 |
0x09, 0x52, 0x0a, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x42, 0xe5, 0x01, |
| 365 |
0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, |
| 366 |
0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, |
| 367 |
0x72, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x72, 0x6f, 0x74, |
| 368 |
0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 369 |
0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, |
| 370 |
0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x73, 0x65, |
| 371 |
0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0x3b, 0x73, |
| 372 |
0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0xaa, |
| 373 |
0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x53, |
| 374 |
0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x56, 0x31, |
| 375 |
0xca, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, |
| 376 |
0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5c, 0x56, |
| 377 |
0x31, 0xea, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, |
| 378 |
0x64, 0x3a, 0x3a, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, |
| 379 |
0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 380 |
} |
| 381 |
|
| 382 |
var ( |
| 383 |
file_google_cloud_securitycenter_v1_access_proto_rawDescOnce sync.Once |
| 384 |
file_google_cloud_securitycenter_v1_access_proto_rawDescData = file_google_cloud_securitycenter_v1_access_proto_rawDesc |
| 385 |
) |
| 386 |
|
| 387 |
func file_google_cloud_securitycenter_v1_access_proto_rawDescGZIP() []byte { |
| 388 |
file_google_cloud_securitycenter_v1_access_proto_rawDescOnce.Do(func() { |
| 389 |
file_google_cloud_securitycenter_v1_access_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_securitycenter_v1_access_proto_rawDescData) |
| 390 |
}) |
| 391 |
return file_google_cloud_securitycenter_v1_access_proto_rawDescData |
| 392 |
} |
| 393 |
|
| 394 |
var file_google_cloud_securitycenter_v1_access_proto_msgTypes = make([]protoimpl.MessageInfo, 3) |
| 395 |
var file_google_cloud_securitycenter_v1_access_proto_goTypes = []any{ |
| 396 |
(*Access)(nil), // 0: google.cloud.securitycenter.v1.Access |
| 397 |
(*ServiceAccountDelegationInfo)(nil), // 1: google.cloud.securitycenter.v1.ServiceAccountDelegationInfo |
| 398 |
(*Geolocation)(nil), // 2: google.cloud.securitycenter.v1.Geolocation |
| 399 |
} |
| 400 |
var file_google_cloud_securitycenter_v1_access_proto_depIdxs = []int32{ |
| 401 |
2, // 0: google.cloud.securitycenter.v1.Access.caller_ip_geo:type_name -> google.cloud.securitycenter.v1.Geolocation |
| 402 |
1, // 1: google.cloud.securitycenter.v1.Access.service_account_delegation_info:type_name -> google.cloud.securitycenter.v1.ServiceAccountDelegationInfo |
| 403 |
2, // [2:2] is the sub-list for method output_type |
| 404 |
2, // [2:2] is the sub-list for method input_type |
| 405 |
2, // [2:2] is the sub-list for extension type_name |
| 406 |
2, // [2:2] is the sub-list for extension extendee |
| 407 |
0, // [0:2] is the sub-list for field type_name |
| 408 |
} |
| 409 |
|
| 410 |
func init() { file_google_cloud_securitycenter_v1_access_proto_init() } |
| 411 |
func file_google_cloud_securitycenter_v1_access_proto_init() { |
| 412 |
if File_google_cloud_securitycenter_v1_access_proto != nil { |
| 413 |
return |
| 414 |
} |
| 415 |
type x struct{} |
| 416 |
out := protoimpl.TypeBuilder{ |
| 417 |
File: protoimpl.DescBuilder{ |
| 418 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 419 |
RawDescriptor: file_google_cloud_securitycenter_v1_access_proto_rawDesc, |
| 420 |
NumEnums: 0, |
| 421 |
NumMessages: 3, |
| 422 |
NumExtensions: 0, |
| 423 |
NumServices: 0, |
| 424 |
}, |
| 425 |
GoTypes: file_google_cloud_securitycenter_v1_access_proto_goTypes, |
| 426 |
DependencyIndexes: file_google_cloud_securitycenter_v1_access_proto_depIdxs, |
| 427 |
MessageInfos: file_google_cloud_securitycenter_v1_access_proto_msgTypes, |
| 428 |
}.Build() |
| 429 |
File_google_cloud_securitycenter_v1_access_proto = out.File |
| 430 |
file_google_cloud_securitycenter_v1_access_proto_rawDesc = nil |
| 431 |
file_google_cloud_securitycenter_v1_access_proto_goTypes = nil |
| 432 |
file_google_cloud_securitycenter_v1_access_proto_depIdxs = nil |
| 433 |
} |