@aws-sdk/client-securityhub 3.775.0 → 3.777.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.
- package/dist-types/commands/AcceptAdministratorInvitationCommand.d.ts +8 -5
- package/dist-types/commands/AcceptInvitationCommand.d.ts +1 -0
- package/dist-types/commands/BatchDeleteAutomationRulesCommand.d.ts +9 -9
- package/dist-types/commands/BatchDisableStandardsCommand.d.ts +9 -9
- package/dist-types/commands/BatchEnableStandardsCommand.d.ts +10 -10
- package/dist-types/commands/BatchGetAutomationRulesCommand.d.ts +49 -49
- package/dist-types/commands/BatchGetConfigurationPolicyAssociationsCommand.d.ts +22 -22
- package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +33 -33
- package/dist-types/commands/BatchGetStandardsControlAssociationsCommand.d.ts +1 -50
- package/dist-types/commands/BatchImportFindingsCommand.d.ts +26 -26
- package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +10 -10
- package/dist-types/commands/BatchUpdateFindingsCommand.d.ts +30 -30
- package/dist-types/commands/BatchUpdateStandardsControlAssociationsCommand.d.ts +20 -20
- package/dist-types/commands/CreateActionTargetCommand.d.ts +7 -7
- package/dist-types/commands/CreateAutomationRuleCommand.d.ts +35 -35
- package/dist-types/commands/CreateConfigurationPolicyCommand.d.ts +37 -37
- package/dist-types/commands/CreateFindingAggregatorCommand.d.ts +9 -9
- package/dist-types/commands/CreateInsightCommand.d.ts +13 -13
- package/dist-types/commands/CreateMembersCommand.d.ts +7 -7
- package/dist-types/commands/DeclineInvitationsCommand.d.ts +5 -5
- package/dist-types/commands/DeleteActionTargetCommand.d.ts +5 -5
- package/dist-types/commands/DeleteConfigurationPolicyCommand.d.ts +7 -4
- package/dist-types/commands/DeleteFindingAggregatorCommand.d.ts +7 -4
- package/dist-types/commands/DeleteInsightCommand.d.ts +5 -5
- package/dist-types/commands/DeleteInvitationsCommand.d.ts +5 -5
- package/dist-types/commands/DeleteMembersCommand.d.ts +5 -5
- package/dist-types/commands/DescribeActionTargetsCommand.d.ts +8 -8
- package/dist-types/commands/DescribeHubCommand.d.ts +8 -8
- package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +10 -10
- package/dist-types/commands/DescribeProductsCommand.d.ts +17 -17
- package/dist-types/commands/DescribeStandardsCommand.d.ts +21 -21
- package/dist-types/commands/DescribeStandardsControlsCommand.d.ts +1 -46
- package/dist-types/commands/DisableImportFindingsForProductCommand.d.ts +7 -4
- package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +7 -4
- package/dist-types/commands/DisableSecurityHubCommand.d.ts +7 -4
- package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +7 -4
- package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +1 -0
- package/dist-types/commands/DisassociateMembersCommand.d.ts +7 -4
- package/dist-types/commands/EnableImportFindingsForProductCommand.d.ts +5 -5
- package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +7 -4
- package/dist-types/commands/EnableSecurityHubCommand.d.ts +9 -6
- package/dist-types/commands/GetAdministratorAccountCommand.d.ts +1 -19
- package/dist-types/commands/GetConfigurationPolicyAssociationCommand.d.ts +12 -12
- package/dist-types/commands/GetConfigurationPolicyCommand.d.ts +23 -23
- package/dist-types/commands/GetEnabledStandardsCommand.d.ts +9 -9
- package/dist-types/commands/GetFindingAggregatorCommand.d.ts +8 -8
- package/dist-types/commands/GetFindingHistoryCommand.d.ts +1 -42
- package/dist-types/commands/GetFindingsCommand.d.ts +63 -63
- package/dist-types/commands/GetInsightResultsCommand.d.ts +12 -12
- package/dist-types/commands/GetInsightsCommand.d.ts +15 -15
- package/dist-types/commands/GetInvitationsCountCommand.d.ts +7 -7
- package/dist-types/commands/GetMasterAccountCommand.d.ts +1 -0
- package/dist-types/commands/GetMembersCommand.d.ts +1 -37
- package/dist-types/commands/GetSecurityControlDefinitionCommand.d.ts +19 -19
- package/dist-types/commands/InviteMembersCommand.d.ts +5 -5
- package/dist-types/commands/ListAutomationRulesCommand.d.ts +23 -23
- package/dist-types/commands/ListConfigurationPoliciesCommand.d.ts +13 -13
- package/dist-types/commands/ListConfigurationPolicyAssociationsCommand.d.ts +15 -15
- package/dist-types/commands/ListEnabledProductsForImportCommand.d.ts +5 -5
- package/dist-types/commands/ListFindingAggregatorsCommand.d.ts +6 -6
- package/dist-types/commands/ListInvitationsCommand.d.ts +1 -21
- package/dist-types/commands/ListMembersCommand.d.ts +1 -31
- package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +7 -7
- package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +28 -28
- package/dist-types/commands/ListStandardsControlAssociationsCommand.d.ts +1 -44
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +7 -7
- package/dist-types/commands/StartConfigurationPolicyAssociationCommand.d.ts +13 -13
- package/dist-types/commands/StartConfigurationPolicyDisassociationCommand.d.ts +9 -6
- package/dist-types/commands/TagResourceCommand.d.ts +10 -7
- package/dist-types/commands/UntagResourceCommand.d.ts +8 -5
- package/dist-types/commands/UpdateActionTargetCommand.d.ts +9 -6
- package/dist-types/commands/UpdateConfigurationPolicyCommand.d.ts +39 -39
- package/dist-types/commands/UpdateFindingAggregatorCommand.d.ts +10 -10
- package/dist-types/commands/UpdateFindingsCommand.d.ts +1 -0
- package/dist-types/commands/UpdateInsightCommand.d.ts +15 -12
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +10 -7
- package/dist-types/commands/UpdateSecurityControlCommand.d.ts +13 -10
- package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +8 -5
- package/dist-types/commands/UpdateStandardsControlCommand.d.ts +9 -6
- package/package.json +2 -2
|
@@ -350,45 +350,45 @@ declare const GetInsightsCommand_base: {
|
|
|
350
350
|
* @throws {@link SecurityHubServiceException}
|
|
351
351
|
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
352
352
|
*
|
|
353
|
-
*
|
|
353
|
+
*
|
|
354
354
|
* @example To get details of a Security Hub insight
|
|
355
355
|
* ```javascript
|
|
356
356
|
* // The following example returns details of the Security Hub insight with the specified ARN.
|
|
357
357
|
* const input = {
|
|
358
|
-
*
|
|
358
|
+
* InsightArns: [
|
|
359
359
|
* "arn:aws:securityhub:us-west-1:123456789012:insight/123456789012/custom/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
|
|
360
360
|
* ]
|
|
361
361
|
* };
|
|
362
362
|
* const command = new GetInsightsCommand(input);
|
|
363
363
|
* const response = await client.send(command);
|
|
364
|
-
* /* response
|
|
364
|
+
* /* response is
|
|
365
365
|
* {
|
|
366
|
-
*
|
|
366
|
+
* Insights: [
|
|
367
367
|
* {
|
|
368
|
-
*
|
|
369
|
-
*
|
|
368
|
+
* Filters: {
|
|
369
|
+
* ResourceType: [
|
|
370
370
|
* {
|
|
371
|
-
*
|
|
372
|
-
*
|
|
371
|
+
* Comparison: "EQUALS",
|
|
372
|
+
* Value: "AwsIamRole"
|
|
373
373
|
* }
|
|
374
374
|
* ],
|
|
375
|
-
*
|
|
375
|
+
* SeverityLabel: [
|
|
376
376
|
* {
|
|
377
|
-
*
|
|
378
|
-
*
|
|
377
|
+
* Comparison: "EQUALS",
|
|
378
|
+
* Value: "CRITICAL"
|
|
379
379
|
* }
|
|
380
380
|
* ]
|
|
381
381
|
* },
|
|
382
|
-
*
|
|
383
|
-
*
|
|
384
|
-
*
|
|
382
|
+
* GroupByAttribute: "ResourceId",
|
|
383
|
+
* InsightArn: "arn:aws:securityhub:us-west-1:123456789012:insight/123456789012/custom/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
|
|
384
|
+
* Name: "Critical role findings"
|
|
385
385
|
* }
|
|
386
386
|
* ]
|
|
387
387
|
* }
|
|
388
388
|
* *\/
|
|
389
|
-
* // example id: to-get-details-of-a-security-hub-insight-1677774127203
|
|
390
389
|
* ```
|
|
391
390
|
*
|
|
391
|
+
* @public
|
|
392
392
|
*/
|
|
393
393
|
export declare class GetInsightsCommand extends GetInsightsCommand_base {
|
|
394
394
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -72,23 +72,23 @@ declare const GetInvitationsCountCommand_base: {
|
|
|
72
72
|
* @throws {@link SecurityHubServiceException}
|
|
73
73
|
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
74
74
|
*
|
|
75
|
-
*
|
|
75
|
+
*
|
|
76
76
|
* @example To get a count of membership invitations
|
|
77
77
|
* ```javascript
|
|
78
78
|
* // The following example returns a count of invitations that the Security Hub administrator sent to the current member account, not including the currently accepted invitation.
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
* const input = {};
|
|
79
|
+
*
|
|
80
|
+
*
|
|
81
|
+
* const input = { /* empty *\/ };
|
|
82
82
|
* const command = new GetInvitationsCountCommand(input);
|
|
83
83
|
* const response = await client.send(command);
|
|
84
|
-
* /* response
|
|
84
|
+
* /* response is
|
|
85
85
|
* {
|
|
86
|
-
*
|
|
86
|
+
* InvitationsCount: 3
|
|
87
87
|
* }
|
|
88
88
|
* *\/
|
|
89
|
-
* // example id: to-get-a-count-of-membership-invitations-1677774568793
|
|
90
89
|
* ```
|
|
91
90
|
*
|
|
91
|
+
* @public
|
|
92
92
|
*/
|
|
93
93
|
export declare class GetInvitationsCountCommand extends GetInvitationsCountCommand_base {
|
|
94
94
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -80,6 +80,7 @@ declare const GetMasterAccountCommand_base: {
|
|
|
80
80
|
* @throws {@link SecurityHubServiceException}
|
|
81
81
|
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
82
82
|
*
|
|
83
|
+
*
|
|
83
84
|
* @public
|
|
84
85
|
*/
|
|
85
86
|
export declare class GetMasterAccountCommand extends GetMasterAccountCommand_base {
|
|
@@ -93,44 +93,8 @@ declare const GetMembersCommand_base: {
|
|
|
93
93
|
* @throws {@link SecurityHubServiceException}
|
|
94
94
|
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
95
95
|
*
|
|
96
|
-
* @public
|
|
97
|
-
* @example To get member account details
|
|
98
|
-
* ```javascript
|
|
99
|
-
* // The following example returns details for the Security Hub member accounts with the specified AWS account IDs. An administrator account may be the delegated Security Hub administrator account for an organization or an administrator account that enabled Security Hub manually. The Security Hub administrator must call this operation.
|
|
100
|
-
* const input = {
|
|
101
|
-
* "AccountIds": [
|
|
102
|
-
* "444455556666",
|
|
103
|
-
* "777788889999"
|
|
104
|
-
* ]
|
|
105
|
-
* };
|
|
106
|
-
* const command = new GetMembersCommand(input);
|
|
107
|
-
* const response = await client.send(command);
|
|
108
|
-
* /* response ==
|
|
109
|
-
* {
|
|
110
|
-
* "Members": [
|
|
111
|
-
* {
|
|
112
|
-
* "AccountId": "444455556666",
|
|
113
|
-
* "AdministratorId": "123456789012",
|
|
114
|
-
* "InvitedAt": "2020-06-01T20:15:15.289000+00:00",
|
|
115
|
-
* "MasterId": "123456789012",
|
|
116
|
-
* "MemberStatus": "ASSOCIATED",
|
|
117
|
-
* "UpdatedAt": "2020-06-01T20:15:15.289000+00:00"
|
|
118
|
-
* },
|
|
119
|
-
* {
|
|
120
|
-
* "AccountId": "777788889999",
|
|
121
|
-
* "AdministratorId": "123456789012",
|
|
122
|
-
* "InvitedAt": "2020-06-01T20:15:15.289000+00:00",
|
|
123
|
-
* "MasterId": "123456789012",
|
|
124
|
-
* "MemberStatus": "ASSOCIATED",
|
|
125
|
-
* "UpdatedAt": "2020-06-01T20:15:15.289000+00:00"
|
|
126
|
-
* }
|
|
127
|
-
* ],
|
|
128
|
-
* "UnprocessedAccounts": []
|
|
129
|
-
* }
|
|
130
|
-
* *\/
|
|
131
|
-
* // example id: to-get-member-account-details-1677774956489
|
|
132
|
-
* ```
|
|
133
96
|
*
|
|
97
|
+
* @public
|
|
134
98
|
*/
|
|
135
99
|
export declare class GetMembersCommand extends GetMembersCommand_base {
|
|
136
100
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -139,42 +139,42 @@ declare const GetSecurityControlDefinitionCommand_base: {
|
|
|
139
139
|
* @throws {@link SecurityHubServiceException}
|
|
140
140
|
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
141
141
|
*
|
|
142
|
-
*
|
|
142
|
+
*
|
|
143
143
|
* @example To get the definition of a security control.
|
|
144
144
|
* ```javascript
|
|
145
145
|
* // The following example retrieves definition details for the specified security control.
|
|
146
146
|
* const input = {
|
|
147
|
-
*
|
|
147
|
+
* SecurityControlId: "EC2.4"
|
|
148
148
|
* };
|
|
149
149
|
* const command = new GetSecurityControlDefinitionCommand(input);
|
|
150
150
|
* const response = await client.send(command);
|
|
151
|
-
* /* response
|
|
151
|
+
* /* response is
|
|
152
152
|
* {
|
|
153
|
-
*
|
|
154
|
-
*
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
*
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
*
|
|
153
|
+
* SecurityControlDefinition: {
|
|
154
|
+
* CurrentRegionAvailability: "AVAILABLE",
|
|
155
|
+
* Description: "This control checks whether an Amazon EC2 instance has been stopped for longer than the allowed number of days. The control fails if an EC2 instance is stopped for longer than the maximum allowed time period. Unless you provide a custom parameter value for the maximum allowed time period, Security Hub uses a default value of 30 days.",
|
|
156
|
+
* ParameterDefinitions: {
|
|
157
|
+
* AllowedDays: {
|
|
158
|
+
* ConfigurationOptions: {
|
|
159
|
+
* Integer: {
|
|
160
|
+
* DefaultValue: 30,
|
|
161
|
+
* Max: 365,
|
|
162
|
+
* Min: 1
|
|
163
163
|
* }
|
|
164
164
|
* },
|
|
165
|
-
*
|
|
165
|
+
* Description: "Number of days the EC2 instance is allowed to be in a stopped state before generating a failed finding"
|
|
166
166
|
* }
|
|
167
167
|
* },
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
*
|
|
171
|
-
*
|
|
168
|
+
* RemediationUrl: "https://docs.aws.amazon.com/console/securityhub/EC2.4/remediation",
|
|
169
|
+
* SecurityControlId: "EC2.4",
|
|
170
|
+
* SeverityRating: "MEDIUM",
|
|
171
|
+
* Title: "Stopped Amazon EC2 instances should be removed after a specified time period"
|
|
172
172
|
* }
|
|
173
173
|
* }
|
|
174
174
|
* *\/
|
|
175
|
-
* // example id: to-get-the-definition-of-a-security-control-1699283789356
|
|
176
175
|
* ```
|
|
177
176
|
*
|
|
177
|
+
* @public
|
|
178
178
|
*/
|
|
179
179
|
export declare class GetSecurityControlDefinitionCommand extends GetSecurityControlDefinitionCommand_base {
|
|
180
180
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -89,26 +89,26 @@ declare const InviteMembersCommand_base: {
|
|
|
89
89
|
* @throws {@link SecurityHubServiceException}
|
|
90
90
|
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
91
91
|
*
|
|
92
|
-
*
|
|
92
|
+
*
|
|
93
93
|
* @example To invite accounts to become members
|
|
94
94
|
* ```javascript
|
|
95
95
|
* // The following example invites the specified AWS accounts to become member accounts associated with the calling Security Hub administrator account. You only use this operation to invite accounts that don't belong to an AWS Organizations organization.
|
|
96
96
|
* const input = {
|
|
97
|
-
*
|
|
97
|
+
* AccountIds: [
|
|
98
98
|
* "111122223333",
|
|
99
99
|
* "444455556666"
|
|
100
100
|
* ]
|
|
101
101
|
* };
|
|
102
102
|
* const command = new InviteMembersCommand(input);
|
|
103
103
|
* const response = await client.send(command);
|
|
104
|
-
* /* response
|
|
104
|
+
* /* response is
|
|
105
105
|
* {
|
|
106
|
-
*
|
|
106
|
+
* UnprocessedAccounts: []
|
|
107
107
|
* }
|
|
108
108
|
* *\/
|
|
109
|
-
* // example id: to-invite-accounts-to-become-members-1677775500860
|
|
110
109
|
* ```
|
|
111
110
|
*
|
|
111
|
+
* @public
|
|
112
112
|
*/
|
|
113
113
|
export declare class InviteMembersCommand extends InviteMembersCommand_base {
|
|
114
114
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -87,46 +87,46 @@ declare const ListAutomationRulesCommand_base: {
|
|
|
87
87
|
* @throws {@link SecurityHubServiceException}
|
|
88
88
|
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
89
89
|
*
|
|
90
|
-
*
|
|
90
|
+
*
|
|
91
91
|
* @example To list automation rules
|
|
92
92
|
* ```javascript
|
|
93
93
|
* // The following example lists automation rules and rule metadata in the calling account.
|
|
94
94
|
* const input = {
|
|
95
|
-
*
|
|
96
|
-
*
|
|
95
|
+
* MaxResults: 2,
|
|
96
|
+
* NextToken: "example-token"
|
|
97
97
|
* };
|
|
98
98
|
* const command = new ListAutomationRulesCommand(input);
|
|
99
99
|
* const response = await client.send(command);
|
|
100
|
-
* /* response
|
|
100
|
+
* /* response is
|
|
101
101
|
* {
|
|
102
|
-
*
|
|
102
|
+
* AutomationRulesMetadata: [
|
|
103
103
|
* {
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
*
|
|
104
|
+
* CreatedAt: "2022-08-31T01:52:33.250Z",
|
|
105
|
+
* CreatedBy: "AROAJURBUYQQNL5OL2TIM:TEST-16MJ75L9VBK14",
|
|
106
|
+
* Description: "IAM.8 is a known issue and can be resolved",
|
|
107
|
+
* RuleArn: "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
|
|
108
|
+
* RuleName: "sample-rule-name-1",
|
|
109
|
+
* RuleOrder: 1,
|
|
110
|
+
* RuleStatus: "ENABLED",
|
|
111
|
+
* UpdatedAt: "2022-08-31T01:52:33.250Z"
|
|
112
112
|
* },
|
|
113
113
|
* {
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
114
|
+
* CreatedAt: "2022-08-31T01:52:33.250Z",
|
|
115
|
+
* CreatedBy: "AROAJURBUYQQNL5OL2TIM:TEST-16MJ75L9VBK14",
|
|
116
|
+
* Description: "Lambda.2 is a known issue and can be resolved",
|
|
117
|
+
* RuleArn: "arn:aws:securityhub:us-east-1:123456789012:automation-rule/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
|
|
118
|
+
* RuleName: "sample-rule-name-2",
|
|
119
|
+
* RuleOrder: 2,
|
|
120
|
+
* RuleStatus: "ENABLED",
|
|
121
|
+
* UpdatedAt: "2022-08-31T01:52:33.250Z"
|
|
122
122
|
* }
|
|
123
123
|
* ],
|
|
124
|
-
*
|
|
124
|
+
* NextToken: "example-token"
|
|
125
125
|
* }
|
|
126
126
|
* *\/
|
|
127
|
-
* // example id: to-list-automation-rules-1684770582059
|
|
128
127
|
* ```
|
|
129
128
|
*
|
|
129
|
+
* @public
|
|
130
130
|
*/
|
|
131
131
|
export declare class ListAutomationRulesCommand extends ListAutomationRulesCommand_base {
|
|
132
132
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -85,34 +85,34 @@ declare const ListConfigurationPoliciesCommand_base: {
|
|
|
85
85
|
* @throws {@link SecurityHubServiceException}
|
|
86
86
|
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
87
87
|
*
|
|
88
|
-
*
|
|
88
|
+
*
|
|
89
89
|
* @example To view a list of configuration policies
|
|
90
90
|
* ```javascript
|
|
91
91
|
* // This operation provides a list of your configuration policies, including metadata for each policy.
|
|
92
92
|
* const input = {
|
|
93
|
-
*
|
|
94
|
-
*
|
|
93
|
+
* MaxResults: 1,
|
|
94
|
+
* NextToken: "U1FsdGVkX19nBV2zoh+Gou9NgnulLJHWpn9xnG4hqSOhvw3o2JqjI86QDxdf"
|
|
95
95
|
* };
|
|
96
96
|
* const command = new ListConfigurationPoliciesCommand(input);
|
|
97
97
|
* const response = await client.send(command);
|
|
98
|
-
* /* response
|
|
98
|
+
* /* response is
|
|
99
99
|
* {
|
|
100
|
-
*
|
|
100
|
+
* ConfigurationPolicySummaries: [
|
|
101
101
|
* {
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
*
|
|
107
|
-
*
|
|
102
|
+
* Arn: "arn:aws:securityhub:us-east-1:123456789012:configuration-policy/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
|
|
103
|
+
* Description: "Configuration policy for testing FSBP and CIS",
|
|
104
|
+
* Id: "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
|
|
105
|
+
* Name: "TestConfigurationPolicy",
|
|
106
|
+
* ServiceEnabled: true,
|
|
107
|
+
* UpdatedAt: "2023-01-11T06:17:17.154Z"
|
|
108
108
|
* }
|
|
109
109
|
* ],
|
|
110
|
-
*
|
|
110
|
+
* NextToken: "U1FsdGVkX19nBV2zoh+Gou9NgnulLJHWpn9xnG4hqSOfvw3o2JqjI86QDxef"
|
|
111
111
|
* }
|
|
112
112
|
* *\/
|
|
113
|
-
* // example id: to-view-a-list-of-configuration-policies-1695173268602
|
|
114
113
|
* ```
|
|
115
114
|
*
|
|
115
|
+
* @public
|
|
116
116
|
*/
|
|
117
117
|
export declare class ListConfigurationPoliciesCommand extends ListConfigurationPoliciesCommand_base {
|
|
118
118
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -91,37 +91,37 @@ declare const ListConfigurationPolicyAssociationsCommand_base: {
|
|
|
91
91
|
* @throws {@link SecurityHubServiceException}
|
|
92
92
|
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
93
93
|
*
|
|
94
|
-
*
|
|
94
|
+
*
|
|
95
95
|
* @example To list configuration associations
|
|
96
96
|
* ```javascript
|
|
97
97
|
* // This operation lists all of the associations between targets and configuration policies or self-managed behavior. Targets can include accounts, organizational units, or the root.
|
|
98
98
|
* const input = {
|
|
99
|
-
*
|
|
100
|
-
*
|
|
99
|
+
* Filters: {
|
|
100
|
+
* AssociationType: "APPLIED"
|
|
101
101
|
* },
|
|
102
|
-
*
|
|
103
|
-
*
|
|
102
|
+
* MaxResults: 1,
|
|
103
|
+
* NextToken: "U1FsdGVkX19nBV2zoh+Gou9NgnulLJHWpn9xnG4hqSOhvw3o2JqjI86QDxdf"
|
|
104
104
|
* };
|
|
105
105
|
* const command = new ListConfigurationPolicyAssociationsCommand(input);
|
|
106
106
|
* const response = await client.send(command);
|
|
107
|
-
* /* response
|
|
107
|
+
* /* response is
|
|
108
108
|
* {
|
|
109
|
-
*
|
|
109
|
+
* ConfigurationPolicyAssociationSummaries: [
|
|
110
110
|
* {
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
111
|
+
* AssociationStatus: "PENDING",
|
|
112
|
+
* AssociationType: "APPLIED",
|
|
113
|
+
* ConfigurationPolicyId: "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
|
|
114
|
+
* TargetId: "123456789012",
|
|
115
|
+
* TargetType: "ACCOUNT",
|
|
116
|
+
* UpdatedAt: "2023-01-11T06:17:17.154Z"
|
|
117
117
|
* }
|
|
118
118
|
* ],
|
|
119
|
-
*
|
|
119
|
+
* NextToken: "U1FsdGVkX19nBV2zoh+Gou9NgnulLJHWpn9xnG4hqSOfvw3o2JqjI86QDxef"
|
|
120
120
|
* }
|
|
121
121
|
* *\/
|
|
122
|
-
* // example id: to-list-configuration-associations-1695177309791
|
|
123
122
|
* ```
|
|
124
123
|
*
|
|
124
|
+
* @public
|
|
125
125
|
*/
|
|
126
126
|
export declare class ListConfigurationPolicyAssociationsCommand extends ListConfigurationPolicyAssociationsCommand_base {
|
|
127
127
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -69,24 +69,24 @@ declare const ListEnabledProductsForImportCommand_base: {
|
|
|
69
69
|
* @throws {@link SecurityHubServiceException}
|
|
70
70
|
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
71
71
|
*
|
|
72
|
-
*
|
|
72
|
+
*
|
|
73
73
|
* @example To list ARNs for enabled integrations
|
|
74
74
|
* ```javascript
|
|
75
75
|
* // The following example returns a list of subscription Amazon Resource Names (ARNs) for the product integrations that you have currently enabled in Security Hub.
|
|
76
|
-
* const input = {};
|
|
76
|
+
* const input = { /* empty *\/ };
|
|
77
77
|
* const command = new ListEnabledProductsForImportCommand(input);
|
|
78
78
|
* const response = await client.send(command);
|
|
79
|
-
* /* response
|
|
79
|
+
* /* response is
|
|
80
80
|
* {
|
|
81
|
-
*
|
|
81
|
+
* ProductSubscriptions: [
|
|
82
82
|
* "arn:aws:securityhub:us-east-1:517716713836:product-subscription/crowdstrike/crowdstrike-falcon",
|
|
83
83
|
* "arn:aws:securityhub:us-east-1::product/3coresec/3coresec"
|
|
84
84
|
* ]
|
|
85
85
|
* }
|
|
86
86
|
* *\/
|
|
87
|
-
* // example id: to-list-arns-for-enabled-integrations-1678294870020
|
|
88
87
|
* ```
|
|
89
88
|
*
|
|
89
|
+
* @public
|
|
90
90
|
*/
|
|
91
91
|
export declare class ListEnabledProductsForImportCommand extends ListEnabledProductsForImportCommand_base {
|
|
92
92
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -78,25 +78,25 @@ declare const ListFindingAggregatorsCommand_base: {
|
|
|
78
78
|
* @throws {@link SecurityHubServiceException}
|
|
79
79
|
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
80
80
|
*
|
|
81
|
-
*
|
|
81
|
+
*
|
|
82
82
|
* @example To update the enablement status of a standard control
|
|
83
83
|
* ```javascript
|
|
84
84
|
* // The following example disables the specified control in the specified security standard.
|
|
85
|
-
* const input = {};
|
|
85
|
+
* const input = { /* empty *\/ };
|
|
86
86
|
* const command = new ListFindingAggregatorsCommand(input);
|
|
87
87
|
* const response = await client.send(command);
|
|
88
|
-
* /* response
|
|
88
|
+
* /* response is
|
|
89
89
|
* {
|
|
90
|
-
*
|
|
90
|
+
* FindingAggregators: [
|
|
91
91
|
* {
|
|
92
|
-
*
|
|
92
|
+
* FindingAggregatorArn: "arn:aws:securityhub:us-east-1:222222222222:finding-aggregator/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"
|
|
93
93
|
* }
|
|
94
94
|
* ]
|
|
95
95
|
* }
|
|
96
96
|
* *\/
|
|
97
|
-
* // example id: to-update-the-enablement-status-of-a-standard-control-1678912506444
|
|
98
97
|
* ```
|
|
99
98
|
*
|
|
99
|
+
* @public
|
|
100
100
|
*/
|
|
101
101
|
export declare class ListFindingAggregatorsCommand extends ListFindingAggregatorsCommand_base {
|
|
102
102
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -84,28 +84,8 @@ declare const ListInvitationsCommand_base: {
|
|
|
84
84
|
* @throws {@link SecurityHubServiceException}
|
|
85
85
|
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
86
86
|
*
|
|
87
|
-
* @public
|
|
88
|
-
* @example To list membership invitations to calling account
|
|
89
|
-
* ```javascript
|
|
90
|
-
* // The following example returns a list of Security Hub member invitations sent to the calling AWS account. Only accounts that are invited manually use this operation. It's not for use by accounts that are managed through AWS Organizations.
|
|
91
|
-
* const input = {};
|
|
92
|
-
* const command = new ListInvitationsCommand(input);
|
|
93
|
-
* const response = await client.send(command);
|
|
94
|
-
* /* response ==
|
|
95
|
-
* {
|
|
96
|
-
* "Invitations": [
|
|
97
|
-
* {
|
|
98
|
-
* "AccountId": "123456789012",
|
|
99
|
-
* "InvitationId": "7ab938c5d52d7904ad09f9e7c20cc4eb",
|
|
100
|
-
* "InvitedAt": "2020-06-01T20:21:18.042000+00:00",
|
|
101
|
-
* "MemberStatus": "ASSOCIATED"
|
|
102
|
-
* }
|
|
103
|
-
* ]
|
|
104
|
-
* }
|
|
105
|
-
* *\/
|
|
106
|
-
* // example id: to-list-membership-invitations-to-calling-account-1678295758285
|
|
107
|
-
* ```
|
|
108
87
|
*
|
|
88
|
+
* @public
|
|
109
89
|
*/
|
|
110
90
|
export declare class ListInvitationsCommand extends ListInvitationsCommand_base {
|
|
111
91
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -84,38 +84,8 @@ declare const ListMembersCommand_base: {
|
|
|
84
84
|
* @throws {@link SecurityHubServiceException}
|
|
85
85
|
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
86
86
|
*
|
|
87
|
-
* @public
|
|
88
|
-
* @example To list member account details
|
|
89
|
-
* ```javascript
|
|
90
|
-
* // The following example returns details about member accounts for the calling Security Hub administrator account. The response includes member accounts that are managed through AWS Organizations and those that were invited manually.
|
|
91
|
-
* const input = {};
|
|
92
|
-
* const command = new ListMembersCommand(input);
|
|
93
|
-
* const response = await client.send(command);
|
|
94
|
-
* /* response ==
|
|
95
|
-
* {
|
|
96
|
-
* "Members": [
|
|
97
|
-
* {
|
|
98
|
-
* "AccountId": "111122223333",
|
|
99
|
-
* "AdministratorId": "123456789012",
|
|
100
|
-
* "InvitedAt": "2020-06-01T20:15:15.289000+00:00",
|
|
101
|
-
* "MasterId": "123456789012",
|
|
102
|
-
* "MemberStatus": "ASSOCIATED",
|
|
103
|
-
* "UpdatedAt": "2020-06-01T20:15:15.289000+00:00"
|
|
104
|
-
* },
|
|
105
|
-
* {
|
|
106
|
-
* "AccountId": "444455556666",
|
|
107
|
-
* "AdministratorId": "123456789012",
|
|
108
|
-
* "InvitedAt": "2020-06-01T20:15:15.289000+00:00",
|
|
109
|
-
* "MasterId": "123456789012",
|
|
110
|
-
* "MemberStatus": "ASSOCIATED",
|
|
111
|
-
* "UpdatedAt": "2020-06-01T20:15:15.289000+00:00"
|
|
112
|
-
* }
|
|
113
|
-
* ]
|
|
114
|
-
* }
|
|
115
|
-
* *\/
|
|
116
|
-
* // example id: to-list-member-account-details-1678385639113
|
|
117
|
-
* ```
|
|
118
87
|
*
|
|
88
|
+
* @public
|
|
119
89
|
*/
|
|
120
90
|
export declare class ListMembersCommand extends ListMembersCommand_base {
|
|
121
91
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -76,28 +76,28 @@ declare const ListOrganizationAdminAccountsCommand_base: {
|
|
|
76
76
|
* @throws {@link SecurityHubServiceException}
|
|
77
77
|
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
78
78
|
*
|
|
79
|
-
*
|
|
79
|
+
*
|
|
80
80
|
* @example To list administrator acccounts for an organization
|
|
81
81
|
* ```javascript
|
|
82
82
|
* // The following example lists the Security Hub administrator accounts for an organization. Only the organization management account can call this operation.
|
|
83
|
-
* const input = {};
|
|
83
|
+
* const input = { /* empty *\/ };
|
|
84
84
|
* const command = new ListOrganizationAdminAccountsCommand(input);
|
|
85
85
|
* const response = await client.send(command);
|
|
86
|
-
* /* response
|
|
86
|
+
* /* response is
|
|
87
87
|
* {
|
|
88
|
-
*
|
|
88
|
+
* AdminAccounts: [
|
|
89
89
|
* {
|
|
90
|
-
*
|
|
90
|
+
* AccountId: "777788889999"
|
|
91
91
|
* },
|
|
92
92
|
* {
|
|
93
|
-
*
|
|
93
|
+
* Status: "ENABLED"
|
|
94
94
|
* }
|
|
95
95
|
* ]
|
|
96
96
|
* }
|
|
97
97
|
* *\/
|
|
98
|
-
* // example id: to-list-administrator-acccounts-for-an-organization-1678386548110
|
|
99
98
|
* ```
|
|
100
99
|
*
|
|
100
|
+
* @public
|
|
101
101
|
*/
|
|
102
102
|
export declare class ListOrganizationAdminAccountsCommand extends ListOrganizationAdminAccountsCommand_base {
|
|
103
103
|
/** @internal type navigation helper, not in runtime. */
|