google-apis-websecurityscanner_v1 0.7.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2a17812a81337f40915262b00925986dbe2c30a11fc6239766460a8dae2df811
4
- data.tar.gz: 583e62be02136902b3c24cdf18cab63b95c47cff2a0e0749786105749086ace8
3
+ metadata.gz: 34c3b93c1b48f0b0e22c2d632f3fa5b2caf7421e3bd724268f6bdf6d7d186628
4
+ data.tar.gz: 365487e9274cdb834b119bf190638944361d04d828fe935f28b2e41dc33f702e
5
5
  SHA512:
6
- metadata.gz: 13a6aea5dcb958f7cedd0f69c61bb23a1bd51544db149ac2edb0d62333b4e4935f71d756c8580b8620de15c01a995ff0be9e3732065faea69b64ceca3540afbb
7
- data.tar.gz: d13c77c1843d59b143387f48c85b0d45ed676cf88b8ad6e89eac95d380acc3023ec0928b7ad05e8a665113155a746da9d12a183ca783c650683c8fc7d1d866d6
6
+ metadata.gz: 42e2825591286db94e1273241388bdf11419e331205439de87cfd95d988bef6d911708730161c24d9f8facbfa0ed426aaf061f646799a452b06fdf880c68db35
7
+ data.tar.gz: ad0f35467e3c0dc72df4915b9f882771e4cb760f939fddea8153222580506f4c2604c51b0e4e354dc0a1ae4c8e23d2d553142e1acf5f4496edbbb98e7bf6a494
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-websecurityscanner_v1
2
2
 
3
+ ### v0.11.0 (2021-12-14)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.10.0 (2021-12-07)
8
+
9
+ * Regenerated from discovery document revision 20211203
10
+
11
+ ### v0.9.0 (2021-10-21)
12
+
13
+ * Unspecified changes
14
+
15
+ ### v0.8.0 (2021-09-01)
16
+
17
+ * Regenerated from discovery document revision 20210806
18
+
3
19
  ### v0.7.0 (2021-06-29)
4
20
 
5
21
  * Regenerated using generator version 0.4.0
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.
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Websecurityscanner service in particular.)
67
67
 
@@ -237,6 +237,11 @@ module Google
237
237
  # @return [Google::Apis::WebsecurityscannerV1::Xss]
238
238
  attr_accessor :xss
239
239
 
240
+ # Information reported for an XXE.
241
+ # Corresponds to the JSON property `xxe`
242
+ # @return [Google::Apis::WebsecurityscannerV1::Xxe]
243
+ attr_accessor :xxe
244
+
240
245
  def initialize(**args)
241
246
  update!(**args)
242
247
  end
@@ -260,6 +265,7 @@ module Google
260
265
  @vulnerable_headers = args[:vulnerable_headers] if args.key?(:vulnerable_headers)
261
266
  @vulnerable_parameters = args[:vulnerable_parameters] if args.key?(:vulnerable_parameters)
262
267
  @xss = args[:xss] if args.key?(:xss)
268
+ @xxe = args[:xxe] if args.key?(:xxe)
263
269
  end
264
270
  end
265
271
 
@@ -999,6 +1005,32 @@ module Google
999
1005
  @stored_xss_seeding_url = args[:stored_xss_seeding_url] if args.key?(:stored_xss_seeding_url)
1000
1006
  end
1001
1007
  end
1008
+
1009
+ # Information reported for an XXE.
1010
+ class Xxe
1011
+ include Google::Apis::Core::Hashable
1012
+
1013
+ # Location within the request where the payload was placed.
1014
+ # Corresponds to the JSON property `payloadLocation`
1015
+ # @return [String]
1016
+ attr_accessor :payload_location
1017
+
1018
+ # The XML string that triggered the XXE vulnerability. Non-payload values might
1019
+ # be redacted.
1020
+ # Corresponds to the JSON property `payloadValue`
1021
+ # @return [String]
1022
+ attr_accessor :payload_value
1023
+
1024
+ def initialize(**args)
1025
+ update!(**args)
1026
+ end
1027
+
1028
+ # Update properties of this object
1029
+ def update!(**args)
1030
+ @payload_location = args[:payload_location] if args.key?(:payload_location)
1031
+ @payload_value = args[:payload_value] if args.key?(:payload_value)
1032
+ end
1033
+ end
1002
1034
  end
1003
1035
  end
1004
1036
  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.7.0"
19
+ GEM_VERSION = "0.11.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210417"
25
+ REVISION = "20211203"
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
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1'
31
31
 
32
- # See, edit, configure, and delete your Google Cloud Platform data
32
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
  end
35
35
  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.7.0
4
+ version: 0.11.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-07-05 00:00:00.000000000 Z
11
+ date: 2022-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-websecurityscanner_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-websecurityscanner_v1/v0.7.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-websecurityscanner_v1
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.11.0
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: []
65
65
  require_paths:
@@ -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.4
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Web Security Scanner API V1