@aws-sdk/client-securityhub 3.1079.0 → 3.1081.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 +49 -0
- package/dist-cjs/index.js +459 -51
- package/dist-es/SecurityHub.js +14 -0
- package/dist-es/commands/CreateConnectorCommand.js +4 -0
- package/dist-es/commands/DeleteConnectorCommand.js +4 -0
- package/dist-es/commands/DisableSecurityHubFeatureV2Command.js +4 -0
- package/dist-es/commands/EnableSecurityHubFeatureV2Command.js +4 -0
- package/dist-es/commands/GetConnectorCommand.js +4 -0
- package/dist-es/commands/ListConnectorsCommand.js +4 -0
- package/dist-es/commands/UpdateConnectorCommand.js +4 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/models/enums.js +96 -0
- package/dist-es/schemas/schemas_0.js +284 -50
- package/dist-types/SecurityHub.d.ts +50 -0
- package/dist-types/SecurityHubClient.d.ts +9 -2
- package/dist-types/commands/BatchDisableStandardsCommand.d.ts +2 -1
- package/dist-types/commands/BatchEnableStandardsCommand.d.ts +2 -1
- package/dist-types/commands/BatchGetAutomationRulesCommand.d.ts +3 -0
- package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +1 -0
- package/dist-types/commands/BatchImportFindingsCommand.d.ts +11 -1
- package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +3 -0
- package/dist-types/commands/CreateAutomationRuleCommand.d.ts +3 -0
- package/dist-types/commands/CreateAutomationRuleV2Command.d.ts +2 -2
- package/dist-types/commands/CreateConnectorCommand.d.ts +151 -0
- package/dist-types/commands/CreateConnectorV2Command.d.ts +14 -1
- package/dist-types/commands/CreateInsightCommand.d.ts +3 -0
- package/dist-types/commands/DeleteConnectorCommand.d.ts +111 -0
- package/dist-types/commands/DeleteConnectorV2Command.d.ts +4 -2
- package/dist-types/commands/DescribeSecurityHubV2Command.d.ts +6 -0
- package/dist-types/commands/DescribeStandardsCommand.d.ts +4 -0
- package/dist-types/commands/DisableSecurityHubFeatureV2Command.d.ts +88 -0
- package/dist-types/commands/DisableSecurityHubV2Command.d.ts +1 -1
- package/dist-types/commands/EnableSecurityHubFeatureV2Command.d.ts +88 -0
- package/dist-types/commands/GetAutomationRuleV2Command.d.ts +2 -2
- package/dist-types/commands/GetConnectorCommand.d.ts +165 -0
- package/dist-types/commands/GetConnectorV2Command.d.ts +21 -1
- package/dist-types/commands/GetEnabledStandardsCommand.d.ts +5 -1
- package/dist-types/commands/GetFindingStatisticsV2Command.d.ts +3 -3
- package/dist-types/commands/GetFindingsCommand.d.ts +14 -1
- package/dist-types/commands/GetFindingsTrendsV2Command.d.ts +2 -2
- package/dist-types/commands/GetFindingsV2Command.d.ts +2 -2
- package/dist-types/commands/GetInsightsCommand.d.ts +3 -0
- package/dist-types/commands/GetResourcesStatisticsV2Command.d.ts +3 -3
- package/dist-types/commands/GetResourcesTrendsV2Command.d.ts +2 -2
- package/dist-types/commands/GetResourcesV2Command.d.ts +10 -4
- package/dist-types/commands/GetSecurityControlDefinitionCommand.d.ts +2 -1
- package/dist-types/commands/InviteMembersCommand.d.ts +1 -1
- package/dist-types/commands/ListAggregatorsV2Command.d.ts +1 -1
- package/dist-types/commands/ListAutomationRulesCommand.d.ts +1 -1
- package/dist-types/commands/ListAutomationRulesV2Command.d.ts +1 -1
- package/dist-types/commands/ListConfigurationPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListConfigurationPolicyAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListConnectorsCommand.d.ts +155 -0
- package/dist-types/commands/ListConnectorsV2Command.d.ts +34 -5
- package/dist-types/commands/ListEnabledProductsForImportCommand.d.ts +1 -1
- package/dist-types/commands/ListFindingAggregatorsCommand.d.ts +1 -1
- package/dist-types/commands/ListInvitationsCommand.d.ts +1 -1
- package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +4 -0
- package/dist-types/commands/UpdateAutomationRuleV2Command.d.ts +2 -2
- package/dist-types/commands/UpdateConnectorCommand.d.ts +144 -0
- package/dist-types/commands/UpdateConnectorV2Command.d.ts +16 -2
- package/dist-types/commands/UpdateFindingsCommand.d.ts +3 -0
- package/dist-types/commands/UpdateInsightCommand.d.ts +3 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/models/enums.d.ts +184 -0
- package/dist-types/models/models_0.d.ts +15 -0
- package/dist-types/models/models_2.d.ts +889 -635
- package/dist-types/models/models_3.d.ts +625 -4
- package/dist-types/schemas/schemas_0.d.ts +36 -0
- package/dist-types/ts3.4/SecurityHub.d.ts +120 -0
- package/dist-types/ts3.4/SecurityHubClient.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateConnectorCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/DeleteConnectorCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/DeleteConnectorV2Command.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableSecurityHubFeatureV2Command.d.ts +44 -0
- package/dist-types/ts3.4/commands/EnableSecurityHubFeatureV2Command.d.ts +44 -0
- package/dist-types/ts3.4/commands/GetConnectorCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetSecurityControlDefinitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/InviteMembersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAggregatorsV2Command.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAutomationRulesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAutomationRulesV2Command.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListConfigurationPoliciesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListConfigurationPolicyAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/ListConnectorsV2Command.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListEnabledProductsForImportCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListFindingAggregatorsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateConnectorCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/UpdateConnectorV2Command.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/models/enums.d.ts +115 -0
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/dist-types/ts3.4/models/models_2.d.ts +250 -152
- package/dist-types/ts3.4/models/models_3.d.ts +173 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +36 -0
- package/package.json +3 -3
|
@@ -18,6 +18,7 @@ import { type CreateAggregatorV2CommandInput, type CreateAggregatorV2CommandOutp
|
|
|
18
18
|
import { type CreateAutomationRuleCommandInput, type CreateAutomationRuleCommandOutput } from "./commands/CreateAutomationRuleCommand";
|
|
19
19
|
import { type CreateAutomationRuleV2CommandInput, type CreateAutomationRuleV2CommandOutput } from "./commands/CreateAutomationRuleV2Command";
|
|
20
20
|
import { type CreateConfigurationPolicyCommandInput, type CreateConfigurationPolicyCommandOutput } from "./commands/CreateConfigurationPolicyCommand";
|
|
21
|
+
import { type CreateConnectorCommandInput, type CreateConnectorCommandOutput } from "./commands/CreateConnectorCommand";
|
|
21
22
|
import { type CreateConnectorV2CommandInput, type CreateConnectorV2CommandOutput } from "./commands/CreateConnectorV2Command";
|
|
22
23
|
import { type CreateFindingAggregatorCommandInput, type CreateFindingAggregatorCommandOutput } from "./commands/CreateFindingAggregatorCommand";
|
|
23
24
|
import { type CreateInsightCommandInput, type CreateInsightCommandOutput } from "./commands/CreateInsightCommand";
|
|
@@ -28,6 +29,7 @@ import { type DeleteActionTargetCommandInput, type DeleteActionTargetCommandOutp
|
|
|
28
29
|
import { type DeleteAggregatorV2CommandInput, type DeleteAggregatorV2CommandOutput } from "./commands/DeleteAggregatorV2Command";
|
|
29
30
|
import { type DeleteAutomationRuleV2CommandInput, type DeleteAutomationRuleV2CommandOutput } from "./commands/DeleteAutomationRuleV2Command";
|
|
30
31
|
import { type DeleteConfigurationPolicyCommandInput, type DeleteConfigurationPolicyCommandOutput } from "./commands/DeleteConfigurationPolicyCommand";
|
|
32
|
+
import { type DeleteConnectorCommandInput, type DeleteConnectorCommandOutput } from "./commands/DeleteConnectorCommand";
|
|
31
33
|
import { type DeleteConnectorV2CommandInput, type DeleteConnectorV2CommandOutput } from "./commands/DeleteConnectorV2Command";
|
|
32
34
|
import { type DeleteFindingAggregatorCommandInput, type DeleteFindingAggregatorCommandOutput } from "./commands/DeleteFindingAggregatorCommand";
|
|
33
35
|
import { type DeleteInsightCommandInput, type DeleteInsightCommandOutput } from "./commands/DeleteInsightCommand";
|
|
@@ -44,6 +46,7 @@ import { type DescribeStandardsControlsCommandInput, type DescribeStandardsContr
|
|
|
44
46
|
import { type DisableImportFindingsForProductCommandInput, type DisableImportFindingsForProductCommandOutput } from "./commands/DisableImportFindingsForProductCommand";
|
|
45
47
|
import { type DisableOrganizationAdminAccountCommandInput, type DisableOrganizationAdminAccountCommandOutput } from "./commands/DisableOrganizationAdminAccountCommand";
|
|
46
48
|
import { type DisableSecurityHubCommandInput, type DisableSecurityHubCommandOutput } from "./commands/DisableSecurityHubCommand";
|
|
49
|
+
import { type DisableSecurityHubFeatureV2CommandInput, type DisableSecurityHubFeatureV2CommandOutput } from "./commands/DisableSecurityHubFeatureV2Command";
|
|
47
50
|
import { type DisableSecurityHubV2CommandInput, type DisableSecurityHubV2CommandOutput } from "./commands/DisableSecurityHubV2Command";
|
|
48
51
|
import { type DisassociateFromAdministratorAccountCommandInput, type DisassociateFromAdministratorAccountCommandOutput } from "./commands/DisassociateFromAdministratorAccountCommand";
|
|
49
52
|
import { type DisassociateFromMasterAccountCommandInput, type DisassociateFromMasterAccountCommandOutput } from "./commands/DisassociateFromMasterAccountCommand";
|
|
@@ -51,6 +54,7 @@ import { type DisassociateMembersCommandInput, type DisassociateMembersCommandOu
|
|
|
51
54
|
import { type EnableImportFindingsForProductCommandInput, type EnableImportFindingsForProductCommandOutput } from "./commands/EnableImportFindingsForProductCommand";
|
|
52
55
|
import { type EnableOrganizationAdminAccountCommandInput, type EnableOrganizationAdminAccountCommandOutput } from "./commands/EnableOrganizationAdminAccountCommand";
|
|
53
56
|
import { type EnableSecurityHubCommandInput, type EnableSecurityHubCommandOutput } from "./commands/EnableSecurityHubCommand";
|
|
57
|
+
import { type EnableSecurityHubFeatureV2CommandInput, type EnableSecurityHubFeatureV2CommandOutput } from "./commands/EnableSecurityHubFeatureV2Command";
|
|
54
58
|
import { type EnableSecurityHubV2CommandInput, type EnableSecurityHubV2CommandOutput } from "./commands/EnableSecurityHubV2Command";
|
|
55
59
|
import { type GenerateRecommendedPolicyV2CommandInput, type GenerateRecommendedPolicyV2CommandOutput } from "./commands/GenerateRecommendedPolicyV2Command";
|
|
56
60
|
import { type GetAdministratorAccountCommandInput, type GetAdministratorAccountCommandOutput } from "./commands/GetAdministratorAccountCommand";
|
|
@@ -58,6 +62,7 @@ import { type GetAggregatorV2CommandInput, type GetAggregatorV2CommandOutput } f
|
|
|
58
62
|
import { type GetAutomationRuleV2CommandInput, type GetAutomationRuleV2CommandOutput } from "./commands/GetAutomationRuleV2Command";
|
|
59
63
|
import { type GetConfigurationPolicyAssociationCommandInput, type GetConfigurationPolicyAssociationCommandOutput } from "./commands/GetConfigurationPolicyAssociationCommand";
|
|
60
64
|
import { type GetConfigurationPolicyCommandInput, type GetConfigurationPolicyCommandOutput } from "./commands/GetConfigurationPolicyCommand";
|
|
65
|
+
import { type GetConnectorCommandInput, type GetConnectorCommandOutput } from "./commands/GetConnectorCommand";
|
|
61
66
|
import { type GetConnectorV2CommandInput, type GetConnectorV2CommandOutput } from "./commands/GetConnectorV2Command";
|
|
62
67
|
import { type GetEnabledStandardsCommandInput, type GetEnabledStandardsCommandOutput } from "./commands/GetEnabledStandardsCommand";
|
|
63
68
|
import { type GetFindingAggregatorCommandInput, type GetFindingAggregatorCommandOutput } from "./commands/GetFindingAggregatorCommand";
|
|
@@ -82,6 +87,7 @@ import { type ListAutomationRulesCommandInput, type ListAutomationRulesCommandOu
|
|
|
82
87
|
import { type ListAutomationRulesV2CommandInput, type ListAutomationRulesV2CommandOutput } from "./commands/ListAutomationRulesV2Command";
|
|
83
88
|
import { type ListConfigurationPoliciesCommandInput, type ListConfigurationPoliciesCommandOutput } from "./commands/ListConfigurationPoliciesCommand";
|
|
84
89
|
import { type ListConfigurationPolicyAssociationsCommandInput, type ListConfigurationPolicyAssociationsCommandOutput } from "./commands/ListConfigurationPolicyAssociationsCommand";
|
|
90
|
+
import { type ListConnectorsCommandInput, type ListConnectorsCommandOutput } from "./commands/ListConnectorsCommand";
|
|
85
91
|
import { type ListConnectorsV2CommandInput, type ListConnectorsV2CommandOutput } from "./commands/ListConnectorsV2Command";
|
|
86
92
|
import { type ListEnabledProductsForImportCommandInput, type ListEnabledProductsForImportCommandOutput } from "./commands/ListEnabledProductsForImportCommand";
|
|
87
93
|
import { type ListFindingAggregatorsCommandInput, type ListFindingAggregatorsCommandOutput } from "./commands/ListFindingAggregatorsCommand";
|
|
@@ -100,6 +106,7 @@ import { type UpdateActionTargetCommandInput, type UpdateActionTargetCommandOutp
|
|
|
100
106
|
import { type UpdateAggregatorV2CommandInput, type UpdateAggregatorV2CommandOutput } from "./commands/UpdateAggregatorV2Command";
|
|
101
107
|
import { type UpdateAutomationRuleV2CommandInput, type UpdateAutomationRuleV2CommandOutput } from "./commands/UpdateAutomationRuleV2Command";
|
|
102
108
|
import { type UpdateConfigurationPolicyCommandInput, type UpdateConfigurationPolicyCommandOutput } from "./commands/UpdateConfigurationPolicyCommand";
|
|
109
|
+
import { type UpdateConnectorCommandInput, type UpdateConnectorCommandOutput } from "./commands/UpdateConnectorCommand";
|
|
103
110
|
import { type UpdateConnectorV2CommandInput, type UpdateConnectorV2CommandOutput } from "./commands/UpdateConnectorV2Command";
|
|
104
111
|
import { type UpdateFindingAggregatorCommandInput, type UpdateFindingAggregatorCommandOutput } from "./commands/UpdateFindingAggregatorCommand";
|
|
105
112
|
import { type UpdateFindingsCommandInput, type UpdateFindingsCommandOutput } from "./commands/UpdateFindingsCommand";
|
|
@@ -225,6 +232,12 @@ export interface SecurityHub {
|
|
|
225
232
|
createConfigurationPolicy(args: CreateConfigurationPolicyCommandInput, options?: __HttpHandlerOptions): Promise<CreateConfigurationPolicyCommandOutput>;
|
|
226
233
|
createConfigurationPolicy(args: CreateConfigurationPolicyCommandInput, cb: (err: any, data?: CreateConfigurationPolicyCommandOutput) => void): void;
|
|
227
234
|
createConfigurationPolicy(args: CreateConfigurationPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateConfigurationPolicyCommandOutput) => void): void;
|
|
235
|
+
/**
|
|
236
|
+
* @see {@link CreateConnectorCommand}
|
|
237
|
+
*/
|
|
238
|
+
createConnector(args: CreateConnectorCommandInput, options?: __HttpHandlerOptions): Promise<CreateConnectorCommandOutput>;
|
|
239
|
+
createConnector(args: CreateConnectorCommandInput, cb: (err: any, data?: CreateConnectorCommandOutput) => void): void;
|
|
240
|
+
createConnector(args: CreateConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateConnectorCommandOutput) => void): void;
|
|
228
241
|
/**
|
|
229
242
|
* @see {@link CreateConnectorV2Command}
|
|
230
243
|
*/
|
|
@@ -285,6 +298,12 @@ export interface SecurityHub {
|
|
|
285
298
|
deleteConfigurationPolicy(args: DeleteConfigurationPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteConfigurationPolicyCommandOutput>;
|
|
286
299
|
deleteConfigurationPolicy(args: DeleteConfigurationPolicyCommandInput, cb: (err: any, data?: DeleteConfigurationPolicyCommandOutput) => void): void;
|
|
287
300
|
deleteConfigurationPolicy(args: DeleteConfigurationPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteConfigurationPolicyCommandOutput) => void): void;
|
|
301
|
+
/**
|
|
302
|
+
* @see {@link DeleteConnectorCommand}
|
|
303
|
+
*/
|
|
304
|
+
deleteConnector(args: DeleteConnectorCommandInput, options?: __HttpHandlerOptions): Promise<DeleteConnectorCommandOutput>;
|
|
305
|
+
deleteConnector(args: DeleteConnectorCommandInput, cb: (err: any, data?: DeleteConnectorCommandOutput) => void): void;
|
|
306
|
+
deleteConnector(args: DeleteConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteConnectorCommandOutput) => void): void;
|
|
288
307
|
/**
|
|
289
308
|
* @see {@link DeleteConnectorV2Command}
|
|
290
309
|
*/
|
|
@@ -389,6 +408,12 @@ export interface SecurityHub {
|
|
|
389
408
|
disableSecurityHub(args: DisableSecurityHubCommandInput, options?: __HttpHandlerOptions): Promise<DisableSecurityHubCommandOutput>;
|
|
390
409
|
disableSecurityHub(args: DisableSecurityHubCommandInput, cb: (err: any, data?: DisableSecurityHubCommandOutput) => void): void;
|
|
391
410
|
disableSecurityHub(args: DisableSecurityHubCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableSecurityHubCommandOutput) => void): void;
|
|
411
|
+
/**
|
|
412
|
+
* @see {@link DisableSecurityHubFeatureV2Command}
|
|
413
|
+
*/
|
|
414
|
+
disableSecurityHubFeatureV2(args: DisableSecurityHubFeatureV2CommandInput, options?: __HttpHandlerOptions): Promise<DisableSecurityHubFeatureV2CommandOutput>;
|
|
415
|
+
disableSecurityHubFeatureV2(args: DisableSecurityHubFeatureV2CommandInput, cb: (err: any, data?: DisableSecurityHubFeatureV2CommandOutput) => void): void;
|
|
416
|
+
disableSecurityHubFeatureV2(args: DisableSecurityHubFeatureV2CommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableSecurityHubFeatureV2CommandOutput) => void): void;
|
|
392
417
|
/**
|
|
393
418
|
* @see {@link DisableSecurityHubV2Command}
|
|
394
419
|
*/
|
|
@@ -435,6 +460,12 @@ export interface SecurityHub {
|
|
|
435
460
|
enableSecurityHub(args: EnableSecurityHubCommandInput, options?: __HttpHandlerOptions): Promise<EnableSecurityHubCommandOutput>;
|
|
436
461
|
enableSecurityHub(args: EnableSecurityHubCommandInput, cb: (err: any, data?: EnableSecurityHubCommandOutput) => void): void;
|
|
437
462
|
enableSecurityHub(args: EnableSecurityHubCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableSecurityHubCommandOutput) => void): void;
|
|
463
|
+
/**
|
|
464
|
+
* @see {@link EnableSecurityHubFeatureV2Command}
|
|
465
|
+
*/
|
|
466
|
+
enableSecurityHubFeatureV2(args: EnableSecurityHubFeatureV2CommandInput, options?: __HttpHandlerOptions): Promise<EnableSecurityHubFeatureV2CommandOutput>;
|
|
467
|
+
enableSecurityHubFeatureV2(args: EnableSecurityHubFeatureV2CommandInput, cb: (err: any, data?: EnableSecurityHubFeatureV2CommandOutput) => void): void;
|
|
468
|
+
enableSecurityHubFeatureV2(args: EnableSecurityHubFeatureV2CommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableSecurityHubFeatureV2CommandOutput) => void): void;
|
|
438
469
|
/**
|
|
439
470
|
* @see {@link EnableSecurityHubV2Command}
|
|
440
471
|
*/
|
|
@@ -479,6 +510,12 @@ export interface SecurityHub {
|
|
|
479
510
|
getConfigurationPolicyAssociation(args: GetConfigurationPolicyAssociationCommandInput, options?: __HttpHandlerOptions): Promise<GetConfigurationPolicyAssociationCommandOutput>;
|
|
480
511
|
getConfigurationPolicyAssociation(args: GetConfigurationPolicyAssociationCommandInput, cb: (err: any, data?: GetConfigurationPolicyAssociationCommandOutput) => void): void;
|
|
481
512
|
getConfigurationPolicyAssociation(args: GetConfigurationPolicyAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConfigurationPolicyAssociationCommandOutput) => void): void;
|
|
513
|
+
/**
|
|
514
|
+
* @see {@link GetConnectorCommand}
|
|
515
|
+
*/
|
|
516
|
+
getConnector(args: GetConnectorCommandInput, options?: __HttpHandlerOptions): Promise<GetConnectorCommandOutput>;
|
|
517
|
+
getConnector(args: GetConnectorCommandInput, cb: (err: any, data?: GetConnectorCommandOutput) => void): void;
|
|
518
|
+
getConnector(args: GetConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConnectorCommandOutput) => void): void;
|
|
482
519
|
/**
|
|
483
520
|
* @see {@link GetConnectorV2Command}
|
|
484
521
|
*/
|
|
@@ -635,6 +672,13 @@ export interface SecurityHub {
|
|
|
635
672
|
listConfigurationPolicyAssociations(args: ListConfigurationPolicyAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<ListConfigurationPolicyAssociationsCommandOutput>;
|
|
636
673
|
listConfigurationPolicyAssociations(args: ListConfigurationPolicyAssociationsCommandInput, cb: (err: any, data?: ListConfigurationPolicyAssociationsCommandOutput) => void): void;
|
|
637
674
|
listConfigurationPolicyAssociations(args: ListConfigurationPolicyAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConfigurationPolicyAssociationsCommandOutput) => void): void;
|
|
675
|
+
/**
|
|
676
|
+
* @see {@link ListConnectorsCommand}
|
|
677
|
+
*/
|
|
678
|
+
listConnectors(): Promise<ListConnectorsCommandOutput>;
|
|
679
|
+
listConnectors(args: ListConnectorsCommandInput, options?: __HttpHandlerOptions): Promise<ListConnectorsCommandOutput>;
|
|
680
|
+
listConnectors(args: ListConnectorsCommandInput, cb: (err: any, data?: ListConnectorsCommandOutput) => void): void;
|
|
681
|
+
listConnectors(args: ListConnectorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConnectorsCommandOutput) => void): void;
|
|
638
682
|
/**
|
|
639
683
|
* @see {@link ListConnectorsV2Command}
|
|
640
684
|
*/
|
|
@@ -750,6 +794,12 @@ export interface SecurityHub {
|
|
|
750
794
|
updateConfigurationPolicy(args: UpdateConfigurationPolicyCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConfigurationPolicyCommandOutput>;
|
|
751
795
|
updateConfigurationPolicy(args: UpdateConfigurationPolicyCommandInput, cb: (err: any, data?: UpdateConfigurationPolicyCommandOutput) => void): void;
|
|
752
796
|
updateConfigurationPolicy(args: UpdateConfigurationPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConfigurationPolicyCommandOutput) => void): void;
|
|
797
|
+
/**
|
|
798
|
+
* @see {@link UpdateConnectorCommand}
|
|
799
|
+
*/
|
|
800
|
+
updateConnector(args: UpdateConnectorCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConnectorCommandOutput>;
|
|
801
|
+
updateConnector(args: UpdateConnectorCommandInput, cb: (err: any, data?: UpdateConnectorCommandOutput) => void): void;
|
|
802
|
+
updateConnector(args: UpdateConnectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConnectorCommandOutput) => void): void;
|
|
753
803
|
/**
|
|
754
804
|
* @see {@link UpdateConnectorV2Command}
|
|
755
805
|
*/
|
|
@@ -25,6 +25,7 @@ import type { CreateAggregatorV2CommandInput, CreateAggregatorV2CommandOutput }
|
|
|
25
25
|
import type { CreateAutomationRuleCommandInput, CreateAutomationRuleCommandOutput } from "./commands/CreateAutomationRuleCommand";
|
|
26
26
|
import type { CreateAutomationRuleV2CommandInput, CreateAutomationRuleV2CommandOutput } from "./commands/CreateAutomationRuleV2Command";
|
|
27
27
|
import type { CreateConfigurationPolicyCommandInput, CreateConfigurationPolicyCommandOutput } from "./commands/CreateConfigurationPolicyCommand";
|
|
28
|
+
import type { CreateConnectorCommandInput, CreateConnectorCommandOutput } from "./commands/CreateConnectorCommand";
|
|
28
29
|
import type { CreateConnectorV2CommandInput, CreateConnectorV2CommandOutput } from "./commands/CreateConnectorV2Command";
|
|
29
30
|
import type { CreateFindingAggregatorCommandInput, CreateFindingAggregatorCommandOutput } from "./commands/CreateFindingAggregatorCommand";
|
|
30
31
|
import type { CreateInsightCommandInput, CreateInsightCommandOutput } from "./commands/CreateInsightCommand";
|
|
@@ -35,6 +36,7 @@ import type { DeleteActionTargetCommandInput, DeleteActionTargetCommandOutput }
|
|
|
35
36
|
import type { DeleteAggregatorV2CommandInput, DeleteAggregatorV2CommandOutput } from "./commands/DeleteAggregatorV2Command";
|
|
36
37
|
import type { DeleteAutomationRuleV2CommandInput, DeleteAutomationRuleV2CommandOutput } from "./commands/DeleteAutomationRuleV2Command";
|
|
37
38
|
import type { DeleteConfigurationPolicyCommandInput, DeleteConfigurationPolicyCommandOutput } from "./commands/DeleteConfigurationPolicyCommand";
|
|
39
|
+
import type { DeleteConnectorCommandInput, DeleteConnectorCommandOutput } from "./commands/DeleteConnectorCommand";
|
|
38
40
|
import type { DeleteConnectorV2CommandInput, DeleteConnectorV2CommandOutput } from "./commands/DeleteConnectorV2Command";
|
|
39
41
|
import type { DeleteFindingAggregatorCommandInput, DeleteFindingAggregatorCommandOutput } from "./commands/DeleteFindingAggregatorCommand";
|
|
40
42
|
import type { DeleteInsightCommandInput, DeleteInsightCommandOutput } from "./commands/DeleteInsightCommand";
|
|
@@ -51,6 +53,7 @@ import type { DescribeStandardsControlsCommandInput, DescribeStandardsControlsCo
|
|
|
51
53
|
import type { DisableImportFindingsForProductCommandInput, DisableImportFindingsForProductCommandOutput } from "./commands/DisableImportFindingsForProductCommand";
|
|
52
54
|
import type { DisableOrganizationAdminAccountCommandInput, DisableOrganizationAdminAccountCommandOutput } from "./commands/DisableOrganizationAdminAccountCommand";
|
|
53
55
|
import type { DisableSecurityHubCommandInput, DisableSecurityHubCommandOutput } from "./commands/DisableSecurityHubCommand";
|
|
56
|
+
import type { DisableSecurityHubFeatureV2CommandInput, DisableSecurityHubFeatureV2CommandOutput } from "./commands/DisableSecurityHubFeatureV2Command";
|
|
54
57
|
import type { DisableSecurityHubV2CommandInput, DisableSecurityHubV2CommandOutput } from "./commands/DisableSecurityHubV2Command";
|
|
55
58
|
import type { DisassociateFromAdministratorAccountCommandInput, DisassociateFromAdministratorAccountCommandOutput } from "./commands/DisassociateFromAdministratorAccountCommand";
|
|
56
59
|
import type { DisassociateFromMasterAccountCommandInput, DisassociateFromMasterAccountCommandOutput } from "./commands/DisassociateFromMasterAccountCommand";
|
|
@@ -58,6 +61,7 @@ import type { DisassociateMembersCommandInput, DisassociateMembersCommandOutput
|
|
|
58
61
|
import type { EnableImportFindingsForProductCommandInput, EnableImportFindingsForProductCommandOutput } from "./commands/EnableImportFindingsForProductCommand";
|
|
59
62
|
import type { EnableOrganizationAdminAccountCommandInput, EnableOrganizationAdminAccountCommandOutput } from "./commands/EnableOrganizationAdminAccountCommand";
|
|
60
63
|
import type { EnableSecurityHubCommandInput, EnableSecurityHubCommandOutput } from "./commands/EnableSecurityHubCommand";
|
|
64
|
+
import type { EnableSecurityHubFeatureV2CommandInput, EnableSecurityHubFeatureV2CommandOutput } from "./commands/EnableSecurityHubFeatureV2Command";
|
|
61
65
|
import type { EnableSecurityHubV2CommandInput, EnableSecurityHubV2CommandOutput } from "./commands/EnableSecurityHubV2Command";
|
|
62
66
|
import type { GenerateRecommendedPolicyV2CommandInput, GenerateRecommendedPolicyV2CommandOutput } from "./commands/GenerateRecommendedPolicyV2Command";
|
|
63
67
|
import type { GetAdministratorAccountCommandInput, GetAdministratorAccountCommandOutput } from "./commands/GetAdministratorAccountCommand";
|
|
@@ -65,6 +69,7 @@ import type { GetAggregatorV2CommandInput, GetAggregatorV2CommandOutput } from "
|
|
|
65
69
|
import type { GetAutomationRuleV2CommandInput, GetAutomationRuleV2CommandOutput } from "./commands/GetAutomationRuleV2Command";
|
|
66
70
|
import type { GetConfigurationPolicyAssociationCommandInput, GetConfigurationPolicyAssociationCommandOutput } from "./commands/GetConfigurationPolicyAssociationCommand";
|
|
67
71
|
import type { GetConfigurationPolicyCommandInput, GetConfigurationPolicyCommandOutput } from "./commands/GetConfigurationPolicyCommand";
|
|
72
|
+
import type { GetConnectorCommandInput, GetConnectorCommandOutput } from "./commands/GetConnectorCommand";
|
|
68
73
|
import type { GetConnectorV2CommandInput, GetConnectorV2CommandOutput } from "./commands/GetConnectorV2Command";
|
|
69
74
|
import type { GetEnabledStandardsCommandInput, GetEnabledStandardsCommandOutput } from "./commands/GetEnabledStandardsCommand";
|
|
70
75
|
import type { GetFindingAggregatorCommandInput, GetFindingAggregatorCommandOutput } from "./commands/GetFindingAggregatorCommand";
|
|
@@ -89,6 +94,7 @@ import type { ListAutomationRulesCommandInput, ListAutomationRulesCommandOutput
|
|
|
89
94
|
import type { ListAutomationRulesV2CommandInput, ListAutomationRulesV2CommandOutput } from "./commands/ListAutomationRulesV2Command";
|
|
90
95
|
import type { ListConfigurationPoliciesCommandInput, ListConfigurationPoliciesCommandOutput } from "./commands/ListConfigurationPoliciesCommand";
|
|
91
96
|
import type { ListConfigurationPolicyAssociationsCommandInput, ListConfigurationPolicyAssociationsCommandOutput } from "./commands/ListConfigurationPolicyAssociationsCommand";
|
|
97
|
+
import type { ListConnectorsCommandInput, ListConnectorsCommandOutput } from "./commands/ListConnectorsCommand";
|
|
92
98
|
import type { ListConnectorsV2CommandInput, ListConnectorsV2CommandOutput } from "./commands/ListConnectorsV2Command";
|
|
93
99
|
import type { ListEnabledProductsForImportCommandInput, ListEnabledProductsForImportCommandOutput } from "./commands/ListEnabledProductsForImportCommand";
|
|
94
100
|
import type { ListFindingAggregatorsCommandInput, ListFindingAggregatorsCommandOutput } from "./commands/ListFindingAggregatorsCommand";
|
|
@@ -107,6 +113,7 @@ import type { UpdateActionTargetCommandInput, UpdateActionTargetCommandOutput }
|
|
|
107
113
|
import type { UpdateAggregatorV2CommandInput, UpdateAggregatorV2CommandOutput } from "./commands/UpdateAggregatorV2Command";
|
|
108
114
|
import type { UpdateAutomationRuleV2CommandInput, UpdateAutomationRuleV2CommandOutput } from "./commands/UpdateAutomationRuleV2Command";
|
|
109
115
|
import type { UpdateConfigurationPolicyCommandInput, UpdateConfigurationPolicyCommandOutput } from "./commands/UpdateConfigurationPolicyCommand";
|
|
116
|
+
import type { UpdateConnectorCommandInput, UpdateConnectorCommandOutput } from "./commands/UpdateConnectorCommand";
|
|
110
117
|
import type { UpdateConnectorV2CommandInput, UpdateConnectorV2CommandOutput } from "./commands/UpdateConnectorV2Command";
|
|
111
118
|
import type { UpdateFindingAggregatorCommandInput, UpdateFindingAggregatorCommandOutput } from "./commands/UpdateFindingAggregatorCommand";
|
|
112
119
|
import type { UpdateFindingsCommandInput, UpdateFindingsCommandOutput } from "./commands/UpdateFindingsCommand";
|
|
@@ -121,11 +128,11 @@ export { __Client };
|
|
|
121
128
|
/**
|
|
122
129
|
* @public
|
|
123
130
|
*/
|
|
124
|
-
export type ServiceInputTypes = AcceptAdministratorInvitationCommandInput | AcceptInvitationCommandInput | BatchDeleteAutomationRulesCommandInput | BatchDisableStandardsCommandInput | BatchEnableStandardsCommandInput | BatchGetAutomationRulesCommandInput | BatchGetConfigurationPolicyAssociationsCommandInput | BatchGetSecurityControlsCommandInput | BatchGetStandardsControlAssociationsCommandInput | BatchImportFindingsCommandInput | BatchUpdateAutomationRulesCommandInput | BatchUpdateFindingsCommandInput | BatchUpdateFindingsV2CommandInput | BatchUpdateStandardsControlAssociationsCommandInput | CreateActionTargetCommandInput | CreateAggregatorV2CommandInput | CreateAutomationRuleCommandInput | CreateAutomationRuleV2CommandInput | CreateConfigurationPolicyCommandInput | CreateConnectorV2CommandInput | CreateFindingAggregatorCommandInput | CreateInsightCommandInput | CreateMembersCommandInput | CreateTicketV2CommandInput | DeclineInvitationsCommandInput | DeleteActionTargetCommandInput | DeleteAggregatorV2CommandInput | DeleteAutomationRuleV2CommandInput | DeleteConfigurationPolicyCommandInput | DeleteConnectorV2CommandInput | DeleteFindingAggregatorCommandInput | DeleteInsightCommandInput | DeleteInvitationsCommandInput | DeleteMembersCommandInput | DescribeActionTargetsCommandInput | DescribeHubCommandInput | DescribeOrganizationConfigurationCommandInput | DescribeProductsCommandInput | DescribeProductsV2CommandInput | DescribeSecurityHubV2CommandInput | DescribeStandardsCommandInput | DescribeStandardsControlsCommandInput | DisableImportFindingsForProductCommandInput | DisableOrganizationAdminAccountCommandInput | DisableSecurityHubCommandInput | DisableSecurityHubV2CommandInput | DisassociateFromAdministratorAccountCommandInput | DisassociateFromMasterAccountCommandInput | DisassociateMembersCommandInput | EnableImportFindingsForProductCommandInput | EnableOrganizationAdminAccountCommandInput | EnableSecurityHubCommandInput | EnableSecurityHubV2CommandInput | GenerateRecommendedPolicyV2CommandInput | GetAdministratorAccountCommandInput | GetAggregatorV2CommandInput | GetAutomationRuleV2CommandInput | GetConfigurationPolicyAssociationCommandInput | GetConfigurationPolicyCommandInput | GetConnectorV2CommandInput | GetEnabledStandardsCommandInput | GetFindingAggregatorCommandInput | GetFindingHistoryCommandInput | GetFindingStatisticsV2CommandInput | GetFindingsCommandInput | GetFindingsTrendsV2CommandInput | GetFindingsV2CommandInput | GetInsightResultsCommandInput | GetInsightsCommandInput | GetInvitationsCountCommandInput | GetMasterAccountCommandInput | GetMembersCommandInput | GetRecommendedPolicyV2CommandInput | GetResourcesStatisticsV2CommandInput | GetResourcesTrendsV2CommandInput | GetResourcesV2CommandInput | GetSecurityControlDefinitionCommandInput | InviteMembersCommandInput | ListAggregatorsV2CommandInput | ListAutomationRulesCommandInput | ListAutomationRulesV2CommandInput | ListConfigurationPoliciesCommandInput | ListConfigurationPolicyAssociationsCommandInput | ListConnectorsV2CommandInput | ListEnabledProductsForImportCommandInput | ListFindingAggregatorsCommandInput | ListInvitationsCommandInput | ListMembersCommandInput | ListOrganizationAdminAccountsCommandInput | ListSecurityControlDefinitionsCommandInput | ListStandardsControlAssociationsCommandInput | ListTagsForResourceCommandInput | RegisterConnectorV2CommandInput | StartConfigurationPolicyAssociationCommandInput | StartConfigurationPolicyDisassociationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateActionTargetCommandInput | UpdateAggregatorV2CommandInput | UpdateAutomationRuleV2CommandInput | UpdateConfigurationPolicyCommandInput | UpdateConnectorV2CommandInput | UpdateFindingAggregatorCommandInput | UpdateFindingsCommandInput | UpdateInsightCommandInput | UpdateOrganizationConfigurationCommandInput | UpdateSecurityControlCommandInput | UpdateSecurityHubConfigurationCommandInput | UpdateStandardsControlCommandInput;
|
|
131
|
+
export type ServiceInputTypes = AcceptAdministratorInvitationCommandInput | AcceptInvitationCommandInput | BatchDeleteAutomationRulesCommandInput | BatchDisableStandardsCommandInput | BatchEnableStandardsCommandInput | BatchGetAutomationRulesCommandInput | BatchGetConfigurationPolicyAssociationsCommandInput | BatchGetSecurityControlsCommandInput | BatchGetStandardsControlAssociationsCommandInput | BatchImportFindingsCommandInput | BatchUpdateAutomationRulesCommandInput | BatchUpdateFindingsCommandInput | BatchUpdateFindingsV2CommandInput | BatchUpdateStandardsControlAssociationsCommandInput | CreateActionTargetCommandInput | CreateAggregatorV2CommandInput | CreateAutomationRuleCommandInput | CreateAutomationRuleV2CommandInput | CreateConfigurationPolicyCommandInput | CreateConnectorCommandInput | CreateConnectorV2CommandInput | CreateFindingAggregatorCommandInput | CreateInsightCommandInput | CreateMembersCommandInput | CreateTicketV2CommandInput | DeclineInvitationsCommandInput | DeleteActionTargetCommandInput | DeleteAggregatorV2CommandInput | DeleteAutomationRuleV2CommandInput | DeleteConfigurationPolicyCommandInput | DeleteConnectorCommandInput | DeleteConnectorV2CommandInput | DeleteFindingAggregatorCommandInput | DeleteInsightCommandInput | DeleteInvitationsCommandInput | DeleteMembersCommandInput | DescribeActionTargetsCommandInput | DescribeHubCommandInput | DescribeOrganizationConfigurationCommandInput | DescribeProductsCommandInput | DescribeProductsV2CommandInput | DescribeSecurityHubV2CommandInput | DescribeStandardsCommandInput | DescribeStandardsControlsCommandInput | DisableImportFindingsForProductCommandInput | DisableOrganizationAdminAccountCommandInput | DisableSecurityHubCommandInput | DisableSecurityHubFeatureV2CommandInput | DisableSecurityHubV2CommandInput | DisassociateFromAdministratorAccountCommandInput | DisassociateFromMasterAccountCommandInput | DisassociateMembersCommandInput | EnableImportFindingsForProductCommandInput | EnableOrganizationAdminAccountCommandInput | EnableSecurityHubCommandInput | EnableSecurityHubFeatureV2CommandInput | EnableSecurityHubV2CommandInput | GenerateRecommendedPolicyV2CommandInput | GetAdministratorAccountCommandInput | GetAggregatorV2CommandInput | GetAutomationRuleV2CommandInput | GetConfigurationPolicyAssociationCommandInput | GetConfigurationPolicyCommandInput | GetConnectorCommandInput | GetConnectorV2CommandInput | GetEnabledStandardsCommandInput | GetFindingAggregatorCommandInput | GetFindingHistoryCommandInput | GetFindingStatisticsV2CommandInput | GetFindingsCommandInput | GetFindingsTrendsV2CommandInput | GetFindingsV2CommandInput | GetInsightResultsCommandInput | GetInsightsCommandInput | GetInvitationsCountCommandInput | GetMasterAccountCommandInput | GetMembersCommandInput | GetRecommendedPolicyV2CommandInput | GetResourcesStatisticsV2CommandInput | GetResourcesTrendsV2CommandInput | GetResourcesV2CommandInput | GetSecurityControlDefinitionCommandInput | InviteMembersCommandInput | ListAggregatorsV2CommandInput | ListAutomationRulesCommandInput | ListAutomationRulesV2CommandInput | ListConfigurationPoliciesCommandInput | ListConfigurationPolicyAssociationsCommandInput | ListConnectorsCommandInput | ListConnectorsV2CommandInput | ListEnabledProductsForImportCommandInput | ListFindingAggregatorsCommandInput | ListInvitationsCommandInput | ListMembersCommandInput | ListOrganizationAdminAccountsCommandInput | ListSecurityControlDefinitionsCommandInput | ListStandardsControlAssociationsCommandInput | ListTagsForResourceCommandInput | RegisterConnectorV2CommandInput | StartConfigurationPolicyAssociationCommandInput | StartConfigurationPolicyDisassociationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateActionTargetCommandInput | UpdateAggregatorV2CommandInput | UpdateAutomationRuleV2CommandInput | UpdateConfigurationPolicyCommandInput | UpdateConnectorCommandInput | UpdateConnectorV2CommandInput | UpdateFindingAggregatorCommandInput | UpdateFindingsCommandInput | UpdateInsightCommandInput | UpdateOrganizationConfigurationCommandInput | UpdateSecurityControlCommandInput | UpdateSecurityHubConfigurationCommandInput | UpdateStandardsControlCommandInput;
|
|
125
132
|
/**
|
|
126
133
|
* @public
|
|
127
134
|
*/
|
|
128
|
-
export type ServiceOutputTypes = AcceptAdministratorInvitationCommandOutput | AcceptInvitationCommandOutput | BatchDeleteAutomationRulesCommandOutput | BatchDisableStandardsCommandOutput | BatchEnableStandardsCommandOutput | BatchGetAutomationRulesCommandOutput | BatchGetConfigurationPolicyAssociationsCommandOutput | BatchGetSecurityControlsCommandOutput | BatchGetStandardsControlAssociationsCommandOutput | BatchImportFindingsCommandOutput | BatchUpdateAutomationRulesCommandOutput | BatchUpdateFindingsCommandOutput | BatchUpdateFindingsV2CommandOutput | BatchUpdateStandardsControlAssociationsCommandOutput | CreateActionTargetCommandOutput | CreateAggregatorV2CommandOutput | CreateAutomationRuleCommandOutput | CreateAutomationRuleV2CommandOutput | CreateConfigurationPolicyCommandOutput | CreateConnectorV2CommandOutput | CreateFindingAggregatorCommandOutput | CreateInsightCommandOutput | CreateMembersCommandOutput | CreateTicketV2CommandOutput | DeclineInvitationsCommandOutput | DeleteActionTargetCommandOutput | DeleteAggregatorV2CommandOutput | DeleteAutomationRuleV2CommandOutput | DeleteConfigurationPolicyCommandOutput | DeleteConnectorV2CommandOutput | DeleteFindingAggregatorCommandOutput | DeleteInsightCommandOutput | DeleteInvitationsCommandOutput | DeleteMembersCommandOutput | DescribeActionTargetsCommandOutput | DescribeHubCommandOutput | DescribeOrganizationConfigurationCommandOutput | DescribeProductsCommandOutput | DescribeProductsV2CommandOutput | DescribeSecurityHubV2CommandOutput | DescribeStandardsCommandOutput | DescribeStandardsControlsCommandOutput | DisableImportFindingsForProductCommandOutput | DisableOrganizationAdminAccountCommandOutput | DisableSecurityHubCommandOutput | DisableSecurityHubV2CommandOutput | DisassociateFromAdministratorAccountCommandOutput | DisassociateFromMasterAccountCommandOutput | DisassociateMembersCommandOutput | EnableImportFindingsForProductCommandOutput | EnableOrganizationAdminAccountCommandOutput | EnableSecurityHubCommandOutput | EnableSecurityHubV2CommandOutput | GenerateRecommendedPolicyV2CommandOutput | GetAdministratorAccountCommandOutput | GetAggregatorV2CommandOutput | GetAutomationRuleV2CommandOutput | GetConfigurationPolicyAssociationCommandOutput | GetConfigurationPolicyCommandOutput | GetConnectorV2CommandOutput | GetEnabledStandardsCommandOutput | GetFindingAggregatorCommandOutput | GetFindingHistoryCommandOutput | GetFindingStatisticsV2CommandOutput | GetFindingsCommandOutput | GetFindingsTrendsV2CommandOutput | GetFindingsV2CommandOutput | GetInsightResultsCommandOutput | GetInsightsCommandOutput | GetInvitationsCountCommandOutput | GetMasterAccountCommandOutput | GetMembersCommandOutput | GetRecommendedPolicyV2CommandOutput | GetResourcesStatisticsV2CommandOutput | GetResourcesTrendsV2CommandOutput | GetResourcesV2CommandOutput | GetSecurityControlDefinitionCommandOutput | InviteMembersCommandOutput | ListAggregatorsV2CommandOutput | ListAutomationRulesCommandOutput | ListAutomationRulesV2CommandOutput | ListConfigurationPoliciesCommandOutput | ListConfigurationPolicyAssociationsCommandOutput | ListConnectorsV2CommandOutput | ListEnabledProductsForImportCommandOutput | ListFindingAggregatorsCommandOutput | ListInvitationsCommandOutput | ListMembersCommandOutput | ListOrganizationAdminAccountsCommandOutput | ListSecurityControlDefinitionsCommandOutput | ListStandardsControlAssociationsCommandOutput | ListTagsForResourceCommandOutput | RegisterConnectorV2CommandOutput | StartConfigurationPolicyAssociationCommandOutput | StartConfigurationPolicyDisassociationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateActionTargetCommandOutput | UpdateAggregatorV2CommandOutput | UpdateAutomationRuleV2CommandOutput | UpdateConfigurationPolicyCommandOutput | UpdateConnectorV2CommandOutput | UpdateFindingAggregatorCommandOutput | UpdateFindingsCommandOutput | UpdateInsightCommandOutput | UpdateOrganizationConfigurationCommandOutput | UpdateSecurityControlCommandOutput | UpdateSecurityHubConfigurationCommandOutput | UpdateStandardsControlCommandOutput;
|
|
135
|
+
export type ServiceOutputTypes = AcceptAdministratorInvitationCommandOutput | AcceptInvitationCommandOutput | BatchDeleteAutomationRulesCommandOutput | BatchDisableStandardsCommandOutput | BatchEnableStandardsCommandOutput | BatchGetAutomationRulesCommandOutput | BatchGetConfigurationPolicyAssociationsCommandOutput | BatchGetSecurityControlsCommandOutput | BatchGetStandardsControlAssociationsCommandOutput | BatchImportFindingsCommandOutput | BatchUpdateAutomationRulesCommandOutput | BatchUpdateFindingsCommandOutput | BatchUpdateFindingsV2CommandOutput | BatchUpdateStandardsControlAssociationsCommandOutput | CreateActionTargetCommandOutput | CreateAggregatorV2CommandOutput | CreateAutomationRuleCommandOutput | CreateAutomationRuleV2CommandOutput | CreateConfigurationPolicyCommandOutput | CreateConnectorCommandOutput | CreateConnectorV2CommandOutput | CreateFindingAggregatorCommandOutput | CreateInsightCommandOutput | CreateMembersCommandOutput | CreateTicketV2CommandOutput | DeclineInvitationsCommandOutput | DeleteActionTargetCommandOutput | DeleteAggregatorV2CommandOutput | DeleteAutomationRuleV2CommandOutput | DeleteConfigurationPolicyCommandOutput | DeleteConnectorCommandOutput | DeleteConnectorV2CommandOutput | DeleteFindingAggregatorCommandOutput | DeleteInsightCommandOutput | DeleteInvitationsCommandOutput | DeleteMembersCommandOutput | DescribeActionTargetsCommandOutput | DescribeHubCommandOutput | DescribeOrganizationConfigurationCommandOutput | DescribeProductsCommandOutput | DescribeProductsV2CommandOutput | DescribeSecurityHubV2CommandOutput | DescribeStandardsCommandOutput | DescribeStandardsControlsCommandOutput | DisableImportFindingsForProductCommandOutput | DisableOrganizationAdminAccountCommandOutput | DisableSecurityHubCommandOutput | DisableSecurityHubFeatureV2CommandOutput | DisableSecurityHubV2CommandOutput | DisassociateFromAdministratorAccountCommandOutput | DisassociateFromMasterAccountCommandOutput | DisassociateMembersCommandOutput | EnableImportFindingsForProductCommandOutput | EnableOrganizationAdminAccountCommandOutput | EnableSecurityHubCommandOutput | EnableSecurityHubFeatureV2CommandOutput | EnableSecurityHubV2CommandOutput | GenerateRecommendedPolicyV2CommandOutput | GetAdministratorAccountCommandOutput | GetAggregatorV2CommandOutput | GetAutomationRuleV2CommandOutput | GetConfigurationPolicyAssociationCommandOutput | GetConfigurationPolicyCommandOutput | GetConnectorCommandOutput | GetConnectorV2CommandOutput | GetEnabledStandardsCommandOutput | GetFindingAggregatorCommandOutput | GetFindingHistoryCommandOutput | GetFindingStatisticsV2CommandOutput | GetFindingsCommandOutput | GetFindingsTrendsV2CommandOutput | GetFindingsV2CommandOutput | GetInsightResultsCommandOutput | GetInsightsCommandOutput | GetInvitationsCountCommandOutput | GetMasterAccountCommandOutput | GetMembersCommandOutput | GetRecommendedPolicyV2CommandOutput | GetResourcesStatisticsV2CommandOutput | GetResourcesTrendsV2CommandOutput | GetResourcesV2CommandOutput | GetSecurityControlDefinitionCommandOutput | InviteMembersCommandOutput | ListAggregatorsV2CommandOutput | ListAutomationRulesCommandOutput | ListAutomationRulesV2CommandOutput | ListConfigurationPoliciesCommandOutput | ListConfigurationPolicyAssociationsCommandOutput | ListConnectorsCommandOutput | ListConnectorsV2CommandOutput | ListEnabledProductsForImportCommandOutput | ListFindingAggregatorsCommandOutput | ListInvitationsCommandOutput | ListMembersCommandOutput | ListOrganizationAdminAccountsCommandOutput | ListSecurityControlDefinitionsCommandOutput | ListStandardsControlAssociationsCommandOutput | ListTagsForResourceCommandOutput | RegisterConnectorV2CommandOutput | StartConfigurationPolicyAssociationCommandOutput | StartConfigurationPolicyDisassociationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateActionTargetCommandOutput | UpdateAggregatorV2CommandOutput | UpdateAutomationRuleV2CommandOutput | UpdateConfigurationPolicyCommandOutput | UpdateConnectorCommandOutput | UpdateConnectorV2CommandOutput | UpdateFindingAggregatorCommandOutput | UpdateFindingsCommandOutput | UpdateInsightCommandOutput | UpdateOrganizationConfigurationCommandOutput | UpdateSecurityControlCommandOutput | UpdateSecurityHubConfigurationCommandOutput | UpdateStandardsControlCommandOutput;
|
|
129
136
|
/**
|
|
130
137
|
* @public
|
|
131
138
|
*/
|
|
@@ -54,8 +54,9 @@ declare const BatchDisableStandardsCommand_base: {
|
|
|
54
54
|
* // StandardsStatus: "PENDING" || "READY" || "FAILED" || "DELETING" || "INCOMPLETE", // required
|
|
55
55
|
* // StandardsControlsUpdatable: "READY_FOR_UPDATES" || "NOT_READY_FOR_UPDATES",
|
|
56
56
|
* // StandardsStatusReason: { // StandardsStatusReason
|
|
57
|
-
* // StatusReasonCode: "NO_AVAILABLE_CONFIGURATION_RECORDER" || "MAXIMUM_NUMBER_OF_CONFIG_RULES_EXCEEDED" || "INTERNAL_ERROR", // required
|
|
57
|
+
* // StatusReasonCode: "NO_AVAILABLE_CONFIGURATION_RECORDER" || "MAXIMUM_NUMBER_OF_CONFIG_RULES_EXCEEDED" || "NO_AVAILABLE_MULTICLOUD_CONNECTOR" || "INTERNAL_ERROR", // required
|
|
58
58
|
* // },
|
|
59
|
+
* // Provider: "AWS" || "Azure",
|
|
59
60
|
* // },
|
|
60
61
|
* // ],
|
|
61
62
|
* // };
|
|
@@ -60,8 +60,9 @@ declare const BatchEnableStandardsCommand_base: {
|
|
|
60
60
|
* // StandardsStatus: "PENDING" || "READY" || "FAILED" || "DELETING" || "INCOMPLETE", // required
|
|
61
61
|
* // StandardsControlsUpdatable: "READY_FOR_UPDATES" || "NOT_READY_FOR_UPDATES",
|
|
62
62
|
* // StandardsStatusReason: { // StandardsStatusReason
|
|
63
|
-
* // StatusReasonCode: "NO_AVAILABLE_CONFIGURATION_RECORDER" || "MAXIMUM_NUMBER_OF_CONFIG_RULES_EXCEEDED" || "INTERNAL_ERROR", // required
|
|
63
|
+
* // StatusReasonCode: "NO_AVAILABLE_CONFIGURATION_RECORDER" || "MAXIMUM_NUMBER_OF_CONFIG_RULES_EXCEEDED" || "NO_AVAILABLE_MULTICLOUD_CONNECTOR" || "INTERNAL_ERROR", // required
|
|
64
64
|
* // },
|
|
65
|
+
* // Provider: "AWS" || "Azure",
|
|
65
66
|
* // },
|
|
66
67
|
* // ],
|
|
67
68
|
* // };
|
|
@@ -200,6 +200,9 @@ declare const BatchGetAutomationRulesCommand_base: {
|
|
|
200
200
|
* // ResourceApplicationArn: "<StringFilterList>",
|
|
201
201
|
* // ResourceApplicationName: "<StringFilterList>",
|
|
202
202
|
* // AwsAccountName: "<StringFilterList>",
|
|
203
|
+
* // ResourceProvider: "<StringFilterList>",
|
|
204
|
+
* // ResourceOwnerAccountId: "<StringFilterList>",
|
|
205
|
+
* // ResourceOwnerOrgId: "<StringFilterList>",
|
|
203
206
|
* // },
|
|
204
207
|
* // Actions: [ // ActionList
|
|
205
208
|
* // { // AutomationRulesAction
|
|
@@ -266,8 +266,17 @@ declare const BatchImportFindingsCommand_base: {
|
|
|
266
266
|
* { // Resource
|
|
267
267
|
* Type: "STRING_VALUE", // required
|
|
268
268
|
* Id: "STRING_VALUE", // required
|
|
269
|
-
* Partition: "aws" || "aws-cn" || "aws-us-gov",
|
|
269
|
+
* Partition: "aws" || "aws-cn" || "aws-us-gov" || "aws-us-iso" || "aws-us-iso-b" || "AzureCloud",
|
|
270
270
|
* Region: "STRING_VALUE",
|
|
271
|
+
* Provider: "Azure" || "AWS",
|
|
272
|
+
* Owner: { // ResourceOwner
|
|
273
|
+
* Account: { // ResourceOwnerAccount
|
|
274
|
+
* Id: "STRING_VALUE",
|
|
275
|
+
* },
|
|
276
|
+
* Org: { // ResourceOwnerOrg
|
|
277
|
+
* Id: "STRING_VALUE",
|
|
278
|
+
* },
|
|
279
|
+
* },
|
|
271
280
|
* ResourceRole: "STRING_VALUE",
|
|
272
281
|
* Tags: {
|
|
273
282
|
* "<keys>": "STRING_VALUE",
|
|
@@ -4045,6 +4054,7 @@ declare const BatchImportFindingsCommand_base: {
|
|
|
4045
4054
|
* ProjectName: "STRING_VALUE",
|
|
4046
4055
|
* CodeSecurityIntegrationArn: "STRING_VALUE",
|
|
4047
4056
|
* },
|
|
4057
|
+
* AzureResource: "DOCUMENT_VALUE",
|
|
4048
4058
|
* },
|
|
4049
4059
|
* ApplicationName: "STRING_VALUE",
|
|
4050
4060
|
* ApplicationArn: "STRING_VALUE",
|
|
@@ -193,6 +193,9 @@ declare const BatchUpdateAutomationRulesCommand_base: {
|
|
|
193
193
|
* ResourceApplicationArn: "<StringFilterList>",
|
|
194
194
|
* ResourceApplicationName: "<StringFilterList>",
|
|
195
195
|
* AwsAccountName: "<StringFilterList>",
|
|
196
|
+
* ResourceProvider: "<StringFilterList>",
|
|
197
|
+
* ResourceOwnerAccountId: "<StringFilterList>",
|
|
198
|
+
* ResourceOwnerOrgId: "<StringFilterList>",
|
|
196
199
|
* },
|
|
197
200
|
* Actions: [ // ActionList
|
|
198
201
|
* { // AutomationRulesAction
|
|
@@ -192,6 +192,9 @@ declare const CreateAutomationRuleCommand_base: {
|
|
|
192
192
|
* ResourceApplicationArn: "<StringFilterList>",
|
|
193
193
|
* ResourceApplicationName: "<StringFilterList>",
|
|
194
194
|
* AwsAccountName: "<StringFilterList>",
|
|
195
|
+
* ResourceProvider: "<StringFilterList>",
|
|
196
|
+
* ResourceOwnerAccountId: "<StringFilterList>",
|
|
197
|
+
* ResourceOwnerOrgId: "<StringFilterList>",
|
|
195
198
|
* },
|
|
196
199
|
* Actions: [ // ActionList // required
|
|
197
200
|
* { // AutomationRulesAction
|
|
@@ -45,7 +45,7 @@ declare const CreateAutomationRuleV2Command_base: {
|
|
|
45
45
|
* { // CompositeFilter
|
|
46
46
|
* StringFilters: [ // OcsfStringFilterList
|
|
47
47
|
* { // OcsfStringFilter
|
|
48
|
-
* FieldName: "metadata.uid" || "activity_name" || "cloud.account.uid" || "cloud.provider" || "cloud.region" || "compliance.assessments.category" || "compliance.assessments.name" || "compliance.control" || "compliance.status" || "compliance.standards" || "finding_info.desc" || "finding_info.src_url" || "finding_info.title" || "finding_info.types" || "finding_info.uid" || "finding_info.related_events.traits.category" || "finding_info.related_events.uid" || "finding_info.related_events.product.uid" || "finding_info.related_events.title" || "metadata.product.name" || "metadata.product.uid" || "metadata.product.vendor_name" || "remediation.desc" || "remediation.references" || "resources.cloud_partition" || "resources.region" || "resources.type" || "resources.uid" || "severity" || "status" || "comment" || "vulnerabilities.fix_coverage" || "class_name" || "databucket.encryption_details.algorithm" || "databucket.encryption_details.key_uid" || "databucket.file.data_classifications.classifier_details.type" || "evidences.actor.user.account.uid" || "evidences.api.operation" || "evidences.api.response.error_message" || "evidences.api.service.name" || "evidences.connection_info.direction" || "evidences.connection_info.protocol_name" || "evidences.dst_endpoint.autonomous_system.name" || "evidences.dst_endpoint.location.city" || "evidences.dst_endpoint.location.country" || "evidences.src_endpoint.autonomous_system.name" || "evidences.src_endpoint.hostname" || "evidences.src_endpoint.location.city" || "evidences.src_endpoint.location.country" || "finding_info.analytic.name" || "malware.name" || "malware_scan_info.uid" || "malware.severity" || "resources.cloud_function.layers.uid_alt" || "resources.cloud_function.runtime" || "resources.cloud_function.user.uid" || "resources.device.encryption_details.key_uid" || "resources.device.image.uid" || "resources.image.architecture" || "resources.image.registry_uid" || "resources.image.repository_name" || "resources.image.uid" || "resources.subnet_info.uid" || "resources.vpc_uid" || "vulnerabilities.affected_code.file.path" || "vulnerabilities.affected_packages.name" || "vulnerabilities.cve.epss.score" || "vulnerabilities.cve.uid" || "vulnerabilities.related_vulnerabilities" || "cloud.account.name" || "vendor_attributes.severity",
|
|
48
|
+
* FieldName: "metadata.uid" || "activity_name" || "cloud.account.uid" || "cloud.provider" || "cloud.region" || "compliance.assessments.category" || "compliance.assessments.name" || "compliance.control" || "compliance.status" || "compliance.standards" || "finding_info.desc" || "finding_info.src_url" || "finding_info.title" || "finding_info.types" || "finding_info.uid" || "finding_info.related_events.traits.category" || "finding_info.related_events.uid" || "finding_info.related_events.product.uid" || "finding_info.related_events.title" || "metadata.product.name" || "metadata.product.uid" || "metadata.product.vendor_name" || "remediation.desc" || "remediation.references" || "resources.cloud_partition" || "resources.name" || "resources.owner.account.uid" || "resources.owner.org.uid" || "resources.owner.account.name" || "resources.provider" || "resources.region" || "resources.type" || "resources.uid" || "severity" || "status" || "comment" || "vulnerabilities.fix_coverage" || "class_name" || "databucket.encryption_details.algorithm" || "databucket.encryption_details.key_uid" || "databucket.file.data_classifications.classifier_details.type" || "evidences.actor.user.account.uid" || "evidences.api.operation" || "evidences.api.response.error_message" || "evidences.api.service.name" || "evidences.connection_info.direction" || "evidences.connection_info.protocol_name" || "evidences.dst_endpoint.autonomous_system.name" || "evidences.dst_endpoint.location.city" || "evidences.dst_endpoint.location.country" || "evidences.src_endpoint.autonomous_system.name" || "evidences.src_endpoint.hostname" || "evidences.src_endpoint.location.city" || "evidences.src_endpoint.location.country" || "finding_info.analytic.name" || "malware.name" || "malware_scan_info.uid" || "malware.severity" || "resources.cloud_function.layers.uid_alt" || "resources.cloud_function.runtime" || "resources.cloud_function.user.uid" || "resources.device.encryption_details.key_uid" || "resources.device.image.uid" || "resources.image.architecture" || "resources.image.registry_uid" || "resources.image.repository_name" || "resources.image.uid" || "resources.subnet_info.uid" || "resources.vpc_uid" || "vulnerabilities.affected_code.file.path" || "vulnerabilities.affected_packages.name" || "vulnerabilities.cve.epss.score" || "vulnerabilities.cve.uid" || "vulnerabilities.related_vulnerabilities" || "cloud.account.name" || "vendor_attributes.severity",
|
|
49
49
|
* Filter: { // StringFilter
|
|
50
50
|
* Value: "STRING_VALUE",
|
|
51
51
|
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "CONTAINS_WORD",
|
|
@@ -108,7 +108,7 @@ declare const CreateAutomationRuleV2Command_base: {
|
|
|
108
108
|
* {
|
|
109
109
|
* StringFilters: [
|
|
110
110
|
* {
|
|
111
|
-
* FieldName: "metadata.uid" || "activity_name" || "cloud.account.uid" || "cloud.provider" || "cloud.region" || "compliance.assessments.category" || "compliance.assessments.name" || "compliance.control" || "compliance.status" || "compliance.standards" || "finding_info.desc" || "finding_info.src_url" || "finding_info.title" || "finding_info.types" || "finding_info.uid" || "finding_info.related_events.traits.category" || "finding_info.related_events.uid" || "finding_info.related_events.product.uid" || "finding_info.related_events.title" || "metadata.product.name" || "metadata.product.uid" || "metadata.product.vendor_name" || "remediation.desc" || "remediation.references" || "resources.cloud_partition" || "resources.region" || "resources.type" || "resources.uid" || "severity" || "status" || "comment" || "vulnerabilities.fix_coverage" || "class_name" || "databucket.encryption_details.algorithm" || "databucket.encryption_details.key_uid" || "databucket.file.data_classifications.classifier_details.type" || "evidences.actor.user.account.uid" || "evidences.api.operation" || "evidences.api.response.error_message" || "evidences.api.service.name" || "evidences.connection_info.direction" || "evidences.connection_info.protocol_name" || "evidences.dst_endpoint.autonomous_system.name" || "evidences.dst_endpoint.location.city" || "evidences.dst_endpoint.location.country" || "evidences.src_endpoint.autonomous_system.name" || "evidences.src_endpoint.hostname" || "evidences.src_endpoint.location.city" || "evidences.src_endpoint.location.country" || "finding_info.analytic.name" || "malware.name" || "malware_scan_info.uid" || "malware.severity" || "resources.cloud_function.layers.uid_alt" || "resources.cloud_function.runtime" || "resources.cloud_function.user.uid" || "resources.device.encryption_details.key_uid" || "resources.device.image.uid" || "resources.image.architecture" || "resources.image.registry_uid" || "resources.image.repository_name" || "resources.image.uid" || "resources.subnet_info.uid" || "resources.vpc_uid" || "vulnerabilities.affected_code.file.path" || "vulnerabilities.affected_packages.name" || "vulnerabilities.cve.epss.score" || "vulnerabilities.cve.uid" || "vulnerabilities.related_vulnerabilities" || "cloud.account.name" || "vendor_attributes.severity",
|
|
111
|
+
* FieldName: "metadata.uid" || "activity_name" || "cloud.account.uid" || "cloud.provider" || "cloud.region" || "compliance.assessments.category" || "compliance.assessments.name" || "compliance.control" || "compliance.status" || "compliance.standards" || "finding_info.desc" || "finding_info.src_url" || "finding_info.title" || "finding_info.types" || "finding_info.uid" || "finding_info.related_events.traits.category" || "finding_info.related_events.uid" || "finding_info.related_events.product.uid" || "finding_info.related_events.title" || "metadata.product.name" || "metadata.product.uid" || "metadata.product.vendor_name" || "remediation.desc" || "remediation.references" || "resources.cloud_partition" || "resources.name" || "resources.owner.account.uid" || "resources.owner.org.uid" || "resources.owner.account.name" || "resources.provider" || "resources.region" || "resources.type" || "resources.uid" || "severity" || "status" || "comment" || "vulnerabilities.fix_coverage" || "class_name" || "databucket.encryption_details.algorithm" || "databucket.encryption_details.key_uid" || "databucket.file.data_classifications.classifier_details.type" || "evidences.actor.user.account.uid" || "evidences.api.operation" || "evidences.api.response.error_message" || "evidences.api.service.name" || "evidences.connection_info.direction" || "evidences.connection_info.protocol_name" || "evidences.dst_endpoint.autonomous_system.name" || "evidences.dst_endpoint.location.city" || "evidences.dst_endpoint.location.country" || "evidences.src_endpoint.autonomous_system.name" || "evidences.src_endpoint.hostname" || "evidences.src_endpoint.location.city" || "evidences.src_endpoint.location.country" || "finding_info.analytic.name" || "malware.name" || "malware_scan_info.uid" || "malware.severity" || "resources.cloud_function.layers.uid_alt" || "resources.cloud_function.runtime" || "resources.cloud_function.user.uid" || "resources.device.encryption_details.key_uid" || "resources.device.image.uid" || "resources.image.architecture" || "resources.image.registry_uid" || "resources.image.repository_name" || "resources.image.uid" || "resources.subnet_info.uid" || "resources.vpc_uid" || "vulnerabilities.affected_code.file.path" || "vulnerabilities.affected_packages.name" || "vulnerabilities.cve.epss.score" || "vulnerabilities.cve.uid" || "vulnerabilities.related_vulnerabilities" || "cloud.account.name" || "vendor_attributes.severity",
|
|
112
112
|
* Filter: {
|
|
113
113
|
* Value: "STRING_VALUE",
|
|
114
114
|
* Comparison: "EQUALS" || "PREFIX" || "NOT_EQUALS" || "PREFIX_NOT_EQUALS" || "CONTAINS" || "NOT_CONTAINS" || "CONTAINS_WORD",
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { CreateConnectorRequest, CreateConnectorResponse } from "../models/models_2";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link CreateConnectorCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface CreateConnectorCommandInput extends CreateConnectorRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link CreateConnectorCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateConnectorCommandOutput extends CreateConnectorResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const CreateConnectorCommand_base: {
|
|
22
|
+
new (input: CreateConnectorCommandInput): import("@smithy/core/client").CommandImpl<CreateConnectorCommandInput, CreateConnectorCommandOutput, import("..").SecurityHubClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateConnectorCommandInput): import("@smithy/core/client").CommandImpl<CreateConnectorCommandInput, CreateConnectorCommandOutput, import("..").SecurityHubClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Creates a cloud service provider management (CSPM) connector in Security Hub CSPM. A connector establishes a connection between Security Hub CSPM and a third-party cloud provider, enabling Security Hub CSPM to ingest security findings and resource data from the connected environment.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { SecurityHubClient, CreateConnectorCommand } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
32
|
+
* // const { SecurityHubClient, CreateConnectorCommand } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
33
|
+
* // import type { SecurityHubClientConfig } from "@aws-sdk/client-securityhub";
|
|
34
|
+
* const config = {}; // type is SecurityHubClientConfig
|
|
35
|
+
* const client = new SecurityHubClient(config);
|
|
36
|
+
* const input = { // CreateConnectorRequest
|
|
37
|
+
* Name: "STRING_VALUE", // required
|
|
38
|
+
* Description: "STRING_VALUE",
|
|
39
|
+
* Provider: { // CspmProviderConfiguration Union: only one key present
|
|
40
|
+
* Azure: { // AzureProviderConfiguration
|
|
41
|
+
* AWSConfigConnectorArn: "STRING_VALUE", // required
|
|
42
|
+
* ScopeConfiguration: { // AzureScopeConfiguration
|
|
43
|
+
* ScopeType: "TENANT" || "SUBSCRIPTION", // required
|
|
44
|
+
* ScopeValues: [ // ScopeValueList
|
|
45
|
+
* "STRING_VALUE",
|
|
46
|
+
* ],
|
|
47
|
+
* },
|
|
48
|
+
* AzureRegions: [ // AzureRegionList // required
|
|
49
|
+
* "STRING_VALUE",
|
|
50
|
+
* ],
|
|
51
|
+
* },
|
|
52
|
+
* },
|
|
53
|
+
* Tags: { // TagMap
|
|
54
|
+
* "<keys>": "STRING_VALUE",
|
|
55
|
+
* },
|
|
56
|
+
* ClientToken: "STRING_VALUE",
|
|
57
|
+
* };
|
|
58
|
+
* const command = new CreateConnectorCommand(input);
|
|
59
|
+
* const response = await client.send(command);
|
|
60
|
+
* // { // CreateConnectorResponse
|
|
61
|
+
* // ConnectorArn: "STRING_VALUE", // required
|
|
62
|
+
* // ConnectorId: "STRING_VALUE", // required
|
|
63
|
+
* // ConnectorStatus: "CONNECTED" || "DEGRADED" || "FAILED_TO_CONNECT" || "UNKNOWN",
|
|
64
|
+
* // EnablementStatus: "ENABLED" || "PENDING_ENABLEMENT" || "PENDING_UPDATE" || "PENDING_DELETION",
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @param CreateConnectorCommandInput - {@link CreateConnectorCommandInput}
|
|
70
|
+
* @returns {@link CreateConnectorCommandOutput}
|
|
71
|
+
* @see {@link CreateConnectorCommandInput} for command's `input` shape.
|
|
72
|
+
* @see {@link CreateConnectorCommandOutput} for command's `response` shape.
|
|
73
|
+
* @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
76
|
+
* <p>You don't have permission to perform the action specified in the request.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ConflictException} (client fault)
|
|
79
|
+
* <p>The request causes conflict with the current state of the service resource.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link InternalServerException} (server fault)
|
|
82
|
+
* <p>
|
|
83
|
+
* The request has failed due to an internal failure of the service.
|
|
84
|
+
* </p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link InvalidAccessException} (client fault)
|
|
87
|
+
* <p>The account doesn't have permission to perform this action.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
90
|
+
* <p>The request was rejected because we can't find the specified resource.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
93
|
+
* <p>The request was rejected because it would exceed the service quota limit.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
96
|
+
* <p>
|
|
97
|
+
* The limit on the number of requests per second was exceeded.
|
|
98
|
+
* </p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link ValidationException} (client fault)
|
|
101
|
+
* <p>The request has failed validation because it's missing required fields or has invalid inputs.</p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link SecurityHubServiceException}
|
|
104
|
+
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
105
|
+
*
|
|
106
|
+
*
|
|
107
|
+
* @example To create a CSPM connector
|
|
108
|
+
* ```javascript
|
|
109
|
+
* // This operation creates a CSPM connector to connect Security Hub to an Azure environment.
|
|
110
|
+
* const input = {
|
|
111
|
+
* Description: "Connector for Azure tenant monitoring",
|
|
112
|
+
* Name: "MyAzureConnector",
|
|
113
|
+
* Provider: {
|
|
114
|
+
* Azure: {
|
|
115
|
+
* AWSConfigConnectorArn: "arn:aws:config:us-east-1:123456789012:connector/azure-connector-1234",
|
|
116
|
+
* AzureRegions: [
|
|
117
|
+
* "eastus",
|
|
118
|
+
* "westus2"
|
|
119
|
+
* ],
|
|
120
|
+
* ScopeConfiguration: {
|
|
121
|
+
* ScopeType: "TENANT"
|
|
122
|
+
* }
|
|
123
|
+
* }
|
|
124
|
+
* }
|
|
125
|
+
* };
|
|
126
|
+
* const command = new CreateConnectorCommand(input);
|
|
127
|
+
* const response = await client.send(command);
|
|
128
|
+
* /* response is
|
|
129
|
+
* {
|
|
130
|
+
* ConnectorArn: "arn:aws:securityhub:us-east-1:123456789012:connector/cspm-a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
|
|
131
|
+
* ConnectorId: "cspm-a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
|
|
132
|
+
* EnablementStatus: "PENDING_ENABLEMENT"
|
|
133
|
+
* }
|
|
134
|
+
* *\/
|
|
135
|
+
* ```
|
|
136
|
+
*
|
|
137
|
+
* @public
|
|
138
|
+
*/
|
|
139
|
+
export declare class CreateConnectorCommand extends CreateConnectorCommand_base {
|
|
140
|
+
/** @internal type navigation helper, not in runtime. */
|
|
141
|
+
protected static __types: {
|
|
142
|
+
api: {
|
|
143
|
+
input: CreateConnectorRequest;
|
|
144
|
+
output: CreateConnectorResponse;
|
|
145
|
+
};
|
|
146
|
+
sdk: {
|
|
147
|
+
input: CreateConnectorCommandInput;
|
|
148
|
+
output: CreateConnectorCommandOutput;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
}
|
|
@@ -44,6 +44,18 @@ declare const CreateConnectorV2Command_base: {
|
|
|
44
44
|
* InstanceName: "STRING_VALUE", // required
|
|
45
45
|
* SecretArn: "STRING_VALUE", // required
|
|
46
46
|
* },
|
|
47
|
+
* Azure: { // AzureProviderConfiguration
|
|
48
|
+
* AWSConfigConnectorArn: "STRING_VALUE", // required
|
|
49
|
+
* ScopeConfiguration: { // AzureScopeConfiguration
|
|
50
|
+
* ScopeType: "TENANT" || "SUBSCRIPTION", // required
|
|
51
|
+
* ScopeValues: [ // ScopeValueList
|
|
52
|
+
* "STRING_VALUE",
|
|
53
|
+
* ],
|
|
54
|
+
* },
|
|
55
|
+
* AzureRegions: [ // AzureRegionList // required
|
|
56
|
+
* "STRING_VALUE",
|
|
57
|
+
* ],
|
|
58
|
+
* },
|
|
47
59
|
* },
|
|
48
60
|
* KmsKeyArn: "STRING_VALUE",
|
|
49
61
|
* Tags: { // TagMap
|
|
@@ -57,7 +69,8 @@ declare const CreateConnectorV2Command_base: {
|
|
|
57
69
|
* // ConnectorArn: "STRING_VALUE", // required
|
|
58
70
|
* // ConnectorId: "STRING_VALUE", // required
|
|
59
71
|
* // AuthUrl: "STRING_VALUE",
|
|
60
|
-
* // ConnectorStatus: "CONNECTED" || "FAILED_TO_CONNECT" || "PENDING_CONFIGURATION" || "
|
|
72
|
+
* // ConnectorStatus: "CONNECTED" || "DEGRADED" || "FAILED_TO_CONNECT" || "PENDING_AUTHORIZATION" || "PENDING_CONFIGURATION" || "UNKNOWN",
|
|
73
|
+
* // EnablementStatus: "ENABLED" || "PENDING_ENABLEMENT" || "FAILED_TO_ENABLE" || "PENDING_UPDATE" || "FAILED_TO_UPDATE" || "PENDING_DELETION" || "FAILED_TO_DELETE",
|
|
61
74
|
* // };
|
|
62
75
|
*
|
|
63
76
|
* ```
|
|
@@ -310,6 +310,9 @@ declare const CreateInsightCommand_base: {
|
|
|
310
310
|
* AwsAccountName: "<StringFilterList>",
|
|
311
311
|
* ResourceApplicationName: "<StringFilterList>",
|
|
312
312
|
* ResourceApplicationArn: "<StringFilterList>",
|
|
313
|
+
* ResourceOwnerAccountId: "<StringFilterList>",
|
|
314
|
+
* ResourceOwnerOrgId: "<StringFilterList>",
|
|
315
|
+
* ResourceProvider: "<StringFilterList>",
|
|
313
316
|
* },
|
|
314
317
|
* GroupByAttribute: "STRING_VALUE", // required
|
|
315
318
|
* };
|