...

Source file src/google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta/finding_addon.pb.go

Documentation: google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta

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

View as plain text