@aws-sdk/client-securityhub 3.458.0 → 3.460.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/README.md +80 -0
- package/dist-cjs/SecurityHub.js +20 -0
- package/dist-cjs/commands/BatchGetConfigurationPolicyAssociationsCommand.js +51 -0
- package/dist-cjs/commands/CreateConfigurationPolicyCommand.js +51 -0
- package/dist-cjs/commands/DeleteConfigurationPolicyCommand.js +51 -0
- package/dist-cjs/commands/GetConfigurationPolicyAssociationCommand.js +51 -0
- package/dist-cjs/commands/GetConfigurationPolicyCommand.js +51 -0
- package/dist-cjs/commands/ListConfigurationPoliciesCommand.js +51 -0
- package/dist-cjs/commands/ListConfigurationPolicyAssociationsCommand.js +51 -0
- package/dist-cjs/commands/StartConfigurationPolicyAssociationCommand.js +51 -0
- package/dist-cjs/commands/StartConfigurationPolicyDisassociationCommand.js +51 -0
- package/dist-cjs/commands/UpdateConfigurationPolicyCommand.js +51 -0
- package/dist-cjs/commands/index.js +10 -0
- package/dist-cjs/models/models_0.js +10 -1
- package/dist-cjs/models/models_2.js +34 -1
- package/dist-cjs/pagination/ListConfigurationPoliciesPaginator.js +29 -0
- package/dist-cjs/pagination/ListConfigurationPolicyAssociationsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +943 -35
- package/dist-es/SecurityHub.js +20 -0
- package/dist-es/commands/BatchGetConfigurationPolicyAssociationsCommand.js +47 -0
- package/dist-es/commands/CreateConfigurationPolicyCommand.js +47 -0
- package/dist-es/commands/DeleteConfigurationPolicyCommand.js +47 -0
- package/dist-es/commands/GetConfigurationPolicyAssociationCommand.js +47 -0
- package/dist-es/commands/GetConfigurationPolicyCommand.js +47 -0
- package/dist-es/commands/ListConfigurationPoliciesCommand.js +47 -0
- package/dist-es/commands/ListConfigurationPolicyAssociationsCommand.js +47 -0
- package/dist-es/commands/StartConfigurationPolicyAssociationCommand.js +47 -0
- package/dist-es/commands/StartConfigurationPolicyDisassociationCommand.js +47 -0
- package/dist-es/commands/UpdateConfigurationPolicyCommand.js +47 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/models/models_0.js +9 -0
- package/dist-es/models/models_2.js +33 -0
- package/dist-es/pagination/ListConfigurationPoliciesPaginator.js +25 -0
- package/dist-es/pagination/ListConfigurationPolicyAssociationsPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +920 -33
- package/dist-types/SecurityHub.d.ts +70 -0
- package/dist-types/SecurityHubClient.d.ts +12 -2
- package/dist-types/commands/BatchDisableStandardsCommand.d.ts +3 -0
- package/dist-types/commands/BatchEnableStandardsCommand.d.ts +3 -0
- package/dist-types/commands/BatchGetAutomationRulesCommand.d.ts +3 -0
- package/dist-types/commands/BatchGetConfigurationPolicyAssociationsCommand.d.ts +176 -0
- package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +22 -2
- package/dist-types/commands/BatchImportFindingsCommand.d.ts +4 -0
- package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +3 -0
- package/dist-types/commands/BatchUpdateStandardsControlAssociationsCommand.d.ts +3 -0
- package/dist-types/commands/CreateAutomationRuleCommand.d.ts +3 -0
- package/dist-types/commands/CreateConfigurationPolicyCommand.d.ts +265 -0
- package/dist-types/commands/CreateInsightCommand.d.ts +3 -0
- package/dist-types/commands/CreateMembersCommand.d.ts +3 -0
- package/dist-types/commands/DeleteConfigurationPolicyCommand.d.ts +109 -0
- package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +27 -2
- package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +3 -0
- package/dist-types/commands/DisableSecurityHubCommand.d.ts +3 -0
- package/dist-types/commands/DisassociateMembersCommand.d.ts +3 -0
- package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +3 -0
- package/dist-types/commands/GetConfigurationPolicyAssociationCommand.d.ts +131 -0
- package/dist-types/commands/GetConfigurationPolicyCommand.d.ts +191 -0
- package/dist-types/commands/GetFindingsCommand.d.ts +7 -0
- package/dist-types/commands/GetInsightsCommand.d.ts +3 -0
- package/dist-types/commands/GetSecurityControlDefinitionCommand.d.ts +35 -0
- package/dist-types/commands/ListConfigurationPoliciesCommand.d.ts +131 -0
- package/dist-types/commands/ListConfigurationPolicyAssociationsCommand.d.ts +140 -0
- package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +6 -0
- package/dist-types/commands/StartConfigurationPolicyAssociationCommand.d.ts +133 -0
- package/dist-types/commands/StartConfigurationPolicyDisassociationCommand.d.ts +116 -0
- package/dist-types/commands/UpdateConfigurationPolicyCommand.d.ts +271 -0
- package/dist-types/commands/UpdateFindingsCommand.d.ts +3 -0
- package/dist-types/commands/UpdateInsightCommand.d.ts +3 -0
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +16 -2
- package/dist-types/commands/UpdateSecurityControlCommand.d.ts +23 -0
- package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/UpdateStandardsControlCommand.d.ts +3 -0
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +86 -192
- package/dist-types/models/models_1.d.ts +192 -49
- package/dist-types/models/models_2.d.ts +1180 -37
- package/dist-types/pagination/ListConfigurationPoliciesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListConfigurationPolicyAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
- package/dist-types/ts3.4/SecurityHub.d.ts +200 -0
- package/dist-types/ts3.4/SecurityHubClient.d.ts +60 -0
- package/dist-types/ts3.4/commands/BatchGetConfigurationPolicyAssociationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateConfigurationPolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteConfigurationPolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetConfigurationPolicyAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetConfigurationPolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListConfigurationPoliciesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListConfigurationPolicyAssociationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartConfigurationPolicyAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartConfigurationPolicyDisassociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateConfigurationPolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +21 -26
- package/dist-types/ts3.4/models/models_1.d.ts +32 -9
- package/dist-types/ts3.4/models/models_2.d.ts +243 -4
- package/dist-types/ts3.4/pagination/ListConfigurationPoliciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListConfigurationPolicyAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
- package/package.json +12 -12
|
@@ -5,6 +5,7 @@ import { BatchDeleteAutomationRulesCommandInput, BatchDeleteAutomationRulesComma
|
|
|
5
5
|
import { BatchDisableStandardsCommandInput, BatchDisableStandardsCommandOutput } from "./commands/BatchDisableStandardsCommand";
|
|
6
6
|
import { BatchEnableStandardsCommandInput, BatchEnableStandardsCommandOutput } from "./commands/BatchEnableStandardsCommand";
|
|
7
7
|
import { BatchGetAutomationRulesCommandInput, BatchGetAutomationRulesCommandOutput } from "./commands/BatchGetAutomationRulesCommand";
|
|
8
|
+
import { BatchGetConfigurationPolicyAssociationsCommandInput, BatchGetConfigurationPolicyAssociationsCommandOutput } from "./commands/BatchGetConfigurationPolicyAssociationsCommand";
|
|
8
9
|
import { BatchGetSecurityControlsCommandInput, BatchGetSecurityControlsCommandOutput } from "./commands/BatchGetSecurityControlsCommand";
|
|
9
10
|
import { BatchGetStandardsControlAssociationsCommandInput, BatchGetStandardsControlAssociationsCommandOutput } from "./commands/BatchGetStandardsControlAssociationsCommand";
|
|
10
11
|
import { BatchImportFindingsCommandInput, BatchImportFindingsCommandOutput } from "./commands/BatchImportFindingsCommand";
|
|
@@ -13,11 +14,13 @@ import { BatchUpdateFindingsCommandInput, BatchUpdateFindingsCommandOutput } fro
|
|
|
13
14
|
import { BatchUpdateStandardsControlAssociationsCommandInput, BatchUpdateStandardsControlAssociationsCommandOutput } from "./commands/BatchUpdateStandardsControlAssociationsCommand";
|
|
14
15
|
import { CreateActionTargetCommandInput, CreateActionTargetCommandOutput } from "./commands/CreateActionTargetCommand";
|
|
15
16
|
import { CreateAutomationRuleCommandInput, CreateAutomationRuleCommandOutput } from "./commands/CreateAutomationRuleCommand";
|
|
17
|
+
import { CreateConfigurationPolicyCommandInput, CreateConfigurationPolicyCommandOutput } from "./commands/CreateConfigurationPolicyCommand";
|
|
16
18
|
import { CreateFindingAggregatorCommandInput, CreateFindingAggregatorCommandOutput } from "./commands/CreateFindingAggregatorCommand";
|
|
17
19
|
import { CreateInsightCommandInput, CreateInsightCommandOutput } from "./commands/CreateInsightCommand";
|
|
18
20
|
import { CreateMembersCommandInput, CreateMembersCommandOutput } from "./commands/CreateMembersCommand";
|
|
19
21
|
import { DeclineInvitationsCommandInput, DeclineInvitationsCommandOutput } from "./commands/DeclineInvitationsCommand";
|
|
20
22
|
import { DeleteActionTargetCommandInput, DeleteActionTargetCommandOutput } from "./commands/DeleteActionTargetCommand";
|
|
23
|
+
import { DeleteConfigurationPolicyCommandInput, DeleteConfigurationPolicyCommandOutput } from "./commands/DeleteConfigurationPolicyCommand";
|
|
21
24
|
import { DeleteFindingAggregatorCommandInput, DeleteFindingAggregatorCommandOutput } from "./commands/DeleteFindingAggregatorCommand";
|
|
22
25
|
import { DeleteInsightCommandInput, DeleteInsightCommandOutput } from "./commands/DeleteInsightCommand";
|
|
23
26
|
import { DeleteInvitationsCommandInput, DeleteInvitationsCommandOutput } from "./commands/DeleteInvitationsCommand";
|
|
@@ -38,6 +41,8 @@ import { EnableImportFindingsForProductCommandInput, EnableImportFindingsForProd
|
|
|
38
41
|
import { EnableOrganizationAdminAccountCommandInput, EnableOrganizationAdminAccountCommandOutput } from "./commands/EnableOrganizationAdminAccountCommand";
|
|
39
42
|
import { EnableSecurityHubCommandInput, EnableSecurityHubCommandOutput } from "./commands/EnableSecurityHubCommand";
|
|
40
43
|
import { GetAdministratorAccountCommandInput, GetAdministratorAccountCommandOutput } from "./commands/GetAdministratorAccountCommand";
|
|
44
|
+
import { GetConfigurationPolicyAssociationCommandInput, GetConfigurationPolicyAssociationCommandOutput } from "./commands/GetConfigurationPolicyAssociationCommand";
|
|
45
|
+
import { GetConfigurationPolicyCommandInput, GetConfigurationPolicyCommandOutput } from "./commands/GetConfigurationPolicyCommand";
|
|
41
46
|
import { GetEnabledStandardsCommandInput, GetEnabledStandardsCommandOutput } from "./commands/GetEnabledStandardsCommand";
|
|
42
47
|
import { GetFindingAggregatorCommandInput, GetFindingAggregatorCommandOutput } from "./commands/GetFindingAggregatorCommand";
|
|
43
48
|
import { GetFindingHistoryCommandInput, GetFindingHistoryCommandOutput } from "./commands/GetFindingHistoryCommand";
|
|
@@ -50,6 +55,8 @@ import { GetMembersCommandInput, GetMembersCommandOutput } from "./commands/GetM
|
|
|
50
55
|
import { GetSecurityControlDefinitionCommandInput, GetSecurityControlDefinitionCommandOutput } from "./commands/GetSecurityControlDefinitionCommand";
|
|
51
56
|
import { InviteMembersCommandInput, InviteMembersCommandOutput } from "./commands/InviteMembersCommand";
|
|
52
57
|
import { ListAutomationRulesCommandInput, ListAutomationRulesCommandOutput } from "./commands/ListAutomationRulesCommand";
|
|
58
|
+
import { ListConfigurationPoliciesCommandInput, ListConfigurationPoliciesCommandOutput } from "./commands/ListConfigurationPoliciesCommand";
|
|
59
|
+
import { ListConfigurationPolicyAssociationsCommandInput, ListConfigurationPolicyAssociationsCommandOutput } from "./commands/ListConfigurationPolicyAssociationsCommand";
|
|
53
60
|
import { ListEnabledProductsForImportCommandInput, ListEnabledProductsForImportCommandOutput } from "./commands/ListEnabledProductsForImportCommand";
|
|
54
61
|
import { ListFindingAggregatorsCommandInput, ListFindingAggregatorsCommandOutput } from "./commands/ListFindingAggregatorsCommand";
|
|
55
62
|
import { ListInvitationsCommandInput, ListInvitationsCommandOutput } from "./commands/ListInvitationsCommand";
|
|
@@ -58,9 +65,12 @@ import { ListOrganizationAdminAccountsCommandInput, ListOrganizationAdminAccount
|
|
|
58
65
|
import { ListSecurityControlDefinitionsCommandInput, ListSecurityControlDefinitionsCommandOutput } from "./commands/ListSecurityControlDefinitionsCommand";
|
|
59
66
|
import { ListStandardsControlAssociationsCommandInput, ListStandardsControlAssociationsCommandOutput } from "./commands/ListStandardsControlAssociationsCommand";
|
|
60
67
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
68
|
+
import { StartConfigurationPolicyAssociationCommandInput, StartConfigurationPolicyAssociationCommandOutput } from "./commands/StartConfigurationPolicyAssociationCommand";
|
|
69
|
+
import { StartConfigurationPolicyDisassociationCommandInput, StartConfigurationPolicyDisassociationCommandOutput } from "./commands/StartConfigurationPolicyDisassociationCommand";
|
|
61
70
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
62
71
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
63
72
|
import { UpdateActionTargetCommandInput, UpdateActionTargetCommandOutput } from "./commands/UpdateActionTargetCommand";
|
|
73
|
+
import { UpdateConfigurationPolicyCommandInput, UpdateConfigurationPolicyCommandOutput } from "./commands/UpdateConfigurationPolicyCommand";
|
|
64
74
|
import { UpdateFindingAggregatorCommandInput, UpdateFindingAggregatorCommandOutput } from "./commands/UpdateFindingAggregatorCommand";
|
|
65
75
|
import { UpdateFindingsCommandInput, UpdateFindingsCommandOutput } from "./commands/UpdateFindingsCommand";
|
|
66
76
|
import { UpdateInsightCommandInput, UpdateInsightCommandOutput } from "./commands/UpdateInsightCommand";
|
|
@@ -106,6 +116,12 @@ export interface SecurityHub {
|
|
|
106
116
|
batchGetAutomationRules(args: BatchGetAutomationRulesCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetAutomationRulesCommandOutput>;
|
|
107
117
|
batchGetAutomationRules(args: BatchGetAutomationRulesCommandInput, cb: (err: any, data?: BatchGetAutomationRulesCommandOutput) => void): void;
|
|
108
118
|
batchGetAutomationRules(args: BatchGetAutomationRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetAutomationRulesCommandOutput) => void): void;
|
|
119
|
+
/**
|
|
120
|
+
* @see {@link BatchGetConfigurationPolicyAssociationsCommand}
|
|
121
|
+
*/
|
|
122
|
+
batchGetConfigurationPolicyAssociations(args: BatchGetConfigurationPolicyAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetConfigurationPolicyAssociationsCommandOutput>;
|
|
123
|
+
batchGetConfigurationPolicyAssociations(args: BatchGetConfigurationPolicyAssociationsCommandInput, cb: (err: any, data?: BatchGetConfigurationPolicyAssociationsCommandOutput) => void): void;
|
|
124
|
+
batchGetConfigurationPolicyAssociations(args: BatchGetConfigurationPolicyAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetConfigurationPolicyAssociationsCommandOutput) => void): void;
|
|
109
125
|
/**
|
|
110
126
|
* @see {@link BatchGetSecurityControlsCommand}
|
|
111
127
|
*/
|
|
@@ -154,6 +170,12 @@ export interface SecurityHub {
|
|
|
154
170
|
createAutomationRule(args: CreateAutomationRuleCommandInput, options?: __HttpHandlerOptions): Promise<CreateAutomationRuleCommandOutput>;
|
|
155
171
|
createAutomationRule(args: CreateAutomationRuleCommandInput, cb: (err: any, data?: CreateAutomationRuleCommandOutput) => void): void;
|
|
156
172
|
createAutomationRule(args: CreateAutomationRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAutomationRuleCommandOutput) => void): void;
|
|
173
|
+
/**
|
|
174
|
+
* @see {@link CreateConfigurationPolicyCommand}
|
|
175
|
+
*/
|
|
176
|
+
createConfigurationPolicy(args: CreateConfigurationPolicyCommandInput, options?: __HttpHandlerOptions): Promise<CreateConfigurationPolicyCommandOutput>;
|
|
177
|
+
createConfigurationPolicy(args: CreateConfigurationPolicyCommandInput, cb: (err: any, data?: CreateConfigurationPolicyCommandOutput) => void): void;
|
|
178
|
+
createConfigurationPolicy(args: CreateConfigurationPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateConfigurationPolicyCommandOutput) => void): void;
|
|
157
179
|
/**
|
|
158
180
|
* @see {@link CreateFindingAggregatorCommand}
|
|
159
181
|
*/
|
|
@@ -184,6 +206,12 @@ export interface SecurityHub {
|
|
|
184
206
|
deleteActionTarget(args: DeleteActionTargetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteActionTargetCommandOutput>;
|
|
185
207
|
deleteActionTarget(args: DeleteActionTargetCommandInput, cb: (err: any, data?: DeleteActionTargetCommandOutput) => void): void;
|
|
186
208
|
deleteActionTarget(args: DeleteActionTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteActionTargetCommandOutput) => void): void;
|
|
209
|
+
/**
|
|
210
|
+
* @see {@link DeleteConfigurationPolicyCommand}
|
|
211
|
+
*/
|
|
212
|
+
deleteConfigurationPolicy(args: DeleteConfigurationPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteConfigurationPolicyCommandOutput>;
|
|
213
|
+
deleteConfigurationPolicy(args: DeleteConfigurationPolicyCommandInput, cb: (err: any, data?: DeleteConfigurationPolicyCommandOutput) => void): void;
|
|
214
|
+
deleteConfigurationPolicy(args: DeleteConfigurationPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteConfigurationPolicyCommandOutput) => void): void;
|
|
187
215
|
/**
|
|
188
216
|
* @see {@link DeleteFindingAggregatorCommand}
|
|
189
217
|
*/
|
|
@@ -304,6 +332,18 @@ export interface SecurityHub {
|
|
|
304
332
|
getAdministratorAccount(args: GetAdministratorAccountCommandInput, options?: __HttpHandlerOptions): Promise<GetAdministratorAccountCommandOutput>;
|
|
305
333
|
getAdministratorAccount(args: GetAdministratorAccountCommandInput, cb: (err: any, data?: GetAdministratorAccountCommandOutput) => void): void;
|
|
306
334
|
getAdministratorAccount(args: GetAdministratorAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAdministratorAccountCommandOutput) => void): void;
|
|
335
|
+
/**
|
|
336
|
+
* @see {@link GetConfigurationPolicyCommand}
|
|
337
|
+
*/
|
|
338
|
+
getConfigurationPolicy(args: GetConfigurationPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetConfigurationPolicyCommandOutput>;
|
|
339
|
+
getConfigurationPolicy(args: GetConfigurationPolicyCommandInput, cb: (err: any, data?: GetConfigurationPolicyCommandOutput) => void): void;
|
|
340
|
+
getConfigurationPolicy(args: GetConfigurationPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConfigurationPolicyCommandOutput) => void): void;
|
|
341
|
+
/**
|
|
342
|
+
* @see {@link GetConfigurationPolicyAssociationCommand}
|
|
343
|
+
*/
|
|
344
|
+
getConfigurationPolicyAssociation(args: GetConfigurationPolicyAssociationCommandInput, options?: __HttpHandlerOptions): Promise<GetConfigurationPolicyAssociationCommandOutput>;
|
|
345
|
+
getConfigurationPolicyAssociation(args: GetConfigurationPolicyAssociationCommandInput, cb: (err: any, data?: GetConfigurationPolicyAssociationCommandOutput) => void): void;
|
|
346
|
+
getConfigurationPolicyAssociation(args: GetConfigurationPolicyAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConfigurationPolicyAssociationCommandOutput) => void): void;
|
|
307
347
|
/**
|
|
308
348
|
* @see {@link GetEnabledStandardsCommand}
|
|
309
349
|
*/
|
|
@@ -376,6 +416,18 @@ export interface SecurityHub {
|
|
|
376
416
|
listAutomationRules(args: ListAutomationRulesCommandInput, options?: __HttpHandlerOptions): Promise<ListAutomationRulesCommandOutput>;
|
|
377
417
|
listAutomationRules(args: ListAutomationRulesCommandInput, cb: (err: any, data?: ListAutomationRulesCommandOutput) => void): void;
|
|
378
418
|
listAutomationRules(args: ListAutomationRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAutomationRulesCommandOutput) => void): void;
|
|
419
|
+
/**
|
|
420
|
+
* @see {@link ListConfigurationPoliciesCommand}
|
|
421
|
+
*/
|
|
422
|
+
listConfigurationPolicies(args: ListConfigurationPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<ListConfigurationPoliciesCommandOutput>;
|
|
423
|
+
listConfigurationPolicies(args: ListConfigurationPoliciesCommandInput, cb: (err: any, data?: ListConfigurationPoliciesCommandOutput) => void): void;
|
|
424
|
+
listConfigurationPolicies(args: ListConfigurationPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConfigurationPoliciesCommandOutput) => void): void;
|
|
425
|
+
/**
|
|
426
|
+
* @see {@link ListConfigurationPolicyAssociationsCommand}
|
|
427
|
+
*/
|
|
428
|
+
listConfigurationPolicyAssociations(args: ListConfigurationPolicyAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<ListConfigurationPolicyAssociationsCommandOutput>;
|
|
429
|
+
listConfigurationPolicyAssociations(args: ListConfigurationPolicyAssociationsCommandInput, cb: (err: any, data?: ListConfigurationPolicyAssociationsCommandOutput) => void): void;
|
|
430
|
+
listConfigurationPolicyAssociations(args: ListConfigurationPolicyAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConfigurationPolicyAssociationsCommandOutput) => void): void;
|
|
379
431
|
/**
|
|
380
432
|
* @see {@link ListEnabledProductsForImportCommand}
|
|
381
433
|
*/
|
|
@@ -424,6 +476,18 @@ export interface SecurityHub {
|
|
|
424
476
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
425
477
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
426
478
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
479
|
+
/**
|
|
480
|
+
* @see {@link StartConfigurationPolicyAssociationCommand}
|
|
481
|
+
*/
|
|
482
|
+
startConfigurationPolicyAssociation(args: StartConfigurationPolicyAssociationCommandInput, options?: __HttpHandlerOptions): Promise<StartConfigurationPolicyAssociationCommandOutput>;
|
|
483
|
+
startConfigurationPolicyAssociation(args: StartConfigurationPolicyAssociationCommandInput, cb: (err: any, data?: StartConfigurationPolicyAssociationCommandOutput) => void): void;
|
|
484
|
+
startConfigurationPolicyAssociation(args: StartConfigurationPolicyAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartConfigurationPolicyAssociationCommandOutput) => void): void;
|
|
485
|
+
/**
|
|
486
|
+
* @see {@link StartConfigurationPolicyDisassociationCommand}
|
|
487
|
+
*/
|
|
488
|
+
startConfigurationPolicyDisassociation(args: StartConfigurationPolicyDisassociationCommandInput, options?: __HttpHandlerOptions): Promise<StartConfigurationPolicyDisassociationCommandOutput>;
|
|
489
|
+
startConfigurationPolicyDisassociation(args: StartConfigurationPolicyDisassociationCommandInput, cb: (err: any, data?: StartConfigurationPolicyDisassociationCommandOutput) => void): void;
|
|
490
|
+
startConfigurationPolicyDisassociation(args: StartConfigurationPolicyDisassociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartConfigurationPolicyDisassociationCommandOutput) => void): void;
|
|
427
491
|
/**
|
|
428
492
|
* @see {@link TagResourceCommand}
|
|
429
493
|
*/
|
|
@@ -442,6 +506,12 @@ export interface SecurityHub {
|
|
|
442
506
|
updateActionTarget(args: UpdateActionTargetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateActionTargetCommandOutput>;
|
|
443
507
|
updateActionTarget(args: UpdateActionTargetCommandInput, cb: (err: any, data?: UpdateActionTargetCommandOutput) => void): void;
|
|
444
508
|
updateActionTarget(args: UpdateActionTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateActionTargetCommandOutput) => void): void;
|
|
509
|
+
/**
|
|
510
|
+
* @see {@link UpdateConfigurationPolicyCommand}
|
|
511
|
+
*/
|
|
512
|
+
updateConfigurationPolicy(args: UpdateConfigurationPolicyCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConfigurationPolicyCommandOutput>;
|
|
513
|
+
updateConfigurationPolicy(args: UpdateConfigurationPolicyCommandInput, cb: (err: any, data?: UpdateConfigurationPolicyCommandOutput) => void): void;
|
|
514
|
+
updateConfigurationPolicy(args: UpdateConfigurationPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConfigurationPolicyCommandOutput) => void): void;
|
|
445
515
|
/**
|
|
446
516
|
* @see {@link UpdateFindingAggregatorCommand}
|
|
447
517
|
*/
|
|
@@ -14,6 +14,7 @@ import { BatchDeleteAutomationRulesCommandInput, BatchDeleteAutomationRulesComma
|
|
|
14
14
|
import { BatchDisableStandardsCommandInput, BatchDisableStandardsCommandOutput } from "./commands/BatchDisableStandardsCommand";
|
|
15
15
|
import { BatchEnableStandardsCommandInput, BatchEnableStandardsCommandOutput } from "./commands/BatchEnableStandardsCommand";
|
|
16
16
|
import { BatchGetAutomationRulesCommandInput, BatchGetAutomationRulesCommandOutput } from "./commands/BatchGetAutomationRulesCommand";
|
|
17
|
+
import { BatchGetConfigurationPolicyAssociationsCommandInput, BatchGetConfigurationPolicyAssociationsCommandOutput } from "./commands/BatchGetConfigurationPolicyAssociationsCommand";
|
|
17
18
|
import { BatchGetSecurityControlsCommandInput, BatchGetSecurityControlsCommandOutput } from "./commands/BatchGetSecurityControlsCommand";
|
|
18
19
|
import { BatchGetStandardsControlAssociationsCommandInput, BatchGetStandardsControlAssociationsCommandOutput } from "./commands/BatchGetStandardsControlAssociationsCommand";
|
|
19
20
|
import { BatchImportFindingsCommandInput, BatchImportFindingsCommandOutput } from "./commands/BatchImportFindingsCommand";
|
|
@@ -22,11 +23,13 @@ import { BatchUpdateFindingsCommandInput, BatchUpdateFindingsCommandOutput } fro
|
|
|
22
23
|
import { BatchUpdateStandardsControlAssociationsCommandInput, BatchUpdateStandardsControlAssociationsCommandOutput } from "./commands/BatchUpdateStandardsControlAssociationsCommand";
|
|
23
24
|
import { CreateActionTargetCommandInput, CreateActionTargetCommandOutput } from "./commands/CreateActionTargetCommand";
|
|
24
25
|
import { CreateAutomationRuleCommandInput, CreateAutomationRuleCommandOutput } from "./commands/CreateAutomationRuleCommand";
|
|
26
|
+
import { CreateConfigurationPolicyCommandInput, CreateConfigurationPolicyCommandOutput } from "./commands/CreateConfigurationPolicyCommand";
|
|
25
27
|
import { CreateFindingAggregatorCommandInput, CreateFindingAggregatorCommandOutput } from "./commands/CreateFindingAggregatorCommand";
|
|
26
28
|
import { CreateInsightCommandInput, CreateInsightCommandOutput } from "./commands/CreateInsightCommand";
|
|
27
29
|
import { CreateMembersCommandInput, CreateMembersCommandOutput } from "./commands/CreateMembersCommand";
|
|
28
30
|
import { DeclineInvitationsCommandInput, DeclineInvitationsCommandOutput } from "./commands/DeclineInvitationsCommand";
|
|
29
31
|
import { DeleteActionTargetCommandInput, DeleteActionTargetCommandOutput } from "./commands/DeleteActionTargetCommand";
|
|
32
|
+
import { DeleteConfigurationPolicyCommandInput, DeleteConfigurationPolicyCommandOutput } from "./commands/DeleteConfigurationPolicyCommand";
|
|
30
33
|
import { DeleteFindingAggregatorCommandInput, DeleteFindingAggregatorCommandOutput } from "./commands/DeleteFindingAggregatorCommand";
|
|
31
34
|
import { DeleteInsightCommandInput, DeleteInsightCommandOutput } from "./commands/DeleteInsightCommand";
|
|
32
35
|
import { DeleteInvitationsCommandInput, DeleteInvitationsCommandOutput } from "./commands/DeleteInvitationsCommand";
|
|
@@ -47,6 +50,8 @@ import { EnableImportFindingsForProductCommandInput, EnableImportFindingsForProd
|
|
|
47
50
|
import { EnableOrganizationAdminAccountCommandInput, EnableOrganizationAdminAccountCommandOutput } from "./commands/EnableOrganizationAdminAccountCommand";
|
|
48
51
|
import { EnableSecurityHubCommandInput, EnableSecurityHubCommandOutput } from "./commands/EnableSecurityHubCommand";
|
|
49
52
|
import { GetAdministratorAccountCommandInput, GetAdministratorAccountCommandOutput } from "./commands/GetAdministratorAccountCommand";
|
|
53
|
+
import { GetConfigurationPolicyAssociationCommandInput, GetConfigurationPolicyAssociationCommandOutput } from "./commands/GetConfigurationPolicyAssociationCommand";
|
|
54
|
+
import { GetConfigurationPolicyCommandInput, GetConfigurationPolicyCommandOutput } from "./commands/GetConfigurationPolicyCommand";
|
|
50
55
|
import { GetEnabledStandardsCommandInput, GetEnabledStandardsCommandOutput } from "./commands/GetEnabledStandardsCommand";
|
|
51
56
|
import { GetFindingAggregatorCommandInput, GetFindingAggregatorCommandOutput } from "./commands/GetFindingAggregatorCommand";
|
|
52
57
|
import { GetFindingHistoryCommandInput, GetFindingHistoryCommandOutput } from "./commands/GetFindingHistoryCommand";
|
|
@@ -59,6 +64,8 @@ import { GetMembersCommandInput, GetMembersCommandOutput } from "./commands/GetM
|
|
|
59
64
|
import { GetSecurityControlDefinitionCommandInput, GetSecurityControlDefinitionCommandOutput } from "./commands/GetSecurityControlDefinitionCommand";
|
|
60
65
|
import { InviteMembersCommandInput, InviteMembersCommandOutput } from "./commands/InviteMembersCommand";
|
|
61
66
|
import { ListAutomationRulesCommandInput, ListAutomationRulesCommandOutput } from "./commands/ListAutomationRulesCommand";
|
|
67
|
+
import { ListConfigurationPoliciesCommandInput, ListConfigurationPoliciesCommandOutput } from "./commands/ListConfigurationPoliciesCommand";
|
|
68
|
+
import { ListConfigurationPolicyAssociationsCommandInput, ListConfigurationPolicyAssociationsCommandOutput } from "./commands/ListConfigurationPolicyAssociationsCommand";
|
|
62
69
|
import { ListEnabledProductsForImportCommandInput, ListEnabledProductsForImportCommandOutput } from "./commands/ListEnabledProductsForImportCommand";
|
|
63
70
|
import { ListFindingAggregatorsCommandInput, ListFindingAggregatorsCommandOutput } from "./commands/ListFindingAggregatorsCommand";
|
|
64
71
|
import { ListInvitationsCommandInput, ListInvitationsCommandOutput } from "./commands/ListInvitationsCommand";
|
|
@@ -67,9 +74,12 @@ import { ListOrganizationAdminAccountsCommandInput, ListOrganizationAdminAccount
|
|
|
67
74
|
import { ListSecurityControlDefinitionsCommandInput, ListSecurityControlDefinitionsCommandOutput } from "./commands/ListSecurityControlDefinitionsCommand";
|
|
68
75
|
import { ListStandardsControlAssociationsCommandInput, ListStandardsControlAssociationsCommandOutput } from "./commands/ListStandardsControlAssociationsCommand";
|
|
69
76
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
77
|
+
import { StartConfigurationPolicyAssociationCommandInput, StartConfigurationPolicyAssociationCommandOutput } from "./commands/StartConfigurationPolicyAssociationCommand";
|
|
78
|
+
import { StartConfigurationPolicyDisassociationCommandInput, StartConfigurationPolicyDisassociationCommandOutput } from "./commands/StartConfigurationPolicyDisassociationCommand";
|
|
70
79
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
71
80
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
72
81
|
import { UpdateActionTargetCommandInput, UpdateActionTargetCommandOutput } from "./commands/UpdateActionTargetCommand";
|
|
82
|
+
import { UpdateConfigurationPolicyCommandInput, UpdateConfigurationPolicyCommandOutput } from "./commands/UpdateConfigurationPolicyCommand";
|
|
73
83
|
import { UpdateFindingAggregatorCommandInput, UpdateFindingAggregatorCommandOutput } from "./commands/UpdateFindingAggregatorCommand";
|
|
74
84
|
import { UpdateFindingsCommandInput, UpdateFindingsCommandOutput } from "./commands/UpdateFindingsCommand";
|
|
75
85
|
import { UpdateInsightCommandInput, UpdateInsightCommandOutput } from "./commands/UpdateInsightCommand";
|
|
@@ -83,11 +93,11 @@ export { __Client };
|
|
|
83
93
|
/**
|
|
84
94
|
* @public
|
|
85
95
|
*/
|
|
86
|
-
export type ServiceInputTypes = AcceptAdministratorInvitationCommandInput | AcceptInvitationCommandInput | BatchDeleteAutomationRulesCommandInput | BatchDisableStandardsCommandInput | BatchEnableStandardsCommandInput | BatchGetAutomationRulesCommandInput | BatchGetSecurityControlsCommandInput | BatchGetStandardsControlAssociationsCommandInput | BatchImportFindingsCommandInput | BatchUpdateAutomationRulesCommandInput | BatchUpdateFindingsCommandInput | BatchUpdateStandardsControlAssociationsCommandInput | CreateActionTargetCommandInput | CreateAutomationRuleCommandInput | CreateFindingAggregatorCommandInput | CreateInsightCommandInput | CreateMembersCommandInput | DeclineInvitationsCommandInput | DeleteActionTargetCommandInput | DeleteFindingAggregatorCommandInput | DeleteInsightCommandInput | DeleteInvitationsCommandInput | DeleteMembersCommandInput | DescribeActionTargetsCommandInput | DescribeHubCommandInput | DescribeOrganizationConfigurationCommandInput | DescribeProductsCommandInput | DescribeStandardsCommandInput | DescribeStandardsControlsCommandInput | DisableImportFindingsForProductCommandInput | DisableOrganizationAdminAccountCommandInput | DisableSecurityHubCommandInput | DisassociateFromAdministratorAccountCommandInput | DisassociateFromMasterAccountCommandInput | DisassociateMembersCommandInput | EnableImportFindingsForProductCommandInput | EnableOrganizationAdminAccountCommandInput | EnableSecurityHubCommandInput | GetAdministratorAccountCommandInput | GetEnabledStandardsCommandInput | GetFindingAggregatorCommandInput | GetFindingHistoryCommandInput | GetFindingsCommandInput | GetInsightResultsCommandInput | GetInsightsCommandInput | GetInvitationsCountCommandInput | GetMasterAccountCommandInput | GetMembersCommandInput | GetSecurityControlDefinitionCommandInput | InviteMembersCommandInput | ListAutomationRulesCommandInput | ListEnabledProductsForImportCommandInput | ListFindingAggregatorsCommandInput | ListInvitationsCommandInput | ListMembersCommandInput | ListOrganizationAdminAccountsCommandInput | ListSecurityControlDefinitionsCommandInput | ListStandardsControlAssociationsCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateActionTargetCommandInput | UpdateFindingAggregatorCommandInput | UpdateFindingsCommandInput | UpdateInsightCommandInput | UpdateOrganizationConfigurationCommandInput | UpdateSecurityControlCommandInput | UpdateSecurityHubConfigurationCommandInput | UpdateStandardsControlCommandInput;
|
|
96
|
+
export type ServiceInputTypes = AcceptAdministratorInvitationCommandInput | AcceptInvitationCommandInput | BatchDeleteAutomationRulesCommandInput | BatchDisableStandardsCommandInput | BatchEnableStandardsCommandInput | BatchGetAutomationRulesCommandInput | BatchGetConfigurationPolicyAssociationsCommandInput | BatchGetSecurityControlsCommandInput | BatchGetStandardsControlAssociationsCommandInput | BatchImportFindingsCommandInput | BatchUpdateAutomationRulesCommandInput | BatchUpdateFindingsCommandInput | BatchUpdateStandardsControlAssociationsCommandInput | CreateActionTargetCommandInput | CreateAutomationRuleCommandInput | CreateConfigurationPolicyCommandInput | CreateFindingAggregatorCommandInput | CreateInsightCommandInput | CreateMembersCommandInput | DeclineInvitationsCommandInput | DeleteActionTargetCommandInput | DeleteConfigurationPolicyCommandInput | DeleteFindingAggregatorCommandInput | DeleteInsightCommandInput | DeleteInvitationsCommandInput | DeleteMembersCommandInput | DescribeActionTargetsCommandInput | DescribeHubCommandInput | DescribeOrganizationConfigurationCommandInput | DescribeProductsCommandInput | DescribeStandardsCommandInput | DescribeStandardsControlsCommandInput | DisableImportFindingsForProductCommandInput | DisableOrganizationAdminAccountCommandInput | DisableSecurityHubCommandInput | DisassociateFromAdministratorAccountCommandInput | DisassociateFromMasterAccountCommandInput | DisassociateMembersCommandInput | EnableImportFindingsForProductCommandInput | EnableOrganizationAdminAccountCommandInput | EnableSecurityHubCommandInput | GetAdministratorAccountCommandInput | GetConfigurationPolicyAssociationCommandInput | GetConfigurationPolicyCommandInput | GetEnabledStandardsCommandInput | GetFindingAggregatorCommandInput | GetFindingHistoryCommandInput | GetFindingsCommandInput | GetInsightResultsCommandInput | GetInsightsCommandInput | GetInvitationsCountCommandInput | GetMasterAccountCommandInput | GetMembersCommandInput | GetSecurityControlDefinitionCommandInput | InviteMembersCommandInput | ListAutomationRulesCommandInput | ListConfigurationPoliciesCommandInput | ListConfigurationPolicyAssociationsCommandInput | ListEnabledProductsForImportCommandInput | ListFindingAggregatorsCommandInput | ListInvitationsCommandInput | ListMembersCommandInput | ListOrganizationAdminAccountsCommandInput | ListSecurityControlDefinitionsCommandInput | ListStandardsControlAssociationsCommandInput | ListTagsForResourceCommandInput | StartConfigurationPolicyAssociationCommandInput | StartConfigurationPolicyDisassociationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateActionTargetCommandInput | UpdateConfigurationPolicyCommandInput | UpdateFindingAggregatorCommandInput | UpdateFindingsCommandInput | UpdateInsightCommandInput | UpdateOrganizationConfigurationCommandInput | UpdateSecurityControlCommandInput | UpdateSecurityHubConfigurationCommandInput | UpdateStandardsControlCommandInput;
|
|
87
97
|
/**
|
|
88
98
|
* @public
|
|
89
99
|
*/
|
|
90
|
-
export type ServiceOutputTypes = AcceptAdministratorInvitationCommandOutput | AcceptInvitationCommandOutput | BatchDeleteAutomationRulesCommandOutput | BatchDisableStandardsCommandOutput | BatchEnableStandardsCommandOutput | BatchGetAutomationRulesCommandOutput | BatchGetSecurityControlsCommandOutput | BatchGetStandardsControlAssociationsCommandOutput | BatchImportFindingsCommandOutput | BatchUpdateAutomationRulesCommandOutput | BatchUpdateFindingsCommandOutput | BatchUpdateStandardsControlAssociationsCommandOutput | CreateActionTargetCommandOutput | CreateAutomationRuleCommandOutput | CreateFindingAggregatorCommandOutput | CreateInsightCommandOutput | CreateMembersCommandOutput | DeclineInvitationsCommandOutput | DeleteActionTargetCommandOutput | DeleteFindingAggregatorCommandOutput | DeleteInsightCommandOutput | DeleteInvitationsCommandOutput | DeleteMembersCommandOutput | DescribeActionTargetsCommandOutput | DescribeHubCommandOutput | DescribeOrganizationConfigurationCommandOutput | DescribeProductsCommandOutput | DescribeStandardsCommandOutput | DescribeStandardsControlsCommandOutput | DisableImportFindingsForProductCommandOutput | DisableOrganizationAdminAccountCommandOutput | DisableSecurityHubCommandOutput | DisassociateFromAdministratorAccountCommandOutput | DisassociateFromMasterAccountCommandOutput | DisassociateMembersCommandOutput | EnableImportFindingsForProductCommandOutput | EnableOrganizationAdminAccountCommandOutput | EnableSecurityHubCommandOutput | GetAdministratorAccountCommandOutput | GetEnabledStandardsCommandOutput | GetFindingAggregatorCommandOutput | GetFindingHistoryCommandOutput | GetFindingsCommandOutput | GetInsightResultsCommandOutput | GetInsightsCommandOutput | GetInvitationsCountCommandOutput | GetMasterAccountCommandOutput | GetMembersCommandOutput | GetSecurityControlDefinitionCommandOutput | InviteMembersCommandOutput | ListAutomationRulesCommandOutput | ListEnabledProductsForImportCommandOutput | ListFindingAggregatorsCommandOutput | ListInvitationsCommandOutput | ListMembersCommandOutput | ListOrganizationAdminAccountsCommandOutput | ListSecurityControlDefinitionsCommandOutput | ListStandardsControlAssociationsCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateActionTargetCommandOutput | UpdateFindingAggregatorCommandOutput | UpdateFindingsCommandOutput | UpdateInsightCommandOutput | UpdateOrganizationConfigurationCommandOutput | UpdateSecurityControlCommandOutput | UpdateSecurityHubConfigurationCommandOutput | UpdateStandardsControlCommandOutput;
|
|
100
|
+
export type ServiceOutputTypes = AcceptAdministratorInvitationCommandOutput | AcceptInvitationCommandOutput | BatchDeleteAutomationRulesCommandOutput | BatchDisableStandardsCommandOutput | BatchEnableStandardsCommandOutput | BatchGetAutomationRulesCommandOutput | BatchGetConfigurationPolicyAssociationsCommandOutput | BatchGetSecurityControlsCommandOutput | BatchGetStandardsControlAssociationsCommandOutput | BatchImportFindingsCommandOutput | BatchUpdateAutomationRulesCommandOutput | BatchUpdateFindingsCommandOutput | BatchUpdateStandardsControlAssociationsCommandOutput | CreateActionTargetCommandOutput | CreateAutomationRuleCommandOutput | CreateConfigurationPolicyCommandOutput | CreateFindingAggregatorCommandOutput | CreateInsightCommandOutput | CreateMembersCommandOutput | DeclineInvitationsCommandOutput | DeleteActionTargetCommandOutput | DeleteConfigurationPolicyCommandOutput | DeleteFindingAggregatorCommandOutput | DeleteInsightCommandOutput | DeleteInvitationsCommandOutput | DeleteMembersCommandOutput | DescribeActionTargetsCommandOutput | DescribeHubCommandOutput | DescribeOrganizationConfigurationCommandOutput | DescribeProductsCommandOutput | DescribeStandardsCommandOutput | DescribeStandardsControlsCommandOutput | DisableImportFindingsForProductCommandOutput | DisableOrganizationAdminAccountCommandOutput | DisableSecurityHubCommandOutput | DisassociateFromAdministratorAccountCommandOutput | DisassociateFromMasterAccountCommandOutput | DisassociateMembersCommandOutput | EnableImportFindingsForProductCommandOutput | EnableOrganizationAdminAccountCommandOutput | EnableSecurityHubCommandOutput | GetAdministratorAccountCommandOutput | GetConfigurationPolicyAssociationCommandOutput | GetConfigurationPolicyCommandOutput | GetEnabledStandardsCommandOutput | GetFindingAggregatorCommandOutput | GetFindingHistoryCommandOutput | GetFindingsCommandOutput | GetInsightResultsCommandOutput | GetInsightsCommandOutput | GetInvitationsCountCommandOutput | GetMasterAccountCommandOutput | GetMembersCommandOutput | GetSecurityControlDefinitionCommandOutput | InviteMembersCommandOutput | ListAutomationRulesCommandOutput | ListConfigurationPoliciesCommandOutput | ListConfigurationPolicyAssociationsCommandOutput | ListEnabledProductsForImportCommandOutput | ListFindingAggregatorsCommandOutput | ListInvitationsCommandOutput | ListMembersCommandOutput | ListOrganizationAdminAccountsCommandOutput | ListSecurityControlDefinitionsCommandOutput | ListStandardsControlAssociationsCommandOutput | ListTagsForResourceCommandOutput | StartConfigurationPolicyAssociationCommandOutput | StartConfigurationPolicyDisassociationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateActionTargetCommandOutput | UpdateConfigurationPolicyCommandOutput | UpdateFindingAggregatorCommandOutput | UpdateFindingsCommandOutput | UpdateInsightCommandOutput | UpdateOrganizationConfigurationCommandOutput | UpdateSecurityControlCommandOutput | UpdateSecurityHubConfigurationCommandOutput | UpdateStandardsControlCommandOutput;
|
|
91
101
|
/**
|
|
92
102
|
* @public
|
|
93
103
|
*/
|
|
@@ -64,6 +64,9 @@ export interface BatchDisableStandardsCommandOutput extends BatchDisableStandard
|
|
|
64
64
|
* @see {@link BatchDisableStandardsCommandOutput} for command's `response` shape.
|
|
65
65
|
* @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
|
|
66
66
|
*
|
|
67
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
68
|
+
* <p>You don't have permission to perform the action specified in the request.</p>
|
|
69
|
+
*
|
|
67
70
|
* @throws {@link InternalException} (server fault)
|
|
68
71
|
* <p>Internal server error.</p>
|
|
69
72
|
*
|
|
@@ -70,6 +70,9 @@ export interface BatchEnableStandardsCommandOutput extends BatchEnableStandardsR
|
|
|
70
70
|
* @see {@link BatchEnableStandardsCommandOutput} for command's `response` shape.
|
|
71
71
|
* @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
|
|
72
72
|
*
|
|
73
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
74
|
+
* <p>You don't have permission to perform the action specified in the request.</p>
|
|
75
|
+
*
|
|
73
76
|
* @throws {@link InternalException} (server fault)
|
|
74
77
|
* <p>Internal server error.</p>
|
|
75
78
|
*
|
|
@@ -189,6 +189,9 @@ export interface BatchGetAutomationRulesCommandOutput extends BatchGetAutomation
|
|
|
189
189
|
* // Comparison: "EQUALS" || "NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS",
|
|
190
190
|
* // },
|
|
191
191
|
* // ],
|
|
192
|
+
* // ResourceApplicationArn: "<StringFilterList>",
|
|
193
|
+
* // ResourceApplicationName: "<StringFilterList>",
|
|
194
|
+
* // AwsAccountName: "<StringFilterList>",
|
|
192
195
|
* // },
|
|
193
196
|
* // Actions: [ // ActionList
|
|
194
197
|
* // { // AutomationRulesAction
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { BatchGetConfigurationPolicyAssociationsRequest, BatchGetConfigurationPolicyAssociationsResponse } from "../models/models_2";
|
|
5
|
+
import { SecurityHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SecurityHubClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link BatchGetConfigurationPolicyAssociationsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface BatchGetConfigurationPolicyAssociationsCommandInput extends BatchGetConfigurationPolicyAssociationsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link BatchGetConfigurationPolicyAssociationsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface BatchGetConfigurationPolicyAssociationsCommandOutput extends BatchGetConfigurationPolicyAssociationsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>
|
|
27
|
+
* Returns associations between an Security Hub configuration and a batch of target accounts, organizational units, or the root.
|
|
28
|
+
* Only the Security Hub delegated administrator can invoke this operation from the home Region. A configuration
|
|
29
|
+
* can refer to a configuration policy or to a self-managed configuration.
|
|
30
|
+
* </p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SecurityHubClient, BatchGetConfigurationPolicyAssociationsCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
35
|
+
* // const { SecurityHubClient, BatchGetConfigurationPolicyAssociationsCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
36
|
+
* const client = new SecurityHubClient(config);
|
|
37
|
+
* const input = { // BatchGetConfigurationPolicyAssociationsRequest
|
|
38
|
+
* ConfigurationPolicyAssociationIdentifiers: [ // ConfigurationPolicyAssociationsList // required
|
|
39
|
+
* { // ConfigurationPolicyAssociation
|
|
40
|
+
* Target: { // Target Union: only one key present
|
|
41
|
+
* AccountId: "STRING_VALUE",
|
|
42
|
+
* OrganizationalUnitId: "STRING_VALUE",
|
|
43
|
+
* RootId: "STRING_VALUE",
|
|
44
|
+
* },
|
|
45
|
+
* },
|
|
46
|
+
* ],
|
|
47
|
+
* };
|
|
48
|
+
* const command = new BatchGetConfigurationPolicyAssociationsCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // BatchGetConfigurationPolicyAssociationsResponse
|
|
51
|
+
* // ConfigurationPolicyAssociations: [ // ConfigurationPolicyAssociationList
|
|
52
|
+
* // { // ConfigurationPolicyAssociationSummary
|
|
53
|
+
* // ConfigurationPolicyId: "STRING_VALUE",
|
|
54
|
+
* // TargetId: "STRING_VALUE",
|
|
55
|
+
* // TargetType: "ACCOUNT" || "ORGANIZATIONAL_UNIT",
|
|
56
|
+
* // AssociationType: "INHERITED" || "APPLIED",
|
|
57
|
+
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
58
|
+
* // AssociationStatus: "PENDING" || "SUCCESS" || "FAILED",
|
|
59
|
+
* // AssociationStatusMessage: "STRING_VALUE",
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // UnprocessedConfigurationPolicyAssociations: [ // UnprocessedConfigurationPolicyAssociationList
|
|
63
|
+
* // { // UnprocessedConfigurationPolicyAssociation
|
|
64
|
+
* // ConfigurationPolicyAssociationIdentifiers: { // ConfigurationPolicyAssociation
|
|
65
|
+
* // Target: { // Target Union: only one key present
|
|
66
|
+
* // AccountId: "STRING_VALUE",
|
|
67
|
+
* // OrganizationalUnitId: "STRING_VALUE",
|
|
68
|
+
* // RootId: "STRING_VALUE",
|
|
69
|
+
* // },
|
|
70
|
+
* // },
|
|
71
|
+
* // ErrorCode: "STRING_VALUE",
|
|
72
|
+
* // ErrorReason: "STRING_VALUE",
|
|
73
|
+
* // },
|
|
74
|
+
* // ],
|
|
75
|
+
* // };
|
|
76
|
+
*
|
|
77
|
+
* ```
|
|
78
|
+
*
|
|
79
|
+
* @param BatchGetConfigurationPolicyAssociationsCommandInput - {@link BatchGetConfigurationPolicyAssociationsCommandInput}
|
|
80
|
+
* @returns {@link BatchGetConfigurationPolicyAssociationsCommandOutput}
|
|
81
|
+
* @see {@link BatchGetConfigurationPolicyAssociationsCommandInput} for command's `input` shape.
|
|
82
|
+
* @see {@link BatchGetConfigurationPolicyAssociationsCommandOutput} for command's `response` shape.
|
|
83
|
+
* @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
86
|
+
* <p>You don't have permission to perform the action specified in the request.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link InternalException} (server fault)
|
|
89
|
+
* <p>Internal server error.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link InvalidAccessException} (client fault)
|
|
92
|
+
* <p>The account doesn't have permission to perform this action.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link InvalidInputException} (client fault)
|
|
95
|
+
* <p>The request was rejected because you supplied an invalid or out-of-range value for an
|
|
96
|
+
* input parameter.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
99
|
+
* <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
|
|
100
|
+
* account or throttling limits. The error code describes the limit exceeded.</p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
103
|
+
* <p>The request was rejected because we can't find the specified resource.</p>
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link SecurityHubServiceException}
|
|
106
|
+
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
107
|
+
*
|
|
108
|
+
* @example To get configuration associations for a batch of targets
|
|
109
|
+
* ```javascript
|
|
110
|
+
* // This operation provides details about configuration associations for a batch of target accounts, organizational units, or the root.
|
|
111
|
+
* const input = {
|
|
112
|
+
* "ConfigurationPolicyAssociationIdentifiers": [
|
|
113
|
+
* {
|
|
114
|
+
* "Target": {
|
|
115
|
+
* "AccountId": "111122223333"
|
|
116
|
+
* }
|
|
117
|
+
* },
|
|
118
|
+
* {
|
|
119
|
+
* "Target": {
|
|
120
|
+
* "RootId": "r-f6g7h8i9j0example"
|
|
121
|
+
* }
|
|
122
|
+
* }
|
|
123
|
+
* ]
|
|
124
|
+
* };
|
|
125
|
+
* const command = new BatchGetConfigurationPolicyAssociationsCommand(input);
|
|
126
|
+
* const response = await client.send(command);
|
|
127
|
+
* /* response ==
|
|
128
|
+
* {
|
|
129
|
+
* "ConfigurationPolicyAssociations": [
|
|
130
|
+
* {
|
|
131
|
+
* "AssociationStatus": "SUCCESS",
|
|
132
|
+
* "AssociationStatusMessage": "This field is only populated for a failed association",
|
|
133
|
+
* "AssociationType": "INHERITED",
|
|
134
|
+
* "ConfigurationPolicyId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
|
|
135
|
+
* "TargetId": "111122223333",
|
|
136
|
+
* "TargetType": "ACCOUNT",
|
|
137
|
+
* "UpdatedAt": "2023-01-11T06:17:17.154Z"
|
|
138
|
+
* }
|
|
139
|
+
* ],
|
|
140
|
+
* "UnprocessedConfigurationPolicyAssociations": [
|
|
141
|
+
* {
|
|
142
|
+
* "ConfigurationPolicyAssociationIdentifiers": {
|
|
143
|
+
* "Target": {
|
|
144
|
+
* "RootId": "r-f6g7h8i9j0example"
|
|
145
|
+
* }
|
|
146
|
+
* },
|
|
147
|
+
* "ErrorCode": "400",
|
|
148
|
+
* "ErrorReason": "You do not have sufficient access to perform this action."
|
|
149
|
+
* }
|
|
150
|
+
* ]
|
|
151
|
+
* }
|
|
152
|
+
* *\/
|
|
153
|
+
* // example id: to-get-configuration-associations-for-a-batch-of-targets-1695178953302
|
|
154
|
+
* ```
|
|
155
|
+
*
|
|
156
|
+
*/
|
|
157
|
+
export declare class BatchGetConfigurationPolicyAssociationsCommand extends $Command<BatchGetConfigurationPolicyAssociationsCommandInput, BatchGetConfigurationPolicyAssociationsCommandOutput, SecurityHubClientResolvedConfig> {
|
|
158
|
+
readonly input: BatchGetConfigurationPolicyAssociationsCommandInput;
|
|
159
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
160
|
+
/**
|
|
161
|
+
* @public
|
|
162
|
+
*/
|
|
163
|
+
constructor(input: BatchGetConfigurationPolicyAssociationsCommandInput);
|
|
164
|
+
/**
|
|
165
|
+
* @internal
|
|
166
|
+
*/
|
|
167
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SecurityHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetConfigurationPolicyAssociationsCommandInput, BatchGetConfigurationPolicyAssociationsCommandOutput>;
|
|
168
|
+
/**
|
|
169
|
+
* @internal
|
|
170
|
+
*/
|
|
171
|
+
private serialize;
|
|
172
|
+
/**
|
|
173
|
+
* @internal
|
|
174
|
+
*/
|
|
175
|
+
private deserialize;
|
|
176
|
+
}
|
|
@@ -124,21 +124,41 @@ export interface BatchGetSecurityControlsCommandOutput extends BatchGetSecurityC
|
|
|
124
124
|
* "SecurityControls": [
|
|
125
125
|
* {
|
|
126
126
|
* "Description": "This AWS control checks whether ACM Certificates in your account are marked for expiration within a specified time period. Certificates provided by ACM are automatically renewed. ACM does not automatically renew certificates that you import.",
|
|
127
|
+
* "LastUpdateReason": "Stayed with default value",
|
|
128
|
+
* "Parameters": {
|
|
129
|
+
* "daysToExpiration": {
|
|
130
|
+
* "Value": {
|
|
131
|
+
* "Integer": 30
|
|
132
|
+
* },
|
|
133
|
+
* "ValueType": "DEFAULT"
|
|
134
|
+
* }
|
|
135
|
+
* },
|
|
127
136
|
* "RemediationUrl": "https://docs.aws.amazon.com/console/securityhub/ACM.1/remediation",
|
|
128
137
|
* "SecurityControlArn": "arn:aws:securityhub:us-west-2:123456789012:security-control/ACM.1",
|
|
129
138
|
* "SecurityControlId": "ACM.1",
|
|
130
139
|
* "SecurityControlStatus": "ENABLED",
|
|
131
140
|
* "SeverityRating": "MEDIUM",
|
|
132
|
-
* "Title": "Imported and ACM-issued certificates should be renewed after a specified time period"
|
|
141
|
+
* "Title": "Imported and ACM-issued certificates should be renewed after a specified time period",
|
|
142
|
+
* "UpdateStatus": "UPDATING"
|
|
133
143
|
* },
|
|
134
144
|
* {
|
|
135
145
|
* "Description": "This control checks whether all stages of Amazon API Gateway REST and WebSocket APIs have logging enabled. The control fails if logging is not enabled for all methods of a stage or if loggingLevel is neither ERROR nor INFO.",
|
|
146
|
+
* "LastUpdateReason": "Updated control parameters to comply with internal requirements",
|
|
147
|
+
* "Parameters": {
|
|
148
|
+
* "loggingLevel": {
|
|
149
|
+
* "Value": {
|
|
150
|
+
* "Enum": "ERROR"
|
|
151
|
+
* },
|
|
152
|
+
* "ValueType": "CUSTOM"
|
|
153
|
+
* }
|
|
154
|
+
* },
|
|
136
155
|
* "RemediationUrl": "https://docs.aws.amazon.com/console/securityhub/APIGateway.1/remediation",
|
|
137
156
|
* "SecurityControlArn": "arn:aws:securityhub:us-west-2:123456789012:security-control/APIGateway.1",
|
|
138
157
|
* "SecurityControlId": "APIGateway.1",
|
|
139
158
|
* "SecurityControlStatus": "ENABLED",
|
|
140
159
|
* "SeverityRating": "MEDIUM",
|
|
141
|
-
* "Title": "API Gateway REST and WebSocket API execution logging should be enabled"
|
|
160
|
+
* "Title": "API Gateway REST and WebSocket API execution logging should be enabled",
|
|
161
|
+
* "UpdateStatus": "UPDATING"
|
|
142
162
|
* }
|
|
143
163
|
* ]
|
|
144
164
|
* }
|
|
@@ -3972,6 +3972,8 @@ export interface BatchImportFindingsCommandOutput extends BatchImportFindingsRes
|
|
|
3972
3972
|
* },
|
|
3973
3973
|
* },
|
|
3974
3974
|
* },
|
|
3975
|
+
* ApplicationName: "STRING_VALUE",
|
|
3976
|
+
* ApplicationArn: "STRING_VALUE",
|
|
3975
3977
|
* },
|
|
3976
3978
|
* ],
|
|
3977
3979
|
* Compliance: { // Compliance
|
|
@@ -4215,6 +4217,8 @@ export interface BatchImportFindingsCommandOutput extends BatchImportFindingsRes
|
|
|
4215
4217
|
* Description: "STRING_VALUE",
|
|
4216
4218
|
* Labels: "<TypeList>",
|
|
4217
4219
|
* },
|
|
4220
|
+
* ProcessedAt: "STRING_VALUE",
|
|
4221
|
+
* AwsAccountName: "STRING_VALUE",
|
|
4218
4222
|
* },
|
|
4219
4223
|
* ],
|
|
4220
4224
|
* };
|
|
@@ -182,6 +182,9 @@ export interface BatchUpdateAutomationRulesCommandOutput extends BatchUpdateAuto
|
|
|
182
182
|
* Comparison: "EQUALS" || "NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS",
|
|
183
183
|
* },
|
|
184
184
|
* ],
|
|
185
|
+
* ResourceApplicationArn: "<StringFilterList>",
|
|
186
|
+
* ResourceApplicationName: "<StringFilterList>",
|
|
187
|
+
* AwsAccountName: "<StringFilterList>",
|
|
185
188
|
* },
|
|
186
189
|
* Actions: [ // ActionList
|
|
187
190
|
* { // AutomationRulesAction
|
|
@@ -67,6 +67,9 @@ export interface BatchUpdateStandardsControlAssociationsCommandOutput extends Ba
|
|
|
67
67
|
* @see {@link BatchUpdateStandardsControlAssociationsCommandOutput} for command's `response` shape.
|
|
68
68
|
* @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
|
|
69
69
|
*
|
|
70
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
71
|
+
* <p>You don't have permission to perform the action specified in the request.</p>
|
|
72
|
+
*
|
|
70
73
|
* @throws {@link InternalException} (server fault)
|
|
71
74
|
* <p>Internal server error.</p>
|
|
72
75
|
*
|
|
@@ -181,6 +181,9 @@ export interface CreateAutomationRuleCommandOutput extends CreateAutomationRuleR
|
|
|
181
181
|
* Comparison: "EQUALS" || "NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS",
|
|
182
182
|
* },
|
|
183
183
|
* ],
|
|
184
|
+
* ResourceApplicationArn: "<StringFilterList>",
|
|
185
|
+
* ResourceApplicationName: "<StringFilterList>",
|
|
186
|
+
* AwsAccountName: "<StringFilterList>",
|
|
184
187
|
* },
|
|
185
188
|
* Actions: [ // ActionList // required
|
|
186
189
|
* { // AutomationRulesAction
|