google-apis-websecurityscanner_v1 0.9.0 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d2005408e9971e4b83deba9c71d11780872cb875943c661ebe6cac94ccddaea4
4
- data.tar.gz: 6396f3e8afecd9e9d3a48a645e835e54ce664e4eedfb669d39e2674bc266bc97
3
+ metadata.gz: a261f12077f976bfda8abc253f1a1c23b0e24e1183df5e73406549422ca05ee8
4
+ data.tar.gz: 9067bffef7f4ef3d07c7bb5c8827faa520f5f52c1108df002dcaf5dff28795c4
5
5
  SHA512:
6
- metadata.gz: 50cd52e7a6501794b14958a5ddcfffb7463706f5081584d3978db4e4aba6876231a03c0e380c71083ccb4482755da1f87711460d7e54489669d5cdd96e032d83
7
- data.tar.gz: 6639b3e7e60dab8bd57c1cb8952c28ec0ec23832869e8b8f45237c95f3f06864e94ad35a91498fb7a8cc48465453f9ee8f2017443cd1dcaa23f71e4b8ecda456
6
+ metadata.gz: 4e4ca1c9cd8505ef812fc5fee63a9744bbffe65170a6b2027a9486a47e11d2d743dfe5f5cd41b3d958561e0a5f1fe696b92a4101482b249e95601ef41b61a111
7
+ data.tar.gz: 56c97ccf71d5efc50dddabc46c4464c0b1887ac63a76a10377a04aedc3efd4713739a1acd8f4126f14871a51564f110c5cdf09f0542530a9a9bbeeb2b7775674
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-websecurityscanner_v1
2
2
 
3
+ ### v0.12.0 (2022-03-23)
4
+
5
+ * Regenerated from discovery document revision 20220319
6
+ * Regenerated using generator version 0.4.1
7
+
8
+ ### v0.11.0 (2021-12-14)
9
+
10
+ * Unspecified changes
11
+
12
+ ### v0.10.0 (2021-12-07)
13
+
14
+ * Regenerated from discovery document revision 20211203
15
+
3
16
  ### v0.9.0 (2021-10-21)
4
17
 
5
18
  * Unspecified changes
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/websecurityscanner_v1"
51
51
  client = Google::Apis::WebsecurityscannerV1::WebSecurityScannerService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -122,8 +122,7 @@ module Google
122
122
  # A generic empty message that you can re-use to avoid defining duplicated empty
123
123
  # messages in your APIs. A typical example is to use it as the request or the
124
124
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
125
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
126
- # `Empty` is empty JSON object ````.
125
+ # protobuf.Empty) returns (google.protobuf.Empty); `
127
126
  class Empty
128
127
  include Google::Apis::Core::Hashable
129
128
 
@@ -237,6 +236,11 @@ module Google
237
236
  # @return [Google::Apis::WebsecurityscannerV1::Xss]
238
237
  attr_accessor :xss
239
238
 
239
+ # Information reported for an XXE.
240
+ # Corresponds to the JSON property `xxe`
241
+ # @return [Google::Apis::WebsecurityscannerV1::Xxe]
242
+ attr_accessor :xxe
243
+
240
244
  def initialize(**args)
241
245
  update!(**args)
242
246
  end
@@ -260,6 +264,7 @@ module Google
260
264
  @vulnerable_headers = args[:vulnerable_headers] if args.key?(:vulnerable_headers)
261
265
  @vulnerable_parameters = args[:vulnerable_parameters] if args.key?(:vulnerable_parameters)
262
266
  @xss = args[:xss] if args.key?(:xss)
267
+ @xxe = args[:xxe] if args.key?(:xxe)
263
268
  end
264
269
  end
265
270
 
@@ -999,6 +1004,32 @@ module Google
999
1004
  @stored_xss_seeding_url = args[:stored_xss_seeding_url] if args.key?(:stored_xss_seeding_url)
1000
1005
  end
1001
1006
  end
1007
+
1008
+ # Information reported for an XXE.
1009
+ class Xxe
1010
+ include Google::Apis::Core::Hashable
1011
+
1012
+ # Location within the request where the payload was placed.
1013
+ # Corresponds to the JSON property `payloadLocation`
1014
+ # @return [String]
1015
+ attr_accessor :payload_location
1016
+
1017
+ # The XML string that triggered the XXE vulnerability. Non-payload values might
1018
+ # be redacted.
1019
+ # Corresponds to the JSON property `payloadValue`
1020
+ # @return [String]
1021
+ attr_accessor :payload_value
1022
+
1023
+ def initialize(**args)
1024
+ update!(**args)
1025
+ end
1026
+
1027
+ # Update properties of this object
1028
+ def update!(**args)
1029
+ @payload_location = args[:payload_location] if args.key?(:payload_location)
1030
+ @payload_value = args[:payload_value] if args.key?(:payload_value)
1031
+ end
1032
+ end
1002
1033
  end
1003
1034
  end
1004
1035
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module WebsecurityscannerV1
18
18
  # Version of the google-apis-websecurityscanner_v1 gem
19
- GEM_VERSION = "0.9.0"
19
+ GEM_VERSION = "0.12.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210806"
25
+ REVISION = "20220319"
26
26
  end
27
27
  end
28
28
  end
@@ -196,6 +196,12 @@ module Google
196
196
  include Google::Apis::Core::JsonObjectSupport
197
197
  end
198
198
 
199
+ class Xxe
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
199
205
  class Authentication
200
206
  # @private
201
207
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -258,6 +264,8 @@ module Google
258
264
 
259
265
  property :xss, as: 'xss', class: Google::Apis::WebsecurityscannerV1::Xss, decorator: Google::Apis::WebsecurityscannerV1::Xss::Representation
260
266
 
267
+ property :xxe, as: 'xxe', class: Google::Apis::WebsecurityscannerV1::Xxe, decorator: Google::Apis::WebsecurityscannerV1::Xxe::Representation
268
+
261
269
  end
262
270
  end
263
271
 
@@ -480,6 +488,14 @@ module Google
480
488
  property :stored_xss_seeding_url, as: 'storedXssSeedingUrl'
481
489
  end
482
490
  end
491
+
492
+ class Xxe
493
+ # @private
494
+ class Representation < Google::Apis::Core::JsonRepresentation
495
+ property :payload_location, as: 'payloadLocation'
496
+ property :payload_value, as: 'payloadValue'
497
+ end
498
+ end
483
499
  end
484
500
  end
485
501
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-websecurityscanner_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-27 00:00:00.000000000 Z
11
+ date: 2022-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-websecurityscanner_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-websecurityscanner_v1/v0.9.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-websecurityscanner_v1/v0.12.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-websecurityscanner_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.2.17
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Web Security Scanner API V1