aws-sdk-securityhub 1.102.0 → 1.104.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-securityhub/client.rb +113 -61
- data/lib/aws-sdk-securityhub/types.rb +1582 -504
- data/lib/aws-sdk-securityhub.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 962793b5c45cf64a28fca5e507d3b444a37b93c47341c309b12f894eb14ae0fe
|
4
|
+
data.tar.gz: eacae98a600939e9c93d3e9386504f756be65dca48b4694940137b6d86e0b2a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9cd1cc7f656bc2d9ea55b4063181d1f8c3344124550d73a51efa295ee2bfc2a70a235927fe35886f8b24157b2c0befa0793c53bc71ac9abe343a108be627dbc3
|
7
|
+
data.tar.gz: 907769acf00fe4b465ce012466959dbc92b9ebfdc300a841a504ce2b3999befe853ce92047b204abf69dc22b4cb2b72ba895d65360655e023dcd44915d4a33f2
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.104.0 (2024-04-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.103.0 (2024-04-02)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Documentation updates for AWS Security Hub
|
13
|
+
|
4
14
|
1.102.0 (2024-03-22)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.104.0
|
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
|
|
22
22
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
23
23
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
24
24
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id.rb'
|
25
26
|
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
26
27
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
27
28
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
@@ -72,6 +73,7 @@ module Aws::SecurityHub
|
|
72
73
|
add_plugin(Aws::Plugins::ResponsePaging)
|
73
74
|
add_plugin(Aws::Plugins::StubResponses)
|
74
75
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
76
|
+
add_plugin(Aws::Plugins::InvocationId)
|
75
77
|
add_plugin(Aws::Plugins::JsonvalueConverter)
|
76
78
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
77
79
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
@@ -196,10 +198,17 @@ module Aws::SecurityHub
|
|
196
198
|
# When set to 'true' the request body will not be compressed
|
197
199
|
# for supported operations.
|
198
200
|
#
|
199
|
-
# @option options [String] :endpoint
|
200
|
-
#
|
201
|
-
#
|
202
|
-
#
|
201
|
+
# @option options [String, URI::HTTPS, URI::HTTP] :endpoint
|
202
|
+
# Normally you should not configure the `:endpoint` option
|
203
|
+
# directly. This is normally constructed from the `:region`
|
204
|
+
# option. Configuring `:endpoint` is normally reserved for
|
205
|
+
# connecting to test or custom endpoints. The endpoint should
|
206
|
+
# be a URI formatted like:
|
207
|
+
#
|
208
|
+
# 'http://example.com'
|
209
|
+
# 'https://example.com'
|
210
|
+
# 'http://example.com:123'
|
211
|
+
#
|
203
212
|
#
|
204
213
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
205
214
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -337,50 +346,65 @@ module Aws::SecurityHub
|
|
337
346
|
# @option options [Aws::SecurityHub::EndpointProvider] :endpoint_provider
|
338
347
|
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::SecurityHub::EndpointParameters`
|
339
348
|
#
|
340
|
-
# @option options [
|
341
|
-
#
|
342
|
-
#
|
343
|
-
#
|
344
|
-
#
|
345
|
-
#
|
346
|
-
#
|
347
|
-
#
|
348
|
-
#
|
349
|
-
#
|
350
|
-
#
|
351
|
-
# @option options [Float] :
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
#
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
365
|
-
#
|
366
|
-
#
|
367
|
-
#
|
349
|
+
# @option options [Float] :http_continue_timeout (1)
|
350
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
351
|
+
# request body. This option has no effect unless the request has "Expect"
|
352
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
353
|
+
# behaviour. This value can safely be set per request on the session.
|
354
|
+
#
|
355
|
+
# @option options [Float] :http_idle_timeout (5)
|
356
|
+
# The number of seconds a connection is allowed to sit idle before it
|
357
|
+
# is considered stale. Stale connections are closed and removed from the
|
358
|
+
# pool before making a request.
|
359
|
+
#
|
360
|
+
# @option options [Float] :http_open_timeout (15)
|
361
|
+
# The default number of seconds to wait for response data.
|
362
|
+
# This value can safely be set per-request on the session.
|
363
|
+
#
|
364
|
+
# @option options [URI::HTTP,String] :http_proxy
|
365
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
366
|
+
#
|
367
|
+
# @option options [Float] :http_read_timeout (60)
|
368
|
+
# The default number of seconds to wait for response data.
|
369
|
+
# This value can safely be set per-request on the session.
|
370
|
+
#
|
371
|
+
# @option options [Boolean] :http_wire_trace (false)
|
372
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
373
|
+
#
|
374
|
+
# @option options [Proc] :on_chunk_received
|
375
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
376
|
+
# of the response body is received. It provides three arguments: the chunk,
|
377
|
+
# the number of bytes received, and the total number of
|
378
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
379
|
+
#
|
380
|
+
# @option options [Proc] :on_chunk_sent
|
381
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
382
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
383
|
+
# the number of bytes read from the body, and the total number of
|
384
|
+
# bytes in the body.
|
385
|
+
#
|
386
|
+
# @option options [Boolean] :raise_response_errors (true)
|
387
|
+
# When `true`, response errors are raised.
|
388
|
+
#
|
389
|
+
# @option options [String] :ssl_ca_bundle
|
390
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
391
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
392
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
393
|
+
#
|
394
|
+
# @option options [String] :ssl_ca_directory
|
395
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
396
|
+
# authority files for verifying peer certificates. If you do
|
397
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
398
|
+
# default will be used if available.
|
368
399
|
#
|
369
|
-
# @option options [
|
370
|
-
#
|
371
|
-
# connection.
|
400
|
+
# @option options [String] :ssl_ca_store
|
401
|
+
# Sets the X509::Store to verify peer certificate.
|
372
402
|
#
|
373
|
-
# @option options [
|
374
|
-
#
|
375
|
-
# verifying peer certificates. If you do not pass
|
376
|
-
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
377
|
-
# will be used if available.
|
403
|
+
# @option options [Float] :ssl_timeout
|
404
|
+
# Sets the SSL timeout in seconds
|
378
405
|
#
|
379
|
-
# @option options [
|
380
|
-
#
|
381
|
-
# authority files for verifying peer certificates. If you do
|
382
|
-
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
383
|
-
# system default will be used if available.
|
406
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
407
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
384
408
|
#
|
385
409
|
def initialize(*args)
|
386
410
|
super
|
@@ -5311,52 +5335,80 @@ module Aws::SecurityHub
|
|
5311
5335
|
# Identifies which finding to get the finding history for.
|
5312
5336
|
#
|
5313
5337
|
# @option params [Time,DateTime,Date,Integer,String] :start_time
|
5314
|
-
#
|
5315
|
-
#
|
5316
|
-
# `2020-05-21T20:16:34.724Z`. The value cannot contain spaces, and date
|
5317
|
-
# and time should be separated by `T`. For more information, see [RFC
|
5318
|
-
# 3339 section 5.6, Internet Date/Time Format][1].
|
5338
|
+
# A timestamp that indicates the start time of the requested finding
|
5339
|
+
# history.
|
5319
5340
|
#
|
5320
5341
|
# If you provide values for both `StartTime` and `EndTime`, Security Hub
|
5321
5342
|
# returns finding history for the specified time period. If you provide
|
5322
5343
|
# a value for `StartTime` but not for `EndTime`, Security Hub returns
|
5323
5344
|
# finding history from the `StartTime` to the time at which the API is
|
5324
5345
|
# called. If you provide a value for `EndTime` but not for `StartTime`,
|
5325
|
-
# Security Hub returns finding history from the [CreatedAt][
|
5346
|
+
# Security Hub returns finding history from the [CreatedAt][1] timestamp
|
5326
5347
|
# of the finding to the `EndTime`. If you provide neither `StartTime`
|
5327
5348
|
# nor `EndTime`, Security Hub returns finding history from the CreatedAt
|
5328
5349
|
# timestamp of the finding to the time at which the API is called. In
|
5329
5350
|
# all of these scenarios, the response is limited to 100 results, and
|
5330
5351
|
# the maximum time period is limited to 90 days.
|
5331
5352
|
#
|
5353
|
+
# This field accepts only the specified formats. Timestamps can end with
|
5354
|
+
# `Z` or `("+" / "-") time-hour [":" time-minute]`. The time-secfrac
|
5355
|
+
# after seconds is limited to a maximum of 9 digits. The offset is
|
5356
|
+
# bounded by +/-18:00. Here are valid timestamp formats with examples:
|
5357
|
+
#
|
5358
|
+
# * `YYYY-MM-DDTHH:MM:SSZ` (for example, `2019-01-31T23:00:00Z`)
|
5332
5359
|
#
|
5360
|
+
# * `YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ` (for example,
|
5361
|
+
# `2019-01-31T23:00:00.123456789Z`)
|
5333
5362
|
#
|
5334
|
-
#
|
5335
|
-
#
|
5363
|
+
# * `YYYY-MM-DDTHH:MM:SS+HH:MM` (for example,
|
5364
|
+
# `2024-01-04T15:25:10+17:59`)
|
5365
|
+
#
|
5366
|
+
# * `YYYY-MM-DDTHH:MM:SS-HHMM` (for example, `2024-01-04T15:25:10-1759`)
|
5367
|
+
#
|
5368
|
+
# * `YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM` (for example,
|
5369
|
+
# `2024-01-04T15:25:10.123456789+17:59`)
|
5370
|
+
#
|
5371
|
+
#
|
5372
|
+
#
|
5373
|
+
# [1]: https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_AwsSecurityFindingFilters.html#securityhub-Type-AwsSecurityFindingFilters-CreatedAt
|
5336
5374
|
#
|
5337
5375
|
# @option params [Time,DateTime,Date,Integer,String] :end_time
|
5338
5376
|
# An ISO 8601-formatted timestamp that indicates the end time of the
|
5339
|
-
# requested finding history.
|
5340
|
-
# `2020-05-21T20:16:34.724Z`. The value cannot contain spaces, and date
|
5341
|
-
# and time should be separated by `T`. For more information, see [RFC
|
5342
|
-
# 3339 section 5.6, Internet Date/Time Format][1].
|
5377
|
+
# requested finding history.
|
5343
5378
|
#
|
5344
5379
|
# If you provide values for both `StartTime` and `EndTime`, Security Hub
|
5345
5380
|
# returns finding history for the specified time period. If you provide
|
5346
5381
|
# a value for `StartTime` but not for `EndTime`, Security Hub returns
|
5347
5382
|
# finding history from the `StartTime` to the time at which the API is
|
5348
5383
|
# called. If you provide a value for `EndTime` but not for `StartTime`,
|
5349
|
-
# Security Hub returns finding history from the [CreatedAt][
|
5384
|
+
# Security Hub returns finding history from the [CreatedAt][1] timestamp
|
5350
5385
|
# of the finding to the `EndTime`. If you provide neither `StartTime`
|
5351
5386
|
# nor `EndTime`, Security Hub returns finding history from the CreatedAt
|
5352
5387
|
# timestamp of the finding to the time at which the API is called. In
|
5353
5388
|
# all of these scenarios, the response is limited to 100 results, and
|
5354
5389
|
# the maximum time period is limited to 90 days.
|
5355
5390
|
#
|
5391
|
+
# This field accepts only the specified formats. Timestamps can end with
|
5392
|
+
# `Z` or `("+" / "-") time-hour [":" time-minute]`. The time-secfrac
|
5393
|
+
# after seconds is limited to a maximum of 9 digits. The offset is
|
5394
|
+
# bounded by +/-18:00. Here are valid timestamp formats with examples:
|
5395
|
+
#
|
5396
|
+
# * `YYYY-MM-DDTHH:MM:SSZ` (for example, `2019-01-31T23:00:00Z`)
|
5397
|
+
#
|
5398
|
+
# * `YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ` (for example,
|
5399
|
+
# `2019-01-31T23:00:00.123456789Z`)
|
5400
|
+
#
|
5401
|
+
# * `YYYY-MM-DDTHH:MM:SS+HH:MM` (for example,
|
5402
|
+
# `2024-01-04T15:25:10+17:59`)
|
5403
|
+
#
|
5404
|
+
# * `YYYY-MM-DDTHH:MM:SS-HHMM` (for example, `2024-01-04T15:25:10-1759`)
|
5405
|
+
#
|
5406
|
+
# * `YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM` (for example,
|
5407
|
+
# `2024-01-04T15:25:10.123456789+17:59`)
|
5408
|
+
#
|
5356
5409
|
#
|
5357
5410
|
#
|
5358
|
-
# [1]: https://
|
5359
|
-
# [2]: https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_AwsSecurityFindingFilters.html#securityhub-Type-AwsSecurityFindingFilters-CreatedAt
|
5411
|
+
# [1]: https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_AwsSecurityFindingFilters.html#securityhub-Type-AwsSecurityFindingFilters-CreatedAt
|
5360
5412
|
#
|
5361
5413
|
# @option params [String] :next_token
|
5362
5414
|
# A token for pagination purposes. Provide `NULL` as the initial value.
|
@@ -10348,7 +10400,7 @@ module Aws::SecurityHub
|
|
10348
10400
|
params: params,
|
10349
10401
|
config: config)
|
10350
10402
|
context[:gem_name] = 'aws-sdk-securityhub'
|
10351
|
-
context[:gem_version] = '1.
|
10403
|
+
context[:gem_version] = '1.104.0'
|
10352
10404
|
Seahorse::Client::Request.new(handlers, context)
|
10353
10405
|
end
|
10354
10406
|
|