aws-sdk-securityhub 1.162.0 → 1.163.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-securityhub/client.rb +63 -1
- data/lib/aws-sdk-securityhub/client_api.rb +59 -0
- data/lib/aws-sdk-securityhub/types.rb +125 -0
- data/lib/aws-sdk-securityhub.rb +1 -1
- data/sig/client.rbs +14 -0
- data/sig/types.rbs +29 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: be585dab38b6766a0e3f3c81ab74c1e010da1e46fa3943926790f21329b89570
|
|
4
|
+
data.tar.gz: 6dae5b1fe0b8005e6a578fa5020642755274da81be204e2461ab61b590e0cf0b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 891568035eb8c97bf8532bcc806fe47b344ab945db4f015543758651a59b2473c856af42fd833a75c98d1a8c6c26c8acc92f6e50ba36e3ea4cd9eeb13ab6dfd3
|
|
7
|
+
data.tar.gz: eb3c3de3241414ce13dc963467883d1ee12f2eab2a3b0d127b31f0217cace1f39dd82391c94998e9ef828ab6eb36fe00ea9e4329dea2136508bd5201d70d983a
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.163.0 (2026-08-06)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Security Hub is adding a new public API, ListFreeTrialStatusesV2 to describe the free trial statuses of the Security Hub service and its opt-in features.
|
|
8
|
+
|
|
4
9
|
1.162.0 (2026-07-21)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.163.0
|
|
@@ -10190,6 +10190,68 @@ module Aws::SecurityHub
|
|
|
10190
10190
|
req.send_request(options)
|
|
10191
10191
|
end
|
|
10192
10192
|
|
|
10193
|
+
# Lists the free trial status of Security Hub features. A delegated
|
|
10194
|
+
# Security Hub administrator can list the status for accounts in its
|
|
10195
|
+
# organization. Any other account can list the status only for itself.
|
|
10196
|
+
# Free trial status remains available after a feature is disabled.
|
|
10197
|
+
#
|
|
10198
|
+
# @option params [Array<String>] :account_ids
|
|
10199
|
+
# The Amazon Web Services account identifiers to list free trial status
|
|
10200
|
+
# for. You can specify accounts other than your own only if you are a
|
|
10201
|
+
# delegated Security Hub administrator.
|
|
10202
|
+
#
|
|
10203
|
+
# @option params [Array<String>] :statuses
|
|
10204
|
+
# The free trial statuses to filter the results by. Valid values:
|
|
10205
|
+
#
|
|
10206
|
+
# * `ACTIVE` returns only features with an ongoing free trial period.
|
|
10207
|
+
#
|
|
10208
|
+
# * `INACTIVE` returns only features whose free trial period has ended,
|
|
10209
|
+
# or that never started.
|
|
10210
|
+
#
|
|
10211
|
+
# @option params [Integer] :max_results
|
|
10212
|
+
# The maximum number of results to return. If you don't specify a
|
|
10213
|
+
# value, Security Hub returns up to 100 results.
|
|
10214
|
+
#
|
|
10215
|
+
# @option params [String] :next_token
|
|
10216
|
+
# The pagination token to request the next page of results.
|
|
10217
|
+
#
|
|
10218
|
+
# @return [Types::ListFreeTrialStatusesV2Response] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
10219
|
+
#
|
|
10220
|
+
# * {Types::ListFreeTrialStatusesV2Response#account_free_trial_statuses #account_free_trial_statuses} => Array<Types::AccountFreeTrialStatus>
|
|
10221
|
+
# * {Types::ListFreeTrialStatusesV2Response#next_token #next_token} => String
|
|
10222
|
+
#
|
|
10223
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
10224
|
+
#
|
|
10225
|
+
# @example Request syntax with placeholder values
|
|
10226
|
+
#
|
|
10227
|
+
# resp = client.list_free_trial_statuses_v2({
|
|
10228
|
+
# account_ids: ["FreeTrialAccountId"],
|
|
10229
|
+
# statuses: ["ACTIVE"], # accepts ACTIVE, INACTIVE
|
|
10230
|
+
# max_results: 1,
|
|
10231
|
+
# next_token: "NextToken",
|
|
10232
|
+
# })
|
|
10233
|
+
#
|
|
10234
|
+
# @example Response structure
|
|
10235
|
+
#
|
|
10236
|
+
# resp.account_free_trial_statuses #=> Array
|
|
10237
|
+
# resp.account_free_trial_statuses[0].account_id #=> String
|
|
10238
|
+
# resp.account_free_trial_statuses[0].evaluated_at #=> Time
|
|
10239
|
+
# resp.account_free_trial_statuses[0].free_trial_statuses #=> Array
|
|
10240
|
+
# resp.account_free_trial_statuses[0].free_trial_statuses[0].feature_type #=> String, one of "SECURITY_HUB_V2", "SECURITY_HUB_V2_MULTI_CLOUD_AZURE"
|
|
10241
|
+
# resp.account_free_trial_statuses[0].free_trial_statuses[0].status #=> String, one of "ACTIVE", "INACTIVE"
|
|
10242
|
+
# resp.account_free_trial_statuses[0].free_trial_statuses[0].started_at #=> Time
|
|
10243
|
+
# resp.account_free_trial_statuses[0].free_trial_statuses[0].expires_at #=> Time
|
|
10244
|
+
# resp.next_token #=> String
|
|
10245
|
+
#
|
|
10246
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListFreeTrialStatusesV2 AWS API Documentation
|
|
10247
|
+
#
|
|
10248
|
+
# @overload list_free_trial_statuses_v2(params = {})
|
|
10249
|
+
# @param [Hash] params ({})
|
|
10250
|
+
def list_free_trial_statuses_v2(params = {}, options = {})
|
|
10251
|
+
req = build_request(:list_free_trial_statuses_v2, params)
|
|
10252
|
+
req.send_request(options)
|
|
10253
|
+
end
|
|
10254
|
+
|
|
10193
10255
|
# <note markdown="1"> We recommend using Organizations instead of Security Hub CSPM
|
|
10194
10256
|
# invitations to manage your member accounts. For information, see
|
|
10195
10257
|
# [Managing Security Hub CSPM administrator and member accounts with
|
|
@@ -13547,7 +13609,7 @@ module Aws::SecurityHub
|
|
|
13547
13609
|
tracer: tracer
|
|
13548
13610
|
)
|
|
13549
13611
|
context[:gem_name] = 'aws-sdk-securityhub'
|
|
13550
|
-
context[:gem_version] = '1.
|
|
13612
|
+
context[:gem_version] = '1.163.0'
|
|
13551
13613
|
Seahorse::Client::Request.new(handlers, context)
|
|
13552
13614
|
end
|
|
13553
13615
|
|
|
@@ -22,6 +22,8 @@ module Aws::SecurityHub
|
|
|
22
22
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
|
23
23
|
AccountDetails = Shapes::StructureShape.new(name: 'AccountDetails')
|
|
24
24
|
AccountDetailsList = Shapes::ListShape.new(name: 'AccountDetailsList')
|
|
25
|
+
AccountFreeTrialStatus = Shapes::StructureShape.new(name: 'AccountFreeTrialStatus')
|
|
26
|
+
AccountFreeTrialStatusList = Shapes::ListShape.new(name: 'AccountFreeTrialStatusList')
|
|
25
27
|
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
|
26
28
|
AccountIdList = Shapes::ListShape.new(name: 'AccountIdList')
|
|
27
29
|
Action = Shapes::StructureShape.new(name: 'Action')
|
|
@@ -960,6 +962,13 @@ module Aws::SecurityHub
|
|
|
960
962
|
FirewallPolicyStatelessCustomActionsList = Shapes::ListShape.new(name: 'FirewallPolicyStatelessCustomActionsList')
|
|
961
963
|
FirewallPolicyStatelessRuleGroupReferencesDetails = Shapes::StructureShape.new(name: 'FirewallPolicyStatelessRuleGroupReferencesDetails')
|
|
962
964
|
FirewallPolicyStatelessRuleGroupReferencesList = Shapes::ListShape.new(name: 'FirewallPolicyStatelessRuleGroupReferencesList')
|
|
965
|
+
FreeTrialAccountId = Shapes::StringShape.new(name: 'FreeTrialAccountId')
|
|
966
|
+
FreeTrialAccountIdList = Shapes::ListShape.new(name: 'FreeTrialAccountIdList')
|
|
967
|
+
FreeTrialStatus = Shapes::StructureShape.new(name: 'FreeTrialStatus')
|
|
968
|
+
FreeTrialStatusList = Shapes::ListShape.new(name: 'FreeTrialStatusList')
|
|
969
|
+
FreeTrialStatusValue = Shapes::StringShape.new(name: 'FreeTrialStatusValue')
|
|
970
|
+
FreeTrialStatusValueList = Shapes::ListShape.new(name: 'FreeTrialStatusValueList')
|
|
971
|
+
FreeTrialType = Shapes::StringShape.new(name: 'FreeTrialType')
|
|
963
972
|
GenerateRecommendedPolicyV2Request = Shapes::StructureShape.new(name: 'GenerateRecommendedPolicyV2Request')
|
|
964
973
|
GenerateRecommendedPolicyV2Response = Shapes::StructureShape.new(name: 'GenerateRecommendedPolicyV2Response')
|
|
965
974
|
GeneratorDetails = Shapes::StructureShape.new(name: 'GeneratorDetails')
|
|
@@ -1080,6 +1089,8 @@ module Aws::SecurityHub
|
|
|
1080
1089
|
ListEnabledProductsForImportResponse = Shapes::StructureShape.new(name: 'ListEnabledProductsForImportResponse')
|
|
1081
1090
|
ListFindingAggregatorsRequest = Shapes::StructureShape.new(name: 'ListFindingAggregatorsRequest')
|
|
1082
1091
|
ListFindingAggregatorsResponse = Shapes::StructureShape.new(name: 'ListFindingAggregatorsResponse')
|
|
1092
|
+
ListFreeTrialStatusesV2Request = Shapes::StructureShape.new(name: 'ListFreeTrialStatusesV2Request')
|
|
1093
|
+
ListFreeTrialStatusesV2Response = Shapes::StructureShape.new(name: 'ListFreeTrialStatusesV2Response')
|
|
1083
1094
|
ListInvitationsRequest = Shapes::StructureShape.new(name: 'ListInvitationsRequest')
|
|
1084
1095
|
ListInvitationsResponse = Shapes::StructureShape.new(name: 'ListInvitationsResponse')
|
|
1085
1096
|
ListMembersRequest = Shapes::StructureShape.new(name: 'ListMembersRequest')
|
|
@@ -1497,6 +1508,13 @@ module Aws::SecurityHub
|
|
|
1497
1508
|
|
|
1498
1509
|
AccountDetailsList.member = Shapes::ShapeRef.new(shape: AccountDetails)
|
|
1499
1510
|
|
|
1511
|
+
AccountFreeTrialStatus.add_member(:account_id, Shapes::ShapeRef.new(shape: FreeTrialAccountId, required: true, location_name: "AccountId"))
|
|
1512
|
+
AccountFreeTrialStatus.add_member(:evaluated_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "EvaluatedAt"))
|
|
1513
|
+
AccountFreeTrialStatus.add_member(:free_trial_statuses, Shapes::ShapeRef.new(shape: FreeTrialStatusList, required: true, location_name: "FreeTrialStatuses"))
|
|
1514
|
+
AccountFreeTrialStatus.struct_class = Types::AccountFreeTrialStatus
|
|
1515
|
+
|
|
1516
|
+
AccountFreeTrialStatusList.member = Shapes::ShapeRef.new(shape: AccountFreeTrialStatus)
|
|
1517
|
+
|
|
1500
1518
|
AccountIdList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
|
1501
1519
|
|
|
1502
1520
|
Action.add_member(:action_type, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "ActionType"))
|
|
@@ -6272,6 +6290,18 @@ module Aws::SecurityHub
|
|
|
6272
6290
|
|
|
6273
6291
|
FirewallPolicyStatelessRuleGroupReferencesList.member = Shapes::ShapeRef.new(shape: FirewallPolicyStatelessRuleGroupReferencesDetails)
|
|
6274
6292
|
|
|
6293
|
+
FreeTrialAccountIdList.member = Shapes::ShapeRef.new(shape: FreeTrialAccountId)
|
|
6294
|
+
|
|
6295
|
+
FreeTrialStatus.add_member(:feature_type, Shapes::ShapeRef.new(shape: FreeTrialType, required: true, location_name: "FeatureType"))
|
|
6296
|
+
FreeTrialStatus.add_member(:status, Shapes::ShapeRef.new(shape: FreeTrialStatusValue, required: true, location_name: "Status"))
|
|
6297
|
+
FreeTrialStatus.add_member(:started_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "StartedAt"))
|
|
6298
|
+
FreeTrialStatus.add_member(:expires_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "ExpiresAt"))
|
|
6299
|
+
FreeTrialStatus.struct_class = Types::FreeTrialStatus
|
|
6300
|
+
|
|
6301
|
+
FreeTrialStatusList.member = Shapes::ShapeRef.new(shape: FreeTrialStatus)
|
|
6302
|
+
|
|
6303
|
+
FreeTrialStatusValueList.member = Shapes::ShapeRef.new(shape: FreeTrialStatusValue)
|
|
6304
|
+
|
|
6275
6305
|
GenerateRecommendedPolicyV2Request.add_member(:metadata_uid, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location: "uri", location_name: "MetadataUid"))
|
|
6276
6306
|
GenerateRecommendedPolicyV2Request.struct_class = Types::GenerateRecommendedPolicyV2Request
|
|
6277
6307
|
|
|
@@ -6759,6 +6789,16 @@ module Aws::SecurityHub
|
|
|
6759
6789
|
ListFindingAggregatorsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
6760
6790
|
ListFindingAggregatorsResponse.struct_class = Types::ListFindingAggregatorsResponse
|
|
6761
6791
|
|
|
6792
|
+
ListFreeTrialStatusesV2Request.add_member(:account_ids, Shapes::ShapeRef.new(shape: FreeTrialAccountIdList, location_name: "AccountIds"))
|
|
6793
|
+
ListFreeTrialStatusesV2Request.add_member(:statuses, Shapes::ShapeRef.new(shape: FreeTrialStatusValueList, location_name: "Statuses"))
|
|
6794
|
+
ListFreeTrialStatusesV2Request.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
|
|
6795
|
+
ListFreeTrialStatusesV2Request.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
6796
|
+
ListFreeTrialStatusesV2Request.struct_class = Types::ListFreeTrialStatusesV2Request
|
|
6797
|
+
|
|
6798
|
+
ListFreeTrialStatusesV2Response.add_member(:account_free_trial_statuses, Shapes::ShapeRef.new(shape: AccountFreeTrialStatusList, required: true, location_name: "AccountFreeTrialStatuses"))
|
|
6799
|
+
ListFreeTrialStatusesV2Response.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
|
6800
|
+
ListFreeTrialStatusesV2Response.struct_class = Types::ListFreeTrialStatusesV2Response
|
|
6801
|
+
|
|
6762
6802
|
ListInvitationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: CrossAccountMaxResults, location: "querystring", location_name: "MaxResults"))
|
|
6763
6803
|
ListInvitationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "NextToken"))
|
|
6764
6804
|
ListInvitationsRequest.struct_class = Types::ListInvitationsRequest
|
|
@@ -9569,6 +9609,25 @@ module Aws::SecurityHub
|
|
|
9569
9609
|
)
|
|
9570
9610
|
end)
|
|
9571
9611
|
|
|
9612
|
+
api.add_operation(:list_free_trial_statuses_v2, Seahorse::Model::Operation.new.tap do |o|
|
|
9613
|
+
o.name = "ListFreeTrialStatusesV2"
|
|
9614
|
+
o.http_method = "POST"
|
|
9615
|
+
o.http_request_uri = "/freetrial/statusv2/list"
|
|
9616
|
+
o.input = Shapes::ShapeRef.new(shape: ListFreeTrialStatusesV2Request)
|
|
9617
|
+
o.output = Shapes::ShapeRef.new(shape: ListFreeTrialStatusesV2Response)
|
|
9618
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
9619
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
9620
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
9621
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
9622
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
9623
|
+
o[:pager] = Aws::Pager.new(
|
|
9624
|
+
limit_key: "max_results",
|
|
9625
|
+
tokens: {
|
|
9626
|
+
"next_token" => "next_token"
|
|
9627
|
+
}
|
|
9628
|
+
)
|
|
9629
|
+
end)
|
|
9630
|
+
|
|
9572
9631
|
api.add_operation(:list_invitations, Seahorse::Model::Operation.new.tap do |o|
|
|
9573
9632
|
o.name = "ListInvitations"
|
|
9574
9633
|
o.http_method = "GET"
|
|
@@ -194,6 +194,35 @@ module Aws::SecurityHub
|
|
|
194
194
|
include Aws::Structure
|
|
195
195
|
end
|
|
196
196
|
|
|
197
|
+
# The free trial status of each Security Hub feature for an account.
|
|
198
|
+
#
|
|
199
|
+
# @!attribute [rw] account_id
|
|
200
|
+
# The Amazon Web Services account identifier that the free trial
|
|
201
|
+
# statuses apply to.
|
|
202
|
+
# @return [String]
|
|
203
|
+
#
|
|
204
|
+
# @!attribute [rw] evaluated_at
|
|
205
|
+
# The date and time at which Security Hub evaluated the free trial
|
|
206
|
+
# statuses for this account. Every status in `FreeTrialStatuses`
|
|
207
|
+
# reflects this point in time.
|
|
208
|
+
# @return [Time]
|
|
209
|
+
#
|
|
210
|
+
# @!attribute [rw] free_trial_statuses
|
|
211
|
+
# An array of free trial statuses, one for each feature that has a
|
|
212
|
+
# free trial period for the account. The array is empty if the account
|
|
213
|
+
# has no free trial to report.
|
|
214
|
+
# @return [Array<Types::FreeTrialStatus>]
|
|
215
|
+
#
|
|
216
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AccountFreeTrialStatus AWS API Documentation
|
|
217
|
+
#
|
|
218
|
+
class AccountFreeTrialStatus < Struct.new(
|
|
219
|
+
:account_id,
|
|
220
|
+
:evaluated_at,
|
|
221
|
+
:free_trial_statuses)
|
|
222
|
+
SENSITIVE = []
|
|
223
|
+
include Aws::Structure
|
|
224
|
+
end
|
|
225
|
+
|
|
197
226
|
# Provides details about one of the following actions that affects or
|
|
198
227
|
# that was taken on a resource:
|
|
199
228
|
#
|
|
@@ -25866,6 +25895,49 @@ module Aws::SecurityHub
|
|
|
25866
25895
|
include Aws::Structure
|
|
25867
25896
|
end
|
|
25868
25897
|
|
|
25898
|
+
# The free trial period for a Security Hub feature, and whether the
|
|
25899
|
+
# trial is currently active.
|
|
25900
|
+
#
|
|
25901
|
+
# @!attribute [rw] feature_type
|
|
25902
|
+
# The feature that the free trial period applies to. Valid values:
|
|
25903
|
+
#
|
|
25904
|
+
# * `SECURITY_HUB_V2` specifies Security Hub.
|
|
25905
|
+
#
|
|
25906
|
+
# * `SECURITY_HUB_V2_MULTI_CLOUD_AZURE` specifies Security Hub
|
|
25907
|
+
# coverage for Microsoft Azure resources.
|
|
25908
|
+
# @return [String]
|
|
25909
|
+
#
|
|
25910
|
+
# @!attribute [rw] status
|
|
25911
|
+
# Whether the free trial period is currently active. Valid values:
|
|
25912
|
+
#
|
|
25913
|
+
# * `ACTIVE` specifies that the free trial period is ongoing.
|
|
25914
|
+
#
|
|
25915
|
+
# * `INACTIVE` specifies that the free trial period has ended, or that
|
|
25916
|
+
# it never started.
|
|
25917
|
+
#
|
|
25918
|
+
# To determine whether a trial has expired, compare `ExpiresAt` to the
|
|
25919
|
+
# current time.
|
|
25920
|
+
# @return [String]
|
|
25921
|
+
#
|
|
25922
|
+
# @!attribute [rw] started_at
|
|
25923
|
+
# The date and time at which the free trial period began.
|
|
25924
|
+
# @return [Time]
|
|
25925
|
+
#
|
|
25926
|
+
# @!attribute [rw] expires_at
|
|
25927
|
+
# The date and time at which the free trial period ends.
|
|
25928
|
+
# @return [Time]
|
|
25929
|
+
#
|
|
25930
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/FreeTrialStatus AWS API Documentation
|
|
25931
|
+
#
|
|
25932
|
+
class FreeTrialStatus < Struct.new(
|
|
25933
|
+
:feature_type,
|
|
25934
|
+
:status,
|
|
25935
|
+
:started_at,
|
|
25936
|
+
:expires_at)
|
|
25937
|
+
SENSITIVE = []
|
|
25938
|
+
include Aws::Structure
|
|
25939
|
+
end
|
|
25940
|
+
|
|
25869
25941
|
# @!attribute [rw] metadata_uid
|
|
25870
25942
|
# The unique identifier (ID) of Security Hub OCSF findings found under
|
|
25871
25943
|
# the `metadata.uid` field of the finding.
|
|
@@ -28243,6 +28315,59 @@ module Aws::SecurityHub
|
|
|
28243
28315
|
include Aws::Structure
|
|
28244
28316
|
end
|
|
28245
28317
|
|
|
28318
|
+
# @!attribute [rw] account_ids
|
|
28319
|
+
# The Amazon Web Services account identifiers to list free trial
|
|
28320
|
+
# status for. You can specify accounts other than your own only if you
|
|
28321
|
+
# are a delegated Security Hub administrator.
|
|
28322
|
+
# @return [Array<String>]
|
|
28323
|
+
#
|
|
28324
|
+
# @!attribute [rw] statuses
|
|
28325
|
+
# The free trial statuses to filter the results by. Valid values:
|
|
28326
|
+
#
|
|
28327
|
+
# * `ACTIVE` returns only features with an ongoing free trial period.
|
|
28328
|
+
#
|
|
28329
|
+
# * `INACTIVE` returns only features whose free trial period has
|
|
28330
|
+
# ended, or that never started.
|
|
28331
|
+
# @return [Array<String>]
|
|
28332
|
+
#
|
|
28333
|
+
# @!attribute [rw] max_results
|
|
28334
|
+
# The maximum number of results to return. If you don't specify a
|
|
28335
|
+
# value, Security Hub returns up to 100 results.
|
|
28336
|
+
# @return [Integer]
|
|
28337
|
+
#
|
|
28338
|
+
# @!attribute [rw] next_token
|
|
28339
|
+
# The pagination token to request the next page of results.
|
|
28340
|
+
# @return [String]
|
|
28341
|
+
#
|
|
28342
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListFreeTrialStatusesV2Request AWS API Documentation
|
|
28343
|
+
#
|
|
28344
|
+
class ListFreeTrialStatusesV2Request < Struct.new(
|
|
28345
|
+
:account_ids,
|
|
28346
|
+
:statuses,
|
|
28347
|
+
:max_results,
|
|
28348
|
+
:next_token)
|
|
28349
|
+
SENSITIVE = []
|
|
28350
|
+
include Aws::Structure
|
|
28351
|
+
end
|
|
28352
|
+
|
|
28353
|
+
# @!attribute [rw] account_free_trial_statuses
|
|
28354
|
+
# An array of free trial statuses, one for each account in scope.
|
|
28355
|
+
# @return [Array<Types::AccountFreeTrialStatus>]
|
|
28356
|
+
#
|
|
28357
|
+
# @!attribute [rw] next_token
|
|
28358
|
+
# The pagination token to use to request the next page of results. If
|
|
28359
|
+
# there are no additional results, this value is null.
|
|
28360
|
+
# @return [String]
|
|
28361
|
+
#
|
|
28362
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListFreeTrialStatusesV2Response AWS API Documentation
|
|
28363
|
+
#
|
|
28364
|
+
class ListFreeTrialStatusesV2Response < Struct.new(
|
|
28365
|
+
:account_free_trial_statuses,
|
|
28366
|
+
:next_token)
|
|
28367
|
+
SENSITIVE = []
|
|
28368
|
+
include Aws::Structure
|
|
28369
|
+
end
|
|
28370
|
+
|
|
28246
28371
|
# @!attribute [rw] max_results
|
|
28247
28372
|
# The maximum number of items to return in the response.
|
|
28248
28373
|
# @return [Integer]
|
data/lib/aws-sdk-securityhub.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -5166,6 +5166,20 @@ module Aws
|
|
|
5166
5166
|
) -> _ListFindingAggregatorsResponseSuccess
|
|
5167
5167
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFindingAggregatorsResponseSuccess
|
|
5168
5168
|
|
|
5169
|
+
interface _ListFreeTrialStatusesV2ResponseSuccess
|
|
5170
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListFreeTrialStatusesV2Response]
|
|
5171
|
+
def account_free_trial_statuses: () -> ::Array[Types::AccountFreeTrialStatus]
|
|
5172
|
+
def next_token: () -> ::String
|
|
5173
|
+
end
|
|
5174
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityHub/Client.html#list_free_trial_statuses_v2-instance_method
|
|
5175
|
+
def list_free_trial_statuses_v2: (
|
|
5176
|
+
?account_ids: Array[::String],
|
|
5177
|
+
?statuses: Array[("ACTIVE" | "INACTIVE")],
|
|
5178
|
+
?max_results: ::Integer,
|
|
5179
|
+
?next_token: ::String
|
|
5180
|
+
) -> _ListFreeTrialStatusesV2ResponseSuccess
|
|
5181
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFreeTrialStatusesV2ResponseSuccess
|
|
5182
|
+
|
|
5169
5183
|
interface _ListInvitationsResponseSuccess
|
|
5170
5184
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListInvitationsResponse]
|
|
5171
5185
|
def invitations: () -> ::Array[Types::Invitation]
|
data/sig/types.rbs
CHANGED
|
@@ -53,6 +53,13 @@ module Aws::SecurityHub
|
|
|
53
53
|
SENSITIVE: []
|
|
54
54
|
end
|
|
55
55
|
|
|
56
|
+
class AccountFreeTrialStatus
|
|
57
|
+
attr_accessor account_id: ::String
|
|
58
|
+
attr_accessor evaluated_at: ::Time
|
|
59
|
+
attr_accessor free_trial_statuses: ::Array[Types::FreeTrialStatus]
|
|
60
|
+
SENSITIVE: []
|
|
61
|
+
end
|
|
62
|
+
|
|
56
63
|
class Action
|
|
57
64
|
attr_accessor action_type: ::String
|
|
58
65
|
attr_accessor network_connection_action: Types::NetworkConnectionAction
|
|
@@ -5816,6 +5823,14 @@ module Aws::SecurityHub
|
|
|
5816
5823
|
SENSITIVE: []
|
|
5817
5824
|
end
|
|
5818
5825
|
|
|
5826
|
+
class FreeTrialStatus
|
|
5827
|
+
attr_accessor feature_type: ("SECURITY_HUB_V2" | "SECURITY_HUB_V2_MULTI_CLOUD_AZURE")
|
|
5828
|
+
attr_accessor status: ("ACTIVE" | "INACTIVE")
|
|
5829
|
+
attr_accessor started_at: ::Time
|
|
5830
|
+
attr_accessor expires_at: ::Time
|
|
5831
|
+
SENSITIVE: []
|
|
5832
|
+
end
|
|
5833
|
+
|
|
5819
5834
|
class GenerateRecommendedPolicyV2Request
|
|
5820
5835
|
attr_accessor metadata_uid: ::String
|
|
5821
5836
|
SENSITIVE: []
|
|
@@ -6465,6 +6480,20 @@ module Aws::SecurityHub
|
|
|
6465
6480
|
SENSITIVE: []
|
|
6466
6481
|
end
|
|
6467
6482
|
|
|
6483
|
+
class ListFreeTrialStatusesV2Request
|
|
6484
|
+
attr_accessor account_ids: ::Array[::String]
|
|
6485
|
+
attr_accessor statuses: ::Array[("ACTIVE" | "INACTIVE")]
|
|
6486
|
+
attr_accessor max_results: ::Integer
|
|
6487
|
+
attr_accessor next_token: ::String
|
|
6488
|
+
SENSITIVE: []
|
|
6489
|
+
end
|
|
6490
|
+
|
|
6491
|
+
class ListFreeTrialStatusesV2Response
|
|
6492
|
+
attr_accessor account_free_trial_statuses: ::Array[Types::AccountFreeTrialStatus]
|
|
6493
|
+
attr_accessor next_token: ::String
|
|
6494
|
+
SENSITIVE: []
|
|
6495
|
+
end
|
|
6496
|
+
|
|
6468
6497
|
class ListInvitationsRequest
|
|
6469
6498
|
attr_accessor max_results: ::Integer
|
|
6470
6499
|
attr_accessor next_token: ::String
|