1// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: google/cloud/websecurityscanner/v1beta/finding_addon.proto
3
4package websecurityscanner
5
6import (
7	fmt "fmt"
8	math "math"
9
10	proto "github.com/golang/protobuf/proto"
11)
12
13// Reference imports to suppress errors if they are not otherwise used.
14var _ = proto.Marshal
15var _ = fmt.Errorf
16var _ = math.Inf
17
18// This is a compile-time assertion to ensure that this generated file
19// is compatible with the proto package it is being compiled against.
20// A compilation error at this line likely means your copy of the
21// proto package needs to be updated.
22const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
23
24// ! Information about a vulnerability with an HTML.
25type Form struct {
26	// ! The URI where to send the form when it's submitted.
27	ActionUri string `protobuf:"bytes,1,opt,name=action_uri,json=actionUri,proto3" json:"action_uri,omitempty"`
28	// ! The names of form fields related to the vulnerability.
29	Fields               []string `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"`
30	XXX_NoUnkeyedLiteral struct{} `json:"-"`
31	XXX_unrecognized     []byte   `json:"-"`
32	XXX_sizecache        int32    `json:"-"`
33}
34
35func (m *Form) Reset()         { *m = Form{} }
36func (m *Form) String() string { return proto.CompactTextString(m) }
37func (*Form) ProtoMessage()    {}
38func (*Form) Descriptor() ([]byte, []int) {
39	return fileDescriptor_ed5f8e8e70210d53, []int{0}
40}
41
42func (m *Form) XXX_Unmarshal(b []byte) error {
43	return xxx_messageInfo_Form.Unmarshal(m, b)
44}
45func (m *Form) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
46	return xxx_messageInfo_Form.Marshal(b, m, deterministic)
47}
48func (m *Form) XXX_Merge(src proto.Message) {
49	xxx_messageInfo_Form.Merge(m, src)
50}
51func (m *Form) XXX_Size() int {
52	return xxx_messageInfo_Form.Size(m)
53}
54func (m *Form) XXX_DiscardUnknown() {
55	xxx_messageInfo_Form.DiscardUnknown(m)
56}
57
58var xxx_messageInfo_Form proto.InternalMessageInfo
59
60func (m *Form) GetActionUri() string {
61	if m != nil {
62		return m.ActionUri
63	}
64	return ""
65}
66
67func (m *Form) GetFields() []string {
68	if m != nil {
69		return m.Fields
70	}
71	return nil
72}
73
74// Information reported for an outdated library.
75type OutdatedLibrary struct {
76	// The name of the outdated library.
77	LibraryName string `protobuf:"bytes,1,opt,name=library_name,json=libraryName,proto3" json:"library_name,omitempty"`
78	// The version number.
79	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
80	// URLs to learn more information about the vulnerabilities in the library.
81	LearnMoreUrls        []string `protobuf:"bytes,3,rep,name=learn_more_urls,json=learnMoreUrls,proto3" json:"learn_more_urls,omitempty"`
82	XXX_NoUnkeyedLiteral struct{} `json:"-"`
83	XXX_unrecognized     []byte   `json:"-"`
84	XXX_sizecache        int32    `json:"-"`
85}
86
87func (m *OutdatedLibrary) Reset()         { *m = OutdatedLibrary{} }
88func (m *OutdatedLibrary) String() string { return proto.CompactTextString(m) }
89func (*OutdatedLibrary) ProtoMessage()    {}
90func (*OutdatedLibrary) Descriptor() ([]byte, []int) {
91	return fileDescriptor_ed5f8e8e70210d53, []int{1}
92}
93
94func (m *OutdatedLibrary) XXX_Unmarshal(b []byte) error {
95	return xxx_messageInfo_OutdatedLibrary.Unmarshal(m, b)
96}
97func (m *OutdatedLibrary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
98	return xxx_messageInfo_OutdatedLibrary.Marshal(b, m, deterministic)
99}
100func (m *OutdatedLibrary) XXX_Merge(src proto.Message) {
101	xxx_messageInfo_OutdatedLibrary.Merge(m, src)
102}
103func (m *OutdatedLibrary) XXX_Size() int {
104	return xxx_messageInfo_OutdatedLibrary.Size(m)
105}
106func (m *OutdatedLibrary) XXX_DiscardUnknown() {
107	xxx_messageInfo_OutdatedLibrary.DiscardUnknown(m)
108}
109
110var xxx_messageInfo_OutdatedLibrary proto.InternalMessageInfo
111
112func (m *OutdatedLibrary) GetLibraryName() string {
113	if m != nil {
114		return m.LibraryName
115	}
116	return ""
117}
118
119func (m *OutdatedLibrary) GetVersion() string {
120	if m != nil {
121		return m.Version
122	}
123	return ""
124}
125
126func (m *OutdatedLibrary) GetLearnMoreUrls() []string {
127	if m != nil {
128		return m.LearnMoreUrls
129	}
130	return nil
131}
132
133// Information regarding any resource causing the vulnerability such
134// as JavaScript sources, image, audio files, etc.
135type ViolatingResource struct {
136	// The MIME type of this resource.
137	ContentType string `protobuf:"bytes,1,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
138	// URL of this violating resource.
139	ResourceUrl          string   `protobuf:"bytes,2,opt,name=resource_url,json=resourceUrl,proto3" json:"resource_url,omitempty"`
140	XXX_NoUnkeyedLiteral struct{} `json:"-"`
141	XXX_unrecognized     []byte   `json:"-"`
142	XXX_sizecache        int32    `json:"-"`
143}
144
145func (m *ViolatingResource) Reset()         { *m = ViolatingResource{} }
146func (m *ViolatingResource) String() string { return proto.CompactTextString(m) }
147func (*ViolatingResource) ProtoMessage()    {}
148func (*ViolatingResource) Descriptor() ([]byte, []int) {
149	return fileDescriptor_ed5f8e8e70210d53, []int{2}
150}
151
152func (m *ViolatingResource) XXX_Unmarshal(b []byte) error {
153	return xxx_messageInfo_ViolatingResource.Unmarshal(m, b)
154}
155func (m *ViolatingResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
156	return xxx_messageInfo_ViolatingResource.Marshal(b, m, deterministic)
157}
158func (m *ViolatingResource) XXX_Merge(src proto.Message) {
159	xxx_messageInfo_ViolatingResource.Merge(m, src)
160}
161func (m *ViolatingResource) XXX_Size() int {
162	return xxx_messageInfo_ViolatingResource.Size(m)
163}
164func (m *ViolatingResource) XXX_DiscardUnknown() {
165	xxx_messageInfo_ViolatingResource.DiscardUnknown(m)
166}
167
168var xxx_messageInfo_ViolatingResource proto.InternalMessageInfo
169
170func (m *ViolatingResource) GetContentType() string {
171	if m != nil {
172		return m.ContentType
173	}
174	return ""
175}
176
177func (m *ViolatingResource) GetResourceUrl() string {
178	if m != nil {
179		return m.ResourceUrl
180	}
181	return ""
182}
183
184// Information about vulnerable request parameters.
185type VulnerableParameters struct {
186	// The vulnerable parameter names.
187	ParameterNames       []string `protobuf:"bytes,1,rep,name=parameter_names,json=parameterNames,proto3" json:"parameter_names,omitempty"`
188	XXX_NoUnkeyedLiteral struct{} `json:"-"`
189	XXX_unrecognized     []byte   `json:"-"`
190	XXX_sizecache        int32    `json:"-"`
191}
192
193func (m *VulnerableParameters) Reset()         { *m = VulnerableParameters{} }
194func (m *VulnerableParameters) String() string { return proto.CompactTextString(m) }
195func (*VulnerableParameters) ProtoMessage()    {}
196func (*VulnerableParameters) Descriptor() ([]byte, []int) {
197	return fileDescriptor_ed5f8e8e70210d53, []int{3}
198}
199
200func (m *VulnerableParameters) XXX_Unmarshal(b []byte) error {
201	return xxx_messageInfo_VulnerableParameters.Unmarshal(m, b)
202}
203func (m *VulnerableParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
204	return xxx_messageInfo_VulnerableParameters.Marshal(b, m, deterministic)
205}
206func (m *VulnerableParameters) XXX_Merge(src proto.Message) {
207	xxx_messageInfo_VulnerableParameters.Merge(m, src)
208}
209func (m *VulnerableParameters) XXX_Size() int {
210	return xxx_messageInfo_VulnerableParameters.Size(m)
211}
212func (m *VulnerableParameters) XXX_DiscardUnknown() {
213	xxx_messageInfo_VulnerableParameters.DiscardUnknown(m)
214}
215
216var xxx_messageInfo_VulnerableParameters proto.InternalMessageInfo
217
218func (m *VulnerableParameters) GetParameterNames() []string {
219	if m != nil {
220		return m.ParameterNames
221	}
222	return nil
223}
224
225// Information about vulnerable or missing HTTP Headers.
226type VulnerableHeaders struct {
227	// List of vulnerable headers.
228	Headers []*VulnerableHeaders_Header `protobuf:"bytes,1,rep,name=headers,proto3" json:"headers,omitempty"`
229	// List of missing headers.
230	MissingHeaders       []*VulnerableHeaders_Header `protobuf:"bytes,2,rep,name=missing_headers,json=missingHeaders,proto3" json:"missing_headers,omitempty"`
231	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
232	XXX_unrecognized     []byte                      `json:"-"`
233	XXX_sizecache        int32                       `json:"-"`
234}
235
236func (m *VulnerableHeaders) Reset()         { *m = VulnerableHeaders{} }
237func (m *VulnerableHeaders) String() string { return proto.CompactTextString(m) }
238func (*VulnerableHeaders) ProtoMessage()    {}
239func (*VulnerableHeaders) Descriptor() ([]byte, []int) {
240	return fileDescriptor_ed5f8e8e70210d53, []int{4}
241}
242
243func (m *VulnerableHeaders) XXX_Unmarshal(b []byte) error {
244	return xxx_messageInfo_VulnerableHeaders.Unmarshal(m, b)
245}
246func (m *VulnerableHeaders) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
247	return xxx_messageInfo_VulnerableHeaders.Marshal(b, m, deterministic)
248}
249func (m *VulnerableHeaders) XXX_Merge(src proto.Message) {
250	xxx_messageInfo_VulnerableHeaders.Merge(m, src)
251}
252func (m *VulnerableHeaders) XXX_Size() int {
253	return xxx_messageInfo_VulnerableHeaders.Size(m)
254}
255func (m *VulnerableHeaders) XXX_DiscardUnknown() {
256	xxx_messageInfo_VulnerableHeaders.DiscardUnknown(m)
257}
258
259var xxx_messageInfo_VulnerableHeaders proto.InternalMessageInfo
260
261func (m *VulnerableHeaders) GetHeaders() []*VulnerableHeaders_Header {
262	if m != nil {
263		return m.Headers
264	}
265	return nil
266}
267
268func (m *VulnerableHeaders) GetMissingHeaders() []*VulnerableHeaders_Header {
269	if m != nil {
270		return m.MissingHeaders
271	}
272	return nil
273}
274
275// Describes a HTTP Header.
276type VulnerableHeaders_Header struct {
277	// Header name.
278	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
279	// Header value.
280	Value                string   `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
281	XXX_NoUnkeyedLiteral struct{} `json:"-"`
282	XXX_unrecognized     []byte   `json:"-"`
283	XXX_sizecache        int32    `json:"-"`
284}
285
286func (m *VulnerableHeaders_Header) Reset()         { *m = VulnerableHeaders_Header{} }
287func (m *VulnerableHeaders_Header) String() string { return proto.CompactTextString(m) }
288func (*VulnerableHeaders_Header) ProtoMessage()    {}
289func (*VulnerableHeaders_Header) Descriptor() ([]byte, []int) {
290	return fileDescriptor_ed5f8e8e70210d53, []int{4, 0}
291}
292
293func (m *VulnerableHeaders_Header) XXX_Unmarshal(b []byte) error {
294	return xxx_messageInfo_VulnerableHeaders_Header.Unmarshal(m, b)
295}
296func (m *VulnerableHeaders_Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
297	return xxx_messageInfo_VulnerableHeaders_Header.Marshal(b, m, deterministic)
298}
299func (m *VulnerableHeaders_Header) XXX_Merge(src proto.Message) {
300	xxx_messageInfo_VulnerableHeaders_Header.Merge(m, src)
301}
302func (m *VulnerableHeaders_Header) XXX_Size() int {
303	return xxx_messageInfo_VulnerableHeaders_Header.Size(m)
304}
305func (m *VulnerableHeaders_Header) XXX_DiscardUnknown() {
306	xxx_messageInfo_VulnerableHeaders_Header.DiscardUnknown(m)
307}
308
309var xxx_messageInfo_VulnerableHeaders_Header proto.InternalMessageInfo
310
311func (m *VulnerableHeaders_Header) GetName() string {
312	if m != nil {
313		return m.Name
314	}
315	return ""
316}
317
318func (m *VulnerableHeaders_Header) GetValue() string {
319	if m != nil {
320		return m.Value
321	}
322	return ""
323}
324
325// Information reported for an XSS.
326type Xss struct {
327	// Stack traces leading to the point where the XSS occurred.
328	StackTraces []string `protobuf:"bytes,1,rep,name=stack_traces,json=stackTraces,proto3" json:"stack_traces,omitempty"`
329	// An error message generated by a javascript breakage.
330	ErrorMessage         string   `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
331	XXX_NoUnkeyedLiteral struct{} `json:"-"`
332	XXX_unrecognized     []byte   `json:"-"`
333	XXX_sizecache        int32    `json:"-"`
334}
335
336func (m *Xss) Reset()         { *m = Xss{} }
337func (m *Xss) String() string { return proto.CompactTextString(m) }
338func (*Xss) ProtoMessage()    {}
339func (*Xss) Descriptor() ([]byte, []int) {
340	return fileDescriptor_ed5f8e8e70210d53, []int{5}
341}
342
343func (m *Xss) XXX_Unmarshal(b []byte) error {
344	return xxx_messageInfo_Xss.Unmarshal(m, b)
345}
346func (m *Xss) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
347	return xxx_messageInfo_Xss.Marshal(b, m, deterministic)
348}
349func (m *Xss) XXX_Merge(src proto.Message) {
350	xxx_messageInfo_Xss.Merge(m, src)
351}
352func (m *Xss) XXX_Size() int {
353	return xxx_messageInfo_Xss.Size(m)
354}
355func (m *Xss) XXX_DiscardUnknown() {
356	xxx_messageInfo_Xss.DiscardUnknown(m)
357}
358
359var xxx_messageInfo_Xss proto.InternalMessageInfo
360
361func (m *Xss) GetStackTraces() []string {
362	if m != nil {
363		return m.StackTraces
364	}
365	return nil
366}
367
368func (m *Xss) GetErrorMessage() string {
369	if m != nil {
370		return m.ErrorMessage
371	}
372	return ""
373}
374
375func init() {
376	proto.RegisterType((*Form)(nil), "google.cloud.websecurityscanner.v1beta.Form")
377	proto.RegisterType((*OutdatedLibrary)(nil), "google.cloud.websecurityscanner.v1beta.OutdatedLibrary")
378	proto.RegisterType((*ViolatingResource)(nil), "google.cloud.websecurityscanner.v1beta.ViolatingResource")
379	proto.RegisterType((*VulnerableParameters)(nil), "google.cloud.websecurityscanner.v1beta.VulnerableParameters")
380	proto.RegisterType((*VulnerableHeaders)(nil), "google.cloud.websecurityscanner.v1beta.VulnerableHeaders")
381	proto.RegisterType((*VulnerableHeaders_Header)(nil), "google.cloud.websecurityscanner.v1beta.VulnerableHeaders.Header")
382	proto.RegisterType((*Xss)(nil), "google.cloud.websecurityscanner.v1beta.Xss")
383}
384
385func init() {
386	proto.RegisterFile("google/cloud/websecurityscanner/v1beta/finding_addon.proto", fileDescriptor_ed5f8e8e70210d53)
387}
388
389var fileDescriptor_ed5f8e8e70210d53 = []byte{
390	// 512 bytes of a gzipped FileDescriptorProto
391	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x53, 0x41, 0x6f, 0xd3, 0x4c,
392	0x10, 0x55, 0x92, 0x7e, 0xa9, 0xb2, 0x69, 0x1b, 0x65, 0x55, 0x7d, 0xb2, 0x90, 0x90, 0x8a, 0x91,
393	0x42, 0xc5, 0xc1, 0x16, 0xe5, 0x06, 0x42, 0x40, 0x91, 0x0a, 0x07, 0x02, 0x51, 0xda, 0x84, 0x52,
394	0x45, 0xb2, 0xd6, 0xf6, 0xd4, 0xac, 0x58, 0xef, 0x5a, 0xb3, 0xeb, 0xa0, 0xfc, 0x09, 0x7e, 0x15,
395	0x27, 0x7e, 0x15, 0xf2, 0xee, 0x3a, 0x20, 0xe5, 0x40, 0x0f, 0x9c, 0x32, 0xf3, 0x66, 0xde, 0x7b,
396	0x99, 0x59, 0x0f, 0x79, 0x56, 0x28, 0x55, 0x08, 0x88, 0x33, 0xa1, 0xea, 0x3c, 0xfe, 0x06, 0xa9,
397	0x86, 0xac, 0x46, 0x6e, 0x36, 0x3a, 0x63, 0x52, 0x02, 0xc6, 0xeb, 0x27, 0x29, 0x18, 0x16, 0xdf,
398	0x72, 0x99, 0x73, 0x59, 0x24, 0x2c, 0xcf, 0x95, 0x8c, 0x2a, 0x54, 0x46, 0xd1, 0x89, 0xe3, 0x46,
399	0x96, 0x1b, 0xed, 0x72, 0x23, 0xc7, 0x0d, 0x5f, 0x90, 0xbd, 0x0b, 0x85, 0x25, 0xbd, 0x4f, 0x08,
400	0xcb, 0x0c, 0x57, 0x32, 0xa9, 0x91, 0x07, 0x9d, 0x93, 0xce, 0xe9, 0x60, 0x3e, 0x70, 0xc8, 0x02,
401	0x39, 0xfd, 0x9f, 0xf4, 0x6f, 0x39, 0x88, 0x5c, 0x07, 0xdd, 0x93, 0xde, 0xe9, 0x60, 0xee, 0xb3,
402	0x70, 0x4d, 0x46, 0x1f, 0x6b, 0x93, 0x33, 0x03, 0xf9, 0x7b, 0x9e, 0x22, 0xc3, 0x0d, 0x7d, 0x40,
403	0x0e, 0x84, 0x0b, 0x13, 0xc9, 0x4a, 0xf0, 0x5a, 0x43, 0x8f, 0x7d, 0x60, 0x25, 0xd0, 0x80, 0xec,
404	0xaf, 0x01, 0x35, 0x57, 0x32, 0xe8, 0xda, 0x6a, 0x9b, 0xd2, 0x09, 0x19, 0x09, 0x60, 0x28, 0x93,
405	0x52, 0x21, 0x24, 0x35, 0x0a, 0x1d, 0xf4, 0xac, 0xe1, 0xa1, 0x85, 0xa7, 0x0a, 0x61, 0x81, 0x42,
406	0x87, 0x9f, 0xc9, 0x78, 0xc9, 0x95, 0x60, 0x86, 0xcb, 0x62, 0x0e, 0x5a, 0xd5, 0x98, 0x41, 0xe3,
407	0x9c, 0x29, 0x69, 0x40, 0x9a, 0xc4, 0x6c, 0xaa, 0xad, 0xb3, 0xc7, 0xae, 0x36, 0x95, 0x6d, 0x41,
408	0xdf, 0xde, 0xa8, 0x7b, 0xfb, 0x61, 0x8b, 0x2d, 0x50, 0x84, 0x2f, 0xc9, 0xf1, 0xb2, 0x16, 0x12,
409	0x90, 0xa5, 0x02, 0x66, 0x0c, 0x59, 0x09, 0x06, 0x50, 0xd3, 0x47, 0x64, 0x54, 0xb5, 0x99, 0x9d,
410	0x4c, 0x07, 0x1d, 0xfb, 0xd7, 0x8e, 0xb6, 0x70, 0x33, 0x9c, 0x0e, 0xbf, 0x77, 0xc9, 0xf8, 0xb7,
411	0xc2, 0x3b, 0x60, 0x79, 0x43, 0xbf, 0x21, 0xfb, 0x5f, 0x5c, 0x68, 0x69, 0xc3, 0xb3, 0x57, 0xd1,
412	0xdd, 0x9e, 0x28, 0xda, 0xd1, 0x8a, 0xdc, 0xef, 0xbc, 0x15, 0xa4, 0x9c, 0x8c, 0x4a, 0xae, 0x75,
413	0xf3, 0x0d, 0xb4, 0x1e, 0xdd, 0x7f, 0xe4, 0x71, 0xe4, 0x85, 0x3d, 0x7c, 0xef, 0x8c, 0xf4, 0x5d,
414	0x48, 0x29, 0xd9, 0xfb, 0xe3, 0x7d, 0x6d, 0x4c, 0x8f, 0xc9, 0x7f, 0x6b, 0x26, 0x6a, 0xf0, 0x7b,
415	0x75, 0x49, 0x38, 0x25, 0xbd, 0x6b, 0xad, 0x9b, 0xdd, 0x6b, 0xc3, 0xb2, 0xaf, 0x89, 0x41, 0x96,
416	0x6d, 0xb7, 0x37, 0xb4, 0xd8, 0x95, 0x85, 0xe8, 0x43, 0x72, 0x08, 0x88, 0x0a, 0x93, 0x12, 0xb4,
417	0x66, 0x45, 0xab, 0x73, 0x60, 0xc1, 0xa9, 0xc3, 0xce, 0x7f, 0x74, 0xc8, 0xe3, 0x4c, 0x95, 0x77,
418	0x1c, 0xed, 0x7c, 0x7c, 0xe1, 0xce, 0xe3, 0x75, 0x73, 0x1d, 0xb3, 0xe6, 0x38, 0x66, 0x9d, 0x9b,
419	0x6b, 0x4f, 0x2e, 0x94, 0x60, 0xb2, 0x88, 0x14, 0x16, 0x71, 0x01, 0xd2, 0x9e, 0x4e, 0xec, 0x4a,
420	0xac, 0xe2, 0xfa, 0x6f, 0x97, 0xf7, 0x7c, 0xb7, 0xf2, 0xb3, 0x3b, 0x79, 0x6b, 0xf9, 0xab, 0x37,
421	0x0d, 0x77, 0xf5, 0x09, 0xd2, 0x4b, 0xdf, 0x71, 0xe9, 0x3a, 0x56, 0x4b, 0xcb, 0x4d, 0xfb, 0xd6,
422	0xed, 0xe9, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xfa, 0x0b, 0x52, 0x97, 0xe6, 0x03, 0x00, 0x00,
423}
424