| 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/v1beta/finding.proto |
| 21 |
|
| 22 |
package websecurityscanner |
| 23 |
|
| 24 |
import ( |
| 25 |
reflect "reflect" |
| 26 |
sync "sync" |
| 27 |
|
| 28 |
_ "google.golang.org/genproto/googleapis/api/annotations" |
| 29 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 30 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 31 |
) |
| 32 |
|
| 33 |
const ( |
| 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 |
// A Finding resource represents a vulnerability instance identified during a |
| 41 |
// ScanRun. |
| 42 |
type Finding struct { |
| 43 |
state protoimpl.MessageState |
| 44 |
sizeCache protoimpl.SizeCache |
| 45 |
unknownFields protoimpl.UnknownFields |
| 46 |
|
| 47 |
// The resource name of the Finding. The name follows the format of |
| 48 |
// 'projects/{projectId}/scanConfigs/{scanConfigId}/scanruns/{scanRunId}/findings/{findingId}'. |
| 49 |
// The finding IDs are generated by the system. |
| 50 |
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| 51 |
// The type of the Finding. |
| 52 |
// Detailed and up-to-date information on findings can be found here: |
| 53 |
// https://cloud.google.com/security-scanner/docs/scan-result-details |
| 54 |
FindingType string `protobuf:"bytes,2,opt,name=finding_type,json=findingType,proto3" json:"finding_type,omitempty"` |
| 55 |
// The http method of the request that triggered the vulnerability, in |
| 56 |
// uppercase. |
| 57 |
HttpMethod string `protobuf:"bytes,3,opt,name=http_method,json=httpMethod,proto3" json:"http_method,omitempty"` |
| 58 |
// The URL produced by the server-side fuzzer and used in the request that |
| 59 |
// triggered the vulnerability. |
| 60 |
FuzzedUrl string `protobuf:"bytes,4,opt,name=fuzzed_url,json=fuzzedUrl,proto3" json:"fuzzed_url,omitempty"` |
| 61 |
// The body of the request that triggered the vulnerability. |
| 62 |
Body string `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"` |
| 63 |
// The description of the vulnerability. |
| 64 |
Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` |
| 65 |
// The URL containing human-readable payload that user can leverage to |
| 66 |
// reproduce the vulnerability. |
| 67 |
ReproductionUrl string `protobuf:"bytes,7,opt,name=reproduction_url,json=reproductionUrl,proto3" json:"reproduction_url,omitempty"` |
| 68 |
// If the vulnerability was originated from nested IFrame, the immediate |
| 69 |
// parent IFrame is reported. |
| 70 |
FrameUrl string `protobuf:"bytes,8,opt,name=frame_url,json=frameUrl,proto3" json:"frame_url,omitempty"` |
| 71 |
// The URL where the browser lands when the vulnerability is detected. |
| 72 |
FinalUrl string `protobuf:"bytes,9,opt,name=final_url,json=finalUrl,proto3" json:"final_url,omitempty"` |
| 73 |
// The tracking ID uniquely identifies a vulnerability instance across |
| 74 |
// multiple ScanRuns. |
| 75 |
TrackingId string `protobuf:"bytes,10,opt,name=tracking_id,json=trackingId,proto3" json:"tracking_id,omitempty"` |
| 76 |
// An addon containing information reported for a vulnerability with an HTML |
| 77 |
// form, if any. |
| 78 |
Form *Form `protobuf:"bytes,16,opt,name=form,proto3" json:"form,omitempty"` |
| 79 |
// An addon containing information about outdated libraries. |
| 80 |
OutdatedLibrary *OutdatedLibrary `protobuf:"bytes,11,opt,name=outdated_library,json=outdatedLibrary,proto3" json:"outdated_library,omitempty"` |
| 81 |
// An addon containing detailed information regarding any resource causing the |
| 82 |
// vulnerability such as JavaScript sources, image, audio files, etc. |
| 83 |
ViolatingResource *ViolatingResource `protobuf:"bytes,12,opt,name=violating_resource,json=violatingResource,proto3" json:"violating_resource,omitempty"` |
| 84 |
// An addon containing information about vulnerable or missing HTTP headers. |
| 85 |
VulnerableHeaders *VulnerableHeaders `protobuf:"bytes,15,opt,name=vulnerable_headers,json=vulnerableHeaders,proto3" json:"vulnerable_headers,omitempty"` |
| 86 |
// An addon containing information about request parameters which were found |
| 87 |
// to be vulnerable. |
| 88 |
VulnerableParameters *VulnerableParameters `protobuf:"bytes,13,opt,name=vulnerable_parameters,json=vulnerableParameters,proto3" json:"vulnerable_parameters,omitempty"` |
| 89 |
// An addon containing information reported for an XSS, if any. |
| 90 |
Xss *Xss `protobuf:"bytes,14,opt,name=xss,proto3" json:"xss,omitempty"` |
| 91 |
} |
| 92 |
|
| 93 |
func (x *Finding) Reset() { |
| 94 |
*x = Finding{} |
| 95 |
if protoimpl.UnsafeEnabled { |
| 96 |
mi := &file_google_cloud_websecurityscanner_v1beta_finding_proto_msgTypes[0] |
| 97 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 98 |
ms.StoreMessageInfo(mi) |
| 99 |
} |
| 100 |
} |
| 101 |
|
| 102 |
func (x *Finding) String() string { |
| 103 |
return protoimpl.X.MessageStringOf(x) |
| 104 |
} |
| 105 |
|
| 106 |
func (*Finding) ProtoMessage() {} |
| 107 |
|
| 108 |
func (x *Finding) ProtoReflect() protoreflect.Message { |
| 109 |
mi := &file_google_cloud_websecurityscanner_v1beta_finding_proto_msgTypes[0] |
| 110 |
if protoimpl.UnsafeEnabled && x != nil { |
| 111 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 112 |
if ms.LoadMessageInfo() == nil { |
| 113 |
ms.StoreMessageInfo(mi) |
| 114 |
} |
| 115 |
return ms |
| 116 |
} |
| 117 |
return mi.MessageOf(x) |
| 118 |
} |
| 119 |
|
| 120 |
// Deprecated: Use Finding.ProtoReflect.Descriptor instead. |
| 121 |
func (*Finding) Descriptor() ([]byte, []int) { |
| 122 |
return file_google_cloud_websecurityscanner_v1beta_finding_proto_rawDescGZIP(), []int{0} |
| 123 |
} |
| 124 |
|
| 125 |
func (x *Finding) GetName() string { |
| 126 |
if x != nil { |
| 127 |
return x.Name |
| 128 |
} |
| 129 |
return "" |
| 130 |
} |
| 131 |
|
| 132 |
func (x *Finding) GetFindingType() string { |
| 133 |
if x != nil { |
| 134 |
return x.FindingType |
| 135 |
} |
| 136 |
return "" |
| 137 |
} |
| 138 |
|
| 139 |
func (x *Finding) GetHttpMethod() string { |
| 140 |
if x != nil { |
| 141 |
return x.HttpMethod |
| 142 |
} |
| 143 |
return "" |
| 144 |
} |
| 145 |
|
| 146 |
func (x *Finding) GetFuzzedUrl() string { |
| 147 |
if x != nil { |
| 148 |
return x.FuzzedUrl |
| 149 |
} |
| 150 |
return "" |
| 151 |
} |
| 152 |
|
| 153 |
func (x *Finding) GetBody() string { |
| 154 |
if x != nil { |
| 155 |
return x.Body |
| 156 |
} |
| 157 |
return "" |
| 158 |
} |
| 159 |
|
| 160 |
func (x *Finding) GetDescription() string { |
| 161 |
if x != nil { |
| 162 |
return x.Description |
| 163 |
} |
| 164 |
return "" |
| 165 |
} |
| 166 |
|
| 167 |
func (x *Finding) GetReproductionUrl() string { |
| 168 |
if x != nil { |
| 169 |
return x.ReproductionUrl |
| 170 |
} |
| 171 |
return "" |
| 172 |
} |
| 173 |
|
| 174 |
func (x *Finding) GetFrameUrl() string { |
| 175 |
if x != nil { |
| 176 |
return x.FrameUrl |
| 177 |
} |
| 178 |
return "" |
| 179 |
} |
| 180 |
|
| 181 |
func (x *Finding) GetFinalUrl() string { |
| 182 |
if x != nil { |
| 183 |
return x.FinalUrl |
| 184 |
} |
| 185 |
return "" |
| 186 |
} |
| 187 |
|
| 188 |
func (x *Finding) GetTrackingId() string { |
| 189 |
if x != nil { |
| 190 |
return x.TrackingId |
| 191 |
} |
| 192 |
return "" |
| 193 |
} |
| 194 |
|
| 195 |
func (x *Finding) GetForm() *Form { |
| 196 |
if x != nil { |
| 197 |
return x.Form |
| 198 |
} |
| 199 |
return nil |
| 200 |
} |
| 201 |
|
| 202 |
func (x *Finding) GetOutdatedLibrary() *OutdatedLibrary { |
| 203 |
if x != nil { |
| 204 |
return x.OutdatedLibrary |
| 205 |
} |
| 206 |
return nil |
| 207 |
} |
| 208 |
|
| 209 |
func (x *Finding) GetViolatingResource() *ViolatingResource { |
| 210 |
if x != nil { |
| 211 |
return x.ViolatingResource |
| 212 |
} |
| 213 |
return nil |
| 214 |
} |
| 215 |
|
| 216 |
func (x *Finding) GetVulnerableHeaders() *VulnerableHeaders { |
| 217 |
if x != nil { |
| 218 |
return x.VulnerableHeaders |
| 219 |
} |
| 220 |
return nil |
| 221 |
} |
| 222 |
|
| 223 |
func (x *Finding) GetVulnerableParameters() *VulnerableParameters { |
| 224 |
if x != nil { |
| 225 |
return x.VulnerableParameters |
| 226 |
} |
| 227 |
return nil |
| 228 |
} |
| 229 |
|
| 230 |
func (x *Finding) GetXss() *Xss { |
| 231 |
if x != nil { |
| 232 |
return x.Xss |
| 233 |
} |
| 234 |
return nil |
| 235 |
} |
| 236 |
|
| 237 |
var File_google_cloud_websecurityscanner_v1beta_finding_proto protoreflect.FileDescriptor |
| 238 |
|
| 239 |
var file_google_cloud_websecurityscanner_v1beta_finding_proto_rawDesc = []byte{ |
| 240 |
0x0a, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x77, |
| 241 |
0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, |
| 242 |
0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x66, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, |
| 243 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, |
| 244 |
0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, |
| 245 |
0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x19, |
| 246 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, |
| 247 |
0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 248 |
0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, |
| 249 |
0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, |
| 250 |
0x61, 0x2f, 0x66, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x64, 0x64, 0x6f, 0x6e, 0x2e, |
| 251 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xef, 0x07, 0x0a, 0x07, 0x46, 0x69, 0x6e, 0x64, 0x69, 0x6e, |
| 252 |
0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 253 |
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x66, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, |
| 254 |
0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x66, 0x69, 0x6e, |
| 255 |
0x64, 0x69, 0x6e, 0x67, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x68, 0x74, 0x74, 0x70, |
| 256 |
0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x68, |
| 257 |
0x74, 0x74, 0x70, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x75, 0x7a, |
| 258 |
0x7a, 0x65, 0x64, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, |
| 259 |
0x75, 0x7a, 0x7a, 0x65, 0x64, 0x55, 0x72, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, |
| 260 |
0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x20, 0x0a, 0x0b, |
| 261 |
0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, |
| 262 |
0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x29, |
| 263 |
0x0a, 0x10, 0x72, 0x65, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x75, |
| 264 |
0x72, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x70, 0x72, 0x6f, 0x64, |
| 265 |
0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x72, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x72, 0x61, |
| 266 |
0x6d, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x72, |
| 267 |
0x61, 0x6d, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x5f, |
| 268 |
0x75, 0x72, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6e, 0x61, 0x6c, |
| 269 |
0x55, 0x72, 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x5f, |
| 270 |
0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x69, |
| 271 |
0x6e, 0x67, 0x49, 0x64, 0x12, 0x40, 0x0a, 0x04, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x10, 0x20, 0x01, |
| 272 |
0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, |
| 273 |
0x64, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, |
| 274 |
0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x46, 0x6f, 0x72, 0x6d, |
| 275 |
0x52, 0x04, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x62, 0x0a, 0x10, 0x6f, 0x75, 0x74, 0x64, 0x61, 0x74, |
| 276 |
0x65, 0x64, 0x5f, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, |
| 277 |
0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 278 |
0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, |
| 279 |
0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4f, 0x75, 0x74, 0x64, 0x61, 0x74, |
| 280 |
0x65, 0x64, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x52, 0x0f, 0x6f, 0x75, 0x74, 0x64, 0x61, |
| 281 |
0x74, 0x65, 0x64, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x12, 0x68, 0x0a, 0x12, 0x76, 0x69, |
| 282 |
0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, |
| 283 |
0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 284 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, |
| 285 |
0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, |
| 286 |
0x56, 0x69, 0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, |
| 287 |
0x65, 0x52, 0x11, 0x76, 0x69, 0x6f, 0x6c, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x6f, |
| 288 |
0x75, 0x72, 0x63, 0x65, 0x12, 0x68, 0x0a, 0x12, 0x76, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, |
| 289 |
0x6c, 0x65, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, |
| 290 |
0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 291 |
0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, |
| 292 |
0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x56, 0x75, 0x6c, 0x6e, 0x65, 0x72, |
| 293 |
0x61, 0x62, 0x6c, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x52, 0x11, 0x76, 0x75, 0x6c, |
| 294 |
0x6e, 0x65, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x71, |
| 295 |
0x0a, 0x15, 0x76, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x72, |
| 296 |
0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, |
| 297 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x65, 0x62, |
| 298 |
0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, |
| 299 |
0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x56, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x6c, |
| 300 |
0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x52, 0x14, 0x76, 0x75, 0x6c, |
| 301 |
0x6e, 0x65, 0x72, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, |
| 302 |
0x73, 0x12, 0x3d, 0x0a, 0x03, 0x78, 0x73, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, |
| 303 |
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x65, |
| 304 |
0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, |
| 305 |
0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x58, 0x73, 0x73, 0x52, 0x03, 0x78, 0x73, 0x73, |
| 306 |
0x3a, 0x84, 0x01, 0xea, 0x41, 0x80, 0x01, 0x0a, 0x29, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, |
| 307 |
0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 308 |
0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x46, 0x69, 0x6e, 0x64, 0x69, |
| 309 |
0x6e, 0x67, 0x12, 0x53, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, |
| 310 |
0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x73, 0x63, 0x61, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, |
| 311 |
0x67, 0x73, 0x2f, 0x7b, 0x73, 0x63, 0x61, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x7d, |
| 312 |
0x2f, 0x73, 0x63, 0x61, 0x6e, 0x52, 0x75, 0x6e, 0x73, 0x2f, 0x7b, 0x73, 0x63, 0x61, 0x6e, 0x5f, |
| 313 |
0x72, 0x75, 0x6e, 0x7d, 0x2f, 0x66, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x7b, 0x66, |
| 314 |
0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x7d, 0x42, 0x94, 0x02, 0x0a, 0x2a, 0x63, 0x6f, 0x6d, 0x2e, |
| 315 |
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x77, 0x65, 0x62, |
| 316 |
0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2e, |
| 317 |
0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x42, 0x0c, 0x46, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, |
| 318 |
0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x58, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, |
| 319 |
0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, |
| 320 |
0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, |
| 321 |
0x6f, 0x75, 0x64, 0x2f, 0x77, 0x65, 0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, |
| 322 |
0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x3b, 0x77, 0x65, |
| 323 |
0x62, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, |
| 324 |
0xaa, 0x02, 0x26, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, |
| 325 |
0x57, 0x65, 0x62, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x63, 0x61, 0x6e, 0x6e, |
| 326 |
0x65, 0x72, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0xca, 0x02, 0x26, 0x47, 0x6f, 0x6f, 0x67, |
| 327 |
0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x57, 0x65, 0x62, 0x53, 0x65, 0x63, 0x75, |
| 328 |
0x72, 0x69, 0x74, 0x79, 0x53, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x62, 0x65, |
| 329 |
0x74, 0x61, 0xea, 0x02, 0x29, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, |
| 330 |
0x75, 0x64, 0x3a, 0x3a, 0x57, 0x65, 0x62, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, |
| 331 |
0x63, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x62, 0x06, |
| 332 |
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 333 |
} |
| 334 |
|
| 335 |
var ( |
| 336 |
file_google_cloud_websecurityscanner_v1beta_finding_proto_rawDescOnce sync.Once |
| 337 |
file_google_cloud_websecurityscanner_v1beta_finding_proto_rawDescData = file_google_cloud_websecurityscanner_v1beta_finding_proto_rawDesc |
| 338 |
) |
| 339 |
|
| 340 |
func file_google_cloud_websecurityscanner_v1beta_finding_proto_rawDescGZIP() []byte { |
| 341 |
file_google_cloud_websecurityscanner_v1beta_finding_proto_rawDescOnce.Do(func() { |
| 342 |
file_google_cloud_websecurityscanner_v1beta_finding_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_websecurityscanner_v1beta_finding_proto_rawDescData) |
| 343 |
}) |
| 344 |
return file_google_cloud_websecurityscanner_v1beta_finding_proto_rawDescData |
| 345 |
} |
| 346 |
|
| 347 |
var file_google_cloud_websecurityscanner_v1beta_finding_proto_msgTypes = make([]protoimpl.MessageInfo, 1) |
| 348 |
var file_google_cloud_websecurityscanner_v1beta_finding_proto_goTypes = []interface{}{ |
| 349 |
(*Finding)(nil), // 0: google.cloud.websecurityscanner.v1beta.Finding |
| 350 |
(*Form)(nil), // 1: google.cloud.websecurityscanner.v1beta.Form |
| 351 |
(*OutdatedLibrary)(nil), // 2: google.cloud.websecurityscanner.v1beta.OutdatedLibrary |
| 352 |
(*ViolatingResource)(nil), // 3: google.cloud.websecurityscanner.v1beta.ViolatingResource |
| 353 |
(*VulnerableHeaders)(nil), // 4: google.cloud.websecurityscanner.v1beta.VulnerableHeaders |
| 354 |
(*VulnerableParameters)(nil), // 5: google.cloud.websecurityscanner.v1beta.VulnerableParameters |
| 355 |
(*Xss)(nil), // 6: google.cloud.websecurityscanner.v1beta.Xss |
| 356 |
} |
| 357 |
var file_google_cloud_websecurityscanner_v1beta_finding_proto_depIdxs = []int32{ |
| 358 |
1, // 0: google.cloud.websecurityscanner.v1beta.Finding.form:type_name -> google.cloud.websecurityscanner.v1beta.Form |
| 359 |
2, // 1: google.cloud.websecurityscanner.v1beta.Finding.outdated_library:type_name -> google.cloud.websecurityscanner.v1beta.OutdatedLibrary |
| 360 |
3, // 2: google.cloud.websecurityscanner.v1beta.Finding.violating_resource:type_name -> google.cloud.websecurityscanner.v1beta.ViolatingResource |
| 361 |
4, // 3: google.cloud.websecurityscanner.v1beta.Finding.vulnerable_headers:type_name -> google.cloud.websecurityscanner.v1beta.VulnerableHeaders |
| 362 |
5, // 4: google.cloud.websecurityscanner.v1beta.Finding.vulnerable_parameters:type_name -> google.cloud.websecurityscanner.v1beta.VulnerableParameters |
| 363 |
6, // 5: google.cloud.websecurityscanner.v1beta.Finding.xss:type_name -> google.cloud.websecurityscanner.v1beta.Xss |
| 364 |
6, // [6:6] is the sub-list for method output_type |
| 365 |
6, // [6:6] is the sub-list for method input_type |
| 366 |
6, // [6:6] is the sub-list for extension type_name |
| 367 |
6, // [6:6] is the sub-list for extension extendee |
| 368 |
0, // [0:6] is the sub-list for field type_name |
| 369 |
} |
| 370 |
|
| 371 |
func init() { file_google_cloud_websecurityscanner_v1beta_finding_proto_init() } |
| 372 |
func file_google_cloud_websecurityscanner_v1beta_finding_proto_init() { |
| 373 |
if File_google_cloud_websecurityscanner_v1beta_finding_proto != nil { |
| 374 |
return |
| 375 |
} |
| 376 |
file_google_cloud_websecurityscanner_v1beta_finding_addon_proto_init() |
| 377 |
if !protoimpl.UnsafeEnabled { |
| 378 |
file_google_cloud_websecurityscanner_v1beta_finding_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 379 |
switch v := v.(*Finding); i { |
| 380 |
case 0: |
| 381 |
return &v.state |
| 382 |
case 1: |
| 383 |
return &v.sizeCache |
| 384 |
case 2: |
| 385 |
return &v.unknownFields |
| 386 |
default: |
| 387 |
return nil |
| 388 |
} |
| 389 |
} |
| 390 |
} |
| 391 |
type x struct{} |
| 392 |
out := protoimpl.TypeBuilder{ |
| 393 |
File: protoimpl.DescBuilder{ |
| 394 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 395 |
RawDescriptor: file_google_cloud_websecurityscanner_v1beta_finding_proto_rawDesc, |
| 396 |
NumEnums: 0, |
| 397 |
NumMessages: 1, |
| 398 |
NumExtensions: 0, |
| 399 |
NumServices: 0, |
| 400 |
}, |
| 401 |
GoTypes: file_google_cloud_websecurityscanner_v1beta_finding_proto_goTypes, |
| 402 |
DependencyIndexes: file_google_cloud_websecurityscanner_v1beta_finding_proto_depIdxs, |
| 403 |
MessageInfos: file_google_cloud_websecurityscanner_v1beta_finding_proto_msgTypes, |
| 404 |
}.Build() |
| 405 |
File_google_cloud_websecurityscanner_v1beta_finding_proto = out.File |
| 406 |
file_google_cloud_websecurityscanner_v1beta_finding_proto_rawDesc = nil |
| 407 |
file_google_cloud_websecurityscanner_v1beta_finding_proto_goTypes = nil |
| 408 |
file_google_cloud_websecurityscanner_v1beta_finding_proto_depIdxs = nil |
| 409 |
} |