aws-sdk-securityhub 1.112.0 → 1.114.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-securityhub/client.rb +108 -85
- data/lib/aws-sdk-securityhub/client_api.rb +1 -1
- data/lib/aws-sdk-securityhub/types.rb +74 -61
- data/lib/aws-sdk-securityhub.rb +1 -1
- data/sig/client.rbs +89 -88
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +1 -1
- metadata +6 -6
@@ -6012,9 +6012,9 @@ module Aws::SecurityHub
|
|
6012
6012
|
|
6013
6013
|
NumberFilter.add_member(:gte, Shapes::ShapeRef.new(shape: Double, location_name: "Gte"))
|
6014
6014
|
NumberFilter.add_member(:lte, Shapes::ShapeRef.new(shape: Double, location_name: "Lte"))
|
6015
|
+
NumberFilter.add_member(:eq, Shapes::ShapeRef.new(shape: Double, location_name: "Eq"))
|
6015
6016
|
NumberFilter.add_member(:gt, Shapes::ShapeRef.new(shape: Double, location_name: "Gt"))
|
6016
6017
|
NumberFilter.add_member(:lt, Shapes::ShapeRef.new(shape: Double, location_name: "Lt"))
|
6017
|
-
NumberFilter.add_member(:eq, Shapes::ShapeRef.new(shape: Double, location_name: "Eq"))
|
6018
6018
|
NumberFilter.struct_class = Types::NumberFilter
|
6019
6019
|
|
6020
6020
|
NumberFilterList.member = Shapes::ShapeRef.new(shape: NumberFilter)
|
@@ -865,9 +865,9 @@ module Aws::SecurityHub
|
|
865
865
|
# The identifier for the given resource type. For Amazon Web Services
|
866
866
|
# resources that are identified by Amazon Resource Names (ARNs), this
|
867
867
|
# is the ARN. For Amazon Web Services resources that lack ARNs, this
|
868
|
-
# is the identifier as defined by the Amazon Web
|
869
|
-
# the resource. For non-Amazon Web Services resources, this is
|
870
|
-
# unique identifier that is associated with the resource.
|
868
|
+
# is the identifier as defined by the Amazon Web Servicesservice that
|
869
|
+
# created the resource. For non-Amazon Web Services resources, this is
|
870
|
+
# a unique identifier that is associated with the resource.
|
871
871
|
#
|
872
872
|
# Array Members: Minimum number of 1 item. Maximum number of 100
|
873
873
|
# items.
|
@@ -20647,8 +20647,8 @@ module Aws::SecurityHub
|
|
20647
20647
|
#
|
20648
20648
|
# @!attribute [rw] compliance_security_control_id
|
20649
20649
|
# The unique identifier of a control across standards. Values for this
|
20650
|
-
# field typically consist of an Amazon Web
|
20651
|
-
# as APIGateway.5.
|
20650
|
+
# field typically consist of an Amazon Web Servicesservice and a
|
20651
|
+
# number, such as APIGateway.5.
|
20652
20652
|
# @return [Array<Types::StringFilter>]
|
20653
20653
|
#
|
20654
20654
|
# @!attribute [rw] compliance_associated_standards_id
|
@@ -23162,8 +23162,8 @@ module Aws::SecurityHub
|
|
23162
23162
|
#
|
23163
23163
|
# @!attribute [rw] security_control_id
|
23164
23164
|
# The unique identifier of a control across standards. Values for this
|
23165
|
-
# field typically consist of an Amazon Web
|
23166
|
-
# as APIGateway.5.
|
23165
|
+
# field typically consist of an Amazon Web Servicesservice and a
|
23166
|
+
# number, such as APIGateway.5.
|
23167
23167
|
# @return [String]
|
23168
23168
|
#
|
23169
23169
|
# @!attribute [rw] associated_standards
|
@@ -23683,21 +23683,23 @@ module Aws::SecurityHub
|
|
23683
23683
|
#
|
23684
23684
|
# The options are as follows:
|
23685
23685
|
#
|
23686
|
-
# * `ALL_REGIONS` -
|
23687
|
-
#
|
23688
|
-
#
|
23689
|
-
#
|
23686
|
+
# * `ALL_REGIONS` - Aggregates findings from all of the Regions where
|
23687
|
+
# Security Hub is enabled. When you choose this option, Security Hub
|
23688
|
+
# also automatically aggregates findings from new Regions as
|
23689
|
+
# Security Hub supports them and you opt into them.
|
23690
23690
|
#
|
23691
|
-
# * `ALL_REGIONS_EXCEPT_SPECIFIED` -
|
23692
|
-
#
|
23693
|
-
#
|
23694
|
-
#
|
23695
|
-
#
|
23696
|
-
# them.
|
23691
|
+
# * `ALL_REGIONS_EXCEPT_SPECIFIED` - Aggregates findings from all of
|
23692
|
+
# the Regions where Security Hub is enabled, except for the Regions
|
23693
|
+
# listed in the `Regions` parameter. When you choose this option,
|
23694
|
+
# Security Hub also automatically aggregates findings from new
|
23695
|
+
# Regions as Security Hub supports them and you opt into them.
|
23697
23696
|
#
|
23698
|
-
# * `SPECIFIED_REGIONS` -
|
23699
|
-
#
|
23700
|
-
#
|
23697
|
+
# * `SPECIFIED_REGIONS` - Aggregates findings only from the Regions
|
23698
|
+
# listed in the `Regions` parameter. Security Hub does not
|
23699
|
+
# automatically aggregate findings from new Regions.
|
23700
|
+
#
|
23701
|
+
# * `NO_REGIONS` - Aggregates no data because no Regions are selected
|
23702
|
+
# as linked Regions.
|
23701
23703
|
# @return [String]
|
23702
23704
|
#
|
23703
23705
|
# @!attribute [rw] regions
|
@@ -23708,6 +23710,9 @@ module Aws::SecurityHub
|
|
23708
23710
|
# If `RegionLinkingMode` is `SPECIFIED_REGIONS`, then this is a
|
23709
23711
|
# space-separated list of Regions that do aggregate findings to the
|
23710
23712
|
# aggregation Region.
|
23713
|
+
#
|
23714
|
+
# An `InvalidInputException` error results if you populate this field
|
23715
|
+
# while `RegionLinkingMode` is `NO_REGIONS`.
|
23711
23716
|
# @return [Array<String>]
|
23712
23717
|
#
|
23713
23718
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CreateFindingAggregatorRequest AWS API Documentation
|
@@ -24835,9 +24840,9 @@ module Aws::SecurityHub
|
|
24835
24840
|
#
|
24836
24841
|
# @!attribute [rw] update_source
|
24837
24842
|
# Identifies the source of the event that changed the finding. For
|
24838
|
-
# example, an integrated Amazon Web
|
24839
|
-
# integration may call [ `BatchImportFindings` ][1], or an
|
24840
|
-
# Hub customer may call [ `BatchUpdateFindings` ][2].
|
24843
|
+
# example, an integrated Amazon Web Servicesservice or third-party
|
24844
|
+
# partner integration may call [ `BatchImportFindings` ][1], or an
|
24845
|
+
# Security Hub customer may call [ `BatchUpdateFindings` ][2].
|
24841
24846
|
#
|
24842
24847
|
#
|
24843
24848
|
#
|
@@ -24913,9 +24918,9 @@ module Aws::SecurityHub
|
|
24913
24918
|
#
|
24914
24919
|
# @!attribute [rw] type
|
24915
24920
|
# Describes the type of finding change event, such as a call to [
|
24916
|
-
# `BatchImportFindings` ][1] (by an integrated Amazon Web
|
24917
|
-
# third party partner integration) or [
|
24918
|
-
# a Security Hub customer).
|
24921
|
+
# `BatchImportFindings` ][1] (by an integrated Amazon Web
|
24922
|
+
# Servicesservice or third party partner integration) or [
|
24923
|
+
# `BatchUpdateFindings` ][2] (by a Security Hub customer).
|
24919
24924
|
#
|
24920
24925
|
#
|
24921
24926
|
#
|
@@ -27228,6 +27233,11 @@ module Aws::SecurityHub
|
|
27228
27233
|
# querying for findings.
|
27229
27234
|
# @return [Float]
|
27230
27235
|
#
|
27236
|
+
# @!attribute [rw] eq
|
27237
|
+
# The equal-to condition to be applied to a single field when querying
|
27238
|
+
# for findings.
|
27239
|
+
# @return [Float]
|
27240
|
+
#
|
27231
27241
|
# @!attribute [rw] gt
|
27232
27242
|
# The greater-than condition to be applied to a single field when
|
27233
27243
|
# querying for findings.
|
@@ -27238,19 +27248,14 @@ module Aws::SecurityHub
|
|
27238
27248
|
# querying for findings.
|
27239
27249
|
# @return [Float]
|
27240
27250
|
#
|
27241
|
-
# @!attribute [rw] eq
|
27242
|
-
# The equal-to condition to be applied to a single field when querying
|
27243
|
-
# for findings.
|
27244
|
-
# @return [Float]
|
27245
|
-
#
|
27246
27251
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/NumberFilter AWS API Documentation
|
27247
27252
|
#
|
27248
27253
|
class NumberFilter < Struct.new(
|
27249
27254
|
:gte,
|
27250
27255
|
:lte,
|
27256
|
+
:eq,
|
27251
27257
|
:gt,
|
27252
|
-
:lt
|
27253
|
-
:eq)
|
27258
|
+
:lt)
|
27254
27259
|
SENSITIVE = []
|
27255
27260
|
include Aws::Structure
|
27256
27261
|
end
|
@@ -27633,7 +27638,8 @@ module Aws::SecurityHub
|
|
27633
27638
|
# @note Policy is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Policy corresponding to the set member.
|
27634
27639
|
#
|
27635
27640
|
# @!attribute [rw] security_hub
|
27636
|
-
# The Amazon Web
|
27641
|
+
# The Amazon Web Servicesservice that the configuration policy applies
|
27642
|
+
# to.
|
27637
27643
|
# @return [Types::SecurityHubPolicy]
|
27638
27644
|
#
|
27639
27645
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/Policy AWS API Documentation
|
@@ -28767,7 +28773,7 @@ module Aws::SecurityHub
|
|
28767
28773
|
# @return [String]
|
28768
28774
|
#
|
28769
28775
|
# @!attribute [rw] destination_prefix_list_id
|
28770
|
-
# The prefix of the destination Amazon Web
|
28776
|
+
# The prefix of the destination Amazon Web Servicesservice.
|
28771
28777
|
# @return [String]
|
28772
28778
|
#
|
28773
28779
|
# @!attribute [rw] egress_only_internet_gateway_id
|
@@ -29282,8 +29288,8 @@ module Aws::SecurityHub
|
|
29282
29288
|
#
|
29283
29289
|
# @!attribute [rw] security_control_id
|
29284
29290
|
# The unique identifier of a security control across standards. Values
|
29285
|
-
# for this field typically consist of an Amazon Web
|
29286
|
-
# number, such as APIGateway.3.
|
29291
|
+
# for this field typically consist of an Amazon Web Servicesservice
|
29292
|
+
# name and a number, such as APIGateway.3.
|
29287
29293
|
# @return [String]
|
29288
29294
|
#
|
29289
29295
|
# @!attribute [rw] security_control_arn
|
@@ -29326,8 +29332,9 @@ module Aws::SecurityHub
|
|
29326
29332
|
# @!attribute [rw] update_status
|
29327
29333
|
# Identifies whether customizable properties of a security control are
|
29328
29334
|
# reflected in Security Hub findings. A status of `READY` indicates
|
29329
|
-
#
|
29330
|
-
#
|
29335
|
+
# that Security Hub uses the current control parameter values when
|
29336
|
+
# running security checks of the control. A status of `UPDATING`
|
29337
|
+
# indicates that all security checks might not use the current
|
29331
29338
|
# parameter values.
|
29332
29339
|
# @return [String]
|
29333
29340
|
#
|
@@ -29394,11 +29401,11 @@ module Aws::SecurityHub
|
|
29394
29401
|
#
|
29395
29402
|
# @!attribute [rw] security_control_id
|
29396
29403
|
# The unique identifier of a security control across standards. Values
|
29397
|
-
# for this field typically consist of an Amazon Web
|
29398
|
-
# number (for example, APIGateway.3). This parameter
|
29399
|
-
# `SecurityControlArn`, which is a unique Amazon Resource
|
29400
|
-
# assigned to a control. The ARN references the security
|
29401
|
-
# (for example,
|
29404
|
+
# for this field typically consist of an Amazon Web Servicesservice
|
29405
|
+
# name and a number (for example, APIGateway.3). This parameter
|
29406
|
+
# differs from `SecurityControlArn`, which is a unique Amazon Resource
|
29407
|
+
# Name (ARN) assigned to a control. The ARN references the security
|
29408
|
+
# control ID (for example,
|
29402
29409
|
# arn:aws:securityhub:eu-central-1:123456789012:security-control/APIGateway.3).
|
29403
29410
|
# @return [String]
|
29404
29411
|
#
|
@@ -29941,8 +29948,8 @@ module Aws::SecurityHub
|
|
29941
29948
|
#
|
29942
29949
|
# @!attribute [rw] security_control_id
|
29943
29950
|
# The unique identifier of a security control across standards. Values
|
29944
|
-
# for this field typically consist of an Amazon Web
|
29945
|
-
# number, such as APIGateway.3.
|
29951
|
+
# for this field typically consist of an Amazon Web Servicesservice
|
29952
|
+
# name and a number, such as APIGateway.3.
|
29946
29953
|
# @return [String]
|
29947
29954
|
#
|
29948
29955
|
# @!attribute [rw] security_control_arn
|
@@ -30042,8 +30049,9 @@ module Aws::SecurityHub
|
|
30042
30049
|
#
|
30043
30050
|
# @!attribute [rw] security_control_id
|
30044
30051
|
# A unique standard-agnostic identifier for a control. Values for this
|
30045
|
-
# field typically consist of an Amazon Web
|
30046
|
-
# as APIGateway.5. This field doesn't reference a
|
30052
|
+
# field typically consist of an Amazon Web Servicesservice and a
|
30053
|
+
# number, such as APIGateway.5. This field doesn't reference a
|
30054
|
+
# specific standard.
|
30047
30055
|
# @return [String]
|
30048
30056
|
#
|
30049
30057
|
# @!attribute [rw] security_control_arn
|
@@ -31128,21 +31136,23 @@ module Aws::SecurityHub
|
|
31128
31136
|
#
|
31129
31137
|
# The options are as follows:
|
31130
31138
|
#
|
31131
|
-
# * `ALL_REGIONS` -
|
31132
|
-
#
|
31133
|
-
#
|
31134
|
-
#
|
31139
|
+
# * `ALL_REGIONS` - Aggregates findings from all of the Regions where
|
31140
|
+
# Security Hub is enabled. When you choose this option, Security Hub
|
31141
|
+
# also automatically aggregates findings from new Regions as
|
31142
|
+
# Security Hub supports them and you opt into them.
|
31143
|
+
#
|
31144
|
+
# * `ALL_REGIONS_EXCEPT_SPECIFIED` - Aggregates findings from all of
|
31145
|
+
# the Regions where Security Hub is enabled, except for the Regions
|
31146
|
+
# listed in the `Regions` parameter. When you choose this option,
|
31147
|
+
# Security Hub also automatically aggregates findings from new
|
31148
|
+
# Regions as Security Hub supports them and you opt into them.
|
31135
31149
|
#
|
31136
|
-
# * `
|
31137
|
-
#
|
31138
|
-
#
|
31139
|
-
# this option, Security Hub also automatically aggregates findings
|
31140
|
-
# from new Regions as Security Hub supports them and you opt into
|
31141
|
-
# them.
|
31150
|
+
# * `SPECIFIED_REGIONS` - Aggregates findings only from the Regions
|
31151
|
+
# listed in the `Regions` parameter. Security Hub does not
|
31152
|
+
# automatically aggregate findings from new Regions.
|
31142
31153
|
#
|
31143
|
-
# * `
|
31144
|
-
#
|
31145
|
-
# not automatically aggregate findings from new Regions.
|
31154
|
+
# * `NO_REGIONS` - Aggregates no data because no Regions are selected
|
31155
|
+
# as linked Regions.
|
31146
31156
|
# @return [String]
|
31147
31157
|
#
|
31148
31158
|
# @!attribute [rw] regions
|
@@ -31153,6 +31163,9 @@ module Aws::SecurityHub
|
|
31153
31163
|
# If `RegionLinkingMode` is `SPECIFIED_REGIONS`, then this is a
|
31154
31164
|
# space-separated list of Regions that do aggregate findings to the
|
31155
31165
|
# aggregation Region.
|
31166
|
+
#
|
31167
|
+
# An `InvalidInputException` error results if you populate this field
|
31168
|
+
# while `RegionLinkingMode` is `NO_REGIONS`.
|
31156
31169
|
# @return [Array<String>]
|
31157
31170
|
#
|
31158
31171
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateFindingAggregatorRequest AWS API Documentation
|