aws-sdk-securityhub 1.18.0 → 1.19.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/lib/aws-sdk-securityhub.rb +1 -1
- data/lib/aws-sdk-securityhub/client.rb +14 -12
- data/lib/aws-sdk-securityhub/client_api.rb +5 -0
- data/lib/aws-sdk-securityhub/types.rb +41 -29
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8123d830053ce4ae388751581ca42f81b0c16862
|
4
|
+
data.tar.gz: 697f9a9a1e0b65bc836f253320d6ec7acead78d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c9793f9a927033fca58dbaf26814f966b368a2210e32c6b02447011e34b18bcf347a9207025fc736b49416cc809e7cb667f6e2adb5637d200cd8ffea8e13f5a
|
7
|
+
data.tar.gz: 06a9b115b410bdbdf891757846ba8e9d5ed987e6adef35f2036fa2fc833aa0770638fa506598ae3d91f9003c11a8e82efa9fc780a6b1feb389279dde630f3e4a
|
data/lib/aws-sdk-securityhub.rb
CHANGED
@@ -289,8 +289,8 @@ module Aws::SecurityHub
|
|
289
289
|
# Disables the standards specified by the provided
|
290
290
|
# `StandardsSubscriptionArns`.
|
291
291
|
#
|
292
|
-
# For more information, see [
|
293
|
-
#
|
292
|
+
# For more information, see [Security Standards][1] section of the *AWS
|
293
|
+
# Security Hub User Guide*.
|
294
294
|
#
|
295
295
|
#
|
296
296
|
#
|
@@ -331,7 +331,7 @@ module Aws::SecurityHub
|
|
331
331
|
# obtain the ARN for a standard, use the ` DescribeStandards `
|
332
332
|
# operation.
|
333
333
|
#
|
334
|
-
# For more information, see the [
|
334
|
+
# For more information, see the [Security Standards][1] section of the
|
335
335
|
# *AWS Security Hub User Guide*.
|
336
336
|
#
|
337
337
|
#
|
@@ -339,7 +339,7 @@ module Aws::SecurityHub
|
|
339
339
|
# [1]: https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-standards.html
|
340
340
|
#
|
341
341
|
# @option params [required, Array<Types::StandardsSubscriptionRequest>] :standards_subscription_requests
|
342
|
-
# The list of standards
|
342
|
+
# The list of standards checks to enable.
|
343
343
|
#
|
344
344
|
# @return [Types::BatchEnableStandardsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
345
345
|
#
|
@@ -1840,6 +1840,8 @@ module Aws::SecurityHub
|
|
1840
1840
|
# resp.products[0].description #=> String
|
1841
1841
|
# resp.products[0].categories #=> Array
|
1842
1842
|
# resp.products[0].categories[0] #=> String
|
1843
|
+
# resp.products[0].integration_types #=> Array
|
1844
|
+
# resp.products[0].integration_types[0] #=> String, one of "SEND_FINDINGS_TO_SECURITY_HUB", "RECEIVE_FINDINGS_FROM_SECURITY_HUB"
|
1843
1845
|
# resp.products[0].marketplace_url #=> String
|
1844
1846
|
# resp.products[0].activation_url #=> String
|
1845
1847
|
# resp.products[0].product_subscription_resource_policy #=> String
|
@@ -1900,7 +1902,7 @@ module Aws::SecurityHub
|
|
1900
1902
|
req.send_request(options)
|
1901
1903
|
end
|
1902
1904
|
|
1903
|
-
# Returns a list of
|
1905
|
+
# Returns a list of security standards controls.
|
1904
1906
|
#
|
1905
1907
|
# For each control, the results include information about whether it is
|
1906
1908
|
# currently enabled, the severity, and a link to remediation
|
@@ -1920,7 +1922,7 @@ module Aws::SecurityHub
|
|
1920
1922
|
# response.
|
1921
1923
|
#
|
1922
1924
|
# @option params [Integer] :max_results
|
1923
|
-
# The maximum number of
|
1925
|
+
# The maximum number of security standard controls to return.
|
1924
1926
|
#
|
1925
1927
|
# @return [Types::DescribeStandardsControlsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1926
1928
|
#
|
@@ -4984,18 +4986,18 @@ module Aws::SecurityHub
|
|
4984
4986
|
req.send_request(options)
|
4985
4987
|
end
|
4986
4988
|
|
4987
|
-
# Used to control whether an individual
|
4989
|
+
# Used to control whether an individual security standard control is
|
4988
4990
|
# enabled or disabled.
|
4989
4991
|
#
|
4990
4992
|
# @option params [required, String] :standards_control_arn
|
4991
|
-
# The ARN of the
|
4993
|
+
# The ARN of the security standard control to enable or disable.
|
4992
4994
|
#
|
4993
4995
|
# @option params [String] :control_status
|
4994
|
-
# The updated status of the
|
4996
|
+
# The updated status of the security standard control.
|
4995
4997
|
#
|
4996
4998
|
# @option params [String] :disabled_reason
|
4997
|
-
# A description of the reason why you are disabling a
|
4998
|
-
#
|
4999
|
+
# A description of the reason why you are disabling a security standard
|
5000
|
+
# control.
|
4999
5001
|
#
|
5000
5002
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
5001
5003
|
#
|
@@ -5029,7 +5031,7 @@ module Aws::SecurityHub
|
|
5029
5031
|
params: params,
|
5030
5032
|
config: config)
|
5031
5033
|
context[:gem_name] = 'aws-sdk-securityhub'
|
5032
|
-
context[:gem_version] = '1.
|
5034
|
+
context[:gem_version] = '1.19.0'
|
5033
5035
|
Seahorse::Client::Request.new(handlers, context)
|
5034
5036
|
end
|
5035
5037
|
|
@@ -166,6 +166,8 @@ module Aws::SecurityHub
|
|
166
166
|
InsightResultValueList = Shapes::ListShape.new(name: 'InsightResultValueList')
|
167
167
|
InsightResults = Shapes::StructureShape.new(name: 'InsightResults')
|
168
168
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
169
|
+
IntegrationType = Shapes::StringShape.new(name: 'IntegrationType')
|
170
|
+
IntegrationTypeList = Shapes::ListShape.new(name: 'IntegrationTypeList')
|
169
171
|
InternalException = Shapes::StructureShape.new(name: 'InternalException')
|
170
172
|
InvalidAccessException = Shapes::StructureShape.new(name: 'InvalidAccessException')
|
171
173
|
InvalidInputException = Shapes::StructureShape.new(name: 'InvalidInputException')
|
@@ -1000,6 +1002,8 @@ module Aws::SecurityHub
|
|
1000
1002
|
InsightResults.add_member(:result_values, Shapes::ShapeRef.new(shape: InsightResultValueList, required: true, location_name: "ResultValues"))
|
1001
1003
|
InsightResults.struct_class = Types::InsightResults
|
1002
1004
|
|
1005
|
+
IntegrationTypeList.member = Shapes::ShapeRef.new(shape: IntegrationType)
|
1006
|
+
|
1003
1007
|
InternalException.add_member(:message, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Message"))
|
1004
1008
|
InternalException.add_member(:code, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Code"))
|
1005
1009
|
InternalException.struct_class = Types::InternalException
|
@@ -1144,6 +1148,7 @@ module Aws::SecurityHub
|
|
1144
1148
|
Product.add_member(:company_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "CompanyName"))
|
1145
1149
|
Product.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Description"))
|
1146
1150
|
Product.add_member(:categories, Shapes::ShapeRef.new(shape: CategoryList, location_name: "Categories"))
|
1151
|
+
Product.add_member(:integration_types, Shapes::ShapeRef.new(shape: IntegrationTypeList, location_name: "IntegrationTypes"))
|
1147
1152
|
Product.add_member(:marketplace_url, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "MarketplaceUrl"))
|
1148
1153
|
Product.add_member(:activation_url, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ActivationUrl"))
|
1149
1154
|
Product.add_member(:product_subscription_resource_policy, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ProductSubscriptionResourcePolicy"))
|
@@ -1992,10 +1992,10 @@ module Aws::SecurityHub
|
|
1992
1992
|
# @!attribute [rw] compatible_runtimes
|
1993
1993
|
# The layer's compatible runtimes. Maximum number of 5 items.
|
1994
1994
|
#
|
1995
|
-
# Valid values: `
|
1996
|
-
# `
|
1997
|
-
# `
|
1998
|
-
# `
|
1995
|
+
# Valid values: `nodejs10.x` \| `nodejs12.x` \| `java8` \| `java11` \|
|
1996
|
+
# `python2.7` \| `python3.6` \| `python3.7` \| `python3.8` \|
|
1997
|
+
# `dotnetcore1.0` \| `dotnetcore2.1` \| `go1.x` \| `ruby2.5` \|
|
1998
|
+
# `provided`
|
1999
1999
|
# @return [Array<String>]
|
2000
2000
|
#
|
2001
2001
|
# @!attribute [rw] created_date
|
@@ -2332,11 +2332,11 @@ module Aws::SecurityHub
|
|
2332
2332
|
# Provides consistent format for the contents of the Security
|
2333
2333
|
# Hub-aggregated findings. `AwsSecurityFinding` format enables you to
|
2334
2334
|
# share findings between AWS security services and third-party
|
2335
|
-
# solutions, and
|
2335
|
+
# solutions, and security standards checks.
|
2336
2336
|
#
|
2337
2337
|
# <note markdown="1"> A finding is a potential security issue generated either by AWS
|
2338
2338
|
# services (Amazon GuardDuty, Amazon Inspector, and Amazon Macie) or by
|
2339
|
-
# the integrated third-party solutions and
|
2339
|
+
# the integrated third-party solutions and standards checks.
|
2340
2340
|
#
|
2341
2341
|
# </note>
|
2342
2342
|
#
|
@@ -2945,8 +2945,8 @@ module Aws::SecurityHub
|
|
2945
2945
|
# @!attribute [rw] compliance
|
2946
2946
|
# This data type is exclusive to findings that are generated as the
|
2947
2947
|
# result of a check run against a specific rule in a supported
|
2948
|
-
# standard, such as CIS AWS Foundations. Contains
|
2949
|
-
# finding details.
|
2948
|
+
# security standard, such as CIS AWS Foundations. Contains security
|
2949
|
+
# standard-related finding details.
|
2950
2950
|
# @return [Types::Compliance]
|
2951
2951
|
#
|
2952
2952
|
# @!attribute [rw] verification_state
|
@@ -3899,7 +3899,7 @@ module Aws::SecurityHub
|
|
3899
3899
|
# @!attribute [rw] compliance_status
|
3900
3900
|
# Exclusive to findings that are generated as the result of a check
|
3901
3901
|
# run against a specific rule in a supported standard, such as CIS AWS
|
3902
|
-
# Foundations. Contains
|
3902
|
+
# Foundations. Contains security standard-related finding details.
|
3903
3903
|
# @return [Array<Types::StringFilter>]
|
3904
3904
|
#
|
3905
3905
|
# @!attribute [rw] verification_state
|
@@ -4326,7 +4326,7 @@ module Aws::SecurityHub
|
|
4326
4326
|
# }
|
4327
4327
|
#
|
4328
4328
|
# @!attribute [rw] standards_subscription_requests
|
4329
|
-
# The list of standards
|
4329
|
+
# The list of standards checks to enable.
|
4330
4330
|
# @return [Array<Types::StandardsSubscriptionRequest>]
|
4331
4331
|
#
|
4332
4332
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchEnableStandardsRequest AWS API Documentation
|
@@ -4855,19 +4855,19 @@ module Aws::SecurityHub
|
|
4855
4855
|
end
|
4856
4856
|
|
4857
4857
|
# Exclusive to findings that are generated as the result of a check run
|
4858
|
-
# against a specific rule in a supported standard, such as CIS
|
4859
|
-
# Foundations. Contains
|
4858
|
+
# against a specific rule in a supported security standard, such as CIS
|
4859
|
+
# AWS Foundations. Contains security standard-related finding details.
|
4860
4860
|
#
|
4861
4861
|
# Values include the following:
|
4862
4862
|
#
|
4863
4863
|
# * Allowed values are the following:
|
4864
4864
|
#
|
4865
|
-
# * `PASSED` -
|
4865
|
+
# * `PASSED` - Standards check passed for all evaluated resources.
|
4866
4866
|
#
|
4867
4867
|
# * `WARNING` - Some information is missing or this check is not
|
4868
4868
|
# supported given your configuration.
|
4869
4869
|
#
|
4870
|
-
# * `FAILED` -
|
4870
|
+
# * `FAILED` - Standards check failed for at least one evaluated
|
4871
4871
|
# resource.
|
4872
4872
|
#
|
4873
4873
|
# * `NOT_AVAILABLE` - Check could not be performed due to a service
|
@@ -4885,7 +4885,7 @@ module Aws::SecurityHub
|
|
4885
4885
|
# }
|
4886
4886
|
#
|
4887
4887
|
# @!attribute [rw] status
|
4888
|
-
# The result of a
|
4888
|
+
# The result of a standards check.
|
4889
4889
|
# @return [String]
|
4890
4890
|
#
|
4891
4891
|
# @!attribute [rw] related_requirements
|
@@ -5979,7 +5979,7 @@ module Aws::SecurityHub
|
|
5979
5979
|
# @return [String]
|
5980
5980
|
#
|
5981
5981
|
# @!attribute [rw] max_results
|
5982
|
-
# The maximum number of
|
5982
|
+
# The maximum number of security standard controls to return.
|
5983
5983
|
# @return [Integer]
|
5984
5984
|
#
|
5985
5985
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeStandardsControlsRequest AWS API Documentation
|
@@ -5992,7 +5992,7 @@ module Aws::SecurityHub
|
|
5992
5992
|
end
|
5993
5993
|
|
5994
5994
|
# @!attribute [rw] controls
|
5995
|
-
# A list of
|
5995
|
+
# A list of security standards controls.
|
5996
5996
|
# @return [Array<Types::StandardsControl>]
|
5997
5997
|
#
|
5998
5998
|
# @!attribute [rw] next_token
|
@@ -7841,6 +7841,17 @@ module Aws::SecurityHub
|
|
7841
7841
|
# The categories assigned to the product.
|
7842
7842
|
# @return [Array<String>]
|
7843
7843
|
#
|
7844
|
+
# @!attribute [rw] integration_types
|
7845
|
+
# The types of integration that the product supports. Available values
|
7846
|
+
# are the following.
|
7847
|
+
#
|
7848
|
+
# * `SEND_FINDINGS_TO_SECURITY_HUB` - Indicates that the integration
|
7849
|
+
# sends findings to Security Hub.
|
7850
|
+
#
|
7851
|
+
# * `RECEIVE_FINDINGS_FROM_SECURITY_HUB` - Indicates that the
|
7852
|
+
# integration receives findings from Security Hub.
|
7853
|
+
# @return [Array<String>]
|
7854
|
+
#
|
7844
7855
|
# @!attribute [rw] marketplace_url
|
7845
7856
|
# The URL for the page that contains more information about the
|
7846
7857
|
# product.
|
@@ -7862,6 +7873,7 @@ module Aws::SecurityHub
|
|
7862
7873
|
:company_name,
|
7863
7874
|
:description,
|
7864
7875
|
:categories,
|
7876
|
+
:integration_types,
|
7865
7877
|
:marketplace_url,
|
7866
7878
|
:activation_url,
|
7867
7879
|
:product_subscription_resource_policy)
|
@@ -8982,14 +8994,14 @@ module Aws::SecurityHub
|
|
8982
8994
|
include Aws::Structure
|
8983
8995
|
end
|
8984
8996
|
|
8985
|
-
# Details for an individual
|
8997
|
+
# Details for an individual security standard control.
|
8986
8998
|
#
|
8987
8999
|
# @!attribute [rw] standards_control_arn
|
8988
|
-
# The ARN of the
|
9000
|
+
# The ARN of the security standard control.
|
8989
9001
|
# @return [String]
|
8990
9002
|
#
|
8991
9003
|
# @!attribute [rw] control_status
|
8992
|
-
# The current status of the
|
9004
|
+
# The current status of the security standard control. Indicates
|
8993
9005
|
# whether the control is enabled or disabled. Security Hub does not
|
8994
9006
|
# check against disabled controls.
|
8995
9007
|
# @return [String]
|
@@ -9000,20 +9012,20 @@ module Aws::SecurityHub
|
|
9000
9012
|
# @return [String]
|
9001
9013
|
#
|
9002
9014
|
# @!attribute [rw] control_status_updated_at
|
9003
|
-
# The date and time that the status of the
|
9015
|
+
# The date and time that the status of the security standard control
|
9004
9016
|
# was most recently updated.
|
9005
9017
|
# @return [Time]
|
9006
9018
|
#
|
9007
9019
|
# @!attribute [rw] control_id
|
9008
|
-
# The identifier of the
|
9020
|
+
# The identifier of the security standard control.
|
9009
9021
|
# @return [String]
|
9010
9022
|
#
|
9011
9023
|
# @!attribute [rw] title
|
9012
|
-
# The title of the
|
9024
|
+
# The title of the security standard control.
|
9013
9025
|
# @return [String]
|
9014
9026
|
#
|
9015
9027
|
# @!attribute [rw] description
|
9016
|
-
# The longer description of the
|
9028
|
+
# The longer description of the security standard control. Provides
|
9017
9029
|
# information about what the control is checking for.
|
9018
9030
|
# @return [String]
|
9019
9031
|
#
|
@@ -9023,11 +9035,11 @@ module Aws::SecurityHub
|
|
9023
9035
|
# @return [String]
|
9024
9036
|
#
|
9025
9037
|
# @!attribute [rw] severity_rating
|
9026
|
-
# The severity of findings generated from this
|
9038
|
+
# The severity of findings generated from this security standard
|
9027
9039
|
# control.
|
9028
9040
|
#
|
9029
9041
|
# The finding severity is based on an assessment of how easy it would
|
9030
|
-
# be to compromise AWS resources if the
|
9042
|
+
# be to compromise AWS resources if the issue is detected.
|
9031
9043
|
# @return [String]
|
9032
9044
|
#
|
9033
9045
|
# @!attribute [rw] related_requirements
|
@@ -10464,15 +10476,15 @@ module Aws::SecurityHub
|
|
10464
10476
|
# }
|
10465
10477
|
#
|
10466
10478
|
# @!attribute [rw] standards_control_arn
|
10467
|
-
# The ARN of the
|
10479
|
+
# The ARN of the security standard control to enable or disable.
|
10468
10480
|
# @return [String]
|
10469
10481
|
#
|
10470
10482
|
# @!attribute [rw] control_status
|
10471
|
-
# The updated status of the
|
10483
|
+
# The updated status of the security standard control.
|
10472
10484
|
# @return [String]
|
10473
10485
|
#
|
10474
10486
|
# @!attribute [rw] disabled_reason
|
10475
|
-
# A description of the reason why you are disabling a
|
10487
|
+
# A description of the reason why you are disabling a security
|
10476
10488
|
# standard control.
|
10477
10489
|
# @return [String]
|
10478
10490
|
#
|
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.19.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: 2020-02-
|
11
|
+
date: 2020-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|