1// Copyright 2019 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 16// Code generated by protoc-gen-go. DO NOT EDIT. 17// versions: 18// protoc-gen-go v1.25.0 19// protoc v3.13.0 20// source: google/cloud/websecurityscanner/v1beta/finding_addon.proto 21 22package websecurityscanner 23 24import ( 25 reflect "reflect" 26 sync "sync" 27 28 proto "github.com/golang/protobuf/proto" 29 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 30 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 31) 32 33const ( 34 // Verify that this generated code is sufficiently up-to-date. 35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 36 // Verify that runtime/protoimpl is sufficiently up-to-date. 37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 38) 39 40// This is a compile-time assertion that a sufficiently up-to-date version 41// of the legacy proto package is being used. 42const _ = proto.ProtoPackageIsVersion4 43 44// ! Information about a vulnerability with an HTML. 45type Form struct { 46 state protoimpl.MessageState 47 sizeCache protoimpl.SizeCache 48 unknownFields protoimpl.UnknownFields 49 50 // ! The URI where to send the form when it's submitted. 51 ActionUri string `protobuf:"bytes,1,opt,name=action_uri,json=actionUri,proto3" json:"action_uri,omitempty"` 52 // ! The names of form fields related to the vulnerability. 53 Fields []string `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` 54} 55 56func (x *Form) Reset() { 57 *x = Form{} 58 if protoimpl.UnsafeEnabled { 59 mi := &file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_msgTypes[0] 60 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 61 ms.StoreMessageInfo(mi) 62 } 63} 64 65func (x *Form) String() string { 66 return protoimpl.X.MessageStringOf(x) 67} 68 69func (*Form) ProtoMessage() {} 70 71func (x *Form) ProtoReflect() protoreflect.Message { 72 mi := &file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_msgTypes[0] 73 if protoimpl.UnsafeEnabled && x != nil { 74 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 75 if ms.LoadMessageInfo() == nil { 76 ms.StoreMessageInfo(mi) 77 } 78 return ms 79 } 80 return mi.MessageOf(x) 81} 82 83// Deprecated: Use Form.ProtoReflect.Descriptor instead. 84func (*Form) Descriptor() ([]byte, []int) { 85 return file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_rawDescGZIP(), []int{0} 86} 87 88func (x *Form) GetActionUri() string { 89 if x != nil { 90 return x.ActionUri 91 } 92 return "" 93} 94 95func (x *Form) GetFields() []string { 96 if x != nil { 97 return x.Fields 98 } 99 return nil 100} 101 102// Information reported for an outdated library. 103type OutdatedLibrary struct { 104 state protoimpl.MessageState 105 sizeCache protoimpl.SizeCache 106 unknownFields protoimpl.UnknownFields 107 108 // The name of the outdated library. 109 LibraryName string `protobuf:"bytes,1,opt,name=library_name,json=libraryName,proto3" json:"library_name,omitempty"` 110 // The version number. 111 Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` 112 // URLs to learn more information about the vulnerabilities in the library. 113 LearnMoreUrls []string `protobuf:"bytes,3,rep,name=learn_more_urls,json=learnMoreUrls,proto3" json:"learn_more_urls,omitempty"` 114} 115 116func (x *OutdatedLibrary) Reset() { 117 *x = OutdatedLibrary{} 118 if protoimpl.UnsafeEnabled { 119 mi := &file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_msgTypes[1] 120 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 121 ms.StoreMessageInfo(mi) 122 } 123} 124 125func (x *OutdatedLibrary) String() string { 126 return protoimpl.X.MessageStringOf(x) 127} 128 129func (*OutdatedLibrary) ProtoMessage() {} 130 131func (x *OutdatedLibrary) ProtoReflect() protoreflect.Message { 132 mi := &file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_msgTypes[1] 133 if protoimpl.UnsafeEnabled && x != nil { 134 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 135 if ms.LoadMessageInfo() == nil { 136 ms.StoreMessageInfo(mi) 137 } 138 return ms 139 } 140 return mi.MessageOf(x) 141} 142 143// Deprecated: Use OutdatedLibrary.ProtoReflect.Descriptor instead. 144func (*OutdatedLibrary) Descriptor() ([]byte, []int) { 145 return file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_rawDescGZIP(), []int{1} 146} 147 148func (x *OutdatedLibrary) GetLibraryName() string { 149 if x != nil { 150 return x.LibraryName 151 } 152 return "" 153} 154 155func (x *OutdatedLibrary) GetVersion() string { 156 if x != nil { 157 return x.Version 158 } 159 return "" 160} 161 162func (x *OutdatedLibrary) GetLearnMoreUrls() []string { 163 if x != nil { 164 return x.LearnMoreUrls 165 } 166 return nil 167} 168 169// Information regarding any resource causing the vulnerability such 170// as JavaScript sources, image, audio files, etc. 171type ViolatingResource struct { 172 state protoimpl.MessageState 173 sizeCache protoimpl.SizeCache 174 unknownFields protoimpl.UnknownFields 175 176 // The MIME type of this resource. 177 ContentType string `protobuf:"bytes,1,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` 178 // URL of this violating resource. 179 ResourceUrl string `protobuf:"bytes,2,opt,name=resource_url,json=resourceUrl,proto3" json:"resource_url,omitempty"` 180} 181 182func (x *ViolatingResource) Reset() { 183 *x = ViolatingResource{} 184 if protoimpl.UnsafeEnabled { 185 mi := &file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_msgTypes[2] 186 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 187 ms.StoreMessageInfo(mi) 188 } 189} 190 191func (x *ViolatingResource) String() string { 192 return protoimpl.X.MessageStringOf(x) 193} 194 195func (*ViolatingResource) ProtoMessage() {} 196 197func (x *ViolatingResource) ProtoReflect() protoreflect.Message { 198 mi := &file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_msgTypes[2] 199 if protoimpl.UnsafeEnabled && x != nil { 200 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 201 if ms.LoadMessageInfo() == nil { 202 ms.StoreMessageInfo(mi) 203 } 204 return ms 205 } 206 return mi.MessageOf(x) 207} 208 209// Deprecated: Use ViolatingResource.ProtoReflect.Descriptor instead. 210func (*ViolatingResource) Descriptor() ([]byte, []int) { 211 return file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_rawDescGZIP(), []int{2} 212} 213 214func (x *ViolatingResource) GetContentType() string { 215 if x != nil { 216 return x.ContentType 217 } 218 return "" 219} 220 221func (x *ViolatingResource) GetResourceUrl() string { 222 if x != nil { 223 return x.ResourceUrl 224 } 225 return "" 226} 227 228// Information about vulnerable request parameters. 229type VulnerableParameters struct { 230 state protoimpl.MessageState 231 sizeCache protoimpl.SizeCache 232 unknownFields protoimpl.UnknownFields 233 234 // The vulnerable parameter names. 235 ParameterNames []string `protobuf:"bytes,1,rep,name=parameter_names,json=parameterNames,proto3" json:"parameter_names,omitempty"` 236} 237 238func (x *VulnerableParameters) Reset() { 239 *x = VulnerableParameters{} 240 if protoimpl.UnsafeEnabled { 241 mi := &file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_msgTypes[3] 242 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 243 ms.StoreMessageInfo(mi) 244 } 245} 246 247func (x *VulnerableParameters) String() string { 248 return protoimpl.X.MessageStringOf(x) 249} 250 251func (*VulnerableParameters) ProtoMessage() {} 252 253func (x *VulnerableParameters) ProtoReflect() protoreflect.Message { 254 mi := &file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_msgTypes[3] 255 if protoimpl.UnsafeEnabled && x != nil { 256 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 257 if ms.LoadMessageInfo() == nil { 258 ms.StoreMessageInfo(mi) 259 } 260 return ms 261 } 262 return mi.MessageOf(x) 263} 264 265// Deprecated: Use VulnerableParameters.ProtoReflect.Descriptor instead. 266func (*VulnerableParameters) Descriptor() ([]byte, []int) { 267 return file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_rawDescGZIP(), []int{3} 268} 269 270func (x *VulnerableParameters) GetParameterNames() []string { 271 if x != nil { 272 return x.ParameterNames 273 } 274 return nil 275} 276 277// Information about vulnerable or missing HTTP Headers. 278type VulnerableHeaders struct { 279 state protoimpl.MessageState 280 sizeCache protoimpl.SizeCache 281 unknownFields protoimpl.UnknownFields 282 283 // List of vulnerable headers. 284 Headers []*VulnerableHeaders_Header `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"` 285 // List of missing headers. 286 MissingHeaders []*VulnerableHeaders_Header `protobuf:"bytes,2,rep,name=missing_headers,json=missingHeaders,proto3" json:"missing_headers,omitempty"` 287} 288 289func (x *VulnerableHeaders) Reset() { 290 *x = VulnerableHeaders{} 291 if protoimpl.UnsafeEnabled { 292 mi := &file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_msgTypes[4] 293 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 294 ms.StoreMessageInfo(mi) 295 } 296} 297 298func (x *VulnerableHeaders) String() string { 299 return protoimpl.X.MessageStringOf(x) 300} 301 302func (*VulnerableHeaders) ProtoMessage() {} 303 304func (x *VulnerableHeaders) ProtoReflect() protoreflect.Message { 305 mi := &file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_msgTypes[4] 306 if protoimpl.UnsafeEnabled && x != nil { 307 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 308 if ms.LoadMessageInfo() == nil { 309 ms.StoreMessageInfo(mi) 310 } 311 return ms 312 } 313 return mi.MessageOf(x) 314} 315 316// Deprecated: Use VulnerableHeaders.ProtoReflect.Descriptor instead. 317func (*VulnerableHeaders) Descriptor() ([]byte, []int) { 318 return file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_rawDescGZIP(), []int{4} 319} 320 321func (x *VulnerableHeaders) GetHeaders() []*VulnerableHeaders_Header { 322 if x != nil { 323 return x.Headers 324 } 325 return nil 326} 327 328func (x *VulnerableHeaders) GetMissingHeaders() []*VulnerableHeaders_Header { 329 if x != nil { 330 return x.MissingHeaders 331 } 332 return nil 333} 334 335// Information reported for an XSS. 336type Xss struct { 337 state protoimpl.MessageState 338 sizeCache protoimpl.SizeCache 339 unknownFields protoimpl.UnknownFields 340 341 // Stack traces leading to the point where the XSS occurred. 342 StackTraces []string `protobuf:"bytes,1,rep,name=stack_traces,json=stackTraces,proto3" json:"stack_traces,omitempty"` 343 // An error message generated by a javascript breakage. 344 ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` 345} 346 347func (x *Xss) Reset() { 348 *x = Xss{} 349 if protoimpl.UnsafeEnabled { 350 mi := &file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_msgTypes[5] 351 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 352 ms.StoreMessageInfo(mi) 353 } 354} 355 356func (x *Xss) String() string { 357 return protoimpl.X.MessageStringOf(x) 358} 359 360func (*Xss) ProtoMessage() {} 361 362func (x *Xss) ProtoReflect() protoreflect.Message { 363 mi := &file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_msgTypes[5] 364 if protoimpl.UnsafeEnabled && x != nil { 365 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 366 if ms.LoadMessageInfo() == nil { 367 ms.StoreMessageInfo(mi) 368 } 369 return ms 370 } 371 return mi.MessageOf(x) 372} 373 374// Deprecated: Use Xss.ProtoReflect.Descriptor instead. 375func (*Xss) Descriptor() ([]byte, []int) { 376 return file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_rawDescGZIP(), []int{5} 377} 378 379func (x *Xss) GetStackTraces() []string { 380 if x != nil { 381 return x.StackTraces 382 } 383 return nil 384} 385 386func (x *Xss) GetErrorMessage() string { 387 if x != nil { 388 return x.ErrorMessage 389 } 390 return "" 391} 392 393// Describes a HTTP Header. 394type VulnerableHeaders_Header struct { 395 state protoimpl.MessageState 396 sizeCache protoimpl.SizeCache 397 unknownFields protoimpl.UnknownFields 398 399 // Header name. 400 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 401 // Header value. 402 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` 403} 404 405func (x *VulnerableHeaders_Header) Reset() { 406 *x = VulnerableHeaders_Header{} 407 if protoimpl.UnsafeEnabled { 408 mi := &file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_msgTypes[6] 409 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 410 ms.StoreMessageInfo(mi) 411 } 412} 413 414func (x *VulnerableHeaders_Header) String() string { 415 return protoimpl.X.MessageStringOf(x) 416} 417 418func (*VulnerableHeaders_Header) ProtoMessage() {} 419 420func (x *VulnerableHeaders_Header) ProtoReflect() protoreflect.Message { 421 mi := &file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_msgTypes[6] 422 if protoimpl.UnsafeEnabled && x != nil { 423 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 424 if ms.LoadMessageInfo() == nil { 425 ms.StoreMessageInfo(mi) 426 } 427 return ms 428 } 429 return mi.MessageOf(x) 430} 431 432// Deprecated: Use VulnerableHeaders_Header.ProtoReflect.Descriptor instead. 433func (*VulnerableHeaders_Header) Descriptor() ([]byte, []int) { 434 return file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_rawDescGZIP(), []int{4, 0} 435} 436 437func (x *VulnerableHeaders_Header) GetName() string { 438 if x != nil { 439 return x.Name 440 } 441 return "" 442} 443 444func (x *VulnerableHeaders_Header) GetValue() string { 445 if x != nil { 446 return x.Value 447 } 448 return "" 449} 450 451var File_google_cloud_websecurityscanner_v1beta_finding_addon_proto protoreflect.FileDescriptor 452 453var file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_rawDesc = []byte{ 454 0x0a, 0x3a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x77, 455 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 456 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x66, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 457 0x5f, 0x61, 0x64, 0x64, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x26, 0x67, 0x6f, 458 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x65, 459 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 460 0x62, 0x65, 0x74, 0x61, 0x22, 0x3d, 0x0a, 0x04, 0x46, 0x6f, 0x72, 0x6d, 0x12, 0x1d, 0x0a, 0x0a, 461 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 462 0x52, 0x09, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x72, 0x69, 0x12, 0x16, 0x0a, 0x06, 0x66, 463 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x65, 464 0x6c, 0x64, 0x73, 0x22, 0x76, 0x0a, 0x0f, 0x4f, 0x75, 0x74, 0x64, 0x61, 0x74, 0x65, 0x64, 0x4c, 465 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 466 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6c, 0x69, 467 0x62, 0x72, 0x61, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 468 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 469 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x0a, 0x0f, 0x6c, 0x65, 0x61, 0x72, 0x6e, 0x5f, 0x6d, 0x6f, 0x72, 470 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x6c, 0x65, 471 0x61, 0x72, 0x6e, 0x4d, 0x6f, 0x72, 0x65, 0x55, 0x72, 0x6c, 0x73, 0x22, 0x59, 0x0a, 0x11, 0x56, 472 0x69, 0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 473 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 474 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 475 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 476 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x75, 477 0x72, 0x63, 0x65, 0x55, 0x72, 0x6c, 0x22, 0x3f, 0x0a, 0x14, 0x56, 0x75, 0x6c, 0x6e, 0x65, 0x72, 478 0x61, 0x62, 0x6c, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x27, 479 0x0a, 0x0f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 480 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 481 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x8e, 0x02, 0x0a, 0x11, 0x56, 0x75, 0x6c, 0x6e, 482 0x65, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x5a, 0x0a, 483 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x40, 484 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x65, 485 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 486 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x56, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 487 0x6c, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 488 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x69, 0x0a, 0x0f, 0x6d, 0x69, 0x73, 489 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 490 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 491 0x64, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 492 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x56, 0x75, 0x6c, 0x6e, 493 0x65, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x2e, 0x48, 0x65, 494 0x61, 0x64, 0x65, 0x72, 0x52, 0x0e, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x61, 495 0x64, 0x65, 0x72, 0x73, 0x1a, 0x32, 0x0a, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x12, 496 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 497 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 498 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x4d, 0x0a, 0x03, 0x58, 0x73, 0x73, 0x12, 499 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x5f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x73, 0x18, 500 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x54, 0x72, 0x61, 0x63, 501 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x65, 0x73, 0x73, 502 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 503 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x99, 0x02, 0x0a, 0x2a, 0x63, 0x6f, 0x6d, 0x2e, 504 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x65, 0x62, 505 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 506 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x42, 0x11, 0x46, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x41, 507 0x64, 0x64, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x58, 0x67, 0x6f, 0x6f, 508 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 509 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 510 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 511 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 512 0x74, 0x61, 0x3b, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 513 0x61, 0x6e, 0x6e, 0x65, 0x72, 0xaa, 0x02, 0x26, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 514 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x57, 0x65, 0x62, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 515 0x53, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0xca, 0x02, 516 0x26, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x57, 0x65, 517 0x62, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 518 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0xea, 0x02, 0x29, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 519 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x57, 0x65, 0x62, 0x53, 0x65, 0x63, 0x75, 520 0x72, 0x69, 0x74, 0x79, 0x53, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, 521 0x65, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 522} 523 524var ( 525 file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_rawDescOnce sync.Once 526 file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_rawDescData = file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_rawDesc 527) 528 529func file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_rawDescGZIP() []byte { 530 file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_rawDescOnce.Do(func() { 531 file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_rawDescData) 532 }) 533 return file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_rawDescData 534} 535 536var file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_msgTypes = make([]protoimpl.MessageInfo, 7) 537var file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_goTypes = []interface{}{ 538 (*Form)(nil), // 0: google.cloud.websecurityscanner.v1beta.Form 539 (*OutdatedLibrary)(nil), // 1: google.cloud.websecurityscanner.v1beta.OutdatedLibrary 540 (*ViolatingResource)(nil), // 2: google.cloud.websecurityscanner.v1beta.ViolatingResource 541 (*VulnerableParameters)(nil), // 3: google.cloud.websecurityscanner.v1beta.VulnerableParameters 542 (*VulnerableHeaders)(nil), // 4: google.cloud.websecurityscanner.v1beta.VulnerableHeaders 543 (*Xss)(nil), // 5: google.cloud.websecurityscanner.v1beta.Xss 544 (*VulnerableHeaders_Header)(nil), // 6: google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header 545} 546var file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_depIdxs = []int32{ 547 6, // 0: google.cloud.websecurityscanner.v1beta.VulnerableHeaders.headers:type_name -> google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header 548 6, // 1: google.cloud.websecurityscanner.v1beta.VulnerableHeaders.missing_headers:type_name -> google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header 549 2, // [2:2] is the sub-list for method output_type 550 2, // [2:2] is the sub-list for method input_type 551 2, // [2:2] is the sub-list for extension type_name 552 2, // [2:2] is the sub-list for extension extendee 553 0, // [0:2] is the sub-list for field type_name 554} 555 556func init() { file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_init() } 557func file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_init() { 558 if File_google_cloud_websecurityscanner_v1beta_finding_addon_proto != nil { 559 return 560 } 561 if !protoimpl.UnsafeEnabled { 562 file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 563 switch v := v.(*Form); i { 564 case 0: 565 return &v.state 566 case 1: 567 return &v.sizeCache 568 case 2: 569 return &v.unknownFields 570 default: 571 return nil 572 } 573 } 574 file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 575 switch v := v.(*OutdatedLibrary); i { 576 case 0: 577 return &v.state 578 case 1: 579 return &v.sizeCache 580 case 2: 581 return &v.unknownFields 582 default: 583 return nil 584 } 585 } 586 file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 587 switch v := v.(*ViolatingResource); i { 588 case 0: 589 return &v.state 590 case 1: 591 return &v.sizeCache 592 case 2: 593 return &v.unknownFields 594 default: 595 return nil 596 } 597 } 598 file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 599 switch v := v.(*VulnerableParameters); i { 600 case 0: 601 return &v.state 602 case 1: 603 return &v.sizeCache 604 case 2: 605 return &v.unknownFields 606 default: 607 return nil 608 } 609 } 610 file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 611 switch v := v.(*VulnerableHeaders); i { 612 case 0: 613 return &v.state 614 case 1: 615 return &v.sizeCache 616 case 2: 617 return &v.unknownFields 618 default: 619 return nil 620 } 621 } 622 file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 623 switch v := v.(*Xss); i { 624 case 0: 625 return &v.state 626 case 1: 627 return &v.sizeCache 628 case 2: 629 return &v.unknownFields 630 default: 631 return nil 632 } 633 } 634 file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 635 switch v := v.(*VulnerableHeaders_Header); i { 636 case 0: 637 return &v.state 638 case 1: 639 return &v.sizeCache 640 case 2: 641 return &v.unknownFields 642 default: 643 return nil 644 } 645 } 646 } 647 type x struct{} 648 out := protoimpl.TypeBuilder{ 649 File: protoimpl.DescBuilder{ 650 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 651 RawDescriptor: file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_rawDesc, 652 NumEnums: 0, 653 NumMessages: 7, 654 NumExtensions: 0, 655 NumServices: 0, 656 }, 657 GoTypes: file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_goTypes, 658 DependencyIndexes: file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_depIdxs, 659 MessageInfos: file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_msgTypes, 660 }.Build() 661 File_google_cloud_websecurityscanner_v1beta_finding_addon_proto = out.File 662 file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_rawDesc = nil 663 file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_goTypes = nil 664 file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_depIdxs = nil 665} 666