| 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/v2/cloud_armor.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 |
durationpb "google.golang.org/protobuf/types/known/durationpb" |
| 27 |
reflect "reflect" |
| 28 |
sync "sync" |
| 29 |
) |
| 30 |
|
| 31 |
const ( |
| 32 |
// Verify that this generated code is sufficiently up-to-date. |
| 33 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 34 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 35 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 36 |
) |
| 37 |
|
| 38 |
// Fields related to Google Cloud Armor findings. |
| 39 |
type CloudArmor struct { |
| 40 |
state protoimpl.MessageState |
| 41 |
sizeCache protoimpl.SizeCache |
| 42 |
unknownFields protoimpl.UnknownFields |
| 43 |
|
| 44 |
// Information about the [Google Cloud Armor security |
| 45 |
// policy](https://cloud.google.com/armor/docs/security-policy-overview) |
| 46 |
// relevant to the finding. |
| 47 |
SecurityPolicy *SecurityPolicy `protobuf:"bytes,1,opt,name=security_policy,json=securityPolicy,proto3" json:"security_policy,omitempty"` |
| 48 |
// Information about incoming requests evaluated by [Google Cloud Armor |
| 49 |
// security |
| 50 |
// policies](https://cloud.google.com/armor/docs/security-policy-overview). |
| 51 |
Requests *Requests `protobuf:"bytes,2,opt,name=requests,proto3" json:"requests,omitempty"` |
| 52 |
// Information about potential Layer 7 DDoS attacks identified by [Google |
| 53 |
// Cloud Armor Adaptive |
| 54 |
// Protection](https://cloud.google.com/armor/docs/adaptive-protection-overview). |
| 55 |
AdaptiveProtection *AdaptiveProtection `protobuf:"bytes,3,opt,name=adaptive_protection,json=adaptiveProtection,proto3" json:"adaptive_protection,omitempty"` |
| 56 |
// Information about DDoS attack volume and classification. |
| 57 |
Attack *Attack `protobuf:"bytes,4,opt,name=attack,proto3" json:"attack,omitempty"` |
| 58 |
// Distinguish between volumetric & protocol DDoS attack and |
| 59 |
// application layer attacks. For example, "L3_4" for Layer 3 and Layer 4 DDoS |
| 60 |
// attacks, or "L_7" for Layer 7 DDoS attacks. |
| 61 |
ThreatVector string `protobuf:"bytes,5,opt,name=threat_vector,json=threatVector,proto3" json:"threat_vector,omitempty"` |
| 62 |
// Duration of attack from the start until the current moment (updated every 5 |
| 63 |
// minutes). |
| 64 |
Duration *durationpb.Duration `protobuf:"bytes,6,opt,name=duration,proto3" json:"duration,omitempty"` |
| 65 |
} |
| 66 |
|
| 67 |
func (x *CloudArmor) Reset() { |
| 68 |
*x = CloudArmor{} |
| 69 |
mi := &file_google_cloud_securitycenter_v2_cloud_armor_proto_msgTypes[0] |
| 70 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 71 |
ms.StoreMessageInfo(mi) |
| 72 |
} |
| 73 |
|
| 74 |
func (x *CloudArmor) String() string { |
| 75 |
return protoimpl.X.MessageStringOf(x) |
| 76 |
} |
| 77 |
|
| 78 |
func (*CloudArmor) ProtoMessage() {} |
| 79 |
|
| 80 |
func (x *CloudArmor) ProtoReflect() protoreflect.Message { |
| 81 |
mi := &file_google_cloud_securitycenter_v2_cloud_armor_proto_msgTypes[0] |
| 82 |
if x != nil { |
| 83 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 84 |
if ms.LoadMessageInfo() == nil { |
| 85 |
ms.StoreMessageInfo(mi) |
| 86 |
} |
| 87 |
return ms |
| 88 |
} |
| 89 |
return mi.MessageOf(x) |
| 90 |
} |
| 91 |
|
| 92 |
// Deprecated: Use CloudArmor.ProtoReflect.Descriptor instead. |
| 93 |
func (*CloudArmor) Descriptor() ([]byte, []int) { |
| 94 |
return file_google_cloud_securitycenter_v2_cloud_armor_proto_rawDescGZIP(), []int{0} |
| 95 |
} |
| 96 |
|
| 97 |
func (x *CloudArmor) GetSecurityPolicy() *SecurityPolicy { |
| 98 |
if x != nil { |
| 99 |
return x.SecurityPolicy |
| 100 |
} |
| 101 |
return nil |
| 102 |
} |
| 103 |
|
| 104 |
func (x *CloudArmor) GetRequests() *Requests { |
| 105 |
if x != nil { |
| 106 |
return x.Requests |
| 107 |
} |
| 108 |
return nil |
| 109 |
} |
| 110 |
|
| 111 |
func (x *CloudArmor) GetAdaptiveProtection() *AdaptiveProtection { |
| 112 |
if x != nil { |
| 113 |
return x.AdaptiveProtection |
| 114 |
} |
| 115 |
return nil |
| 116 |
} |
| 117 |
|
| 118 |
func (x *CloudArmor) GetAttack() *Attack { |
| 119 |
if x != nil { |
| 120 |
return x.Attack |
| 121 |
} |
| 122 |
return nil |
| 123 |
} |
| 124 |
|
| 125 |
func (x *CloudArmor) GetThreatVector() string { |
| 126 |
if x != nil { |
| 127 |
return x.ThreatVector |
| 128 |
} |
| 129 |
return "" |
| 130 |
} |
| 131 |
|
| 132 |
func (x *CloudArmor) GetDuration() *durationpb.Duration { |
| 133 |
if x != nil { |
| 134 |
return x.Duration |
| 135 |
} |
| 136 |
return nil |
| 137 |
} |
| 138 |
|
| 139 |
// Information about the [Google Cloud Armor security |
| 140 |
// policy](https://cloud.google.com/armor/docs/security-policy-overview) |
| 141 |
// relevant to the finding. |
| 142 |
type SecurityPolicy struct { |
| 143 |
state protoimpl.MessageState |
| 144 |
sizeCache protoimpl.SizeCache |
| 145 |
unknownFields protoimpl.UnknownFields |
| 146 |
|
| 147 |
// The name of the Google Cloud Armor security policy, for example, |
| 148 |
// "my-security-policy". |
| 149 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 150 |
// The type of Google Cloud Armor security policy for example, 'backend |
| 151 |
// security policy', 'edge security policy', 'network edge security policy', |
| 152 |
// or 'always-on DDoS protection'. |
| 153 |
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` |
| 154 |
// Whether or not the associated rule or policy is in preview mode. |
| 155 |
Preview bool `protobuf:"varint,3,opt,name=preview,proto3" json:"preview,omitempty"` |
| 156 |
} |
| 157 |
|
| 158 |
func (x *SecurityPolicy) Reset() { |
| 159 |
*x = SecurityPolicy{} |
| 160 |
mi := &file_google_cloud_securitycenter_v2_cloud_armor_proto_msgTypes[1] |
| 161 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 162 |
ms.StoreMessageInfo(mi) |
| 163 |
} |
| 164 |
|
| 165 |
func (x *SecurityPolicy) String() string { |
| 166 |
return protoimpl.X.MessageStringOf(x) |
| 167 |
} |
| 168 |
|
| 169 |
func (*SecurityPolicy) ProtoMessage() {} |
| 170 |
|
| 171 |
func (x *SecurityPolicy) ProtoReflect() protoreflect.Message { |
| 172 |
mi := &file_google_cloud_securitycenter_v2_cloud_armor_proto_msgTypes[1] |
| 173 |
if x != nil { |
| 174 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 175 |
if ms.LoadMessageInfo() == nil { |
| 176 |
ms.StoreMessageInfo(mi) |
| 177 |
} |
| 178 |
return ms |
| 179 |
} |
| 180 |
return mi.MessageOf(x) |
| 181 |
} |
| 182 |
|
| 183 |
// Deprecated: Use SecurityPolicy.ProtoReflect.Descriptor instead. |
| 184 |
func (*SecurityPolicy) Descriptor() ([]byte, []int) { |
| 185 |
return file_google_cloud_securitycenter_v2_cloud_armor_proto_rawDescGZIP(), []int{1} |
| 186 |
} |
| 187 |
|
| 188 |
func (x *SecurityPolicy) GetName() string { |
| 189 |
if x != nil { |
| 190 |
return x.Name |
| 191 |
} |
| 192 |
return "" |
| 193 |
} |
| 194 |
|
| 195 |
func (x *SecurityPolicy) GetType() string { |
| 196 |
if x != nil { |
| 197 |
return x.Type |
| 198 |
} |
| 199 |
return "" |
| 200 |
} |
| 201 |
|
| 202 |
func (x *SecurityPolicy) GetPreview() bool { |
| 203 |
if x != nil { |
| 204 |
return x.Preview |
| 205 |
} |
| 206 |
return false |
| 207 |
} |
| 208 |
|
| 209 |
// Information about the requests relevant to the finding. |
| 210 |
type Requests struct { |
| 211 |
state protoimpl.MessageState |
| 212 |
sizeCache protoimpl.SizeCache |
| 213 |
unknownFields protoimpl.UnknownFields |
| 214 |
|
| 215 |
// For 'Increasing deny ratio', the ratio is the denied traffic divided by the |
| 216 |
// allowed traffic. For 'Allowed traffic spike', the ratio is the allowed |
| 217 |
// traffic in the short term divided by allowed traffic in the long term. |
| 218 |
Ratio float64 `protobuf:"fixed64,1,opt,name=ratio,proto3" json:"ratio,omitempty"` |
| 219 |
// Allowed RPS (requests per second) in the short term. |
| 220 |
ShortTermAllowed int32 `protobuf:"varint,2,opt,name=short_term_allowed,json=shortTermAllowed,proto3" json:"short_term_allowed,omitempty"` |
| 221 |
// Allowed RPS (requests per second) over the long term. |
| 222 |
LongTermAllowed int32 `protobuf:"varint,3,opt,name=long_term_allowed,json=longTermAllowed,proto3" json:"long_term_allowed,omitempty"` |
| 223 |
// Denied RPS (requests per second) over the long term. |
| 224 |
LongTermDenied int32 `protobuf:"varint,4,opt,name=long_term_denied,json=longTermDenied,proto3" json:"long_term_denied,omitempty"` |
| 225 |
} |
| 226 |
|
| 227 |
func (x *Requests) Reset() { |
| 228 |
*x = Requests{} |
| 229 |
mi := &file_google_cloud_securitycenter_v2_cloud_armor_proto_msgTypes[2] |
| 230 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 231 |
ms.StoreMessageInfo(mi) |
| 232 |
} |
| 233 |
|
| 234 |
func (x *Requests) String() string { |
| 235 |
return protoimpl.X.MessageStringOf(x) |
| 236 |
} |
| 237 |
|
| 238 |
func (*Requests) ProtoMessage() {} |
| 239 |
|
| 240 |
func (x *Requests) ProtoReflect() protoreflect.Message { |
| 241 |
mi := &file_google_cloud_securitycenter_v2_cloud_armor_proto_msgTypes[2] |
| 242 |
if x != nil { |
| 243 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 244 |
if ms.LoadMessageInfo() == nil { |
| 245 |
ms.StoreMessageInfo(mi) |
| 246 |
} |
| 247 |
return ms |
| 248 |
} |
| 249 |
return mi.MessageOf(x) |
| 250 |
} |
| 251 |
|
| 252 |
// Deprecated: Use Requests.ProtoReflect.Descriptor instead. |
| 253 |
func (*Requests) Descriptor() ([]byte, []int) { |
| 254 |
return file_google_cloud_securitycenter_v2_cloud_armor_proto_rawDescGZIP(), []int{2} |
| 255 |
} |
| 256 |
|
| 257 |
func (x *Requests) GetRatio() float64 { |
| 258 |
if x != nil { |
| 259 |
return x.Ratio |
| 260 |
} |
| 261 |
return 0 |
| 262 |
} |
| 263 |
|
| 264 |
func (x *Requests) GetShortTermAllowed() int32 { |
| 265 |
if x != nil { |
| 266 |
return x.ShortTermAllowed |
| 267 |
} |
| 268 |
return 0 |
| 269 |
} |
| 270 |
|
| 271 |
func (x *Requests) GetLongTermAllowed() int32 { |
| 272 |
if x != nil { |
| 273 |
return x.LongTermAllowed |
| 274 |
} |
| 275 |
return 0 |
| 276 |
} |
| 277 |
|
| 278 |
func (x *Requests) GetLongTermDenied() int32 { |
| 279 |
if x != nil { |
| 280 |
return x.LongTermDenied |
| 281 |
} |
| 282 |
return 0 |
| 283 |
} |
| 284 |
|
| 285 |
// Information about [Google Cloud Armor Adaptive |
| 286 |
// Protection](https://cloud.google.com/armor/docs/cloud-armor-overview#google-cloud-armor-adaptive-protection). |
| 287 |
type AdaptiveProtection struct { |
| 288 |
state protoimpl.MessageState |
| 289 |
sizeCache protoimpl.SizeCache |
| 290 |
unknownFields protoimpl.UnknownFields |
| 291 |
|
| 292 |
// A score of 0 means that there is low confidence that the detected event is |
| 293 |
// an actual attack. A score of 1 means that there is high confidence that the |
| 294 |
// detected event is an attack. See the [Adaptive Protection |
| 295 |
// documentation](https://cloud.google.com/armor/docs/adaptive-protection-overview#configure-alert-tuning) |
| 296 |
// for further explanation. |
| 297 |
Confidence float64 `protobuf:"fixed64,1,opt,name=confidence,proto3" json:"confidence,omitempty"` |
| 298 |
} |
| 299 |
|
| 300 |
func (x *AdaptiveProtection) Reset() { |
| 301 |
*x = AdaptiveProtection{} |
| 302 |
mi := &file_google_cloud_securitycenter_v2_cloud_armor_proto_msgTypes[3] |
| 303 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 304 |
ms.StoreMessageInfo(mi) |
| 305 |
} |
| 306 |
|
| 307 |
func (x *AdaptiveProtection) String() string { |
| 308 |
return protoimpl.X.MessageStringOf(x) |
| 309 |
} |
| 310 |
|
| 311 |
func (*AdaptiveProtection) ProtoMessage() {} |
| 312 |
|
| 313 |
func (x *AdaptiveProtection) ProtoReflect() protoreflect.Message { |
| 314 |
mi := &file_google_cloud_securitycenter_v2_cloud_armor_proto_msgTypes[3] |
| 315 |
if x != nil { |
| 316 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 317 |
if ms.LoadMessageInfo() == nil { |
| 318 |
ms.StoreMessageInfo(mi) |
| 319 |
} |
| 320 |
return ms |
| 321 |
} |
| 322 |
return mi.MessageOf(x) |
| 323 |
} |
| 324 |
|
| 325 |
// Deprecated: Use AdaptiveProtection.ProtoReflect.Descriptor instead. |
| 326 |
func (*AdaptiveProtection) Descriptor() ([]byte, []int) { |
| 327 |
return file_google_cloud_securitycenter_v2_cloud_armor_proto_rawDescGZIP(), []int{3} |
| 328 |
} |
| 329 |
|
| 330 |
func (x *AdaptiveProtection) GetConfidence() float64 { |
| 331 |
if x != nil { |
| 332 |
return x.Confidence |
| 333 |
} |
| 334 |
return 0 |
| 335 |
} |
| 336 |
|
| 337 |
// Information about DDoS attack volume and classification. |
| 338 |
type Attack struct { |
| 339 |
state protoimpl.MessageState |
| 340 |
sizeCache protoimpl.SizeCache |
| 341 |
unknownFields protoimpl.UnknownFields |
| 342 |
|
| 343 |
// Total PPS (packets per second) volume of attack. |
| 344 |
VolumePpsLong int64 `protobuf:"varint,4,opt,name=volume_pps_long,json=volumePpsLong,proto3" json:"volume_pps_long,omitempty"` |
| 345 |
// Total BPS (bytes per second) volume of attack. |
| 346 |
VolumeBpsLong int64 `protobuf:"varint,5,opt,name=volume_bps_long,json=volumeBpsLong,proto3" json:"volume_bps_long,omitempty"` |
| 347 |
// Type of attack, for example, 'SYN-flood', 'NTP-udp', or 'CHARGEN-udp'. |
| 348 |
Classification string `protobuf:"bytes,3,opt,name=classification,proto3" json:"classification,omitempty"` |
| 349 |
// Total PPS (packets per second) volume of attack. Deprecated - refer to |
| 350 |
// volume_pps_long instead. |
| 351 |
// |
| 352 |
// Deprecated: Marked as deprecated in google/cloud/securitycenter/v2/cloud_armor.proto. |
| 353 |
VolumePps int32 `protobuf:"varint,1,opt,name=volume_pps,json=volumePps,proto3" json:"volume_pps,omitempty"` |
| 354 |
// Total BPS (bytes per second) volume of attack. Deprecated - refer to |
| 355 |
// volume_bps_long instead. |
| 356 |
// |
| 357 |
// Deprecated: Marked as deprecated in google/cloud/securitycenter/v2/cloud_armor.proto. |
| 358 |
VolumeBps int32 `protobuf:"varint,2,opt,name=volume_bps,json=volumeBps,proto3" json:"volume_bps,omitempty"` |
| 359 |
} |
| 360 |
|
| 361 |
func (x *Attack) Reset() { |
| 362 |
*x = Attack{} |
| 363 |
mi := &file_google_cloud_securitycenter_v2_cloud_armor_proto_msgTypes[4] |
| 364 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 365 |
ms.StoreMessageInfo(mi) |
| 366 |
} |
| 367 |
|
| 368 |
func (x *Attack) String() string { |
| 369 |
return protoimpl.X.MessageStringOf(x) |
| 370 |
} |
| 371 |
|
| 372 |
func (*Attack) ProtoMessage() {} |
| 373 |
|
| 374 |
func (x *Attack) ProtoReflect() protoreflect.Message { |
| 375 |
mi := &file_google_cloud_securitycenter_v2_cloud_armor_proto_msgTypes[4] |
| 376 |
if x != nil { |
| 377 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 378 |
if ms.LoadMessageInfo() == nil { |
| 379 |
ms.StoreMessageInfo(mi) |
| 380 |
} |
| 381 |
return ms |
| 382 |
} |
| 383 |
return mi.MessageOf(x) |
| 384 |
} |
| 385 |
|
| 386 |
// Deprecated: Use Attack.ProtoReflect.Descriptor instead. |
| 387 |
func (*Attack) Descriptor() ([]byte, []int) { |
| 388 |
return file_google_cloud_securitycenter_v2_cloud_armor_proto_rawDescGZIP(), []int{4} |
| 389 |
} |
| 390 |
|
| 391 |
func (x *Attack) GetVolumePpsLong() int64 { |
| 392 |
if x != nil { |
| 393 |
return x.VolumePpsLong |
| 394 |
} |
| 395 |
return 0 |
| 396 |
} |
| 397 |
|
| 398 |
func (x *Attack) GetVolumeBpsLong() int64 { |
| 399 |
if x != nil { |
| 400 |
return x.VolumeBpsLong |
| 401 |
} |
| 402 |
return 0 |
| 403 |
} |
| 404 |
|
| 405 |
func (x *Attack) GetClassification() string { |
| 406 |
if x != nil { |
| 407 |
return x.Classification |
| 408 |
} |
| 409 |
return "" |
| 410 |
} |
| 411 |
|
| 412 |
// Deprecated: Marked as deprecated in google/cloud/securitycenter/v2/cloud_armor.proto. |
| 413 |
func (x *Attack) GetVolumePps() int32 { |
| 414 |
if x != nil { |
| 415 |
return x.VolumePps |
| 416 |
} |
| 417 |
return 0 |
| 418 |
} |
| 419 |
|
| 420 |
// Deprecated: Marked as deprecated in google/cloud/securitycenter/v2/cloud_armor.proto. |
| 421 |
func (x *Attack) GetVolumeBps() int32 { |
| 422 |
if x != nil { |
| 423 |
return x.VolumeBps |
| 424 |
} |
| 425 |
return 0 |
| 426 |
} |
| 427 |
|
| 428 |
var File_google_cloud_securitycenter_v2_cloud_armor_proto protoreflect.FileDescriptor |
| 429 |
|
| 430 |
var file_google_cloud_securitycenter_v2_cloud_armor_proto_rawDesc = []byte{ |
| 431 |
0x0a, 0x30, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, |
| 432 |
0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x32, |
| 433 |
0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x61, 0x72, 0x6d, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, |
| 434 |
0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 435 |
0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, |
| 436 |
0x76, 0x32, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 437 |
0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, |
| 438 |
0x74, 0x6f, 0x22, 0xac, 0x03, 0x0a, 0x0a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x41, 0x72, 0x6d, 0x6f, |
| 439 |
0x72, 0x12, 0x57, 0x0a, 0x0f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x70, 0x6f, |
| 440 |
0x6c, 0x69, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, |
| 441 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, |
| 442 |
0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x65, 0x63, 0x75, |
| 443 |
0x72, 0x69, 0x74, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x0e, 0x73, 0x65, 0x63, 0x75, |
| 444 |
0x72, 0x69, 0x74, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x44, 0x0a, 0x08, 0x72, 0x65, |
| 445 |
0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, |
| 446 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, |
| 447 |
0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65, |
| 448 |
0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, |
| 449 |
0x12, 0x63, 0x0a, 0x13, 0x61, 0x64, 0x61, 0x70, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x72, 0x6f, |
| 450 |
0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, |
| 451 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, |
| 452 |
0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x41, |
| 453 |
0x64, 0x61, 0x70, 0x74, 0x69, 0x76, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, |
| 454 |
0x6e, 0x52, 0x12, 0x61, 0x64, 0x61, 0x70, 0x74, 0x69, 0x76, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x65, |
| 455 |
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3e, 0x0a, 0x06, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x18, |
| 456 |
0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 457 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, |
| 458 |
0x74, 0x65, 0x72, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x52, 0x06, 0x61, |
| 459 |
0x74, 0x74, 0x61, 0x63, 0x6b, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x68, 0x72, 0x65, 0x61, 0x74, 0x5f, |
| 460 |
0x76, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x68, |
| 461 |
0x72, 0x65, 0x61, 0x74, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x35, 0x0a, 0x08, 0x64, 0x75, |
| 462 |
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, |
| 463 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, |
| 464 |
0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, |
| 465 |
0x6e, 0x22, 0x52, 0x0a, 0x0e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x50, 0x6f, 0x6c, |
| 466 |
0x69, 0x63, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 467 |
0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, |
| 468 |
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, |
| 469 |
0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, 0x72, |
| 470 |
0x65, 0x76, 0x69, 0x65, 0x77, 0x22, 0xa4, 0x01, 0x0a, 0x08, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, |
| 471 |
0x74, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 472 |
0x01, 0x52, 0x05, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x68, 0x6f, 0x72, |
| 473 |
0x74, 0x5f, 0x74, 0x65, 0x72, 0x6d, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x18, 0x02, |
| 474 |
0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x54, 0x65, 0x72, 0x6d, 0x41, |
| 475 |
0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x6c, 0x6f, 0x6e, 0x67, 0x5f, 0x74, |
| 476 |
0x65, 0x72, 0x6d, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, |
| 477 |
0x05, 0x52, 0x0f, 0x6c, 0x6f, 0x6e, 0x67, 0x54, 0x65, 0x72, 0x6d, 0x41, 0x6c, 0x6c, 0x6f, 0x77, |
| 478 |
0x65, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x6c, 0x6f, 0x6e, 0x67, 0x5f, 0x74, 0x65, 0x72, 0x6d, 0x5f, |
| 479 |
0x64, 0x65, 0x6e, 0x69, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x6c, 0x6f, |
| 480 |
0x6e, 0x67, 0x54, 0x65, 0x72, 0x6d, 0x44, 0x65, 0x6e, 0x69, 0x65, 0x64, 0x22, 0x34, 0x0a, 0x12, |
| 481 |
0x41, 0x64, 0x61, 0x70, 0x74, 0x69, 0x76, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, |
| 482 |
0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, |
| 483 |
0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, |
| 484 |
0x63, 0x65, 0x22, 0xc6, 0x01, 0x0a, 0x06, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x12, 0x26, 0x0a, |
| 485 |
0x0f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x70, 0x70, 0x73, 0x5f, 0x6c, 0x6f, 0x6e, 0x67, |
| 486 |
0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x50, 0x70, |
| 487 |
0x73, 0x4c, 0x6f, 0x6e, 0x67, 0x12, 0x26, 0x0a, 0x0f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, |
| 488 |
0x62, 0x70, 0x73, 0x5f, 0x6c, 0x6f, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, |
| 489 |
0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x42, 0x70, 0x73, 0x4c, 0x6f, 0x6e, 0x67, 0x12, 0x26, 0x0a, |
| 490 |
0x0e, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, |
| 491 |
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, |
| 492 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, |
| 493 |
0x70, 0x70, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x42, 0x02, 0x18, 0x01, 0x52, 0x09, 0x76, |
| 494 |
0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x50, 0x70, 0x73, 0x12, 0x21, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, |
| 495 |
0x6d, 0x65, 0x5f, 0x62, 0x70, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x02, 0x18, 0x01, |
| 496 |
0x52, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x42, 0x70, 0x73, 0x42, 0xe9, 0x01, 0x0a, 0x22, |
| 497 |
0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, |
| 498 |
0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, |
| 499 |
0x76, 0x32, 0x42, 0x0f, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x41, 0x72, 0x6d, 0x6f, 0x72, 0x50, 0x72, |
| 500 |
0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, |
| 501 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, |
| 502 |
0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, |
| 503 |
0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, |
| 504 |
0x3b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, |
| 505 |
0x62, 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, |
| 506 |
0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, |
| 507 |
0x56, 0x32, 0xca, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, |
| 508 |
0x64, 0x5c, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, |
| 509 |
0x5c, 0x56, 0x32, 0xea, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, |
| 510 |
0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, |
| 511 |
0x74, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 512 |
} |
| 513 |
|
| 514 |
var ( |
| 515 |
file_google_cloud_securitycenter_v2_cloud_armor_proto_rawDescOnce sync.Once |
| 516 |
file_google_cloud_securitycenter_v2_cloud_armor_proto_rawDescData = file_google_cloud_securitycenter_v2_cloud_armor_proto_rawDesc |
| 517 |
) |
| 518 |
|
| 519 |
func file_google_cloud_securitycenter_v2_cloud_armor_proto_rawDescGZIP() []byte { |
| 520 |
file_google_cloud_securitycenter_v2_cloud_armor_proto_rawDescOnce.Do(func() { |
| 521 |
file_google_cloud_securitycenter_v2_cloud_armor_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_securitycenter_v2_cloud_armor_proto_rawDescData) |
| 522 |
}) |
| 523 |
return file_google_cloud_securitycenter_v2_cloud_armor_proto_rawDescData |
| 524 |
} |
| 525 |
|
| 526 |
var file_google_cloud_securitycenter_v2_cloud_armor_proto_msgTypes = make([]protoimpl.MessageInfo, 5) |
| 527 |
var file_google_cloud_securitycenter_v2_cloud_armor_proto_goTypes = []any{ |
| 528 |
(*CloudArmor)(nil), // 0: google.cloud.securitycenter.v2.CloudArmor |
| 529 |
(*SecurityPolicy)(nil), // 1: google.cloud.securitycenter.v2.SecurityPolicy |
| 530 |
(*Requests)(nil), // 2: google.cloud.securitycenter.v2.Requests |
| 531 |
(*AdaptiveProtection)(nil), // 3: google.cloud.securitycenter.v2.AdaptiveProtection |
| 532 |
(*Attack)(nil), // 4: google.cloud.securitycenter.v2.Attack |
| 533 |
(*durationpb.Duration)(nil), // 5: google.protobuf.Duration |
| 534 |
} |
| 535 |
var file_google_cloud_securitycenter_v2_cloud_armor_proto_depIdxs = []int32{ |
| 536 |
1, // 0: google.cloud.securitycenter.v2.CloudArmor.security_policy:type_name -> google.cloud.securitycenter.v2.SecurityPolicy |
| 537 |
2, // 1: google.cloud.securitycenter.v2.CloudArmor.requests:type_name -> google.cloud.securitycenter.v2.Requests |
| 538 |
3, // 2: google.cloud.securitycenter.v2.CloudArmor.adaptive_protection:type_name -> google.cloud.securitycenter.v2.AdaptiveProtection |
| 539 |
4, // 3: google.cloud.securitycenter.v2.CloudArmor.attack:type_name -> google.cloud.securitycenter.v2.Attack |
| 540 |
5, // 4: google.cloud.securitycenter.v2.CloudArmor.duration:type_name -> google.protobuf.Duration |
| 541 |
5, // [5:5] is the sub-list for method output_type |
| 542 |
5, // [5:5] is the sub-list for method input_type |
| 543 |
5, // [5:5] is the sub-list for extension type_name |
| 544 |
5, // [5:5] is the sub-list for extension extendee |
| 545 |
0, // [0:5] is the sub-list for field type_name |
| 546 |
} |
| 547 |
|
| 548 |
func init() { file_google_cloud_securitycenter_v2_cloud_armor_proto_init() } |
| 549 |
func file_google_cloud_securitycenter_v2_cloud_armor_proto_init() { |
| 550 |
if File_google_cloud_securitycenter_v2_cloud_armor_proto != nil { |
| 551 |
return |
| 552 |
} |
| 553 |
type x struct{} |
| 554 |
out := protoimpl.TypeBuilder{ |
| 555 |
File: protoimpl.DescBuilder{ |
| 556 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 557 |
RawDescriptor: file_google_cloud_securitycenter_v2_cloud_armor_proto_rawDesc, |
| 558 |
NumEnums: 0, |
| 559 |
NumMessages: 5, |
| 560 |
NumExtensions: 0, |
| 561 |
NumServices: 0, |
| 562 |
}, |
| 563 |
GoTypes: file_google_cloud_securitycenter_v2_cloud_armor_proto_goTypes, |
| 564 |
DependencyIndexes: file_google_cloud_securitycenter_v2_cloud_armor_proto_depIdxs, |
| 565 |
MessageInfos: file_google_cloud_securitycenter_v2_cloud_armor_proto_msgTypes, |
| 566 |
}.Build() |
| 567 |
File_google_cloud_securitycenter_v2_cloud_armor_proto = out.File |
| 568 |
file_google_cloud_securitycenter_v2_cloud_armor_proto_rawDesc = nil |
| 569 |
file_google_cloud_securitycenter_v2_cloud_armor_proto_goTypes = nil |
| 570 |
file_google_cloud_securitycenter_v2_cloud_armor_proto_depIdxs = nil |
| 571 |
} |