google-apis-websecurityscanner_v1beta 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: 357cfefa805d8b93f34e6fefc71c528dd0dec04d4cfaf97dc52f1257d1925327
4
- data.tar.gz: 4256adb900823bee346a0b9d9eb03cf23d936129a1c87601d805ddb7c3402b19
3
+ metadata.gz: 36e7984dba13ba083cd1379de5543440a2e42179290c52c0d6c5b7dc05797b86
4
+ data.tar.gz: e7260308ad365504249d1dfade91673f41f6496aa315974136e89cad16aacebc
5
5
  SHA512:
6
- metadata.gz: 938dab0caa010192f3e59e3cd7dac9414c58bf6e3e523f34cfa342b6ebb99c13ed854994c932cc33308ffc2cd4ab146a0346b3100d34b95d422be58eb390551b
7
- data.tar.gz: 32de70ad80e51de306bbe7f1c02973bb544cb0a623d93589c19fd671aa27f4255441b8dee7003c07639cb2f2f2af7963d5c1054efa413804bdd2e632d71850eb
6
+ metadata.gz: 60119955b1eae53fcce116f9ee5097b8a972e1f3b1dee30ed3f4a8af03d2937a1bf716e8684fce0e06838cd6a09f85eccf8df18aa29d55c10f3765fc8de7edef
7
+ data.tar.gz: e6a4a350d1c63a951dd2c3b93b72d603447571541a30e28bb03263f67247c72f8e34de837f3c351c56265e1e3dd297a8ca9a80ba12df5de301d536d7f70334d6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-websecurityscanner_v1beta
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_v1beta"
51
51
  client = Google::Apis::WebsecurityscannerV1beta::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.
@@ -121,8 +121,7 @@ module Google
121
121
  # A generic empty message that you can re-use to avoid defining duplicated empty
122
122
  # messages in your APIs. A typical example is to use it as the request or the
123
123
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
124
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
125
- # `Empty` is empty JSON object ````.
124
+ # protobuf.Empty) returns (google.protobuf.Empty); `
126
125
  class Empty
127
126
  include Google::Apis::Core::Hashable
128
127
 
@@ -234,6 +233,11 @@ module Google
234
233
  # @return [Google::Apis::WebsecurityscannerV1beta::Xss]
235
234
  attr_accessor :xss
236
235
 
236
+ # Information reported for an XXE.
237
+ # Corresponds to the JSON property `xxe`
238
+ # @return [Google::Apis::WebsecurityscannerV1beta::Xxe]
239
+ attr_accessor :xxe
240
+
237
241
  def initialize(**args)
238
242
  update!(**args)
239
243
  end
@@ -257,6 +261,7 @@ module Google
257
261
  @vulnerable_headers = args[:vulnerable_headers] if args.key?(:vulnerable_headers)
258
262
  @vulnerable_parameters = args[:vulnerable_parameters] if args.key?(:vulnerable_parameters)
259
263
  @xss = args[:xss] if args.key?(:xss)
264
+ @xxe = args[:xxe] if args.key?(:xxe)
260
265
  end
261
266
  end
262
267
 
@@ -998,6 +1003,32 @@ module Google
998
1003
  @stack_traces = args[:stack_traces] if args.key?(:stack_traces)
999
1004
  end
1000
1005
  end
1006
+
1007
+ # Information reported for an XXE.
1008
+ class Xxe
1009
+ include Google::Apis::Core::Hashable
1010
+
1011
+ # Location within the request where the payload was placed.
1012
+ # Corresponds to the JSON property `payloadLocation`
1013
+ # @return [String]
1014
+ attr_accessor :payload_location
1015
+
1016
+ # The XML string that triggered the XXE vulnerability. Non-payload values might
1017
+ # be redacted.
1018
+ # Corresponds to the JSON property `payloadValue`
1019
+ # @return [String]
1020
+ attr_accessor :payload_value
1021
+
1022
+ def initialize(**args)
1023
+ update!(**args)
1024
+ end
1025
+
1026
+ # Update properties of this object
1027
+ def update!(**args)
1028
+ @payload_location = args[:payload_location] if args.key?(:payload_location)
1029
+ @payload_value = args[:payload_value] if args.key?(:payload_value)
1030
+ end
1031
+ end
1001
1032
  end
1002
1033
  end
1003
1034
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module WebsecurityscannerV1beta
18
18
  # Version of the google-apis-websecurityscanner_v1beta 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::WebsecurityscannerV1beta::Xss, decorator: Google::Apis::WebsecurityscannerV1beta::Xss::Representation
260
266
 
267
+ property :xxe, as: 'xxe', class: Google::Apis::WebsecurityscannerV1beta::Xxe, decorator: Google::Apis::WebsecurityscannerV1beta::Xxe::Representation
268
+
261
269
  end
262
270
  end
263
271
 
@@ -481,6 +489,14 @@ module Google
481
489
  collection :stack_traces, as: 'stackTraces'
482
490
  end
483
491
  end
492
+
493
+ class Xxe
494
+ # @private
495
+ class Representation < Google::Apis::Core::JsonRepresentation
496
+ property :payload_location, as: 'payloadLocation'
497
+ property :payload_value, as: 'payloadValue'
498
+ end
499
+ end
484
500
  end
485
501
  end
486
502
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-websecurityscanner_v1beta
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_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-websecurityscanner_v1beta/v0.9.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-websecurityscanner_v1beta/v0.12.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-websecurityscanner_v1beta
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 V1beta