Debian Codegraph @

securitycenter/apiv1/securitycenterpb/cloud_armor.pb.go

raw
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/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_v1_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_v1_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_v1_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_v1_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_v1_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_v1_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_v1_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_v1_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_v1_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_v1_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_v1_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_v1_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 VolumePps int32 `protobuf:"varint,1,opt,name=volume_pps,json=volumePps,proto3" json:"volume_pps,omitempty"`
345 // Total BPS (bytes per second) volume of attack.
346 VolumeBps int32 `protobuf:"varint,2,opt,name=volume_bps,json=volumeBps,proto3" json:"volume_bps,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 }
350
351 func (x *Attack) Reset() {
352 *x = Attack{}
353 mi := &file_google_cloud_securitycenter_v1_cloud_armor_proto_msgTypes[4]
354 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
355 ms.StoreMessageInfo(mi)
356 }
357
358 func (x *Attack) String() string {
359 return protoimpl.X.MessageStringOf(x)
360 }
361
362 func (*Attack) ProtoMessage() {}
363
364 func (x *Attack) ProtoReflect() protoreflect.Message {
365 mi := &file_google_cloud_securitycenter_v1_cloud_armor_proto_msgTypes[4]
366 if x != nil {
367 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
368 if ms.LoadMessageInfo() == nil {
369 ms.StoreMessageInfo(mi)
370 }
371 return ms
372 }
373 return mi.MessageOf(x)
374 }
375
376 // Deprecated: Use Attack.ProtoReflect.Descriptor instead.
377 func (*Attack) Descriptor() ([]byte, []int) {
378 return file_google_cloud_securitycenter_v1_cloud_armor_proto_rawDescGZIP(), []int{4}
379 }
380
381 func (x *Attack) GetVolumePps() int32 {
382 if x != nil {
383 return x.VolumePps
384 }
385 return 0
386 }
387
388 func (x *Attack) GetVolumeBps() int32 {
389 if x != nil {
390 return x.VolumeBps
391 }
392 return 0
393 }
394
395 func (x *Attack) GetClassification() string {
396 if x != nil {
397 return x.Classification
398 }
399 return ""
400 }
401
402 var File_google_cloud_securitycenter_v1_cloud_armor_proto protoreflect.FileDescriptor
403
404 var file_google_cloud_securitycenter_v1_cloud_armor_proto_rawDesc = []byte{
405 0x0a, 0x30, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
406 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31,
407 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x61, 0x72, 0x6d, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f,
408 0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
409 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e,
410 0x76, 0x31, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
411 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
412 0x74, 0x6f, 0x22, 0xac, 0x03, 0x0a, 0x0a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x41, 0x72, 0x6d, 0x6f,
413 0x72, 0x12, 0x57, 0x0a, 0x0f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x70, 0x6f,
414 0x6c, 0x69, 0x63, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f,
415 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69,
416 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x75,
417 0x72, 0x69, 0x74, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x0e, 0x73, 0x65, 0x63, 0x75,
418 0x72, 0x69, 0x74, 0x79, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x44, 0x0a, 0x08, 0x72, 0x65,
419 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67,
420 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75,
421 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65,
422 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73,
423 0x12, 0x63, 0x0a, 0x13, 0x61, 0x64, 0x61, 0x70, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x72, 0x6f,
424 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e,
425 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63,
426 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x41,
427 0x64, 0x61, 0x70, 0x74, 0x69, 0x76, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f,
428 0x6e, 0x52, 0x12, 0x61, 0x64, 0x61, 0x70, 0x74, 0x69, 0x76, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x65,
429 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3e, 0x0a, 0x06, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x18,
430 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
431 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e,
432 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x52, 0x06, 0x61,
433 0x74, 0x74, 0x61, 0x63, 0x6b, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x68, 0x72, 0x65, 0x61, 0x74, 0x5f,
434 0x76, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x68,
435 0x72, 0x65, 0x61, 0x74, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x35, 0x0a, 0x08, 0x64, 0x75,
436 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67,
437 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44,
438 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
439 0x6e, 0x22, 0x52, 0x0a, 0x0e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x50, 0x6f, 0x6c,
440 0x69, 0x63, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
441 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18,
442 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70,
443 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, 0x72,
444 0x65, 0x76, 0x69, 0x65, 0x77, 0x22, 0xa4, 0x01, 0x0a, 0x08, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
445 0x74, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28,
446 0x01, 0x52, 0x05, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x68, 0x6f, 0x72,
447 0x74, 0x5f, 0x74, 0x65, 0x72, 0x6d, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x18, 0x02,
448 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x54, 0x65, 0x72, 0x6d, 0x41,
449 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x6c, 0x6f, 0x6e, 0x67, 0x5f, 0x74,
450 0x65, 0x72, 0x6d, 0x5f, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
451 0x05, 0x52, 0x0f, 0x6c, 0x6f, 0x6e, 0x67, 0x54, 0x65, 0x72, 0x6d, 0x41, 0x6c, 0x6c, 0x6f, 0x77,
452 0x65, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x6c, 0x6f, 0x6e, 0x67, 0x5f, 0x74, 0x65, 0x72, 0x6d, 0x5f,
453 0x64, 0x65, 0x6e, 0x69, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x6c, 0x6f,
454 0x6e, 0x67, 0x54, 0x65, 0x72, 0x6d, 0x44, 0x65, 0x6e, 0x69, 0x65, 0x64, 0x22, 0x34, 0x0a, 0x12,
455 0x41, 0x64, 0x61, 0x70, 0x74, 0x69, 0x76, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x65, 0x63, 0x74, 0x69,
456 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65,
457 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e,
458 0x63, 0x65, 0x22, 0x6e, 0x0a, 0x06, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x12, 0x1d, 0x0a, 0x0a,
459 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x70, 0x70, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
460 0x52, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x50, 0x70, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x76,
461 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x62, 0x70, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
462 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x42, 0x70, 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x6c,
463 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01,
464 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69,
465 0x6f, 0x6e, 0x42, 0xe9, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
466 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
467 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x42, 0x0f, 0x43, 0x6c, 0x6f, 0x75, 0x64,
468 0x41, 0x72, 0x6d, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x63, 0x6c,
469 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67,
470 0x6f, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72,
471 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63,
472 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0x3b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
473 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
474 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79,
475 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67,
476 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74,
477 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x21, 0x47, 0x6f, 0x6f,
478 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x53, 0x65, 0x63, 0x75,
479 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06,
480 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
481 }
482
483 var (
484 file_google_cloud_securitycenter_v1_cloud_armor_proto_rawDescOnce sync.Once
485 file_google_cloud_securitycenter_v1_cloud_armor_proto_rawDescData = file_google_cloud_securitycenter_v1_cloud_armor_proto_rawDesc
486 )
487
488 func file_google_cloud_securitycenter_v1_cloud_armor_proto_rawDescGZIP() []byte {
489 file_google_cloud_securitycenter_v1_cloud_armor_proto_rawDescOnce.Do(func() {
490 file_google_cloud_securitycenter_v1_cloud_armor_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_securitycenter_v1_cloud_armor_proto_rawDescData)
491 })
492 return file_google_cloud_securitycenter_v1_cloud_armor_proto_rawDescData
493 }
494
495 var file_google_cloud_securitycenter_v1_cloud_armor_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
496 var file_google_cloud_securitycenter_v1_cloud_armor_proto_goTypes = []any{
497 (*CloudArmor)(nil), // 0: google.cloud.securitycenter.v1.CloudArmor
498 (*SecurityPolicy)(nil), // 1: google.cloud.securitycenter.v1.SecurityPolicy
499 (*Requests)(nil), // 2: google.cloud.securitycenter.v1.Requests
500 (*AdaptiveProtection)(nil), // 3: google.cloud.securitycenter.v1.AdaptiveProtection
501 (*Attack)(nil), // 4: google.cloud.securitycenter.v1.Attack
502 (*durationpb.Duration)(nil), // 5: google.protobuf.Duration
503 }
504 var file_google_cloud_securitycenter_v1_cloud_armor_proto_depIdxs = []int32{
505 1, // 0: google.cloud.securitycenter.v1.CloudArmor.security_policy:type_name -> google.cloud.securitycenter.v1.SecurityPolicy
506 2, // 1: google.cloud.securitycenter.v1.CloudArmor.requests:type_name -> google.cloud.securitycenter.v1.Requests
507 3, // 2: google.cloud.securitycenter.v1.CloudArmor.adaptive_protection:type_name -> google.cloud.securitycenter.v1.AdaptiveProtection
508 4, // 3: google.cloud.securitycenter.v1.CloudArmor.attack:type_name -> google.cloud.securitycenter.v1.Attack
509 5, // 4: google.cloud.securitycenter.v1.CloudArmor.duration:type_name -> google.protobuf.Duration
510 5, // [5:5] is the sub-list for method output_type
511 5, // [5:5] is the sub-list for method input_type
512 5, // [5:5] is the sub-list for extension type_name
513 5, // [5:5] is the sub-list for extension extendee
514 0, // [0:5] is the sub-list for field type_name
515 }
516
517 func init() { file_google_cloud_securitycenter_v1_cloud_armor_proto_init() }
518 func file_google_cloud_securitycenter_v1_cloud_armor_proto_init() {
519 if File_google_cloud_securitycenter_v1_cloud_armor_proto != nil {
520 return
521 }
522 type x struct{}
523 out := protoimpl.TypeBuilder{
524 File: protoimpl.DescBuilder{
525 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
526 RawDescriptor: file_google_cloud_securitycenter_v1_cloud_armor_proto_rawDesc,
527 NumEnums: 0,
528 NumMessages: 5,
529 NumExtensions: 0,
530 NumServices: 0,
531 },
532 GoTypes: file_google_cloud_securitycenter_v1_cloud_armor_proto_goTypes,
533 DependencyIndexes: file_google_cloud_securitycenter_v1_cloud_armor_proto_depIdxs,
534 MessageInfos: file_google_cloud_securitycenter_v1_cloud_armor_proto_msgTypes,
535 }.Build()
536 File_google_cloud_securitycenter_v1_cloud_armor_proto = out.File
537 file_google_cloud_securitycenter_v1_cloud_armor_proto_rawDesc = nil
538 file_google_cloud_securitycenter_v1_cloud_armor_proto_goTypes = nil
539 file_google_cloud_securitycenter_v1_cloud_armor_proto_depIdxs = nil
540 }