aws-sdk-securityhub 1.86.0 → 1.88.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 +24 -8
- data/lib/aws-sdk-securityhub/types.rb +54 -52
- 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: 27d1de1b0cffd34f06935899851248432800f7c1a4888e4171f48ffc879dafe4
|
4
|
+
data.tar.gz: 2dc6650f8b3d450da2734f4da4700dc07dc88d89ec75df99d009d5ca1910e7a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01445074c3f1152a860192a2449e4b0283d0e1766ccfddc8ebb227f5763395b2f8f376b157edb5c2c1699e35c31ef1ca9b8566263628bc064de030e09f488d22
|
7
|
+
data.tar.gz: c1c15fe9c2ddbdc9c871ad88451b372e21fa3a29a0f02173e04abafe6aef075687216bf18dbaa33406a209af97259614fa76bf0071390740858b80d28217d860
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.88.0 (2023-07-06)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.87.0 (2023-07-05)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Documentation updates for AWS Security Hub
|
13
|
+
|
4
14
|
1.86.0 (2023-06-28)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.88.0
|
@@ -28,6 +28,7 @@ require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
30
|
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
31
|
+
require 'aws-sdk-core/plugins/request_compression.rb'
|
31
32
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
33
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
33
34
|
require 'aws-sdk-core/plugins/sign.rb'
|
@@ -77,6 +78,7 @@ module Aws::SecurityHub
|
|
77
78
|
add_plugin(Aws::Plugins::TransferEncoding)
|
78
79
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
80
|
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
81
|
+
add_plugin(Aws::Plugins::RequestCompression)
|
80
82
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
83
|
add_plugin(Aws::Plugins::RecursionDetection)
|
82
84
|
add_plugin(Aws::Plugins::Sign)
|
@@ -190,6 +192,10 @@ module Aws::SecurityHub
|
|
190
192
|
# Set to true to disable SDK automatically adding host prefix
|
191
193
|
# to default service endpoint when available.
|
192
194
|
#
|
195
|
+
# @option options [Boolean] :disable_request_compression (false)
|
196
|
+
# When set to 'true' the request body will not be compressed
|
197
|
+
# for supported operations.
|
198
|
+
#
|
193
199
|
# @option options [String] :endpoint
|
194
200
|
# The client endpoint is normally constructed from the `:region`
|
195
201
|
# option. You should only configure an `:endpoint` when connecting
|
@@ -230,6 +236,11 @@ module Aws::SecurityHub
|
|
230
236
|
# Used when loading credentials from the shared credentials file
|
231
237
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
232
238
|
#
|
239
|
+
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
240
|
+
# The minimum size in bytes that triggers compression for request
|
241
|
+
# bodies. The value must be non-negative integer value between 0
|
242
|
+
# and 10485780 bytes inclusive.
|
243
|
+
#
|
233
244
|
# @option options [Proc] :retry_backoff
|
234
245
|
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
235
246
|
# This option is only used in the `legacy` retry mode.
|
@@ -1981,9 +1992,14 @@ module Aws::SecurityHub
|
|
1981
1992
|
#
|
1982
1993
|
# @option params [String] :rule_status
|
1983
1994
|
# Whether the rule is active after it is created. If this parameter is
|
1984
|
-
# equal to `
|
1985
|
-
# finding updates after the rule is created. To change the value of
|
1986
|
-
# parameter after creating a rule, use
|
1995
|
+
# equal to `ENABLED`, Security Hub starts applying the rule to findings
|
1996
|
+
# and finding updates after the rule is created. To change the value of
|
1997
|
+
# this parameter after creating a rule, use [
|
1998
|
+
# `BatchUpdateAutomationRules` ][1].
|
1999
|
+
#
|
2000
|
+
#
|
2001
|
+
#
|
2002
|
+
# [1]: https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_BatchUpdateAutomationRules.html
|
1987
2003
|
#
|
1988
2004
|
# @option params [required, Integer] :rule_order
|
1989
2005
|
# An integer ranging from 1 to 1000 that represents the order in which
|
@@ -2002,14 +2018,14 @@ module Aws::SecurityHub
|
|
2002
2018
|
# matches the criteria for multiple rules, and each rule has different
|
2003
2019
|
# actions. If the value of this field is set to `true` for a rule,
|
2004
2020
|
# Security Hub applies the rule action to a finding that matches the
|
2005
|
-
# rule criteria and
|
2021
|
+
# rule criteria and doesn't evaluate other rules for the finding. The
|
2006
2022
|
# default value of this field is `false`.
|
2007
2023
|
#
|
2008
2024
|
# @option params [required, Types::AutomationRulesFindingFilters] :criteria
|
2009
2025
|
# A set of ASFF finding field attributes and corresponding expected
|
2010
|
-
# values that Security Hub uses to filter findings. If a
|
2011
|
-
# the conditions specified in this parameter,
|
2012
|
-
# rule action to the finding.
|
2026
|
+
# values that Security Hub uses to filter findings. If a rule is enabled
|
2027
|
+
# and a finding matches the conditions specified in this parameter,
|
2028
|
+
# Security Hub applies the rule action to the finding.
|
2013
2029
|
#
|
2014
2030
|
# @option params [required, Array<Types::AutomationRulesAction>] :actions
|
2015
2031
|
# One or more actions to update finding fields if a finding matches the
|
@@ -8683,7 +8699,7 @@ module Aws::SecurityHub
|
|
8683
8699
|
params: params,
|
8684
8700
|
config: config)
|
8685
8701
|
context[:gem_name] = 'aws-sdk-securityhub'
|
8686
|
-
context[:gem_version] = '1.
|
8702
|
+
context[:gem_version] = '1.88.0'
|
8687
8703
|
Seahorse::Client::Request.new(handlers, context)
|
8688
8704
|
end
|
8689
8705
|
|
@@ -396,10 +396,9 @@ module Aws::SecurityHub
|
|
396
396
|
#
|
397
397
|
# @!attribute [rw] type
|
398
398
|
# Specifies that the rule action should update the `Types` finding
|
399
|
-
# field. The `Types` finding field
|
400
|
-
#
|
401
|
-
#
|
402
|
-
# the *Security Hub User Guide*.
|
399
|
+
# field. The `Types` finding field classifies findings in the format
|
400
|
+
# of namespace/category/classifier. For more information, see [Types
|
401
|
+
# taxonomy for ASFF][1] in the *Security Hub User Guide*.
|
403
402
|
#
|
404
403
|
#
|
405
404
|
#
|
@@ -428,8 +427,8 @@ module Aws::SecurityHub
|
|
428
427
|
#
|
429
428
|
# @!attribute [rw] rule_status
|
430
429
|
# Whether the rule is active after it is created. If this parameter is
|
431
|
-
# equal to
|
432
|
-
# and finding updates after the rule is created.
|
430
|
+
# equal to `ENABLED`, Security Hub starts applying the rule to
|
431
|
+
# findings and finding updates after the rule is created.
|
433
432
|
# @return [String]
|
434
433
|
#
|
435
434
|
# @!attribute [rw] rule_order
|
@@ -452,16 +451,16 @@ module Aws::SecurityHub
|
|
452
451
|
# finding matches the criteria for multiple rules, and each rule has
|
453
452
|
# different actions. If the value of this field is set to `true` for a
|
454
453
|
# rule, Security Hub applies the rule action to a finding that matches
|
455
|
-
# the rule criteria and
|
456
|
-
# finding.
The default value of this field is `false`.
|
454
|
+
# the rule criteria and doesn't evaluate other rules for the
|
455
|
+
# finding.
The default value of this field is `false`.
|
457
456
|
# @return [Boolean]
|
458
457
|
#
|
459
458
|
# @!attribute [rw] criteria
|
460
459
|
# A set of [Amazon Web Services Security Finding Format][1] finding
|
461
460
|
# field attributes and corresponding expected values that Security Hub
|
462
|
-
# uses to filter findings. If a finding matches
|
463
|
-
# specified in this parameter, Security Hub applies the
|
464
|
-
# the finding.
|
461
|
+
# uses to filter findings. If a rule is enabled and a finding matches
|
462
|
+
# the conditions specified in this parameter, Security Hub applies the
|
463
|
+
# rule action to the finding.
|
465
464
|
#
|
466
465
|
#
|
467
466
|
#
|
@@ -519,8 +518,8 @@ module Aws::SecurityHub
|
|
519
518
|
include Aws::Structure
|
520
519
|
end
|
521
520
|
|
522
|
-
# Identifies the finding fields that the automation rule action
|
523
|
-
#
|
521
|
+
# Identifies the finding fields that the automation rule action updates
|
522
|
+
# when a finding matches the defined criteria.
|
524
523
|
#
|
525
524
|
# @!attribute [rw] note
|
526
525
|
# The updated note.
|
@@ -531,25 +530,23 @@ module Aws::SecurityHub
|
|
531
530
|
# @return [Types::SeverityUpdate]
|
532
531
|
#
|
533
532
|
# @!attribute [rw] verification_state
|
534
|
-
# The rule action
|
535
|
-
# finding.
|
533
|
+
# The rule action updates the `VerificationState` field of a finding.
|
536
534
|
# @return [String]
|
537
535
|
#
|
538
536
|
# @!attribute [rw] confidence
|
539
|
-
# The rule action
|
537
|
+
# The rule action updates the `Confidence` field of a finding.
|
540
538
|
# @return [Integer]
|
541
539
|
#
|
542
540
|
# @!attribute [rw] criticality
|
543
|
-
# The rule action
|
541
|
+
# The rule action updates the `Criticality` field of a finding.
|
544
542
|
# @return [Integer]
|
545
543
|
#
|
546
544
|
# @!attribute [rw] types
|
547
|
-
# The rule action
|
545
|
+
# The rule action updates the `Types` field of a finding.
|
548
546
|
# @return [Array<String>]
|
549
547
|
#
|
550
548
|
# @!attribute [rw] user_defined_fields
|
551
|
-
# The rule action
|
552
|
-
# finding.
|
549
|
+
# The rule action updates the `UserDefinedFields` field of a finding.
|
553
550
|
# @return [Hash<String,String>]
|
554
551
|
#
|
555
552
|
# @!attribute [rw] workflow
|
@@ -557,7 +554,7 @@ module Aws::SecurityHub
|
|
557
554
|
# @return [Types::WorkflowUpdate]
|
558
555
|
#
|
559
556
|
# @!attribute [rw] related_findings
|
560
|
-
#
|
557
|
+
# The rule action updates the `RelatedFindings` field of a finding.
|
561
558
|
# @return [Array<Types::RelatedFinding>]
|
562
559
|
#
|
563
560
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AutomationRulesFindingFieldsUpdate AWS API Documentation
|
@@ -866,10 +863,14 @@ module Aws::SecurityHub
|
|
866
863
|
#
|
867
864
|
# @!attribute [rw] rule_status
|
868
865
|
# Whether the rule is active after it is created. If this parameter is
|
869
|
-
# equal to `ENABLED`, Security Hub
|
870
|
-
# finding updates after the rule is created. To change
|
871
|
-
# this parameter after creating a rule, use
|
872
|
-
# `BatchUpdateAutomationRules
|
866
|
+
# equal to `ENABLED`, Security Hub starts applying the rule to
|
867
|
+
# findings and finding updates after the rule is created. To change
|
868
|
+
# the value of this parameter after creating a rule, use [
|
869
|
+
# `BatchUpdateAutomationRules` ][1].
|
870
|
+
#
|
871
|
+
#
|
872
|
+
#
|
873
|
+
# [1]: https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_BatchUpdateAutomationRules.html
|
873
874
|
# @return [String]
|
874
875
|
#
|
875
876
|
# @!attribute [rw] rule_order
|
@@ -892,8 +893,8 @@ module Aws::SecurityHub
|
|
892
893
|
# finding matches the criteria for multiple rules, and each rule has
|
893
894
|
# different actions. If the value of this field is set to `true` for a
|
894
895
|
# rule, Security Hub applies the rule action to a finding that matches
|
895
|
-
# the rule criteria and
|
896
|
-
# finding.
The default value of this field is `false`.
|
896
|
+
# the rule criteria and doesn't evaluate other rules for the
|
897
|
+
# finding.
The default value of this field is `false`.
|
897
898
|
# @return [Boolean]
|
898
899
|
#
|
899
900
|
# @!attribute [rw] created_at
|
@@ -20705,10 +20706,14 @@ module Aws::SecurityHub
|
|
20705
20706
|
#
|
20706
20707
|
# @!attribute [rw] rule_status
|
20707
20708
|
# Whether the rule is active after it is created. If this parameter is
|
20708
|
-
# equal to `
|
20709
|
-
# finding updates after the rule is created. To change
|
20710
|
-
# this parameter after creating a rule, use
|
20711
|
-
# `BatchUpdateAutomationRules
|
20709
|
+
# equal to `ENABLED`, Security Hub starts applying the rule to
|
20710
|
+
# findings and finding updates after the rule is created. To change
|
20711
|
+
# the value of this parameter after creating a rule, use [
|
20712
|
+
# `BatchUpdateAutomationRules` ][1].
|
20713
|
+
#
|
20714
|
+
#
|
20715
|
+
#
|
20716
|
+
# [1]: https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_BatchUpdateAutomationRules.html
|
20712
20717
|
# @return [String]
|
20713
20718
|
#
|
20714
20719
|
# @!attribute [rw] rule_order
|
@@ -20731,15 +20736,15 @@ module Aws::SecurityHub
|
|
20731
20736
|
# finding matches the criteria for multiple rules, and each rule has
|
20732
20737
|
# different actions. If the value of this field is set to `true` for a
|
20733
20738
|
# rule, Security Hub applies the rule action to a finding that matches
|
20734
|
-
# the rule criteria and
|
20739
|
+
# the rule criteria and doesn't evaluate other rules for the finding.
|
20735
20740
|
# The default value of this field is `false`.
|
20736
20741
|
# @return [Boolean]
|
20737
20742
|
#
|
20738
20743
|
# @!attribute [rw] criteria
|
20739
20744
|
# A set of ASFF finding field attributes and corresponding expected
|
20740
|
-
# values that Security Hub uses to filter findings. If a
|
20741
|
-
# matches the conditions specified in this
|
20742
|
-
# applies the rule action to the finding.
|
20745
|
+
# values that Security Hub uses to filter findings. If a rule is
|
20746
|
+
# enabled and a finding matches the conditions specified in this
|
20747
|
+
# parameter, Security Hub applies the rule action to the finding.
|
20743
20748
|
# @return [Types::AutomationRulesFindingFilters]
|
20744
20749
|
#
|
20745
20750
|
# @!attribute [rw] actions
|
@@ -25349,14 +25354,7 @@ module Aws::SecurityHub
|
|
25349
25354
|
# @return [String]
|
25350
25355
|
#
|
25351
25356
|
# @!attribute [rw] security_control_status
|
25352
|
-
# The status of a security control
|
25353
|
-
# its findings. For more information about how control status is
|
25354
|
-
# determined, see [Determining the overall status of a control from
|
25355
|
-
# its findings][1] in the *Security Hub User Guide*.
|
25356
|
-
#
|
25357
|
-
#
|
25358
|
-
#
|
25359
|
-
# [1]: https://docs.aws.amazon.com/securityhub/latest/userguide/controls-overall-status.html
|
25357
|
+
# The enablement status of a security control in a specific standard.
|
25360
25358
|
# @return [String]
|
25361
25359
|
#
|
25362
25360
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/SecurityControl AWS API Documentation
|
@@ -26572,10 +26570,14 @@ module Aws::SecurityHub
|
|
26572
26570
|
#
|
26573
26571
|
# @!attribute [rw] rule_status
|
26574
26572
|
# Whether the rule is active after it is created. If this parameter is
|
26575
|
-
# equal to `ENABLED`, Security Hub
|
26576
|
-
# finding updates after the rule is created. To change
|
26577
|
-
# this parameter after creating a rule, use
|
26578
|
-
# `BatchUpdateAutomationRules
|
26573
|
+
# equal to `ENABLED`, Security Hub starts applying the rule to
|
26574
|
+
# findings and finding updates after the rule is created. To change
|
26575
|
+
# the value of this parameter after creating a rule, use [
|
26576
|
+
# `BatchUpdateAutomationRules` ][1].
|
26577
|
+
#
|
26578
|
+
#
|
26579
|
+
#
|
26580
|
+
# [1]: https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_BatchUpdateAutomationRules.html
|
26579
26581
|
# @return [String]
|
26580
26582
|
#
|
26581
26583
|
# @!attribute [rw] rule_order
|
@@ -26598,15 +26600,15 @@ module Aws::SecurityHub
|
|
26598
26600
|
# finding matches the criteria for multiple rules, and each rule has
|
26599
26601
|
# different actions. If the value of this field is set to `true` for a
|
26600
26602
|
# rule, Security Hub applies the rule action to a finding that matches
|
26601
|
-
# the rule criteria and
|
26602
|
-
# finding.
The default value of this field is `false`.
|
26603
|
+
# the rule criteria and doesn't evaluate other rules for the
|
26604
|
+
# finding.
The default value of this field is `false`.
|
26603
26605
|
# @return [Boolean]
|
26604
26606
|
#
|
26605
26607
|
# @!attribute [rw] criteria
|
26606
26608
|
# A set of ASFF finding field attributes and corresponding expected
|
26607
|
-
# values that Security Hub uses to filter findings. If a
|
26608
|
-
# matches the conditions specified in this
|
26609
|
-
# applies the rule action to the finding.
|
26609
|
+
# values that Security Hub uses to filter findings. If a rule is
|
26610
|
+
# enabled and a finding matches the conditions specified in this
|
26611
|
+
# parameter, Security Hub applies the rule action to the finding.
|
26610
26612
|
# @return [Types::AutomationRulesFindingFilters]
|
26611
26613
|
#
|
26612
26614
|
# @!attribute [rw] actions
|
data/lib/aws-sdk-securityhub.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-securityhub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.88.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06
|
11
|
+
date: 2023-07-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.177.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.177.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|