You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

258 lines
10 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/cloud/websecurityscanner/v1alpha/finding_addon.proto
  3. package websecurityscanner // import "google.golang.org/genproto/googleapis/cloud/websecurityscanner/v1alpha"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import _ "google.golang.org/genproto/googleapis/api/annotations"
  8. // Reference imports to suppress errors if they are not otherwise used.
  9. var _ = proto.Marshal
  10. var _ = fmt.Errorf
  11. var _ = math.Inf
  12. // This is a compile-time assertion to ensure that this generated file
  13. // is compatible with the proto package it is being compiled against.
  14. // A compilation error at this line likely means your copy of the
  15. // proto package needs to be updated.
  16. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  17. // Information reported for an outdated library.
  18. type OutdatedLibrary struct {
  19. // The name of the outdated library.
  20. LibraryName string `protobuf:"bytes,1,opt,name=library_name,json=libraryName,proto3" json:"library_name,omitempty"`
  21. // The version number.
  22. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
  23. // URLs to learn more information about the vulnerabilities in the library.
  24. LearnMoreUrls []string `protobuf:"bytes,3,rep,name=learn_more_urls,json=learnMoreUrls,proto3" json:"learn_more_urls,omitempty"`
  25. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  26. XXX_unrecognized []byte `json:"-"`
  27. XXX_sizecache int32 `json:"-"`
  28. }
  29. func (m *OutdatedLibrary) Reset() { *m = OutdatedLibrary{} }
  30. func (m *OutdatedLibrary) String() string { return proto.CompactTextString(m) }
  31. func (*OutdatedLibrary) ProtoMessage() {}
  32. func (*OutdatedLibrary) Descriptor() ([]byte, []int) {
  33. return fileDescriptor_finding_addon_e309707b5445314c, []int{0}
  34. }
  35. func (m *OutdatedLibrary) XXX_Unmarshal(b []byte) error {
  36. return xxx_messageInfo_OutdatedLibrary.Unmarshal(m, b)
  37. }
  38. func (m *OutdatedLibrary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  39. return xxx_messageInfo_OutdatedLibrary.Marshal(b, m, deterministic)
  40. }
  41. func (dst *OutdatedLibrary) XXX_Merge(src proto.Message) {
  42. xxx_messageInfo_OutdatedLibrary.Merge(dst, src)
  43. }
  44. func (m *OutdatedLibrary) XXX_Size() int {
  45. return xxx_messageInfo_OutdatedLibrary.Size(m)
  46. }
  47. func (m *OutdatedLibrary) XXX_DiscardUnknown() {
  48. xxx_messageInfo_OutdatedLibrary.DiscardUnknown(m)
  49. }
  50. var xxx_messageInfo_OutdatedLibrary proto.InternalMessageInfo
  51. func (m *OutdatedLibrary) GetLibraryName() string {
  52. if m != nil {
  53. return m.LibraryName
  54. }
  55. return ""
  56. }
  57. func (m *OutdatedLibrary) GetVersion() string {
  58. if m != nil {
  59. return m.Version
  60. }
  61. return ""
  62. }
  63. func (m *OutdatedLibrary) GetLearnMoreUrls() []string {
  64. if m != nil {
  65. return m.LearnMoreUrls
  66. }
  67. return nil
  68. }
  69. // Information regarding any resource causing the vulnerability such
  70. // as JavaScript sources, image, audio files, etc.
  71. type ViolatingResource struct {
  72. // The MIME type of this resource.
  73. ContentType string `protobuf:"bytes,1,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
  74. // URL of this violating resource.
  75. ResourceUrl string `protobuf:"bytes,2,opt,name=resource_url,json=resourceUrl,proto3" json:"resource_url,omitempty"`
  76. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  77. XXX_unrecognized []byte `json:"-"`
  78. XXX_sizecache int32 `json:"-"`
  79. }
  80. func (m *ViolatingResource) Reset() { *m = ViolatingResource{} }
  81. func (m *ViolatingResource) String() string { return proto.CompactTextString(m) }
  82. func (*ViolatingResource) ProtoMessage() {}
  83. func (*ViolatingResource) Descriptor() ([]byte, []int) {
  84. return fileDescriptor_finding_addon_e309707b5445314c, []int{1}
  85. }
  86. func (m *ViolatingResource) XXX_Unmarshal(b []byte) error {
  87. return xxx_messageInfo_ViolatingResource.Unmarshal(m, b)
  88. }
  89. func (m *ViolatingResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  90. return xxx_messageInfo_ViolatingResource.Marshal(b, m, deterministic)
  91. }
  92. func (dst *ViolatingResource) XXX_Merge(src proto.Message) {
  93. xxx_messageInfo_ViolatingResource.Merge(dst, src)
  94. }
  95. func (m *ViolatingResource) XXX_Size() int {
  96. return xxx_messageInfo_ViolatingResource.Size(m)
  97. }
  98. func (m *ViolatingResource) XXX_DiscardUnknown() {
  99. xxx_messageInfo_ViolatingResource.DiscardUnknown(m)
  100. }
  101. var xxx_messageInfo_ViolatingResource proto.InternalMessageInfo
  102. func (m *ViolatingResource) GetContentType() string {
  103. if m != nil {
  104. return m.ContentType
  105. }
  106. return ""
  107. }
  108. func (m *ViolatingResource) GetResourceUrl() string {
  109. if m != nil {
  110. return m.ResourceUrl
  111. }
  112. return ""
  113. }
  114. // Information about vulnerable request parameters.
  115. type VulnerableParameters struct {
  116. // The vulnerable parameter names.
  117. ParameterNames []string `protobuf:"bytes,1,rep,name=parameter_names,json=parameterNames,proto3" json:"parameter_names,omitempty"`
  118. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  119. XXX_unrecognized []byte `json:"-"`
  120. XXX_sizecache int32 `json:"-"`
  121. }
  122. func (m *VulnerableParameters) Reset() { *m = VulnerableParameters{} }
  123. func (m *VulnerableParameters) String() string { return proto.CompactTextString(m) }
  124. func (*VulnerableParameters) ProtoMessage() {}
  125. func (*VulnerableParameters) Descriptor() ([]byte, []int) {
  126. return fileDescriptor_finding_addon_e309707b5445314c, []int{2}
  127. }
  128. func (m *VulnerableParameters) XXX_Unmarshal(b []byte) error {
  129. return xxx_messageInfo_VulnerableParameters.Unmarshal(m, b)
  130. }
  131. func (m *VulnerableParameters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  132. return xxx_messageInfo_VulnerableParameters.Marshal(b, m, deterministic)
  133. }
  134. func (dst *VulnerableParameters) XXX_Merge(src proto.Message) {
  135. xxx_messageInfo_VulnerableParameters.Merge(dst, src)
  136. }
  137. func (m *VulnerableParameters) XXX_Size() int {
  138. return xxx_messageInfo_VulnerableParameters.Size(m)
  139. }
  140. func (m *VulnerableParameters) XXX_DiscardUnknown() {
  141. xxx_messageInfo_VulnerableParameters.DiscardUnknown(m)
  142. }
  143. var xxx_messageInfo_VulnerableParameters proto.InternalMessageInfo
  144. func (m *VulnerableParameters) GetParameterNames() []string {
  145. if m != nil {
  146. return m.ParameterNames
  147. }
  148. return nil
  149. }
  150. // Information reported for an XSS.
  151. type Xss struct {
  152. // Stack traces leading to the point where the XSS occurred.
  153. StackTraces []string `protobuf:"bytes,1,rep,name=stack_traces,json=stackTraces,proto3" json:"stack_traces,omitempty"`
  154. // An error message generated by a javascript breakage.
  155. ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
  156. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  157. XXX_unrecognized []byte `json:"-"`
  158. XXX_sizecache int32 `json:"-"`
  159. }
  160. func (m *Xss) Reset() { *m = Xss{} }
  161. func (m *Xss) String() string { return proto.CompactTextString(m) }
  162. func (*Xss) ProtoMessage() {}
  163. func (*Xss) Descriptor() ([]byte, []int) {
  164. return fileDescriptor_finding_addon_e309707b5445314c, []int{3}
  165. }
  166. func (m *Xss) XXX_Unmarshal(b []byte) error {
  167. return xxx_messageInfo_Xss.Unmarshal(m, b)
  168. }
  169. func (m *Xss) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  170. return xxx_messageInfo_Xss.Marshal(b, m, deterministic)
  171. }
  172. func (dst *Xss) XXX_Merge(src proto.Message) {
  173. xxx_messageInfo_Xss.Merge(dst, src)
  174. }
  175. func (m *Xss) XXX_Size() int {
  176. return xxx_messageInfo_Xss.Size(m)
  177. }
  178. func (m *Xss) XXX_DiscardUnknown() {
  179. xxx_messageInfo_Xss.DiscardUnknown(m)
  180. }
  181. var xxx_messageInfo_Xss proto.InternalMessageInfo
  182. func (m *Xss) GetStackTraces() []string {
  183. if m != nil {
  184. return m.StackTraces
  185. }
  186. return nil
  187. }
  188. func (m *Xss) GetErrorMessage() string {
  189. if m != nil {
  190. return m.ErrorMessage
  191. }
  192. return ""
  193. }
  194. func init() {
  195. proto.RegisterType((*OutdatedLibrary)(nil), "google.cloud.websecurityscanner.v1alpha.OutdatedLibrary")
  196. proto.RegisterType((*ViolatingResource)(nil), "google.cloud.websecurityscanner.v1alpha.ViolatingResource")
  197. proto.RegisterType((*VulnerableParameters)(nil), "google.cloud.websecurityscanner.v1alpha.VulnerableParameters")
  198. proto.RegisterType((*Xss)(nil), "google.cloud.websecurityscanner.v1alpha.Xss")
  199. }
  200. func init() {
  201. proto.RegisterFile("google/cloud/websecurityscanner/v1alpha/finding_addon.proto", fileDescriptor_finding_addon_e309707b5445314c)
  202. }
  203. var fileDescriptor_finding_addon_e309707b5445314c = []byte{
  204. // 388 bytes of a gzipped FileDescriptorProto
  205. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xc1, 0x6b, 0xd4, 0x50,
  206. 0x10, 0xc6, 0x89, 0x0b, 0x4a, 0xdf, 0xb6, 0x2e, 0x0d, 0x1e, 0x82, 0x78, 0xa8, 0x2b, 0xd8, 0x82,
  207. 0x90, 0x20, 0x1e, 0x7b, 0x10, 0x7b, 0xf0, 0xe4, 0xea, 0xb2, 0xb4, 0xc5, 0x7a, 0x09, 0xb3, 0xc9,
  208. 0xf8, 0x7c, 0xf8, 0x32, 0x13, 0x66, 0x5e, 0x56, 0xf2, 0xc7, 0xf8, 0xbf, 0x4a, 0x5e, 0xb2, 0x7b,
  209. 0xd9, 0x83, 0xbd, 0xe5, 0xfd, 0x66, 0xbe, 0xf9, 0x66, 0xf8, 0x62, 0xae, 0x2d, 0xb3, 0xf5, 0x58,
  210. 0x54, 0x9e, 0xbb, 0xba, 0xf8, 0x83, 0x5b, 0xc5, 0xaa, 0x13, 0x17, 0x7a, 0xad, 0x80, 0x08, 0xa5,
  211. 0xd8, 0xbd, 0x07, 0xdf, 0xfe, 0x82, 0xe2, 0xa7, 0xa3, 0xda, 0x91, 0x2d, 0xa1, 0xae, 0x99, 0xf2,
  212. 0x56, 0x38, 0x70, 0x7a, 0x39, 0x8a, 0xf3, 0x28, 0xce, 0x8f, 0xc5, 0xf9, 0x24, 0x7e, 0xf9, 0x6a,
  213. 0x72, 0x81, 0xd6, 0x15, 0x40, 0xc4, 0x01, 0x82, 0x63, 0xd2, 0x71, 0xcc, 0x72, 0x67, 0x16, 0xdf,
  214. 0xba, 0x50, 0x43, 0xc0, 0xfa, 0x8b, 0xdb, 0x0a, 0x48, 0x9f, 0xbe, 0x36, 0xa7, 0x7e, 0xfc, 0x2c,
  215. 0x09, 0x1a, 0xcc, 0x92, 0x8b, 0xe4, 0xea, 0x64, 0x33, 0x9f, 0xd8, 0x57, 0x68, 0x30, 0xcd, 0xcc,
  216. 0xb3, 0x1d, 0x8a, 0x3a, 0xa6, 0xec, 0x49, 0xac, 0xee, 0x9f, 0xe9, 0x5b, 0xb3, 0xf0, 0x08, 0x42,
  217. 0x65, 0xc3, 0x82, 0x65, 0x27, 0x5e, 0xb3, 0xd9, 0xc5, 0xec, 0xea, 0x64, 0x73, 0x16, 0xf1, 0x8a,
  218. 0x05, 0xef, 0xc4, 0xeb, 0xf2, 0xc1, 0x9c, 0xdf, 0x3b, 0xf6, 0x10, 0x1c, 0xd9, 0x0d, 0x2a, 0x77,
  219. 0x52, 0xe1, 0xe0, 0x5c, 0x31, 0x05, 0xa4, 0x50, 0x86, 0xbe, 0x3d, 0x38, 0x4f, 0xec, 0xb6, 0x6f,
  220. 0x63, 0x8b, 0x4c, 0xed, 0xc3, 0xf4, 0xc9, 0x7e, 0xbe, 0x67, 0x77, 0xe2, 0x97, 0x1f, 0xcd, 0x8b,
  221. 0xfb, 0xce, 0x13, 0x0a, 0x6c, 0x3d, 0xae, 0x41, 0xa0, 0xc1, 0x80, 0xa2, 0xe9, 0xa5, 0x59, 0xb4,
  222. 0xfb, 0x57, 0xbc, 0x4c, 0xb3, 0x24, 0xae, 0xf6, 0xfc, 0x80, 0x87, 0xe3, 0x74, 0xb9, 0x32, 0xb3,
  223. 0xef, 0xaa, 0x83, 0x95, 0x06, 0xa8, 0x7e, 0x97, 0x41, 0xa0, 0x3a, 0x34, 0xcf, 0x23, 0xbb, 0x8d,
  224. 0x28, 0x7d, 0x63, 0xce, 0x50, 0x84, 0xa5, 0x6c, 0x50, 0x15, 0x2c, 0x4e, 0xeb, 0x9c, 0x46, 0xb8,
  225. 0x1a, 0xd9, 0xcd, 0xdf, 0xc4, 0xbc, 0xab, 0xb8, 0xc9, 0x1f, 0x19, 0xd8, 0xcd, 0xf9, 0xe7, 0x31,
  226. 0xee, 0x4f, 0x43, 0xda, 0xeb, 0x21, 0xa5, 0x75, 0xf2, 0xe3, 0x61, 0x52, 0x5b, 0xf6, 0x40, 0x36,
  227. 0x67, 0xb1, 0x85, 0x45, 0x8a, 0x19, 0x16, 0x63, 0x09, 0x5a, 0xa7, 0xff, 0xfd, 0x95, 0xae, 0x8f,
  228. 0x4b, 0xdb, 0xa7, 0x71, 0xca, 0x87, 0x7f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xb6, 0x61, 0x84, 0x84,
  229. 0x8f, 0x02, 0x00, 0x00,
  230. }