aws-sdk-securityhub 1.21.0 → 1.26.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 +262 -20
- data/lib/aws-sdk-securityhub/client_api.rb +70 -0
- data/lib/aws-sdk-securityhub/resource.rb +1 -7
- data/lib/aws-sdk-securityhub/types.rb +467 -70
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97b63fc1ed648cfa077f327165a46e318c368404501bf1470645e4e912f34786
|
4
|
+
data.tar.gz: a848d3aecca8d39319d4750692beba03e2561d2fb6de32d4f4821cf9581de60d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68cc7e808f18b1ef6cd12a4471d8044f1710d2861bbf0065fa82f29860210f5b06af31a59924ac3f2479d19815ee703cd9f2895affc6ba38e81f97a797b4ac3a
|
7
|
+
data.tar.gz: 45d37c7e7131cf258369151ad089862f9e3141f7bcfa58b7892356c1cd59df1a9dee50aeac501f5592e7fdd928a56f416866df4803e67acf973eaa368d51cb69
|
data/lib/aws-sdk-securityhub.rb
CHANGED
@@ -105,7 +105,7 @@ module Aws::SecurityHub
|
|
105
105
|
# @option options [required, String] :region
|
106
106
|
# The AWS region to connect to. The configured `:region` is
|
107
107
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
108
|
+
# a default `:region` is searched for in the following locations:
|
109
109
|
#
|
110
110
|
# * `Aws.config[:region]`
|
111
111
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +161,7 @@ module Aws::SecurityHub
|
|
161
161
|
# @option options [String] :endpoint
|
162
162
|
# The client endpoint is normally constructed from the `:region`
|
163
163
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
164
|
+
# to test endpoints. This should be a valid HTTP(S) URI.
|
165
165
|
#
|
166
166
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
167
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +176,7 @@ module Aws::SecurityHub
|
|
176
176
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
177
|
#
|
178
178
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
179
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
180
|
#
|
181
181
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
182
|
# The log formatter.
|
@@ -269,8 +269,7 @@ module Aws::SecurityHub
|
|
269
269
|
#
|
270
270
|
# @option options [Integer] :http_read_timeout (60) The default
|
271
271
|
# number of seconds to wait for response data. This value can
|
272
|
-
# safely be set
|
273
|
-
# per-request on the session yielded by {#session_for}.
|
272
|
+
# safely be set per-request on the session.
|
274
273
|
#
|
275
274
|
# @option options [Float] :http_idle_timeout (5) The number of
|
276
275
|
# seconds a connection is allowed to sit idle before it is
|
@@ -282,7 +281,7 @@ module Aws::SecurityHub
|
|
282
281
|
# request body. This option has no effect unless the request has
|
283
282
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
284
283
|
# disables this behaviour. This value can safely be set per
|
285
|
-
# request on the session
|
284
|
+
# request on the session.
|
286
285
|
#
|
287
286
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
288
287
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -438,6 +437,28 @@ module Aws::SecurityHub
|
|
438
437
|
# The maximum allowed size for a finding is 240 Kb. An error is returned
|
439
438
|
# for any finding larger than 240 Kb.
|
440
439
|
#
|
440
|
+
# After a finding is created, `BatchImportFindings` cannot be used to
|
441
|
+
# update the following finding fields and objects, which Security Hub
|
442
|
+
# customers use to manage their investigation workflow.
|
443
|
+
#
|
444
|
+
# * `Confidence`
|
445
|
+
#
|
446
|
+
# * `Criticality`
|
447
|
+
#
|
448
|
+
# * `Note`
|
449
|
+
#
|
450
|
+
# * `RelatedFindings`
|
451
|
+
#
|
452
|
+
# * `Severity`
|
453
|
+
#
|
454
|
+
# * `Types`
|
455
|
+
#
|
456
|
+
# * `UserDefinedFields`
|
457
|
+
#
|
458
|
+
# * `VerificationState`
|
459
|
+
#
|
460
|
+
# * `Workflow`
|
461
|
+
#
|
441
462
|
# @option params [required, Array<Types::AwsSecurityFinding>] :findings
|
442
463
|
# A list of findings to import. To successfully import a finding, it
|
443
464
|
# must follow the [AWS Security Finding Format][1]. Maximum of 100
|
@@ -472,6 +493,7 @@ module Aws::SecurityHub
|
|
472
493
|
# product: 1.0,
|
473
494
|
# label: "INFORMATIONAL", # accepts INFORMATIONAL, LOW, MEDIUM, HIGH, CRITICAL
|
474
495
|
# normalized: 1,
|
496
|
+
# original: "NonEmptyString",
|
475
497
|
# },
|
476
498
|
# confidence: 1,
|
477
499
|
# criticality: 1,
|
@@ -922,6 +944,12 @@ module Aws::SecurityHub
|
|
922
944
|
# compliance: {
|
923
945
|
# status: "PASSED", # accepts PASSED, WARNING, FAILED, NOT_AVAILABLE
|
924
946
|
# related_requirements: ["NonEmptyString"],
|
947
|
+
# status_reasons: [
|
948
|
+
# {
|
949
|
+
# reason_code: "NonEmptyString", # required
|
950
|
+
# description: "NonEmptyString",
|
951
|
+
# },
|
952
|
+
# ],
|
925
953
|
# },
|
926
954
|
# verification_state: "UNKNOWN", # accepts UNKNOWN, TRUE_POSITIVE, FALSE_POSITIVE, BENIGN_POSITIVE
|
927
955
|
# workflow_state: "NEW", # accepts NEW, ASSIGNED, IN_PROGRESS, DEFERRED, RESOLVED
|
@@ -962,6 +990,172 @@ module Aws::SecurityHub
|
|
962
990
|
req.send_request(options)
|
963
991
|
end
|
964
992
|
|
993
|
+
# Used by Security Hub customers to update information about their
|
994
|
+
# investigation into a finding. Requested by master accounts or member
|
995
|
+
# accounts. Master accounts can update findings for their account and
|
996
|
+
# their member accounts. Member accounts can update findings for their
|
997
|
+
# account.
|
998
|
+
#
|
999
|
+
# Updates from `BatchUpdateFindings` do not affect the value of
|
1000
|
+
# `UpdatedAt` for a finding.
|
1001
|
+
#
|
1002
|
+
# Master accounts can use `BatchUpdateFindings` to update the following
|
1003
|
+
# finding fields and objects.
|
1004
|
+
#
|
1005
|
+
# * `Confidence`
|
1006
|
+
#
|
1007
|
+
# * `Criticality`
|
1008
|
+
#
|
1009
|
+
# * `Note`
|
1010
|
+
#
|
1011
|
+
# * `RelatedFindings`
|
1012
|
+
#
|
1013
|
+
# * `Severity`
|
1014
|
+
#
|
1015
|
+
# * `Types`
|
1016
|
+
#
|
1017
|
+
# * `UserDefinedFields`
|
1018
|
+
#
|
1019
|
+
# * `VerificationState`
|
1020
|
+
#
|
1021
|
+
# * `Workflow`
|
1022
|
+
#
|
1023
|
+
# Member accounts can only use `BatchUpdateFindings` to update the Note
|
1024
|
+
# object.
|
1025
|
+
#
|
1026
|
+
# @option params [required, Array<Types::AwsSecurityFindingIdentifier>] :finding_identifiers
|
1027
|
+
# The list of findings to update. `BatchUpdateFindings` can be used to
|
1028
|
+
# update up to 100 findings at a time.
|
1029
|
+
#
|
1030
|
+
# For each finding, the list provides the finding identifier and the ARN
|
1031
|
+
# of the finding provider.
|
1032
|
+
#
|
1033
|
+
# @option params [Types::NoteUpdate] :note
|
1034
|
+
# The updated note.
|
1035
|
+
#
|
1036
|
+
# @option params [Types::SeverityUpdate] :severity
|
1037
|
+
# Used to update the finding severity.
|
1038
|
+
#
|
1039
|
+
# @option params [String] :verification_state
|
1040
|
+
# Indicates the veracity of a finding.
|
1041
|
+
#
|
1042
|
+
# The available values for `VerificationState` are as follows.
|
1043
|
+
#
|
1044
|
+
# * `UNKNOWN` – The default disposition of a security finding
|
1045
|
+
#
|
1046
|
+
# * `TRUE_POSITIVE` – The security finding is confirmed
|
1047
|
+
#
|
1048
|
+
# * `FALSE_POSITIVE` – The security finding was determined to be a false
|
1049
|
+
# alarm
|
1050
|
+
#
|
1051
|
+
# * `BENIGN_POSITIVE` – A special case of `TRUE_POSITIVE` where the
|
1052
|
+
# finding doesn't pose any threat, is expected, or both
|
1053
|
+
#
|
1054
|
+
# @option params [Integer] :confidence
|
1055
|
+
# The updated value for the finding confidence. Confidence is defined as
|
1056
|
+
# the likelihood that a finding accurately identifies the behavior or
|
1057
|
+
# issue that it was intended to identify.
|
1058
|
+
#
|
1059
|
+
# Confidence is scored on a 0-100 basis using a ratio scale, where 0
|
1060
|
+
# means zero percent confidence and 100 means 100 percent confidence.
|
1061
|
+
#
|
1062
|
+
# @option params [Integer] :criticality
|
1063
|
+
# The updated value for the level of importance assigned to the
|
1064
|
+
# resources associated with the findings.
|
1065
|
+
#
|
1066
|
+
# A score of 0 means that the underlying resources have no criticality,
|
1067
|
+
# and a score of 100 is reserved for the most critical resources.
|
1068
|
+
#
|
1069
|
+
# @option params [Array<String>] :types
|
1070
|
+
# One or more finding types in the format of
|
1071
|
+
# namespace/category/classifier that classify a finding.
|
1072
|
+
#
|
1073
|
+
# Valid namespace values are as follows.
|
1074
|
+
#
|
1075
|
+
# * Software and Configuration Checks
|
1076
|
+
#
|
1077
|
+
# * TTPs
|
1078
|
+
#
|
1079
|
+
# * Effects
|
1080
|
+
#
|
1081
|
+
# * Unusual Behaviors
|
1082
|
+
#
|
1083
|
+
# * Sensitive Data Identifications
|
1084
|
+
#
|
1085
|
+
# @option params [Hash<String,String>] :user_defined_fields
|
1086
|
+
# A list of name/value string pairs associated with the finding. These
|
1087
|
+
# are custom, user-defined fields added to a finding.
|
1088
|
+
#
|
1089
|
+
# @option params [Types::WorkflowUpdate] :workflow
|
1090
|
+
# Used to update the workflow status of a finding.
|
1091
|
+
#
|
1092
|
+
# The workflow status indicates the progress of the investigation into
|
1093
|
+
# the finding.
|
1094
|
+
#
|
1095
|
+
# @option params [Array<Types::RelatedFinding>] :related_findings
|
1096
|
+
# A list of findings that are related to the updated findings.
|
1097
|
+
#
|
1098
|
+
# @return [Types::BatchUpdateFindingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1099
|
+
#
|
1100
|
+
# * {Types::BatchUpdateFindingsResponse#processed_findings #processed_findings} => Array<Types::AwsSecurityFindingIdentifier>
|
1101
|
+
# * {Types::BatchUpdateFindingsResponse#unprocessed_findings #unprocessed_findings} => Array<Types::BatchUpdateFindingsUnprocessedFinding>
|
1102
|
+
#
|
1103
|
+
# @example Request syntax with placeholder values
|
1104
|
+
#
|
1105
|
+
# resp = client.batch_update_findings({
|
1106
|
+
# finding_identifiers: [ # required
|
1107
|
+
# {
|
1108
|
+
# id: "NonEmptyString", # required
|
1109
|
+
# product_arn: "NonEmptyString", # required
|
1110
|
+
# },
|
1111
|
+
# ],
|
1112
|
+
# note: {
|
1113
|
+
# text: "NonEmptyString", # required
|
1114
|
+
# updated_by: "NonEmptyString", # required
|
1115
|
+
# },
|
1116
|
+
# severity: {
|
1117
|
+
# normalized: 1,
|
1118
|
+
# product: 1.0,
|
1119
|
+
# label: "INFORMATIONAL", # accepts INFORMATIONAL, LOW, MEDIUM, HIGH, CRITICAL
|
1120
|
+
# },
|
1121
|
+
# verification_state: "UNKNOWN", # accepts UNKNOWN, TRUE_POSITIVE, FALSE_POSITIVE, BENIGN_POSITIVE
|
1122
|
+
# confidence: 1,
|
1123
|
+
# criticality: 1,
|
1124
|
+
# types: ["NonEmptyString"],
|
1125
|
+
# user_defined_fields: {
|
1126
|
+
# "NonEmptyString" => "NonEmptyString",
|
1127
|
+
# },
|
1128
|
+
# workflow: {
|
1129
|
+
# status: "NEW", # accepts NEW, NOTIFIED, RESOLVED, SUPPRESSED
|
1130
|
+
# },
|
1131
|
+
# related_findings: [
|
1132
|
+
# {
|
1133
|
+
# product_arn: "NonEmptyString", # required
|
1134
|
+
# id: "NonEmptyString", # required
|
1135
|
+
# },
|
1136
|
+
# ],
|
1137
|
+
# })
|
1138
|
+
#
|
1139
|
+
# @example Response structure
|
1140
|
+
#
|
1141
|
+
# resp.processed_findings #=> Array
|
1142
|
+
# resp.processed_findings[0].id #=> String
|
1143
|
+
# resp.processed_findings[0].product_arn #=> String
|
1144
|
+
# resp.unprocessed_findings #=> Array
|
1145
|
+
# resp.unprocessed_findings[0].finding_identifier.id #=> String
|
1146
|
+
# resp.unprocessed_findings[0].finding_identifier.product_arn #=> String
|
1147
|
+
# resp.unprocessed_findings[0].error_code #=> String
|
1148
|
+
# resp.unprocessed_findings[0].error_message #=> String
|
1149
|
+
#
|
1150
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchUpdateFindings AWS API Documentation
|
1151
|
+
#
|
1152
|
+
# @overload batch_update_findings(params = {})
|
1153
|
+
# @param [Hash] params ({})
|
1154
|
+
def batch_update_findings(params = {}, options = {})
|
1155
|
+
req = build_request(:batch_update_findings, params)
|
1156
|
+
req.send_request(options)
|
1157
|
+
end
|
1158
|
+
|
965
1159
|
# Creates a custom action target in Security Hub.
|
966
1160
|
#
|
967
1161
|
# You can use custom actions on findings and insights in Security Hub to
|
@@ -1017,8 +1211,10 @@ module Aws::SecurityHub
|
|
1017
1211
|
# defined in the filters.
|
1018
1212
|
#
|
1019
1213
|
# @option params [required, String] :group_by_attribute
|
1020
|
-
# The attribute used
|
1021
|
-
# insight.
|
1214
|
+
# The attribute used to group the findings for the insight. The grouping
|
1215
|
+
# attribute identifies the type of item that the insight applies to. For
|
1216
|
+
# example, if an insight is grouped by resource identifier, then the
|
1217
|
+
# insight produces a list of resource identifiers.
|
1022
1218
|
#
|
1023
1219
|
# @return [Types::CreateInsightResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1024
1220
|
#
|
@@ -1611,7 +1807,7 @@ module Aws::SecurityHub
|
|
1611
1807
|
# Security Hub.
|
1612
1808
|
#
|
1613
1809
|
# If the account owner accepts the invitation, the account becomes a
|
1614
|
-
# member account in Security Hub
|
1810
|
+
# member account in Security Hub. A permissions policy is added that
|
1615
1811
|
# permits the master account to view the findings generated in the
|
1616
1812
|
# member account. When Security Hub is enabled in the invited account,
|
1617
1813
|
# findings start to be sent to both the member and master accounts.
|
@@ -1831,6 +2027,8 @@ module Aws::SecurityHub
|
|
1831
2027
|
# * {Types::DescribeActionTargetsResponse#action_targets #action_targets} => Array<Types::ActionTarget>
|
1832
2028
|
# * {Types::DescribeActionTargetsResponse#next_token #next_token} => String
|
1833
2029
|
#
|
2030
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2031
|
+
#
|
1834
2032
|
# @example Request syntax with placeholder values
|
1835
2033
|
#
|
1836
2034
|
# resp = client.describe_action_targets({
|
@@ -1908,6 +2106,8 @@ module Aws::SecurityHub
|
|
1908
2106
|
# * {Types::DescribeProductsResponse#products #products} => Array<Types::Product>
|
1909
2107
|
# * {Types::DescribeProductsResponse#next_token #next_token} => String
|
1910
2108
|
#
|
2109
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2110
|
+
#
|
1911
2111
|
# @example Request syntax with placeholder values
|
1912
2112
|
#
|
1913
2113
|
# resp = client.describe_products({
|
@@ -1962,6 +2162,8 @@ module Aws::SecurityHub
|
|
1962
2162
|
# * {Types::DescribeStandardsResponse#standards #standards} => Array<Types::Standard>
|
1963
2163
|
# * {Types::DescribeStandardsResponse#next_token #next_token} => String
|
1964
2164
|
#
|
2165
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2166
|
+
#
|
1965
2167
|
# @example Request syntax with placeholder values
|
1966
2168
|
#
|
1967
2169
|
# resp = client.describe_standards({
|
@@ -1975,6 +2177,7 @@ module Aws::SecurityHub
|
|
1975
2177
|
# resp.standards[0].standards_arn #=> String
|
1976
2178
|
# resp.standards[0].name #=> String
|
1977
2179
|
# resp.standards[0].description #=> String
|
2180
|
+
# resp.standards[0].enabled_by_default #=> Boolean
|
1978
2181
|
# resp.next_token #=> String
|
1979
2182
|
#
|
1980
2183
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeStandards AWS API Documentation
|
@@ -2013,6 +2216,8 @@ module Aws::SecurityHub
|
|
2013
2216
|
# * {Types::DescribeStandardsControlsResponse#controls #controls} => Array<Types::StandardsControl>
|
2014
2217
|
# * {Types::DescribeStandardsControlsResponse#next_token #next_token} => String
|
2015
2218
|
#
|
2219
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2220
|
+
#
|
2016
2221
|
# @example Request syntax with placeholder values
|
2017
2222
|
#
|
2018
2223
|
# resp = client.describe_standards_controls({
|
@@ -2137,8 +2342,8 @@ module Aws::SecurityHub
|
|
2137
2342
|
# Enables the integration of a partner product with Security Hub.
|
2138
2343
|
# Integrated products send findings to Security Hub.
|
2139
2344
|
#
|
2140
|
-
# When you enable a product integration, a
|
2141
|
-
# permission for the product to send findings to Security Hub is
|
2345
|
+
# When you enable a product integration, a permissions policy that
|
2346
|
+
# grants permission for the product to send findings to Security Hub is
|
2142
2347
|
# applied.
|
2143
2348
|
#
|
2144
2349
|
# @option params [required, String] :product_arn
|
@@ -2171,15 +2376,25 @@ module Aws::SecurityHub
|
|
2171
2376
|
# Region you specify in the request.
|
2172
2377
|
#
|
2173
2378
|
# When you enable Security Hub, you grant to Security Hub the
|
2174
|
-
# permissions necessary to gather findings from
|
2175
|
-
#
|
2379
|
+
# permissions necessary to gather findings from other services that are
|
2380
|
+
# integrated with Security Hub.
|
2176
2381
|
#
|
2177
2382
|
# When you use the `EnableSecurityHub` operation to enable Security Hub,
|
2178
|
-
# you also automatically enable the
|
2179
|
-
#
|
2180
|
-
#
|
2181
|
-
#
|
2182
|
-
#
|
2383
|
+
# you also automatically enable the following standards.
|
2384
|
+
#
|
2385
|
+
# * CIS AWS Foundations
|
2386
|
+
#
|
2387
|
+
# * AWS Foundational Security Best Practices
|
2388
|
+
#
|
2389
|
+
# You do not enable the Payment Card Industry Data Security Standard
|
2390
|
+
# (PCI DSS) standard.
|
2391
|
+
#
|
2392
|
+
# To not enable the automatically enabled standards, set
|
2393
|
+
# `EnableDefaultStandards` to `false`.
|
2394
|
+
#
|
2395
|
+
# After you enable Security Hub, to enable a standard, use the `
|
2396
|
+
# BatchEnableStandards ` operation. To disable a standard, use the `
|
2397
|
+
# BatchDisableStandards ` operation.
|
2183
2398
|
#
|
2184
2399
|
# To learn more, see [Setting Up AWS Security Hub][1] in the *AWS
|
2185
2400
|
# Security Hub User Guide*.
|
@@ -2189,7 +2404,14 @@ module Aws::SecurityHub
|
|
2189
2404
|
# [1]: https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-settingup.html
|
2190
2405
|
#
|
2191
2406
|
# @option params [Hash<String,String>] :tags
|
2192
|
-
# The tags to add to the
|
2407
|
+
# The tags to add to the hub resource when you enable Security Hub.
|
2408
|
+
#
|
2409
|
+
# @option params [Boolean] :enable_default_standards
|
2410
|
+
# Whether to enable the security standards that Security Hub has
|
2411
|
+
# designated as automatically enabled. If you do not provide a value for
|
2412
|
+
# `EnableDefaultStandards`, it is set to `true`. To not enable the
|
2413
|
+
# automatically enabled standards, set `EnableDefaultStandards` to
|
2414
|
+
# `false`.
|
2193
2415
|
#
|
2194
2416
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2195
2417
|
#
|
@@ -2199,6 +2421,7 @@ module Aws::SecurityHub
|
|
2199
2421
|
# tags: {
|
2200
2422
|
# "TagKey" => "TagValue",
|
2201
2423
|
# },
|
2424
|
+
# enable_default_standards: false,
|
2202
2425
|
# })
|
2203
2426
|
#
|
2204
2427
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/EnableSecurityHub AWS API Documentation
|
@@ -2233,6 +2456,8 @@ module Aws::SecurityHub
|
|
2233
2456
|
# * {Types::GetEnabledStandardsResponse#standards_subscriptions #standards_subscriptions} => Array<Types::StandardsSubscription>
|
2234
2457
|
# * {Types::GetEnabledStandardsResponse#next_token #next_token} => String
|
2235
2458
|
#
|
2459
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2460
|
+
#
|
2236
2461
|
# @example Request syntax with placeholder values
|
2237
2462
|
#
|
2238
2463
|
# resp = client.get_enabled_standards({
|
@@ -2285,6 +2510,8 @@ module Aws::SecurityHub
|
|
2285
2510
|
# * {Types::GetFindingsResponse#findings #findings} => Array<Types::AwsSecurityFinding>
|
2286
2511
|
# * {Types::GetFindingsResponse#next_token #next_token} => String
|
2287
2512
|
#
|
2513
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2514
|
+
#
|
2288
2515
|
# @example Request syntax with placeholder values
|
2289
2516
|
#
|
2290
2517
|
# resp = client.get_findings({
|
@@ -2870,6 +3097,7 @@ module Aws::SecurityHub
|
|
2870
3097
|
# resp.findings[0].severity.product #=> Float
|
2871
3098
|
# resp.findings[0].severity.label #=> String, one of "INFORMATIONAL", "LOW", "MEDIUM", "HIGH", "CRITICAL"
|
2872
3099
|
# resp.findings[0].severity.normalized #=> Integer
|
3100
|
+
# resp.findings[0].severity.original #=> String
|
2873
3101
|
# resp.findings[0].confidence #=> Integer
|
2874
3102
|
# resp.findings[0].criticality #=> Integer
|
2875
3103
|
# resp.findings[0].title #=> String
|
@@ -3161,6 +3389,9 @@ module Aws::SecurityHub
|
|
3161
3389
|
# resp.findings[0].compliance.status #=> String, one of "PASSED", "WARNING", "FAILED", "NOT_AVAILABLE"
|
3162
3390
|
# resp.findings[0].compliance.related_requirements #=> Array
|
3163
3391
|
# resp.findings[0].compliance.related_requirements[0] #=> String
|
3392
|
+
# resp.findings[0].compliance.status_reasons #=> Array
|
3393
|
+
# resp.findings[0].compliance.status_reasons[0].reason_code #=> String
|
3394
|
+
# resp.findings[0].compliance.status_reasons[0].description #=> String
|
3164
3395
|
# resp.findings[0].verification_state #=> String, one of "UNKNOWN", "TRUE_POSITIVE", "FALSE_POSITIVE", "BENIGN_POSITIVE"
|
3165
3396
|
# resp.findings[0].workflow_state #=> String, one of "NEW", "ASSIGNED", "IN_PROGRESS", "DEFERRED", "RESOLVED"
|
3166
3397
|
# resp.findings[0].workflow.status #=> String, one of "NEW", "NOTIFIED", "RESOLVED", "SUPPRESSED"
|
@@ -3238,6 +3469,8 @@ module Aws::SecurityHub
|
|
3238
3469
|
# * {Types::GetInsightsResponse#insights #insights} => Array<Types::Insight>
|
3239
3470
|
# * {Types::GetInsightsResponse#next_token #next_token} => String
|
3240
3471
|
#
|
3472
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3473
|
+
#
|
3241
3474
|
# @example Request syntax with placeholder values
|
3242
3475
|
#
|
3243
3476
|
# resp = client.get_insights({
|
@@ -3686,6 +3919,8 @@ module Aws::SecurityHub
|
|
3686
3919
|
# * {Types::ListEnabledProductsForImportResponse#product_subscriptions #product_subscriptions} => Array<String>
|
3687
3920
|
# * {Types::ListEnabledProductsForImportResponse#next_token #next_token} => String
|
3688
3921
|
#
|
3922
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3923
|
+
#
|
3689
3924
|
# @example Request syntax with placeholder values
|
3690
3925
|
#
|
3691
3926
|
# resp = client.list_enabled_products_for_import({
|
@@ -3728,6 +3963,8 @@ module Aws::SecurityHub
|
|
3728
3963
|
# * {Types::ListInvitationsResponse#invitations #invitations} => Array<Types::Invitation>
|
3729
3964
|
# * {Types::ListInvitationsResponse#next_token #next_token} => String
|
3730
3965
|
#
|
3966
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3967
|
+
#
|
3731
3968
|
# @example Request syntax with placeholder values
|
3732
3969
|
#
|
3733
3970
|
# resp = client.list_invitations({
|
@@ -3784,6 +4021,8 @@ module Aws::SecurityHub
|
|
3784
4021
|
# * {Types::ListMembersResponse#members #members} => Array<Types::Member>
|
3785
4022
|
# * {Types::ListMembersResponse#next_token #next_token} => String
|
3786
4023
|
#
|
4024
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4025
|
+
#
|
3787
4026
|
# @example Request syntax with placeholder values
|
3788
4027
|
#
|
3789
4028
|
# resp = client.list_members({
|
@@ -3926,6 +4165,9 @@ module Aws::SecurityHub
|
|
3926
4165
|
req.send_request(options)
|
3927
4166
|
end
|
3928
4167
|
|
4168
|
+
# `UpdateFindings` is deprecated. Instead of `UpdateFindings`, use
|
4169
|
+
# `BatchUpdateFindings`.
|
4170
|
+
#
|
3929
4171
|
# Updates the `Note` and `RecordState` of the Security Hub-aggregated
|
3930
4172
|
# findings that the filter attributes specify. Any member account that
|
3931
4173
|
# can view the finding also sees the update to the finding.
|
@@ -5150,7 +5392,7 @@ module Aws::SecurityHub
|
|
5150
5392
|
params: params,
|
5151
5393
|
config: config)
|
5152
5394
|
context[:gem_name] = 'aws-sdk-securityhub'
|
5153
|
-
context[:gem_version] = '1.
|
5395
|
+
context[:gem_version] = '1.26.0'
|
5154
5396
|
Seahorse::Client::Request.new(handlers, context)
|
5155
5397
|
end
|
5156
5398
|
|