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