@aws-sdk/client-securityhub 3.830.0 → 3.831.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 +208 -0
- package/dist-cjs/index.js +1956 -51
- package/dist-es/SecurityHub.js +52 -0
- package/dist-es/commands/BatchUpdateFindingsV2Command.js +22 -0
- package/dist-es/commands/ConnectorRegistrationsV2Command.js +22 -0
- package/dist-es/commands/CreateAggregatorV2Command.js +22 -0
- package/dist-es/commands/CreateAutomationRuleV2Command.js +22 -0
- package/dist-es/commands/CreateConnectorV2Command.js +23 -0
- package/dist-es/commands/CreateTicketV2Command.js +22 -0
- package/dist-es/commands/DeleteAggregatorV2Command.js +22 -0
- package/dist-es/commands/DeleteAutomationRuleV2Command.js +22 -0
- package/dist-es/commands/DeleteConnectorV2Command.js +22 -0
- package/dist-es/commands/DescribeProductsV2Command.js +22 -0
- package/dist-es/commands/DescribeSecurityHubV2Command.js +22 -0
- package/dist-es/commands/DisableSecurityHubV2Command.js +22 -0
- package/dist-es/commands/EnableSecurityHubV2Command.js +22 -0
- package/dist-es/commands/GetAggregatorV2Command.js +22 -0
- package/dist-es/commands/GetAutomationRuleV2Command.js +22 -0
- package/dist-es/commands/GetConnectorV2Command.js +22 -0
- package/dist-es/commands/GetFindingStatisticsV2Command.js +22 -0
- package/dist-es/commands/GetFindingsV2Command.js +22 -0
- package/dist-es/commands/GetResourcesStatisticsV2Command.js +22 -0
- package/dist-es/commands/GetResourcesV2Command.js +22 -0
- package/dist-es/commands/ListAggregatorsV2Command.js +22 -0
- package/dist-es/commands/ListAutomationRulesV2Command.js +22 -0
- package/dist-es/commands/ListConnectorsV2Command.js +22 -0
- package/dist-es/commands/UpdateAggregatorV2Command.js +22 -0
- package/dist-es/commands/UpdateAutomationRuleV2Command.js +22 -0
- package/dist-es/commands/UpdateConnectorV2Command.js +23 -0
- package/dist-es/commands/index.js +26 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +13 -0
- package/dist-es/models/models_2.js +193 -19
- package/dist-es/models/models_3.js +101 -0
- package/dist-es/pagination/DescribeProductsV2Paginator.js +4 -0
- package/dist-es/pagination/GetFindingsV2Paginator.js +4 -0
- package/dist-es/pagination/GetResourcesV2Paginator.js +4 -0
- package/dist-es/pagination/ListAggregatorsV2Paginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +1071 -32
- package/dist-types/SecurityHub.d.ts +192 -0
- package/dist-types/SecurityHubClient.d.ts +28 -2
- package/dist-types/commands/BatchGetAutomationRulesCommand.d.ts +5 -5
- package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +5 -5
- package/dist-types/commands/BatchUpdateFindingsCommand.d.ts +16 -12
- package/dist-types/commands/BatchUpdateFindingsV2Command.d.ts +129 -0
- package/dist-types/commands/ConnectorRegistrationsV2Command.d.ts +96 -0
- package/dist-types/commands/CreateAggregatorV2Command.d.ts +106 -0
- package/dist-types/commands/CreateAutomationRuleCommand.d.ts +5 -5
- package/dist-types/commands/CreateAutomationRuleV2Command.d.ts +174 -0
- package/dist-types/commands/CreateConnectorV2Command.d.ts +112 -0
- package/dist-types/commands/CreateInsightCommand.d.ts +5 -5
- package/dist-types/commands/CreateTicketV2Command.d.ts +97 -0
- package/dist-types/commands/DeleteAggregatorV2Command.d.ts +92 -0
- package/dist-types/commands/DeleteAutomationRuleV2Command.d.ts +92 -0
- package/dist-types/commands/DeleteConnectorV2Command.d.ts +92 -0
- package/dist-types/commands/DescribeProductsV2Command.d.ts +107 -0
- package/dist-types/commands/DescribeSecurityHubV2Command.d.ts +87 -0
- package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +1 -0
- package/dist-types/commands/DisableSecurityHubV2Command.d.ts +84 -0
- package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +6 -2
- package/dist-types/commands/EnableSecurityHubV2Command.d.ts +90 -0
- package/dist-types/commands/GetAggregatorV2Command.d.ts +99 -0
- package/dist-types/commands/GetAutomationRuleV2Command.d.ts +176 -0
- package/dist-types/commands/GetConnectorV2Command.d.ts +119 -0
- package/dist-types/commands/GetFindingHistoryCommand.d.ts +8 -2
- package/dist-types/commands/GetFindingStatisticsV2Command.d.ts +169 -0
- package/dist-types/commands/GetFindingsCommand.d.ts +7 -6
- package/dist-types/commands/GetFindingsV2Command.d.ts +163 -0
- package/dist-types/commands/GetInsightResultsCommand.d.ts +1 -1
- package/dist-types/commands/GetInsightsCommand.d.ts +6 -6
- package/dist-types/commands/GetInvitationsCountCommand.d.ts +1 -1
- package/dist-types/commands/GetMasterAccountCommand.d.ts +1 -1
- package/dist-types/commands/GetMembersCommand.d.ts +1 -1
- package/dist-types/commands/GetResourcesStatisticsV2Command.d.ts +162 -0
- package/dist-types/commands/GetResourcesV2Command.d.ts +190 -0
- package/dist-types/commands/GetSecurityControlDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/InviteMembersCommand.d.ts +1 -1
- package/dist-types/commands/ListAggregatorsV2Command.d.ts +100 -0
- package/dist-types/commands/ListAutomationRulesCommand.d.ts +1 -1
- package/dist-types/commands/ListAutomationRulesV2Command.d.ts +109 -0
- package/dist-types/commands/ListConfigurationPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListConfigurationPolicyAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListConnectorsV2Command.d.ts +110 -0
- 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/ListMembersCommand.d.ts +1 -1
- package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +3 -1
- package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +1 -1
- package/dist-types/commands/ListStandardsControlAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/StartConfigurationPolicyAssociationCommand.d.ts +1 -1
- package/dist-types/commands/StartConfigurationPolicyDisassociationCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateActionTargetCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAggregatorV2Command.d.ts +103 -0
- package/dist-types/commands/UpdateAutomationRuleV2Command.d.ts +171 -0
- package/dist-types/commands/UpdateConfigurationPolicyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateConnectorV2Command.d.ts +99 -0
- package/dist-types/commands/UpdateFindingAggregatorCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFindingsCommand.d.ts +6 -6
- package/dist-types/commands/UpdateInsightCommand.d.ts +6 -6
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSecurityControlCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateStandardsControlCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +26 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +166 -320
- package/dist-types/models/models_1.d.ts +319 -343
- package/dist-types/models/models_2.d.ts +2465 -2269
- package/dist-types/models/models_3.d.ts +2386 -0
- package/dist-types/pagination/DescribeProductsV2Paginator.d.ts +7 -0
- package/dist-types/pagination/GetFindingsV2Paginator.d.ts +7 -0
- package/dist-types/pagination/GetResourcesV2Paginator.d.ts +7 -0
- package/dist-types/pagination/ListAggregatorsV2Paginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +234 -0
- package/dist-types/ts3.4/SecurityHub.d.ts +452 -0
- package/dist-types/ts3.4/SecurityHubClient.d.ts +156 -0
- package/dist-types/ts3.4/commands/BatchUpdateFindingsV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/ConnectorRegistrationsV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateAggregatorV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateAutomationRuleV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateConnectorV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateTicketV2Command.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteAggregatorV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteAutomationRuleV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteConnectorV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeProductsV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeSecurityHubV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisableSecurityHubV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/EnableOrganizationAdminAccountCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EnableSecurityHubV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAggregatorV2Command.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetAutomationRuleV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetConnectorV2Command.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetFindingStatisticsV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetFindingsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetFindingsV2Command.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetInsightResultsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInsightsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetInvitationsCountCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMasterAccountCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetMembersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetResourcesStatisticsV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetResourcesV2Command.d.ts +50 -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 +51 -0
- package/dist-types/ts3.4/commands/ListAutomationRulesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAutomationRulesV2Command.d.ts +51 -0
- 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/ListConnectorsV2Command.d.ts +50 -0
- 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/ListMembersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListOrganizationAdminAccountsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSecurityControlDefinitionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListStandardsControlAssociationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartConfigurationPolicyAssociationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartConfigurationPolicyDisassociationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateActionTargetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAggregatorV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateAutomationRuleV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateConfigurationPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateConnectorV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateFindingAggregatorCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateFindingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateInsightCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateSecurityControlCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateSecurityHubConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateStandardsControlCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +26 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +50 -57
- package/dist-types/ts3.4/models/models_1.d.ts +57 -66
- package/dist-types/ts3.4/models/models_2.d.ts +522 -310
- package/dist-types/ts3.4/models/models_3.d.ts +626 -0
- package/dist-types/ts3.4/pagination/DescribeProductsV2Paginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetFindingsV2Paginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetResourcesV2Paginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAggregatorsV2Paginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +312 -0
- package/package.json +4 -2
package/dist-cjs/index.js
CHANGED
|
@@ -26,10 +26,12 @@ __export(index_exports, {
|
|
|
26
26
|
AccessDeniedException: () => AccessDeniedException,
|
|
27
27
|
ActorSessionMfaStatus: () => ActorSessionMfaStatus,
|
|
28
28
|
AdminStatus: () => AdminStatus,
|
|
29
|
+
AllowedOperators: () => AllowedOperators,
|
|
29
30
|
AssociationStatus: () => AssociationStatus,
|
|
30
31
|
AssociationType: () => AssociationType,
|
|
31
32
|
AutoEnableStandards: () => AutoEnableStandards,
|
|
32
33
|
AutomationRulesActionType: () => AutomationRulesActionType,
|
|
34
|
+
AutomationRulesActionTypeV2: () => AutomationRulesActionTypeV2,
|
|
33
35
|
AwsIamAccessKeyStatus: () => AwsIamAccessKeyStatus,
|
|
34
36
|
AwsS3BucketNotificationConfigurationS3KeyFilterRuleName: () => AwsS3BucketNotificationConfigurationS3KeyFilterRuleName,
|
|
35
37
|
BatchDeleteAutomationRulesCommand: () => BatchDeleteAutomationRulesCommand,
|
|
@@ -42,23 +44,39 @@ __export(index_exports, {
|
|
|
42
44
|
BatchImportFindingsCommand: () => BatchImportFindingsCommand,
|
|
43
45
|
BatchUpdateAutomationRulesCommand: () => BatchUpdateAutomationRulesCommand,
|
|
44
46
|
BatchUpdateFindingsCommand: () => BatchUpdateFindingsCommand,
|
|
47
|
+
BatchUpdateFindingsV2Command: () => BatchUpdateFindingsV2Command,
|
|
48
|
+
BatchUpdateFindingsV2UnprocessedFindingErrorCode: () => BatchUpdateFindingsV2UnprocessedFindingErrorCode,
|
|
45
49
|
BatchUpdateStandardsControlAssociationsCommand: () => BatchUpdateStandardsControlAssociationsCommand,
|
|
46
50
|
ComplianceStatus: () => ComplianceStatus,
|
|
47
51
|
ConfigurationOptions: () => ConfigurationOptions,
|
|
48
52
|
ConfigurationPolicyAssociationStatus: () => ConfigurationPolicyAssociationStatus,
|
|
53
|
+
ConflictException: () => ConflictException,
|
|
49
54
|
ConnectionDirection: () => ConnectionDirection,
|
|
55
|
+
ConnectorAuthStatus: () => ConnectorAuthStatus,
|
|
56
|
+
ConnectorProviderName: () => ConnectorProviderName,
|
|
57
|
+
ConnectorRegistrationsV2Command: () => ConnectorRegistrationsV2Command,
|
|
58
|
+
ConnectorStatus: () => ConnectorStatus,
|
|
50
59
|
ControlFindingGenerator: () => ControlFindingGenerator,
|
|
51
60
|
ControlStatus: () => ControlStatus,
|
|
52
61
|
CreateActionTargetCommand: () => CreateActionTargetCommand,
|
|
62
|
+
CreateAggregatorV2Command: () => CreateAggregatorV2Command,
|
|
53
63
|
CreateAutomationRuleCommand: () => CreateAutomationRuleCommand,
|
|
64
|
+
CreateAutomationRuleV2Command: () => CreateAutomationRuleV2Command,
|
|
54
65
|
CreateConfigurationPolicyCommand: () => CreateConfigurationPolicyCommand,
|
|
66
|
+
CreateConnectorV2Command: () => CreateConnectorV2Command,
|
|
67
|
+
CreateConnectorV2RequestFilterSensitiveLog: () => CreateConnectorV2RequestFilterSensitiveLog,
|
|
55
68
|
CreateFindingAggregatorCommand: () => CreateFindingAggregatorCommand,
|
|
56
69
|
CreateInsightCommand: () => CreateInsightCommand,
|
|
57
70
|
CreateMembersCommand: () => CreateMembersCommand,
|
|
71
|
+
CreateTicketV2Command: () => CreateTicketV2Command,
|
|
72
|
+
Criteria: () => Criteria,
|
|
58
73
|
DateRangeUnit: () => DateRangeUnit,
|
|
59
74
|
DeclineInvitationsCommand: () => DeclineInvitationsCommand,
|
|
60
75
|
DeleteActionTargetCommand: () => DeleteActionTargetCommand,
|
|
76
|
+
DeleteAggregatorV2Command: () => DeleteAggregatorV2Command,
|
|
77
|
+
DeleteAutomationRuleV2Command: () => DeleteAutomationRuleV2Command,
|
|
61
78
|
DeleteConfigurationPolicyCommand: () => DeleteConfigurationPolicyCommand,
|
|
79
|
+
DeleteConnectorV2Command: () => DeleteConnectorV2Command,
|
|
62
80
|
DeleteFindingAggregatorCommand: () => DeleteFindingAggregatorCommand,
|
|
63
81
|
DeleteInsightCommand: () => DeleteInsightCommand,
|
|
64
82
|
DeleteInvitationsCommand: () => DeleteInvitationsCommand,
|
|
@@ -67,40 +85,57 @@ __export(index_exports, {
|
|
|
67
85
|
DescribeHubCommand: () => DescribeHubCommand,
|
|
68
86
|
DescribeOrganizationConfigurationCommand: () => DescribeOrganizationConfigurationCommand,
|
|
69
87
|
DescribeProductsCommand: () => DescribeProductsCommand,
|
|
88
|
+
DescribeProductsV2Command: () => DescribeProductsV2Command,
|
|
89
|
+
DescribeSecurityHubV2Command: () => DescribeSecurityHubV2Command,
|
|
70
90
|
DescribeStandardsCommand: () => DescribeStandardsCommand,
|
|
71
91
|
DescribeStandardsControlsCommand: () => DescribeStandardsControlsCommand,
|
|
72
92
|
DisableImportFindingsForProductCommand: () => DisableImportFindingsForProductCommand,
|
|
73
93
|
DisableOrganizationAdminAccountCommand: () => DisableOrganizationAdminAccountCommand,
|
|
74
94
|
DisableSecurityHubCommand: () => DisableSecurityHubCommand,
|
|
95
|
+
DisableSecurityHubV2Command: () => DisableSecurityHubV2Command,
|
|
75
96
|
DisassociateFromAdministratorAccountCommand: () => DisassociateFromAdministratorAccountCommand,
|
|
76
97
|
DisassociateFromMasterAccountCommand: () => DisassociateFromMasterAccountCommand,
|
|
77
98
|
DisassociateMembersCommand: () => DisassociateMembersCommand,
|
|
78
99
|
EnableImportFindingsForProductCommand: () => EnableImportFindingsForProductCommand,
|
|
79
100
|
EnableOrganizationAdminAccountCommand: () => EnableOrganizationAdminAccountCommand,
|
|
80
101
|
EnableSecurityHubCommand: () => EnableSecurityHubCommand,
|
|
102
|
+
EnableSecurityHubV2Command: () => EnableSecurityHubV2Command,
|
|
81
103
|
FindingHistoryUpdateSourceType: () => FindingHistoryUpdateSourceType,
|
|
82
104
|
GetAdministratorAccountCommand: () => GetAdministratorAccountCommand,
|
|
105
|
+
GetAggregatorV2Command: () => GetAggregatorV2Command,
|
|
106
|
+
GetAutomationRuleV2Command: () => GetAutomationRuleV2Command,
|
|
83
107
|
GetConfigurationPolicyAssociationCommand: () => GetConfigurationPolicyAssociationCommand,
|
|
84
108
|
GetConfigurationPolicyCommand: () => GetConfigurationPolicyCommand,
|
|
109
|
+
GetConnectorV2Command: () => GetConnectorV2Command,
|
|
85
110
|
GetEnabledStandardsCommand: () => GetEnabledStandardsCommand,
|
|
86
111
|
GetFindingAggregatorCommand: () => GetFindingAggregatorCommand,
|
|
87
112
|
GetFindingHistoryCommand: () => GetFindingHistoryCommand,
|
|
113
|
+
GetFindingStatisticsV2Command: () => GetFindingStatisticsV2Command,
|
|
88
114
|
GetFindingsCommand: () => GetFindingsCommand,
|
|
115
|
+
GetFindingsV2Command: () => GetFindingsV2Command,
|
|
89
116
|
GetInsightResultsCommand: () => GetInsightResultsCommand,
|
|
90
117
|
GetInsightsCommand: () => GetInsightsCommand,
|
|
91
118
|
GetInvitationsCountCommand: () => GetInvitationsCountCommand,
|
|
92
119
|
GetMasterAccountCommand: () => GetMasterAccountCommand,
|
|
93
120
|
GetMembersCommand: () => GetMembersCommand,
|
|
121
|
+
GetResourcesStatisticsV2Command: () => GetResourcesStatisticsV2Command,
|
|
122
|
+
GetResourcesV2Command: () => GetResourcesV2Command,
|
|
94
123
|
GetSecurityControlDefinitionCommand: () => GetSecurityControlDefinitionCommand,
|
|
124
|
+
GroupByField: () => GroupByField,
|
|
95
125
|
IntegrationType: () => IntegrationType,
|
|
126
|
+
IntegrationV2Type: () => IntegrationV2Type,
|
|
96
127
|
InternalException: () => InternalException,
|
|
128
|
+
InternalServerException: () => InternalServerException,
|
|
97
129
|
InvalidAccessException: () => InvalidAccessException,
|
|
98
130
|
InvalidInputException: () => InvalidInputException,
|
|
99
131
|
InviteMembersCommand: () => InviteMembersCommand,
|
|
100
132
|
LimitExceededException: () => LimitExceededException,
|
|
133
|
+
ListAggregatorsV2Command: () => ListAggregatorsV2Command,
|
|
101
134
|
ListAutomationRulesCommand: () => ListAutomationRulesCommand,
|
|
135
|
+
ListAutomationRulesV2Command: () => ListAutomationRulesV2Command,
|
|
102
136
|
ListConfigurationPoliciesCommand: () => ListConfigurationPoliciesCommand,
|
|
103
137
|
ListConfigurationPolicyAssociationsCommand: () => ListConfigurationPolicyAssociationsCommand,
|
|
138
|
+
ListConnectorsV2Command: () => ListConnectorsV2Command,
|
|
104
139
|
ListEnabledProductsForImportCommand: () => ListEnabledProductsForImportCommand,
|
|
105
140
|
ListFindingAggregatorsCommand: () => ListFindingAggregatorsCommand,
|
|
106
141
|
ListInvitationsCommand: () => ListInvitationsCommand,
|
|
@@ -113,22 +148,40 @@ __export(index_exports, {
|
|
|
113
148
|
MalwareType: () => MalwareType,
|
|
114
149
|
MapFilterComparison: () => MapFilterComparison,
|
|
115
150
|
NetworkDirection: () => NetworkDirection,
|
|
151
|
+
OcsfBooleanField: () => OcsfBooleanField,
|
|
152
|
+
OcsfDateField: () => OcsfDateField,
|
|
153
|
+
OcsfMapField: () => OcsfMapField,
|
|
154
|
+
OcsfNumberField: () => OcsfNumberField,
|
|
155
|
+
OcsfStringField: () => OcsfStringField,
|
|
116
156
|
OrganizationConfigurationConfigurationType: () => OrganizationConfigurationConfigurationType,
|
|
117
157
|
OrganizationConfigurationStatus: () => OrganizationConfigurationStatus,
|
|
118
158
|
ParameterValue: () => ParameterValue,
|
|
119
159
|
ParameterValueType: () => ParameterValueType,
|
|
120
160
|
Partition: () => Partition,
|
|
121
161
|
Policy: () => Policy,
|
|
162
|
+
ProviderConfiguration: () => ProviderConfiguration,
|
|
163
|
+
ProviderConfigurationFilterSensitiveLog: () => ProviderConfigurationFilterSensitiveLog,
|
|
164
|
+
ProviderDetail: () => ProviderDetail,
|
|
165
|
+
ProviderUpdateConfiguration: () => ProviderUpdateConfiguration,
|
|
122
166
|
RecordState: () => RecordState,
|
|
123
167
|
RegionAvailabilityStatus: () => RegionAvailabilityStatus,
|
|
168
|
+
ResourceCategory: () => ResourceCategory,
|
|
124
169
|
ResourceConflictException: () => ResourceConflictException,
|
|
170
|
+
ResourceGroupByField: () => ResourceGroupByField,
|
|
125
171
|
ResourceInUseException: () => ResourceInUseException,
|
|
126
172
|
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
173
|
+
ResourcesDateField: () => ResourcesDateField,
|
|
174
|
+
ResourcesMapField: () => ResourcesMapField,
|
|
175
|
+
ResourcesNumberField: () => ResourcesNumberField,
|
|
176
|
+
ResourcesStringField: () => ResourcesStringField,
|
|
127
177
|
RuleStatus: () => RuleStatus,
|
|
178
|
+
RuleStatusV2: () => RuleStatusV2,
|
|
128
179
|
SecurityControlProperty: () => SecurityControlProperty,
|
|
129
180
|
SecurityHub: () => SecurityHub,
|
|
130
181
|
SecurityHubClient: () => SecurityHubClient,
|
|
182
|
+
SecurityHubFeature: () => SecurityHubFeature,
|
|
131
183
|
SecurityHubServiceException: () => SecurityHubServiceException,
|
|
184
|
+
ServiceNowProviderConfigurationFilterSensitiveLog: () => ServiceNowProviderConfigurationFilterSensitiveLog,
|
|
132
185
|
SeverityLabel: () => SeverityLabel,
|
|
133
186
|
SeverityRating: () => SeverityRating,
|
|
134
187
|
SortOrder: () => SortOrder,
|
|
@@ -143,10 +196,15 @@ __export(index_exports, {
|
|
|
143
196
|
TargetType: () => TargetType,
|
|
144
197
|
ThreatIntelIndicatorCategory: () => ThreatIntelIndicatorCategory,
|
|
145
198
|
ThreatIntelIndicatorType: () => ThreatIntelIndicatorType,
|
|
199
|
+
ThrottlingException: () => ThrottlingException,
|
|
146
200
|
UnprocessedErrorCode: () => UnprocessedErrorCode,
|
|
147
201
|
UntagResourceCommand: () => UntagResourceCommand,
|
|
148
202
|
UpdateActionTargetCommand: () => UpdateActionTargetCommand,
|
|
203
|
+
UpdateAggregatorV2Command: () => UpdateAggregatorV2Command,
|
|
204
|
+
UpdateAutomationRuleV2Command: () => UpdateAutomationRuleV2Command,
|
|
149
205
|
UpdateConfigurationPolicyCommand: () => UpdateConfigurationPolicyCommand,
|
|
206
|
+
UpdateConnectorV2Command: () => UpdateConnectorV2Command,
|
|
207
|
+
UpdateConnectorV2RequestFilterSensitiveLog: () => UpdateConnectorV2RequestFilterSensitiveLog,
|
|
150
208
|
UpdateFindingAggregatorCommand: () => UpdateFindingAggregatorCommand,
|
|
151
209
|
UpdateFindingsCommand: () => UpdateFindingsCommand,
|
|
152
210
|
UpdateInsightCommand: () => UpdateInsightCommand,
|
|
@@ -155,6 +213,7 @@ __export(index_exports, {
|
|
|
155
213
|
UpdateSecurityHubConfigurationCommand: () => UpdateSecurityHubConfigurationCommand,
|
|
156
214
|
UpdateStandardsControlCommand: () => UpdateStandardsControlCommand,
|
|
157
215
|
UpdateStatus: () => UpdateStatus,
|
|
216
|
+
ValidationException: () => ValidationException,
|
|
158
217
|
VerificationState: () => VerificationState,
|
|
159
218
|
VulnerabilityExploitAvailable: () => VulnerabilityExploitAvailable,
|
|
160
219
|
VulnerabilityFixAvailable: () => VulnerabilityFixAvailable,
|
|
@@ -163,12 +222,16 @@ __export(index_exports, {
|
|
|
163
222
|
__Client: () => import_smithy_client.Client,
|
|
164
223
|
paginateDescribeActionTargets: () => paginateDescribeActionTargets,
|
|
165
224
|
paginateDescribeProducts: () => paginateDescribeProducts,
|
|
225
|
+
paginateDescribeProductsV2: () => paginateDescribeProductsV2,
|
|
166
226
|
paginateDescribeStandards: () => paginateDescribeStandards,
|
|
167
227
|
paginateDescribeStandardsControls: () => paginateDescribeStandardsControls,
|
|
168
228
|
paginateGetEnabledStandards: () => paginateGetEnabledStandards,
|
|
169
229
|
paginateGetFindingHistory: () => paginateGetFindingHistory,
|
|
170
230
|
paginateGetFindings: () => paginateGetFindings,
|
|
231
|
+
paginateGetFindingsV2: () => paginateGetFindingsV2,
|
|
171
232
|
paginateGetInsights: () => paginateGetInsights,
|
|
233
|
+
paginateGetResourcesV2: () => paginateGetResourcesV2,
|
|
234
|
+
paginateListAggregatorsV2: () => paginateListAggregatorsV2,
|
|
172
235
|
paginateListConfigurationPolicies: () => paginateListConfigurationPolicies,
|
|
173
236
|
paginateListConfigurationPolicyAssociations: () => paginateListConfigurationPolicyAssociations,
|
|
174
237
|
paginateListEnabledProductsForImport: () => paginateListEnabledProductsForImport,
|
|
@@ -334,6 +397,7 @@ var import_middleware_serde = require("@smithy/middleware-serde");
|
|
|
334
397
|
var import_core2 = require("@aws-sdk/core");
|
|
335
398
|
|
|
336
399
|
|
|
400
|
+
var import_uuid = require("uuid");
|
|
337
401
|
|
|
338
402
|
// src/models/SecurityHubServiceException.ts
|
|
339
403
|
|
|
@@ -513,6 +577,10 @@ var AdminStatus = {
|
|
|
513
577
|
DISABLE_IN_PROGRESS: "DISABLE_IN_PROGRESS",
|
|
514
578
|
ENABLED: "ENABLED"
|
|
515
579
|
};
|
|
580
|
+
var AllowedOperators = {
|
|
581
|
+
AND: "AND",
|
|
582
|
+
OR: "OR"
|
|
583
|
+
};
|
|
516
584
|
var ConfigurationPolicyAssociationStatus = {
|
|
517
585
|
FAILED: "FAILED",
|
|
518
586
|
PENDING: "PENDING",
|
|
@@ -530,8 +598,13 @@ var AutoEnableStandards = {
|
|
|
530
598
|
DEFAULT: "DEFAULT",
|
|
531
599
|
NONE: "NONE"
|
|
532
600
|
};
|
|
601
|
+
var AutomationRulesActionTypeV2 = {
|
|
602
|
+
EXTERNAL_INTEGRATION: "EXTERNAL_INTEGRATION",
|
|
603
|
+
FINDING_FIELDS_UPDATE: "FINDING_FIELDS_UPDATE"
|
|
604
|
+
};
|
|
533
605
|
var StringFilterComparison = {
|
|
534
606
|
CONTAINS: "CONTAINS",
|
|
607
|
+
CONTAINS_WORD: "CONTAINS_WORD",
|
|
535
608
|
EQUALS: "EQUALS",
|
|
536
609
|
NOT_CONTAINS: "NOT_CONTAINS",
|
|
537
610
|
NOT_EQUALS: "NOT_EQUALS",
|
|
@@ -551,8 +624,13 @@ var RuleStatus = {
|
|
|
551
624
|
DISABLED: "DISABLED",
|
|
552
625
|
ENABLED: "ENABLED"
|
|
553
626
|
};
|
|
627
|
+
var RuleStatusV2 = {
|
|
628
|
+
DISABLED: "DISABLED",
|
|
629
|
+
ENABLED: "ENABLED"
|
|
630
|
+
};
|
|
554
631
|
|
|
555
632
|
// src/models/models_2.ts
|
|
633
|
+
|
|
556
634
|
var Partition = {
|
|
557
635
|
AWS: "aws",
|
|
558
636
|
AWS_CN: "aws-cn",
|
|
@@ -663,6 +741,156 @@ var UnprocessedErrorCode = {
|
|
|
663
741
|
LIMIT_EXCEEDED: "LIMIT_EXCEEDED",
|
|
664
742
|
NOT_FOUND: "NOT_FOUND"
|
|
665
743
|
};
|
|
744
|
+
var BatchUpdateFindingsV2UnprocessedFindingErrorCode = {
|
|
745
|
+
ConflictException: "ConflictException",
|
|
746
|
+
InternalServerException: "InternalServerException",
|
|
747
|
+
ResourceNotFoundException: "ResourceNotFoundException",
|
|
748
|
+
ValidationException: "ValidationException"
|
|
749
|
+
};
|
|
750
|
+
var ConflictException = class _ConflictException extends SecurityHubServiceException {
|
|
751
|
+
static {
|
|
752
|
+
__name(this, "ConflictException");
|
|
753
|
+
}
|
|
754
|
+
name = "ConflictException";
|
|
755
|
+
$fault = "client";
|
|
756
|
+
Message;
|
|
757
|
+
Code;
|
|
758
|
+
/**
|
|
759
|
+
* @internal
|
|
760
|
+
*/
|
|
761
|
+
constructor(opts) {
|
|
762
|
+
super({
|
|
763
|
+
name: "ConflictException",
|
|
764
|
+
$fault: "client",
|
|
765
|
+
...opts
|
|
766
|
+
});
|
|
767
|
+
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
768
|
+
this.Message = opts.Message;
|
|
769
|
+
this.Code = opts.Code;
|
|
770
|
+
}
|
|
771
|
+
};
|
|
772
|
+
var InternalServerException = class _InternalServerException extends SecurityHubServiceException {
|
|
773
|
+
static {
|
|
774
|
+
__name(this, "InternalServerException");
|
|
775
|
+
}
|
|
776
|
+
name = "InternalServerException";
|
|
777
|
+
$fault = "server";
|
|
778
|
+
Message;
|
|
779
|
+
Code;
|
|
780
|
+
/**
|
|
781
|
+
* @internal
|
|
782
|
+
*/
|
|
783
|
+
constructor(opts) {
|
|
784
|
+
super({
|
|
785
|
+
name: "InternalServerException",
|
|
786
|
+
$fault: "server",
|
|
787
|
+
...opts
|
|
788
|
+
});
|
|
789
|
+
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
790
|
+
this.Message = opts.Message;
|
|
791
|
+
this.Code = opts.Code;
|
|
792
|
+
}
|
|
793
|
+
};
|
|
794
|
+
var ThrottlingException = class _ThrottlingException extends SecurityHubServiceException {
|
|
795
|
+
static {
|
|
796
|
+
__name(this, "ThrottlingException");
|
|
797
|
+
}
|
|
798
|
+
name = "ThrottlingException";
|
|
799
|
+
$fault = "client";
|
|
800
|
+
Message;
|
|
801
|
+
Code;
|
|
802
|
+
/**
|
|
803
|
+
* @internal
|
|
804
|
+
*/
|
|
805
|
+
constructor(opts) {
|
|
806
|
+
super({
|
|
807
|
+
name: "ThrottlingException",
|
|
808
|
+
$fault: "client",
|
|
809
|
+
...opts
|
|
810
|
+
});
|
|
811
|
+
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
812
|
+
this.Message = opts.Message;
|
|
813
|
+
this.Code = opts.Code;
|
|
814
|
+
}
|
|
815
|
+
};
|
|
816
|
+
var ValidationException = class _ValidationException extends SecurityHubServiceException {
|
|
817
|
+
static {
|
|
818
|
+
__name(this, "ValidationException");
|
|
819
|
+
}
|
|
820
|
+
name = "ValidationException";
|
|
821
|
+
$fault = "client";
|
|
822
|
+
Message;
|
|
823
|
+
Code;
|
|
824
|
+
/**
|
|
825
|
+
* @internal
|
|
826
|
+
*/
|
|
827
|
+
constructor(opts) {
|
|
828
|
+
super({
|
|
829
|
+
name: "ValidationException",
|
|
830
|
+
$fault: "client",
|
|
831
|
+
...opts
|
|
832
|
+
});
|
|
833
|
+
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
834
|
+
this.Message = opts.Message;
|
|
835
|
+
this.Code = opts.Code;
|
|
836
|
+
}
|
|
837
|
+
};
|
|
838
|
+
var OcsfBooleanField = {
|
|
839
|
+
COMPLIANCE_ASSESSMENTS_MEETS_CRITERIA: "compliance.assessments.meets_criteria",
|
|
840
|
+
VULNERABILITIES_IS_EXPLOIT_AVAILABLE: "vulnerabilities.is_exploit_available",
|
|
841
|
+
VULNERABILITIES_IS_FIX_AVAILABLE: "vulnerabilities.is_fix_available"
|
|
842
|
+
};
|
|
843
|
+
var OcsfDateField = {
|
|
844
|
+
FINDING_INFO_CREATED_TIME_DT: "finding_info.created_time_dt",
|
|
845
|
+
FINDING_INFO_FIRST_SEEN_TIME_DT: "finding_info.first_seen_time_dt",
|
|
846
|
+
FINDING_INFO_LAST_SEEN_TIME_DT: "finding_info.last_seen_time_dt",
|
|
847
|
+
FINDING_INFO_MODIFIED_TIME_DT: "finding_info.modified_time_dt"
|
|
848
|
+
};
|
|
849
|
+
var OcsfMapField = {
|
|
850
|
+
RESOURCES_TAGS: "resources.tags"
|
|
851
|
+
};
|
|
852
|
+
var OcsfNumberField = {
|
|
853
|
+
ACTIVITY_ID: "activity_id",
|
|
854
|
+
COMPLIANCE_STATUS_ID: "compliance.status_id",
|
|
855
|
+
CONFIDENCE_SCORE: "confidence_score",
|
|
856
|
+
FINDING_INFO_RELATED_EVENTS_COUNT: "finding_info.related_events_count",
|
|
857
|
+
SEVERITY_ID: "severity_id",
|
|
858
|
+
STATUS_ID: "status_id"
|
|
859
|
+
};
|
|
860
|
+
var OcsfStringField = {
|
|
861
|
+
ACTIVITY_NAME: "activity_name",
|
|
862
|
+
CLASS_NAME: "class_name",
|
|
863
|
+
CLOUD_ACCOUNT_UID: "cloud.account.uid",
|
|
864
|
+
CLOUD_PROVIDER: "cloud.provider",
|
|
865
|
+
CLOUD_REGION: "cloud.region",
|
|
866
|
+
COMMENT: "comment",
|
|
867
|
+
COMPLIANCE_ASSESSMENTS_CATEGORY: "compliance.assessments.category",
|
|
868
|
+
COMPLIANCE_ASSESSMENTS_NAME: "compliance.assessments.name",
|
|
869
|
+
COMPLIANCE_CONTROL: "compliance.control",
|
|
870
|
+
COMPLIANCE_STANDARDS: "compliance.standards",
|
|
871
|
+
COMPLIANCE_STATUS: "compliance.status",
|
|
872
|
+
FINDING_INFO_DESC: "finding_info.desc",
|
|
873
|
+
FINDING_INFO_RELATED_EVENTS_PRODUCT_UID: "finding_info.related_events.product.uid",
|
|
874
|
+
FINDING_INFO_RELATED_EVENTS_TITLE: "finding_info.related_events.title",
|
|
875
|
+
FINDING_INFO_RELATED_EVENTS_UID: "finding_info.related_events.uid",
|
|
876
|
+
FINDING_INFO_SRC_URL: "finding_info.src_url",
|
|
877
|
+
FINDING_INFO_TITLE: "finding_info.title",
|
|
878
|
+
FINDING_INFO_TYPES: "finding_info.types",
|
|
879
|
+
FINDING_INFO_UID: "finding_info.uid",
|
|
880
|
+
METADATA_PRODUCT_NAME: "metadata.product.name",
|
|
881
|
+
METADATA_PRODUCT_UID: "metadata.product.uid",
|
|
882
|
+
METADATA_PRODUCT_VENDOR_NAME: "metadata.product.vendor_name",
|
|
883
|
+
METADATA_UID: "metadata.uid",
|
|
884
|
+
REMEDIATION_DESC: "remediation.desc",
|
|
885
|
+
REMEDIATION_REFERENCES: "remediation.references",
|
|
886
|
+
RESOURCES_CLOUD_PARTITION: "resources.cloud_partition",
|
|
887
|
+
RESOURCES_REGION: "resources.region",
|
|
888
|
+
RESOURCES_TYPE: "resources.type",
|
|
889
|
+
RESOURCES_UID: "resources.uid",
|
|
890
|
+
SEVERITY: "severity",
|
|
891
|
+
STATUS: "status",
|
|
892
|
+
VULNERABILITIES_FIX_COVERAGE: "vulnerabilities.fix_coverage"
|
|
893
|
+
};
|
|
666
894
|
var ConfigurationOptions;
|
|
667
895
|
((ConfigurationOptions3) => {
|
|
668
896
|
ConfigurationOptions3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
@@ -677,6 +905,20 @@ var ConfigurationOptions;
|
|
|
677
905
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
678
906
|
}, "visit");
|
|
679
907
|
})(ConfigurationOptions || (ConfigurationOptions = {}));
|
|
908
|
+
var ConnectorAuthStatus = {
|
|
909
|
+
ACTIVE: "ACTIVE",
|
|
910
|
+
FAILED: "FAILED"
|
|
911
|
+
};
|
|
912
|
+
var ConnectorProviderName = {
|
|
913
|
+
JIRA_CLOUD: "JIRA_CLOUD",
|
|
914
|
+
SERVICENOW: "SERVICENOW"
|
|
915
|
+
};
|
|
916
|
+
var ConnectorStatus = {
|
|
917
|
+
CONNECTED: "CONNECTED",
|
|
918
|
+
FAILED_TO_CONNECT: "FAILED_TO_CONNECT",
|
|
919
|
+
PENDING_AUTHORIZATION: "PENDING_AUTHORIZATION",
|
|
920
|
+
PENDING_CONFIGURATION: "PENDING_CONFIGURATION"
|
|
921
|
+
};
|
|
680
922
|
var ControlFindingGenerator = {
|
|
681
923
|
SECURITY_CONTROL: "SECURITY_CONTROL",
|
|
682
924
|
STANDARD_CONTROL: "STANDARD_CONTROL"
|
|
@@ -703,6 +945,13 @@ var ResourceConflictException = class _ResourceConflictException extends Securit
|
|
|
703
945
|
this.Code = opts.Code;
|
|
704
946
|
}
|
|
705
947
|
};
|
|
948
|
+
var Criteria;
|
|
949
|
+
((Criteria2) => {
|
|
950
|
+
Criteria2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
951
|
+
if (value.OcsfFindingCriteria !== void 0) return visitor.OcsfFindingCriteria(value.OcsfFindingCriteria);
|
|
952
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
953
|
+
}, "visit");
|
|
954
|
+
})(Criteria || (Criteria = {}));
|
|
706
955
|
var Policy;
|
|
707
956
|
((Policy2) => {
|
|
708
957
|
Policy2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
@@ -710,6 +959,14 @@ var Policy;
|
|
|
710
959
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
711
960
|
}, "visit");
|
|
712
961
|
})(Policy || (Policy = {}));
|
|
962
|
+
var ProviderConfiguration;
|
|
963
|
+
((ProviderConfiguration3) => {
|
|
964
|
+
ProviderConfiguration3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
965
|
+
if (value.JiraCloud !== void 0) return visitor.JiraCloud(value.JiraCloud);
|
|
966
|
+
if (value.ServiceNow !== void 0) return visitor.ServiceNow(value.ServiceNow);
|
|
967
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
968
|
+
}, "visit");
|
|
969
|
+
})(ProviderConfiguration || (ProviderConfiguration = {}));
|
|
713
970
|
var SecurityControlProperty = {
|
|
714
971
|
Parameters: "Parameters"
|
|
715
972
|
};
|
|
@@ -727,18 +984,125 @@ var IntegrationType = {
|
|
|
727
984
|
SEND_FINDINGS_TO_SECURITY_HUB: "SEND_FINDINGS_TO_SECURITY_HUB",
|
|
728
985
|
UPDATE_FINDINGS_IN_SECURITY_HUB: "UPDATE_FINDINGS_IN_SECURITY_HUB"
|
|
729
986
|
};
|
|
987
|
+
var IntegrationV2Type = {
|
|
988
|
+
RECEIVE_FINDINGS_FROM_SECURITY_HUB: "RECEIVE_FINDINGS_FROM_SECURITY_HUB",
|
|
989
|
+
SEND_FINDINGS_TO_SECURITY_HUB: "SEND_FINDINGS_TO_SECURITY_HUB",
|
|
990
|
+
UPDATE_FINDINGS_IN_SECURITY_HUB: "UPDATE_FINDINGS_IN_SECURITY_HUB"
|
|
991
|
+
};
|
|
992
|
+
var SecurityHubFeature = {
|
|
993
|
+
SECURITY_HUB: "SecurityHub",
|
|
994
|
+
SECURITY_HUB_V2: "SecurityHubV2"
|
|
995
|
+
};
|
|
730
996
|
var FindingHistoryUpdateSourceType = {
|
|
731
997
|
BATCH_IMPORT_FINDINGS: "BATCH_IMPORT_FINDINGS",
|
|
732
998
|
BATCH_UPDATE_FINDINGS: "BATCH_UPDATE_FINDINGS"
|
|
733
999
|
};
|
|
1000
|
+
var ProviderDetail;
|
|
1001
|
+
((ProviderDetail2) => {
|
|
1002
|
+
ProviderDetail2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
1003
|
+
if (value.JiraCloud !== void 0) return visitor.JiraCloud(value.JiraCloud);
|
|
1004
|
+
if (value.ServiceNow !== void 0) return visitor.ServiceNow(value.ServiceNow);
|
|
1005
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
1006
|
+
}, "visit");
|
|
1007
|
+
})(ProviderDetail || (ProviderDetail = {}));
|
|
734
1008
|
var SortOrder = {
|
|
735
1009
|
ASCENDING: "asc",
|
|
736
1010
|
DESCENDING: "desc"
|
|
737
1011
|
};
|
|
1012
|
+
var ServiceNowProviderConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1013
|
+
...obj,
|
|
1014
|
+
...obj.ClientSecret && { ClientSecret: import_smithy_client.SENSITIVE_STRING }
|
|
1015
|
+
}), "ServiceNowProviderConfigurationFilterSensitiveLog");
|
|
1016
|
+
var ProviderConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
1017
|
+
if (obj.JiraCloud !== void 0) return { JiraCloud: obj.JiraCloud };
|
|
1018
|
+
if (obj.ServiceNow !== void 0)
|
|
1019
|
+
return { ServiceNow: ServiceNowProviderConfigurationFilterSensitiveLog(obj.ServiceNow) };
|
|
1020
|
+
if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
1021
|
+
}, "ProviderConfigurationFilterSensitiveLog");
|
|
1022
|
+
var CreateConnectorV2RequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1023
|
+
...obj,
|
|
1024
|
+
...obj.Provider && { Provider: ProviderConfigurationFilterSensitiveLog(obj.Provider) }
|
|
1025
|
+
}), "CreateConnectorV2RequestFilterSensitiveLog");
|
|
1026
|
+
|
|
1027
|
+
// src/models/models_3.ts
|
|
1028
|
+
|
|
1029
|
+
var GroupByField = {
|
|
1030
|
+
ACTIVITY_NAME: "activity_name",
|
|
1031
|
+
CLASS_NAME: "class_name",
|
|
1032
|
+
CLOUD_ACCOUNT_UID: "cloud.account.uid",
|
|
1033
|
+
CLOUD_PROVIDER: "cloud.provider",
|
|
1034
|
+
CLOUD_REGION: "cloud.region",
|
|
1035
|
+
COMPLIANCE_ASSESSMENTS_NAME: "compliance.assessments.name",
|
|
1036
|
+
COMPLIANCE_CONTROL: "compliance.control",
|
|
1037
|
+
COMPLIANCE_STATUS: "compliance.status",
|
|
1038
|
+
FINDING_INFO_TITLE: "finding_info.title",
|
|
1039
|
+
FINDING_INFO_TYPES: "finding_info.types",
|
|
1040
|
+
METADATA_PRODUCT_NAME: "metadata.product.name",
|
|
1041
|
+
METADATA_PRODUCT_UID: "metadata.product.uid",
|
|
1042
|
+
RESOURCES_TYPE: "resources.type",
|
|
1043
|
+
RESOURCES_UID: "resources.uid",
|
|
1044
|
+
SEVERITY: "severity",
|
|
1045
|
+
STATUS: "status",
|
|
1046
|
+
VULNERABILITIES_FIX_COVERAGE: "vulnerabilities.fix_coverage"
|
|
1047
|
+
};
|
|
1048
|
+
var ResourcesDateField = {
|
|
1049
|
+
RESOURCE_CREATION_TIME_DT: "resource_creation_time_dt",
|
|
1050
|
+
RESOURCE_DETAIL_CAPTURE_TIME_DT: "resource_detail_capture_time_dt"
|
|
1051
|
+
};
|
|
1052
|
+
var ResourcesMapField = {
|
|
1053
|
+
TAG: "tags"
|
|
1054
|
+
};
|
|
1055
|
+
var ResourcesNumberField = {
|
|
1056
|
+
SEVERITY_CRITICAL: "findings_summary.severities.critical",
|
|
1057
|
+
SEVERITY_FATAL: "findings_summary.severities.fatal",
|
|
1058
|
+
SEVERITY_HIGH: "findings_summary.severities.high",
|
|
1059
|
+
SEVERITY_INFORMATIONAL: "findings_summary.severities.informational",
|
|
1060
|
+
SEVERITY_LOW: "findings_summary.severities.low",
|
|
1061
|
+
SEVERITY_MEDIUM: "findings_summary.severities.medium",
|
|
1062
|
+
SEVERITY_OTHER: "findings_summary.severities.other",
|
|
1063
|
+
SEVERITY_UNKNOWN: "findings_summary.severities.unknown",
|
|
1064
|
+
TOTAL_FINDINGS: "findings_summary.total_findings"
|
|
1065
|
+
};
|
|
1066
|
+
var ResourcesStringField = {
|
|
1067
|
+
ACCOUNT_ID: "account_id",
|
|
1068
|
+
FINDING_TYPE: "findings_summary.finding_type",
|
|
1069
|
+
PRODUCT_NAME: "findings_summary.product_name",
|
|
1070
|
+
REGION: "region",
|
|
1071
|
+
RESOURCE_ARN: "resource_arn",
|
|
1072
|
+
RESOURCE_CATEGORY: "resource_category",
|
|
1073
|
+
RESOURCE_ID: "resource_id",
|
|
1074
|
+
RESOURCE_NAME: "resource_name",
|
|
1075
|
+
RESOURCE_TYPE: "resource_type"
|
|
1076
|
+
};
|
|
1077
|
+
var ResourceGroupByField = {
|
|
1078
|
+
ACCOUNT_ID: "account_id",
|
|
1079
|
+
FINDING_TYPE: "findings_summary.finding_type",
|
|
1080
|
+
REGION: "region",
|
|
1081
|
+
RESOURCE_CATEGORY: "resource_category",
|
|
1082
|
+
RESOURCE_NAME: "resource_name",
|
|
1083
|
+
RESOURCE_TYPE: "resource_type"
|
|
1084
|
+
};
|
|
1085
|
+
var ResourceCategory = {
|
|
1086
|
+
AI_ML: "AI/ML",
|
|
1087
|
+
CODE: "Code",
|
|
1088
|
+
COMPUTE: "Compute",
|
|
1089
|
+
DATABASE: "Database",
|
|
1090
|
+
IDENTITY: "Identity",
|
|
1091
|
+
NETWORK: "Network",
|
|
1092
|
+
OTHER: "Other",
|
|
1093
|
+
STORAGE: "Storage"
|
|
1094
|
+
};
|
|
738
1095
|
var RegionAvailabilityStatus = {
|
|
739
1096
|
AVAILABLE: "AVAILABLE",
|
|
740
1097
|
UNAVAILABLE: "UNAVAILABLE"
|
|
741
1098
|
};
|
|
1099
|
+
var ProviderUpdateConfiguration;
|
|
1100
|
+
((ProviderUpdateConfiguration3) => {
|
|
1101
|
+
ProviderUpdateConfiguration3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
1102
|
+
if (value.JiraCloud !== void 0) return visitor.JiraCloud(value.JiraCloud);
|
|
1103
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
1104
|
+
}, "visit");
|
|
1105
|
+
})(ProviderUpdateConfiguration || (ProviderUpdateConfiguration = {}));
|
|
742
1106
|
var ResourceInUseException = class _ResourceInUseException extends SecurityHubServiceException {
|
|
743
1107
|
static {
|
|
744
1108
|
__name(this, "ResourceInUseException");
|
|
@@ -761,6 +1125,11 @@ var ResourceInUseException = class _ResourceInUseException extends SecurityHubSe
|
|
|
761
1125
|
this.Code = opts.Code;
|
|
762
1126
|
}
|
|
763
1127
|
};
|
|
1128
|
+
var UpdateConnectorV2RequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1129
|
+
...obj,
|
|
1130
|
+
...obj.ClientSecret && { ClientSecret: import_smithy_client.SENSITIVE_STRING },
|
|
1131
|
+
...obj.Provider && { Provider: obj.Provider }
|
|
1132
|
+
}), "UpdateConnectorV2RequestFilterSensitiveLog");
|
|
764
1133
|
|
|
765
1134
|
// src/protocols/Aws_restJson1.ts
|
|
766
1135
|
var se_AcceptAdministratorInvitationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
@@ -954,6 +1323,25 @@ var se_BatchUpdateFindingsCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
954
1323
|
b.m("PATCH").h(headers).b(body);
|
|
955
1324
|
return b.build();
|
|
956
1325
|
}, "se_BatchUpdateFindingsCommand");
|
|
1326
|
+
var se_BatchUpdateFindingsV2Command = /* @__PURE__ */ __name(async (input, context) => {
|
|
1327
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1328
|
+
const headers = {
|
|
1329
|
+
"content-type": "application/json"
|
|
1330
|
+
};
|
|
1331
|
+
b.bp("/findingsv2/batchupdatev2");
|
|
1332
|
+
let body;
|
|
1333
|
+
body = JSON.stringify(
|
|
1334
|
+
(0, import_smithy_client.take)(input, {
|
|
1335
|
+
Comment: [],
|
|
1336
|
+
FindingIdentifiers: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "FindingIdentifiers"),
|
|
1337
|
+
MetadataUids: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "MetadataUids"),
|
|
1338
|
+
SeverityId: [],
|
|
1339
|
+
StatusId: []
|
|
1340
|
+
})
|
|
1341
|
+
);
|
|
1342
|
+
b.m("PATCH").h(headers).b(body);
|
|
1343
|
+
return b.build();
|
|
1344
|
+
}, "se_BatchUpdateFindingsV2Command");
|
|
957
1345
|
var se_BatchUpdateStandardsControlAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
958
1346
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
959
1347
|
const headers = {
|
|
@@ -969,6 +1357,22 @@ var se_BatchUpdateStandardsControlAssociationsCommand = /* @__PURE__ */ __name(a
|
|
|
969
1357
|
b.m("PATCH").h(headers).b(body);
|
|
970
1358
|
return b.build();
|
|
971
1359
|
}, "se_BatchUpdateStandardsControlAssociationsCommand");
|
|
1360
|
+
var se_ConnectorRegistrationsV2Command = /* @__PURE__ */ __name(async (input, context) => {
|
|
1361
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1362
|
+
const headers = {
|
|
1363
|
+
"content-type": "application/json"
|
|
1364
|
+
};
|
|
1365
|
+
b.bp("/connectorsv2/registrations");
|
|
1366
|
+
let body;
|
|
1367
|
+
body = JSON.stringify(
|
|
1368
|
+
(0, import_smithy_client.take)(input, {
|
|
1369
|
+
AuthCode: [],
|
|
1370
|
+
AuthState: []
|
|
1371
|
+
})
|
|
1372
|
+
);
|
|
1373
|
+
b.m("POST").h(headers).b(body);
|
|
1374
|
+
return b.build();
|
|
1375
|
+
}, "se_ConnectorRegistrationsV2Command");
|
|
972
1376
|
var se_CreateActionTargetCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
973
1377
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
974
1378
|
const headers = {
|
|
@@ -986,6 +1390,24 @@ var se_CreateActionTargetCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
986
1390
|
b.m("POST").h(headers).b(body);
|
|
987
1391
|
return b.build();
|
|
988
1392
|
}, "se_CreateActionTargetCommand");
|
|
1393
|
+
var se_CreateAggregatorV2Command = /* @__PURE__ */ __name(async (input, context) => {
|
|
1394
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1395
|
+
const headers = {
|
|
1396
|
+
"content-type": "application/json"
|
|
1397
|
+
};
|
|
1398
|
+
b.bp("/aggregatorv2/create");
|
|
1399
|
+
let body;
|
|
1400
|
+
body = JSON.stringify(
|
|
1401
|
+
(0, import_smithy_client.take)(input, {
|
|
1402
|
+
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1403
|
+
LinkedRegions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "LinkedRegions"),
|
|
1404
|
+
RegionLinkingMode: [],
|
|
1405
|
+
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
1406
|
+
})
|
|
1407
|
+
);
|
|
1408
|
+
b.m("POST").h(headers).b(body);
|
|
1409
|
+
return b.build();
|
|
1410
|
+
}, "se_CreateAggregatorV2Command");
|
|
989
1411
|
var se_CreateAutomationRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
990
1412
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
991
1413
|
const headers = {
|
|
@@ -1008,6 +1430,28 @@ var se_CreateAutomationRuleCommand = /* @__PURE__ */ __name(async (input, contex
|
|
|
1008
1430
|
b.m("POST").h(headers).b(body);
|
|
1009
1431
|
return b.build();
|
|
1010
1432
|
}, "se_CreateAutomationRuleCommand");
|
|
1433
|
+
var se_CreateAutomationRuleV2Command = /* @__PURE__ */ __name(async (input, context) => {
|
|
1434
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1435
|
+
const headers = {
|
|
1436
|
+
"content-type": "application/json"
|
|
1437
|
+
};
|
|
1438
|
+
b.bp("/automationrulesv2/create");
|
|
1439
|
+
let body;
|
|
1440
|
+
body = JSON.stringify(
|
|
1441
|
+
(0, import_smithy_client.take)(input, {
|
|
1442
|
+
Actions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Actions"),
|
|
1443
|
+
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1444
|
+
Criteria: /* @__PURE__ */ __name((_) => se_Criteria(_, context), "Criteria"),
|
|
1445
|
+
Description: [],
|
|
1446
|
+
RuleName: [],
|
|
1447
|
+
RuleOrder: /* @__PURE__ */ __name((_) => (0, import_smithy_client.serializeFloat)(_), "RuleOrder"),
|
|
1448
|
+
RuleStatus: [],
|
|
1449
|
+
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
1450
|
+
})
|
|
1451
|
+
);
|
|
1452
|
+
b.m("POST").h(headers).b(body);
|
|
1453
|
+
return b.build();
|
|
1454
|
+
}, "se_CreateAutomationRuleV2Command");
|
|
1011
1455
|
var se_CreateConfigurationPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1012
1456
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1013
1457
|
const headers = {
|
|
@@ -1026,6 +1470,26 @@ var se_CreateConfigurationPolicyCommand = /* @__PURE__ */ __name(async (input, c
|
|
|
1026
1470
|
b.m("POST").h(headers).b(body);
|
|
1027
1471
|
return b.build();
|
|
1028
1472
|
}, "se_CreateConfigurationPolicyCommand");
|
|
1473
|
+
var se_CreateConnectorV2Command = /* @__PURE__ */ __name(async (input, context) => {
|
|
1474
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1475
|
+
const headers = {
|
|
1476
|
+
"content-type": "application/json"
|
|
1477
|
+
};
|
|
1478
|
+
b.bp("/connectorsv2");
|
|
1479
|
+
let body;
|
|
1480
|
+
body = JSON.stringify(
|
|
1481
|
+
(0, import_smithy_client.take)(input, {
|
|
1482
|
+
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1483
|
+
Description: [],
|
|
1484
|
+
KmsKeyArn: [],
|
|
1485
|
+
Name: [],
|
|
1486
|
+
Provider: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Provider"),
|
|
1487
|
+
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
1488
|
+
})
|
|
1489
|
+
);
|
|
1490
|
+
b.m("POST").h(headers).b(body);
|
|
1491
|
+
return b.build();
|
|
1492
|
+
}, "se_CreateConnectorV2Command");
|
|
1029
1493
|
var se_CreateFindingAggregatorCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1030
1494
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1031
1495
|
const headers = {
|
|
@@ -1074,6 +1538,23 @@ var se_CreateMembersCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1074
1538
|
b.m("POST").h(headers).b(body);
|
|
1075
1539
|
return b.build();
|
|
1076
1540
|
}, "se_CreateMembersCommand");
|
|
1541
|
+
var se_CreateTicketV2Command = /* @__PURE__ */ __name(async (input, context) => {
|
|
1542
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1543
|
+
const headers = {
|
|
1544
|
+
"content-type": "application/json"
|
|
1545
|
+
};
|
|
1546
|
+
b.bp("/ticketsv2");
|
|
1547
|
+
let body;
|
|
1548
|
+
body = JSON.stringify(
|
|
1549
|
+
(0, import_smithy_client.take)(input, {
|
|
1550
|
+
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1551
|
+
ConnectorId: [],
|
|
1552
|
+
FindingMetadataUid: []
|
|
1553
|
+
})
|
|
1554
|
+
);
|
|
1555
|
+
b.m("POST").h(headers).b(body);
|
|
1556
|
+
return b.build();
|
|
1557
|
+
}, "se_CreateTicketV2Command");
|
|
1077
1558
|
var se_DeclineInvitationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1078
1559
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1079
1560
|
const headers = {
|
|
@@ -1098,6 +1579,24 @@ var se_DeleteActionTargetCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
1098
1579
|
b.m("DELETE").h(headers).b(body);
|
|
1099
1580
|
return b.build();
|
|
1100
1581
|
}, "se_DeleteActionTargetCommand");
|
|
1582
|
+
var se_DeleteAggregatorV2Command = /* @__PURE__ */ __name(async (input, context) => {
|
|
1583
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1584
|
+
const headers = {};
|
|
1585
|
+
b.bp("/aggregatorv2/delete/{AggregatorV2Arn+}");
|
|
1586
|
+
b.p("AggregatorV2Arn", () => input.AggregatorV2Arn, "{AggregatorV2Arn+}", true);
|
|
1587
|
+
let body;
|
|
1588
|
+
b.m("DELETE").h(headers).b(body);
|
|
1589
|
+
return b.build();
|
|
1590
|
+
}, "se_DeleteAggregatorV2Command");
|
|
1591
|
+
var se_DeleteAutomationRuleV2Command = /* @__PURE__ */ __name(async (input, context) => {
|
|
1592
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1593
|
+
const headers = {};
|
|
1594
|
+
b.bp("/automationrulesv2/{Identifier}");
|
|
1595
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
1596
|
+
let body;
|
|
1597
|
+
b.m("DELETE").h(headers).b(body);
|
|
1598
|
+
return b.build();
|
|
1599
|
+
}, "se_DeleteAutomationRuleV2Command");
|
|
1101
1600
|
var se_DeleteConfigurationPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1102
1601
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1103
1602
|
const headers = {};
|
|
@@ -1107,6 +1606,15 @@ var se_DeleteConfigurationPolicyCommand = /* @__PURE__ */ __name(async (input, c
|
|
|
1107
1606
|
b.m("DELETE").h(headers).b(body);
|
|
1108
1607
|
return b.build();
|
|
1109
1608
|
}, "se_DeleteConfigurationPolicyCommand");
|
|
1609
|
+
var se_DeleteConnectorV2Command = /* @__PURE__ */ __name(async (input, context) => {
|
|
1610
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1611
|
+
const headers = {};
|
|
1612
|
+
b.bp("/connectorsv2/{ConnectorId+}");
|
|
1613
|
+
b.p("ConnectorId", () => input.ConnectorId, "{ConnectorId+}", true);
|
|
1614
|
+
let body;
|
|
1615
|
+
b.m("DELETE").h(headers).b(body);
|
|
1616
|
+
return b.build();
|
|
1617
|
+
}, "se_DeleteConnectorV2Command");
|
|
1110
1618
|
var se_DeleteFindingAggregatorCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1111
1619
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1112
1620
|
const headers = {};
|
|
@@ -1204,6 +1712,26 @@ var se_DescribeProductsCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
1204
1712
|
b.m("GET").h(headers).q(query).b(body);
|
|
1205
1713
|
return b.build();
|
|
1206
1714
|
}, "se_DescribeProductsCommand");
|
|
1715
|
+
var se_DescribeProductsV2Command = /* @__PURE__ */ __name(async (input, context) => {
|
|
1716
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1717
|
+
const headers = {};
|
|
1718
|
+
b.bp("/productsV2");
|
|
1719
|
+
const query = (0, import_smithy_client.map)({
|
|
1720
|
+
[_NT]: [, input[_NT]],
|
|
1721
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]
|
|
1722
|
+
});
|
|
1723
|
+
let body;
|
|
1724
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1725
|
+
return b.build();
|
|
1726
|
+
}, "se_DescribeProductsV2Command");
|
|
1727
|
+
var se_DescribeSecurityHubV2Command = /* @__PURE__ */ __name(async (input, context) => {
|
|
1728
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1729
|
+
const headers = {};
|
|
1730
|
+
b.bp("/hubv2");
|
|
1731
|
+
let body;
|
|
1732
|
+
b.m("GET").h(headers).b(body);
|
|
1733
|
+
return b.build();
|
|
1734
|
+
}, "se_DescribeSecurityHubV2Command");
|
|
1207
1735
|
var se_DescribeStandardsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1208
1736
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1209
1737
|
const headers = {};
|
|
@@ -1247,7 +1775,8 @@ var se_DisableOrganizationAdminAccountCommand = /* @__PURE__ */ __name(async (in
|
|
|
1247
1775
|
let body;
|
|
1248
1776
|
body = JSON.stringify(
|
|
1249
1777
|
(0, import_smithy_client.take)(input, {
|
|
1250
|
-
AdminAccountId: []
|
|
1778
|
+
AdminAccountId: [],
|
|
1779
|
+
Feature: []
|
|
1251
1780
|
})
|
|
1252
1781
|
);
|
|
1253
1782
|
b.m("POST").h(headers).b(body);
|
|
@@ -1261,6 +1790,14 @@ var se_DisableSecurityHubCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
1261
1790
|
b.m("DELETE").h(headers).b(body);
|
|
1262
1791
|
return b.build();
|
|
1263
1792
|
}, "se_DisableSecurityHubCommand");
|
|
1793
|
+
var se_DisableSecurityHubV2Command = /* @__PURE__ */ __name(async (input, context) => {
|
|
1794
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1795
|
+
const headers = {};
|
|
1796
|
+
b.bp("/hubv2");
|
|
1797
|
+
let body;
|
|
1798
|
+
b.m("DELETE").h(headers).b(body);
|
|
1799
|
+
return b.build();
|
|
1800
|
+
}, "se_DisableSecurityHubV2Command");
|
|
1264
1801
|
var se_DisassociateFromAdministratorAccountCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1265
1802
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1266
1803
|
const headers = {};
|
|
@@ -1316,7 +1853,8 @@ var se_EnableOrganizationAdminAccountCommand = /* @__PURE__ */ __name(async (inp
|
|
|
1316
1853
|
let body;
|
|
1317
1854
|
body = JSON.stringify(
|
|
1318
1855
|
(0, import_smithy_client.take)(input, {
|
|
1319
|
-
AdminAccountId: []
|
|
1856
|
+
AdminAccountId: [],
|
|
1857
|
+
Feature: []
|
|
1320
1858
|
})
|
|
1321
1859
|
);
|
|
1322
1860
|
b.m("POST").h(headers).b(body);
|
|
@@ -1339,6 +1877,21 @@ var se_EnableSecurityHubCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
1339
1877
|
b.m("POST").h(headers).b(body);
|
|
1340
1878
|
return b.build();
|
|
1341
1879
|
}, "se_EnableSecurityHubCommand");
|
|
1880
|
+
var se_EnableSecurityHubV2Command = /* @__PURE__ */ __name(async (input, context) => {
|
|
1881
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1882
|
+
const headers = {
|
|
1883
|
+
"content-type": "application/json"
|
|
1884
|
+
};
|
|
1885
|
+
b.bp("/hubv2");
|
|
1886
|
+
let body;
|
|
1887
|
+
body = JSON.stringify(
|
|
1888
|
+
(0, import_smithy_client.take)(input, {
|
|
1889
|
+
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
1890
|
+
})
|
|
1891
|
+
);
|
|
1892
|
+
b.m("POST").h(headers).b(body);
|
|
1893
|
+
return b.build();
|
|
1894
|
+
}, "se_EnableSecurityHubV2Command");
|
|
1342
1895
|
var se_GetAdministratorAccountCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1343
1896
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1344
1897
|
const headers = {};
|
|
@@ -1347,6 +1900,24 @@ var se_GetAdministratorAccountCommand = /* @__PURE__ */ __name(async (input, con
|
|
|
1347
1900
|
b.m("GET").h(headers).b(body);
|
|
1348
1901
|
return b.build();
|
|
1349
1902
|
}, "se_GetAdministratorAccountCommand");
|
|
1903
|
+
var se_GetAggregatorV2Command = /* @__PURE__ */ __name(async (input, context) => {
|
|
1904
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1905
|
+
const headers = {};
|
|
1906
|
+
b.bp("/aggregatorv2/get/{AggregatorV2Arn+}");
|
|
1907
|
+
b.p("AggregatorV2Arn", () => input.AggregatorV2Arn, "{AggregatorV2Arn+}", true);
|
|
1908
|
+
let body;
|
|
1909
|
+
b.m("GET").h(headers).b(body);
|
|
1910
|
+
return b.build();
|
|
1911
|
+
}, "se_GetAggregatorV2Command");
|
|
1912
|
+
var se_GetAutomationRuleV2Command = /* @__PURE__ */ __name(async (input, context) => {
|
|
1913
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1914
|
+
const headers = {};
|
|
1915
|
+
b.bp("/automationrulesv2/{Identifier}");
|
|
1916
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
1917
|
+
let body;
|
|
1918
|
+
b.m("GET").h(headers).b(body);
|
|
1919
|
+
return b.build();
|
|
1920
|
+
}, "se_GetAutomationRuleV2Command");
|
|
1350
1921
|
var se_GetConfigurationPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1351
1922
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1352
1923
|
const headers = {};
|
|
@@ -1371,6 +1942,15 @@ var se_GetConfigurationPolicyAssociationCommand = /* @__PURE__ */ __name(async (
|
|
|
1371
1942
|
b.m("POST").h(headers).b(body);
|
|
1372
1943
|
return b.build();
|
|
1373
1944
|
}, "se_GetConfigurationPolicyAssociationCommand");
|
|
1945
|
+
var se_GetConnectorV2Command = /* @__PURE__ */ __name(async (input, context) => {
|
|
1946
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1947
|
+
const headers = {};
|
|
1948
|
+
b.bp("/connectorsv2/{ConnectorId+}");
|
|
1949
|
+
b.p("ConnectorId", () => input.ConnectorId, "{ConnectorId+}", true);
|
|
1950
|
+
let body;
|
|
1951
|
+
b.m("GET").h(headers).b(body);
|
|
1952
|
+
return b.build();
|
|
1953
|
+
}, "se_GetConnectorV2Command");
|
|
1374
1954
|
var se_GetEnabledStandardsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1375
1955
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1376
1956
|
const headers = {
|
|
@@ -1434,33 +2014,68 @@ var se_GetFindingsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1434
2014
|
b.m("POST").h(headers).b(body);
|
|
1435
2015
|
return b.build();
|
|
1436
2016
|
}, "se_GetFindingsCommand");
|
|
1437
|
-
var
|
|
2017
|
+
var se_GetFindingStatisticsV2Command = /* @__PURE__ */ __name(async (input, context) => {
|
|
1438
2018
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1439
|
-
const headers = {
|
|
1440
|
-
|
|
1441
|
-
|
|
2019
|
+
const headers = {
|
|
2020
|
+
"content-type": "application/json"
|
|
2021
|
+
};
|
|
2022
|
+
b.bp("/findingsv2/statistics");
|
|
1442
2023
|
let body;
|
|
1443
|
-
|
|
2024
|
+
body = JSON.stringify(
|
|
2025
|
+
(0, import_smithy_client.take)(input, {
|
|
2026
|
+
GroupByRules: /* @__PURE__ */ __name((_) => se_GroupByRules(_, context), "GroupByRules"),
|
|
2027
|
+
MaxStatisticResults: [],
|
|
2028
|
+
SortOrder: []
|
|
2029
|
+
})
|
|
2030
|
+
);
|
|
2031
|
+
b.m("POST").h(headers).b(body);
|
|
1444
2032
|
return b.build();
|
|
1445
|
-
}, "
|
|
1446
|
-
var
|
|
2033
|
+
}, "se_GetFindingStatisticsV2Command");
|
|
2034
|
+
var se_GetFindingsV2Command = /* @__PURE__ */ __name(async (input, context) => {
|
|
1447
2035
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1448
2036
|
const headers = {
|
|
1449
2037
|
"content-type": "application/json"
|
|
1450
2038
|
};
|
|
1451
|
-
b.bp("/
|
|
2039
|
+
b.bp("/findingsv2");
|
|
1452
2040
|
let body;
|
|
1453
2041
|
body = JSON.stringify(
|
|
1454
2042
|
(0, import_smithy_client.take)(input, {
|
|
1455
|
-
|
|
2043
|
+
Filters: /* @__PURE__ */ __name((_) => se_OcsfFindingFilters(_, context), "Filters"),
|
|
1456
2044
|
MaxResults: [],
|
|
1457
|
-
NextToken: []
|
|
2045
|
+
NextToken: [],
|
|
2046
|
+
SortCriteria: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SortCriteria")
|
|
1458
2047
|
})
|
|
1459
2048
|
);
|
|
1460
2049
|
b.m("POST").h(headers).b(body);
|
|
1461
2050
|
return b.build();
|
|
1462
|
-
}, "
|
|
1463
|
-
var
|
|
2051
|
+
}, "se_GetFindingsV2Command");
|
|
2052
|
+
var se_GetInsightResultsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2053
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2054
|
+
const headers = {};
|
|
2055
|
+
b.bp("/insights/results/{InsightArn+}");
|
|
2056
|
+
b.p("InsightArn", () => input.InsightArn, "{InsightArn+}", true);
|
|
2057
|
+
let body;
|
|
2058
|
+
b.m("GET").h(headers).b(body);
|
|
2059
|
+
return b.build();
|
|
2060
|
+
}, "se_GetInsightResultsCommand");
|
|
2061
|
+
var se_GetInsightsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2062
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2063
|
+
const headers = {
|
|
2064
|
+
"content-type": "application/json"
|
|
2065
|
+
};
|
|
2066
|
+
b.bp("/insights/get");
|
|
2067
|
+
let body;
|
|
2068
|
+
body = JSON.stringify(
|
|
2069
|
+
(0, import_smithy_client.take)(input, {
|
|
2070
|
+
InsightArns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "InsightArns"),
|
|
2071
|
+
MaxResults: [],
|
|
2072
|
+
NextToken: []
|
|
2073
|
+
})
|
|
2074
|
+
);
|
|
2075
|
+
b.m("POST").h(headers).b(body);
|
|
2076
|
+
return b.build();
|
|
2077
|
+
}, "se_GetInsightsCommand");
|
|
2078
|
+
var se_GetInvitationsCountCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1464
2079
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1465
2080
|
const headers = {};
|
|
1466
2081
|
b.bp("/invitations/count");
|
|
@@ -1491,6 +2106,41 @@ var se_GetMembersCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1491
2106
|
b.m("POST").h(headers).b(body);
|
|
1492
2107
|
return b.build();
|
|
1493
2108
|
}, "se_GetMembersCommand");
|
|
2109
|
+
var se_GetResourcesStatisticsV2Command = /* @__PURE__ */ __name(async (input, context) => {
|
|
2110
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2111
|
+
const headers = {
|
|
2112
|
+
"content-type": "application/json"
|
|
2113
|
+
};
|
|
2114
|
+
b.bp("/resourcesv2/statistics");
|
|
2115
|
+
let body;
|
|
2116
|
+
body = JSON.stringify(
|
|
2117
|
+
(0, import_smithy_client.take)(input, {
|
|
2118
|
+
GroupByRules: /* @__PURE__ */ __name((_) => se_ResourceGroupByRules(_, context), "GroupByRules"),
|
|
2119
|
+
MaxStatisticResults: [],
|
|
2120
|
+
SortOrder: []
|
|
2121
|
+
})
|
|
2122
|
+
);
|
|
2123
|
+
b.m("POST").h(headers).b(body);
|
|
2124
|
+
return b.build();
|
|
2125
|
+
}, "se_GetResourcesStatisticsV2Command");
|
|
2126
|
+
var se_GetResourcesV2Command = /* @__PURE__ */ __name(async (input, context) => {
|
|
2127
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2128
|
+
const headers = {
|
|
2129
|
+
"content-type": "application/json"
|
|
2130
|
+
};
|
|
2131
|
+
b.bp("/resourcesv2");
|
|
2132
|
+
let body;
|
|
2133
|
+
body = JSON.stringify(
|
|
2134
|
+
(0, import_smithy_client.take)(input, {
|
|
2135
|
+
Filters: /* @__PURE__ */ __name((_) => se_ResourcesFilters(_, context), "Filters"),
|
|
2136
|
+
MaxResults: [],
|
|
2137
|
+
NextToken: [],
|
|
2138
|
+
SortCriteria: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SortCriteria")
|
|
2139
|
+
})
|
|
2140
|
+
);
|
|
2141
|
+
b.m("POST").h(headers).b(body);
|
|
2142
|
+
return b.build();
|
|
2143
|
+
}, "se_GetResourcesV2Command");
|
|
1494
2144
|
var se_GetSecurityControlDefinitionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1495
2145
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1496
2146
|
const headers = {};
|
|
@@ -1517,6 +2167,18 @@ var se_InviteMembersCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1517
2167
|
b.m("POST").h(headers).b(body);
|
|
1518
2168
|
return b.build();
|
|
1519
2169
|
}, "se_InviteMembersCommand");
|
|
2170
|
+
var se_ListAggregatorsV2Command = /* @__PURE__ */ __name(async (input, context) => {
|
|
2171
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2172
|
+
const headers = {};
|
|
2173
|
+
b.bp("/aggregatorv2/list");
|
|
2174
|
+
const query = (0, import_smithy_client.map)({
|
|
2175
|
+
[_NT]: [, input[_NT]],
|
|
2176
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]
|
|
2177
|
+
});
|
|
2178
|
+
let body;
|
|
2179
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
2180
|
+
return b.build();
|
|
2181
|
+
}, "se_ListAggregatorsV2Command");
|
|
1520
2182
|
var se_ListAutomationRulesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1521
2183
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1522
2184
|
const headers = {};
|
|
@@ -1529,6 +2191,18 @@ var se_ListAutomationRulesCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
1529
2191
|
b.m("GET").h(headers).q(query).b(body);
|
|
1530
2192
|
return b.build();
|
|
1531
2193
|
}, "se_ListAutomationRulesCommand");
|
|
2194
|
+
var se_ListAutomationRulesV2Command = /* @__PURE__ */ __name(async (input, context) => {
|
|
2195
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2196
|
+
const headers = {};
|
|
2197
|
+
b.bp("/automationrulesv2/list");
|
|
2198
|
+
const query = (0, import_smithy_client.map)({
|
|
2199
|
+
[_NT]: [, input[_NT]],
|
|
2200
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]
|
|
2201
|
+
});
|
|
2202
|
+
let body;
|
|
2203
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
2204
|
+
return b.build();
|
|
2205
|
+
}, "se_ListAutomationRulesV2Command");
|
|
1532
2206
|
var se_ListConfigurationPoliciesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1533
2207
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1534
2208
|
const headers = {};
|
|
@@ -1558,6 +2232,20 @@ var se_ListConfigurationPolicyAssociationsCommand = /* @__PURE__ */ __name(async
|
|
|
1558
2232
|
b.m("POST").h(headers).b(body);
|
|
1559
2233
|
return b.build();
|
|
1560
2234
|
}, "se_ListConfigurationPolicyAssociationsCommand");
|
|
2235
|
+
var se_ListConnectorsV2Command = /* @__PURE__ */ __name(async (input, context) => {
|
|
2236
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2237
|
+
const headers = {};
|
|
2238
|
+
b.bp("/connectorsv2");
|
|
2239
|
+
const query = (0, import_smithy_client.map)({
|
|
2240
|
+
[_NT]: [, input[_NT]],
|
|
2241
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
2242
|
+
[_PN]: [, input[_PN]],
|
|
2243
|
+
[_CS]: [, input[_CS]]
|
|
2244
|
+
});
|
|
2245
|
+
let body;
|
|
2246
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
2247
|
+
return b.build();
|
|
2248
|
+
}, "se_ListConnectorsV2Command");
|
|
1561
2249
|
var se_ListEnabledProductsForImportCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1562
2250
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1563
2251
|
const headers = {};
|
|
@@ -1613,7 +2301,8 @@ var se_ListOrganizationAdminAccountsCommand = /* @__PURE__ */ __name(async (inpu
|
|
|
1613
2301
|
b.bp("/organization/admin");
|
|
1614
2302
|
const query = (0, import_smithy_client.map)({
|
|
1615
2303
|
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
1616
|
-
[_NT]: [, input[_NT]]
|
|
2304
|
+
[_NT]: [, input[_NT]],
|
|
2305
|
+
[_F]: [, input[_F]]
|
|
1617
2306
|
});
|
|
1618
2307
|
let body;
|
|
1619
2308
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -1731,6 +2420,44 @@ var se_UpdateActionTargetCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
1731
2420
|
b.m("PATCH").h(headers).b(body);
|
|
1732
2421
|
return b.build();
|
|
1733
2422
|
}, "se_UpdateActionTargetCommand");
|
|
2423
|
+
var se_UpdateAggregatorV2Command = /* @__PURE__ */ __name(async (input, context) => {
|
|
2424
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2425
|
+
const headers = {
|
|
2426
|
+
"content-type": "application/json"
|
|
2427
|
+
};
|
|
2428
|
+
b.bp("/aggregatorv2/update/{AggregatorV2Arn+}");
|
|
2429
|
+
b.p("AggregatorV2Arn", () => input.AggregatorV2Arn, "{AggregatorV2Arn+}", true);
|
|
2430
|
+
let body;
|
|
2431
|
+
body = JSON.stringify(
|
|
2432
|
+
(0, import_smithy_client.take)(input, {
|
|
2433
|
+
LinkedRegions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "LinkedRegions"),
|
|
2434
|
+
RegionLinkingMode: []
|
|
2435
|
+
})
|
|
2436
|
+
);
|
|
2437
|
+
b.m("PATCH").h(headers).b(body);
|
|
2438
|
+
return b.build();
|
|
2439
|
+
}, "se_UpdateAggregatorV2Command");
|
|
2440
|
+
var se_UpdateAutomationRuleV2Command = /* @__PURE__ */ __name(async (input, context) => {
|
|
2441
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2442
|
+
const headers = {
|
|
2443
|
+
"content-type": "application/json"
|
|
2444
|
+
};
|
|
2445
|
+
b.bp("/automationrulesv2/{Identifier}");
|
|
2446
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
2447
|
+
let body;
|
|
2448
|
+
body = JSON.stringify(
|
|
2449
|
+
(0, import_smithy_client.take)(input, {
|
|
2450
|
+
Actions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Actions"),
|
|
2451
|
+
Criteria: /* @__PURE__ */ __name((_) => se_Criteria(_, context), "Criteria"),
|
|
2452
|
+
Description: [],
|
|
2453
|
+
RuleName: [],
|
|
2454
|
+
RuleOrder: /* @__PURE__ */ __name((_) => (0, import_smithy_client.serializeFloat)(_), "RuleOrder"),
|
|
2455
|
+
RuleStatus: []
|
|
2456
|
+
})
|
|
2457
|
+
);
|
|
2458
|
+
b.m("PATCH").h(headers).b(body);
|
|
2459
|
+
return b.build();
|
|
2460
|
+
}, "se_UpdateAutomationRuleV2Command");
|
|
1734
2461
|
var se_UpdateConfigurationPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1735
2462
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1736
2463
|
const headers = {
|
|
@@ -1750,6 +2477,24 @@ var se_UpdateConfigurationPolicyCommand = /* @__PURE__ */ __name(async (input, c
|
|
|
1750
2477
|
b.m("PATCH").h(headers).b(body);
|
|
1751
2478
|
return b.build();
|
|
1752
2479
|
}, "se_UpdateConfigurationPolicyCommand");
|
|
2480
|
+
var se_UpdateConnectorV2Command = /* @__PURE__ */ __name(async (input, context) => {
|
|
2481
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2482
|
+
const headers = {
|
|
2483
|
+
"content-type": "application/json"
|
|
2484
|
+
};
|
|
2485
|
+
b.bp("/connectorsv2/{ConnectorId+}");
|
|
2486
|
+
b.p("ConnectorId", () => input.ConnectorId, "{ConnectorId+}", true);
|
|
2487
|
+
let body;
|
|
2488
|
+
body = JSON.stringify(
|
|
2489
|
+
(0, import_smithy_client.take)(input, {
|
|
2490
|
+
ClientSecret: [],
|
|
2491
|
+
Description: [],
|
|
2492
|
+
Provider: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Provider")
|
|
2493
|
+
})
|
|
2494
|
+
);
|
|
2495
|
+
b.m("PATCH").h(headers).b(body);
|
|
2496
|
+
return b.build();
|
|
2497
|
+
}, "se_UpdateConnectorV2Command");
|
|
1753
2498
|
var se_UpdateFindingAggregatorCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1754
2499
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1755
2500
|
const headers = {
|
|
@@ -2038,6 +2783,21 @@ var de_BatchUpdateFindingsCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2038
2783
|
Object.assign(contents, doc);
|
|
2039
2784
|
return contents;
|
|
2040
2785
|
}, "de_BatchUpdateFindingsCommand");
|
|
2786
|
+
var de_BatchUpdateFindingsV2Command = /* @__PURE__ */ __name(async (output, context) => {
|
|
2787
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2788
|
+
return de_CommandError(output, context);
|
|
2789
|
+
}
|
|
2790
|
+
const contents = (0, import_smithy_client.map)({
|
|
2791
|
+
$metadata: deserializeMetadata(output)
|
|
2792
|
+
});
|
|
2793
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2794
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2795
|
+
ProcessedFindings: import_smithy_client._json,
|
|
2796
|
+
UnprocessedFindings: import_smithy_client._json
|
|
2797
|
+
});
|
|
2798
|
+
Object.assign(contents, doc);
|
|
2799
|
+
return contents;
|
|
2800
|
+
}, "de_BatchUpdateFindingsV2Command");
|
|
2041
2801
|
var de_BatchUpdateStandardsControlAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2042
2802
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2043
2803
|
return de_CommandError(output, context);
|
|
@@ -2052,6 +2812,21 @@ var de_BatchUpdateStandardsControlAssociationsCommand = /* @__PURE__ */ __name(a
|
|
|
2052
2812
|
Object.assign(contents, doc);
|
|
2053
2813
|
return contents;
|
|
2054
2814
|
}, "de_BatchUpdateStandardsControlAssociationsCommand");
|
|
2815
|
+
var de_ConnectorRegistrationsV2Command = /* @__PURE__ */ __name(async (output, context) => {
|
|
2816
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2817
|
+
return de_CommandError(output, context);
|
|
2818
|
+
}
|
|
2819
|
+
const contents = (0, import_smithy_client.map)({
|
|
2820
|
+
$metadata: deserializeMetadata(output)
|
|
2821
|
+
});
|
|
2822
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2823
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2824
|
+
ConnectorArn: import_smithy_client.expectString,
|
|
2825
|
+
ConnectorId: import_smithy_client.expectString
|
|
2826
|
+
});
|
|
2827
|
+
Object.assign(contents, doc);
|
|
2828
|
+
return contents;
|
|
2829
|
+
}, "de_ConnectorRegistrationsV2Command");
|
|
2055
2830
|
var de_CreateActionTargetCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2056
2831
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2057
2832
|
return de_CommandError(output, context);
|
|
@@ -2066,6 +2841,23 @@ var de_CreateActionTargetCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2066
2841
|
Object.assign(contents, doc);
|
|
2067
2842
|
return contents;
|
|
2068
2843
|
}, "de_CreateActionTargetCommand");
|
|
2844
|
+
var de_CreateAggregatorV2Command = /* @__PURE__ */ __name(async (output, context) => {
|
|
2845
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2846
|
+
return de_CommandError(output, context);
|
|
2847
|
+
}
|
|
2848
|
+
const contents = (0, import_smithy_client.map)({
|
|
2849
|
+
$metadata: deserializeMetadata(output)
|
|
2850
|
+
});
|
|
2851
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2852
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2853
|
+
AggregationRegion: import_smithy_client.expectString,
|
|
2854
|
+
AggregatorV2Arn: import_smithy_client.expectString,
|
|
2855
|
+
LinkedRegions: import_smithy_client._json,
|
|
2856
|
+
RegionLinkingMode: import_smithy_client.expectString
|
|
2857
|
+
});
|
|
2858
|
+
Object.assign(contents, doc);
|
|
2859
|
+
return contents;
|
|
2860
|
+
}, "de_CreateAggregatorV2Command");
|
|
2069
2861
|
var de_CreateAutomationRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2070
2862
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2071
2863
|
return de_CommandError(output, context);
|
|
@@ -2080,6 +2872,21 @@ var de_CreateAutomationRuleCommand = /* @__PURE__ */ __name(async (output, conte
|
|
|
2080
2872
|
Object.assign(contents, doc);
|
|
2081
2873
|
return contents;
|
|
2082
2874
|
}, "de_CreateAutomationRuleCommand");
|
|
2875
|
+
var de_CreateAutomationRuleV2Command = /* @__PURE__ */ __name(async (output, context) => {
|
|
2876
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2877
|
+
return de_CommandError(output, context);
|
|
2878
|
+
}
|
|
2879
|
+
const contents = (0, import_smithy_client.map)({
|
|
2880
|
+
$metadata: deserializeMetadata(output)
|
|
2881
|
+
});
|
|
2882
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2883
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2884
|
+
RuleArn: import_smithy_client.expectString,
|
|
2885
|
+
RuleId: import_smithy_client.expectString
|
|
2886
|
+
});
|
|
2887
|
+
Object.assign(contents, doc);
|
|
2888
|
+
return contents;
|
|
2889
|
+
}, "de_CreateAutomationRuleV2Command");
|
|
2083
2890
|
var de_CreateConfigurationPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2084
2891
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2085
2892
|
return de_CommandError(output, context);
|
|
@@ -2100,6 +2907,22 @@ var de_CreateConfigurationPolicyCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2100
2907
|
Object.assign(contents, doc);
|
|
2101
2908
|
return contents;
|
|
2102
2909
|
}, "de_CreateConfigurationPolicyCommand");
|
|
2910
|
+
var de_CreateConnectorV2Command = /* @__PURE__ */ __name(async (output, context) => {
|
|
2911
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2912
|
+
return de_CommandError(output, context);
|
|
2913
|
+
}
|
|
2914
|
+
const contents = (0, import_smithy_client.map)({
|
|
2915
|
+
$metadata: deserializeMetadata(output)
|
|
2916
|
+
});
|
|
2917
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2918
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2919
|
+
AuthUrl: import_smithy_client.expectString,
|
|
2920
|
+
ConnectorArn: import_smithy_client.expectString,
|
|
2921
|
+
ConnectorId: import_smithy_client.expectString
|
|
2922
|
+
});
|
|
2923
|
+
Object.assign(contents, doc);
|
|
2924
|
+
return contents;
|
|
2925
|
+
}, "de_CreateConnectorV2Command");
|
|
2103
2926
|
var de_CreateFindingAggregatorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2104
2927
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2105
2928
|
return de_CommandError(output, context);
|
|
@@ -2145,6 +2968,21 @@ var de_CreateMembersCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2145
2968
|
Object.assign(contents, doc);
|
|
2146
2969
|
return contents;
|
|
2147
2970
|
}, "de_CreateMembersCommand");
|
|
2971
|
+
var de_CreateTicketV2Command = /* @__PURE__ */ __name(async (output, context) => {
|
|
2972
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2973
|
+
return de_CommandError(output, context);
|
|
2974
|
+
}
|
|
2975
|
+
const contents = (0, import_smithy_client.map)({
|
|
2976
|
+
$metadata: deserializeMetadata(output)
|
|
2977
|
+
});
|
|
2978
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2979
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2980
|
+
TicketId: import_smithy_client.expectString,
|
|
2981
|
+
TicketSrcUrl: import_smithy_client.expectString
|
|
2982
|
+
});
|
|
2983
|
+
Object.assign(contents, doc);
|
|
2984
|
+
return contents;
|
|
2985
|
+
}, "de_CreateTicketV2Command");
|
|
2148
2986
|
var de_DeclineInvitationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2149
2987
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2150
2988
|
return de_CommandError(output, context);
|
|
@@ -2173,6 +3011,26 @@ var de_DeleteActionTargetCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2173
3011
|
Object.assign(contents, doc);
|
|
2174
3012
|
return contents;
|
|
2175
3013
|
}, "de_DeleteActionTargetCommand");
|
|
3014
|
+
var de_DeleteAggregatorV2Command = /* @__PURE__ */ __name(async (output, context) => {
|
|
3015
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3016
|
+
return de_CommandError(output, context);
|
|
3017
|
+
}
|
|
3018
|
+
const contents = (0, import_smithy_client.map)({
|
|
3019
|
+
$metadata: deserializeMetadata(output)
|
|
3020
|
+
});
|
|
3021
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3022
|
+
return contents;
|
|
3023
|
+
}, "de_DeleteAggregatorV2Command");
|
|
3024
|
+
var de_DeleteAutomationRuleV2Command = /* @__PURE__ */ __name(async (output, context) => {
|
|
3025
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3026
|
+
return de_CommandError(output, context);
|
|
3027
|
+
}
|
|
3028
|
+
const contents = (0, import_smithy_client.map)({
|
|
3029
|
+
$metadata: deserializeMetadata(output)
|
|
3030
|
+
});
|
|
3031
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3032
|
+
return contents;
|
|
3033
|
+
}, "de_DeleteAutomationRuleV2Command");
|
|
2176
3034
|
var de_DeleteConfigurationPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2177
3035
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2178
3036
|
return de_CommandError(output, context);
|
|
@@ -2183,6 +3041,16 @@ var de_DeleteConfigurationPolicyCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2183
3041
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2184
3042
|
return contents;
|
|
2185
3043
|
}, "de_DeleteConfigurationPolicyCommand");
|
|
3044
|
+
var de_DeleteConnectorV2Command = /* @__PURE__ */ __name(async (output, context) => {
|
|
3045
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3046
|
+
return de_CommandError(output, context);
|
|
3047
|
+
}
|
|
3048
|
+
const contents = (0, import_smithy_client.map)({
|
|
3049
|
+
$metadata: deserializeMetadata(output)
|
|
3050
|
+
});
|
|
3051
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3052
|
+
return contents;
|
|
3053
|
+
}, "de_DeleteConnectorV2Command");
|
|
2186
3054
|
var de_DeleteFindingAggregatorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2187
3055
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2188
3056
|
return de_CommandError(output, context);
|
|
@@ -2299,6 +3167,36 @@ var de_DescribeProductsCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2299
3167
|
Object.assign(contents, doc);
|
|
2300
3168
|
return contents;
|
|
2301
3169
|
}, "de_DescribeProductsCommand");
|
|
3170
|
+
var de_DescribeProductsV2Command = /* @__PURE__ */ __name(async (output, context) => {
|
|
3171
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3172
|
+
return de_CommandError(output, context);
|
|
3173
|
+
}
|
|
3174
|
+
const contents = (0, import_smithy_client.map)({
|
|
3175
|
+
$metadata: deserializeMetadata(output)
|
|
3176
|
+
});
|
|
3177
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3178
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3179
|
+
NextToken: import_smithy_client.expectString,
|
|
3180
|
+
ProductsV2: import_smithy_client._json
|
|
3181
|
+
});
|
|
3182
|
+
Object.assign(contents, doc);
|
|
3183
|
+
return contents;
|
|
3184
|
+
}, "de_DescribeProductsV2Command");
|
|
3185
|
+
var de_DescribeSecurityHubV2Command = /* @__PURE__ */ __name(async (output, context) => {
|
|
3186
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3187
|
+
return de_CommandError(output, context);
|
|
3188
|
+
}
|
|
3189
|
+
const contents = (0, import_smithy_client.map)({
|
|
3190
|
+
$metadata: deserializeMetadata(output)
|
|
3191
|
+
});
|
|
3192
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3193
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3194
|
+
HubV2Arn: import_smithy_client.expectString,
|
|
3195
|
+
SubscribedAt: import_smithy_client.expectString
|
|
3196
|
+
});
|
|
3197
|
+
Object.assign(contents, doc);
|
|
3198
|
+
return contents;
|
|
3199
|
+
}, "de_DescribeSecurityHubV2Command");
|
|
2302
3200
|
var de_DescribeStandardsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2303
3201
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2304
3202
|
return de_CommandError(output, context);
|
|
@@ -2359,6 +3257,16 @@ var de_DisableSecurityHubCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2359
3257
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2360
3258
|
return contents;
|
|
2361
3259
|
}, "de_DisableSecurityHubCommand");
|
|
3260
|
+
var de_DisableSecurityHubV2Command = /* @__PURE__ */ __name(async (output, context) => {
|
|
3261
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3262
|
+
return de_CommandError(output, context);
|
|
3263
|
+
}
|
|
3264
|
+
const contents = (0, import_smithy_client.map)({
|
|
3265
|
+
$metadata: deserializeMetadata(output)
|
|
3266
|
+
});
|
|
3267
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3268
|
+
return contents;
|
|
3269
|
+
}, "de_DisableSecurityHubV2Command");
|
|
2362
3270
|
var de_DisassociateFromAdministratorAccountCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2363
3271
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2364
3272
|
return de_CommandError(output, context);
|
|
@@ -2410,7 +3318,12 @@ var de_EnableOrganizationAdminAccountCommand = /* @__PURE__ */ __name(async (out
|
|
|
2410
3318
|
const contents = (0, import_smithy_client.map)({
|
|
2411
3319
|
$metadata: deserializeMetadata(output)
|
|
2412
3320
|
});
|
|
2413
|
-
|
|
3321
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3322
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3323
|
+
AdminAccountId: import_smithy_client.expectString,
|
|
3324
|
+
Feature: import_smithy_client.expectString
|
|
3325
|
+
});
|
|
3326
|
+
Object.assign(contents, doc);
|
|
2414
3327
|
return contents;
|
|
2415
3328
|
}, "de_EnableOrganizationAdminAccountCommand");
|
|
2416
3329
|
var de_EnableSecurityHubCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
@@ -2423,6 +3336,20 @@ var de_EnableSecurityHubCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2423
3336
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2424
3337
|
return contents;
|
|
2425
3338
|
}, "de_EnableSecurityHubCommand");
|
|
3339
|
+
var de_EnableSecurityHubV2Command = /* @__PURE__ */ __name(async (output, context) => {
|
|
3340
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3341
|
+
return de_CommandError(output, context);
|
|
3342
|
+
}
|
|
3343
|
+
const contents = (0, import_smithy_client.map)({
|
|
3344
|
+
$metadata: deserializeMetadata(output)
|
|
3345
|
+
});
|
|
3346
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3347
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3348
|
+
HubV2Arn: import_smithy_client.expectString
|
|
3349
|
+
});
|
|
3350
|
+
Object.assign(contents, doc);
|
|
3351
|
+
return contents;
|
|
3352
|
+
}, "de_EnableSecurityHubV2Command");
|
|
2426
3353
|
var de_GetAdministratorAccountCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2427
3354
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2428
3355
|
return de_CommandError(output, context);
|
|
@@ -2437,6 +3364,46 @@ var de_GetAdministratorAccountCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
2437
3364
|
Object.assign(contents, doc);
|
|
2438
3365
|
return contents;
|
|
2439
3366
|
}, "de_GetAdministratorAccountCommand");
|
|
3367
|
+
var de_GetAggregatorV2Command = /* @__PURE__ */ __name(async (output, context) => {
|
|
3368
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3369
|
+
return de_CommandError(output, context);
|
|
3370
|
+
}
|
|
3371
|
+
const contents = (0, import_smithy_client.map)({
|
|
3372
|
+
$metadata: deserializeMetadata(output)
|
|
3373
|
+
});
|
|
3374
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3375
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3376
|
+
AggregationRegion: import_smithy_client.expectString,
|
|
3377
|
+
AggregatorV2Arn: import_smithy_client.expectString,
|
|
3378
|
+
LinkedRegions: import_smithy_client._json,
|
|
3379
|
+
RegionLinkingMode: import_smithy_client.expectString
|
|
3380
|
+
});
|
|
3381
|
+
Object.assign(contents, doc);
|
|
3382
|
+
return contents;
|
|
3383
|
+
}, "de_GetAggregatorV2Command");
|
|
3384
|
+
var de_GetAutomationRuleV2Command = /* @__PURE__ */ __name(async (output, context) => {
|
|
3385
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3386
|
+
return de_CommandError(output, context);
|
|
3387
|
+
}
|
|
3388
|
+
const contents = (0, import_smithy_client.map)({
|
|
3389
|
+
$metadata: deserializeMetadata(output)
|
|
3390
|
+
});
|
|
3391
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3392
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3393
|
+
Actions: import_smithy_client._json,
|
|
3394
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreatedAt"),
|
|
3395
|
+
Criteria: /* @__PURE__ */ __name((_) => de_Criteria((0, import_core2.awsExpectUnion)(_), context), "Criteria"),
|
|
3396
|
+
Description: import_smithy_client.expectString,
|
|
3397
|
+
RuleArn: import_smithy_client.expectString,
|
|
3398
|
+
RuleId: import_smithy_client.expectString,
|
|
3399
|
+
RuleName: import_smithy_client.expectString,
|
|
3400
|
+
RuleOrder: import_smithy_client.limitedParseFloat32,
|
|
3401
|
+
RuleStatus: import_smithy_client.expectString,
|
|
3402
|
+
UpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "UpdatedAt")
|
|
3403
|
+
});
|
|
3404
|
+
Object.assign(contents, doc);
|
|
3405
|
+
return contents;
|
|
3406
|
+
}, "de_GetAutomationRuleV2Command");
|
|
2440
3407
|
var de_GetConfigurationPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2441
3408
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2442
3409
|
return de_CommandError(output, context);
|
|
@@ -2477,6 +3444,28 @@ var de_GetConfigurationPolicyAssociationCommand = /* @__PURE__ */ __name(async (
|
|
|
2477
3444
|
Object.assign(contents, doc);
|
|
2478
3445
|
return contents;
|
|
2479
3446
|
}, "de_GetConfigurationPolicyAssociationCommand");
|
|
3447
|
+
var de_GetConnectorV2Command = /* @__PURE__ */ __name(async (output, context) => {
|
|
3448
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3449
|
+
return de_CommandError(output, context);
|
|
3450
|
+
}
|
|
3451
|
+
const contents = (0, import_smithy_client.map)({
|
|
3452
|
+
$metadata: deserializeMetadata(output)
|
|
3453
|
+
});
|
|
3454
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3455
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3456
|
+
ConnectorArn: import_smithy_client.expectString,
|
|
3457
|
+
ConnectorId: import_smithy_client.expectString,
|
|
3458
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreatedAt"),
|
|
3459
|
+
Description: import_smithy_client.expectString,
|
|
3460
|
+
Health: /* @__PURE__ */ __name((_) => de_HealthCheck(_, context), "Health"),
|
|
3461
|
+
KmsKeyArn: import_smithy_client.expectString,
|
|
3462
|
+
LastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "LastUpdatedAt"),
|
|
3463
|
+
Name: import_smithy_client.expectString,
|
|
3464
|
+
ProviderDetail: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "ProviderDetail")
|
|
3465
|
+
});
|
|
3466
|
+
Object.assign(contents, doc);
|
|
3467
|
+
return contents;
|
|
3468
|
+
}, "de_GetConnectorV2Command");
|
|
2480
3469
|
var de_GetEnabledStandardsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2481
3470
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2482
3471
|
return de_CommandError(output, context);
|
|
@@ -2539,6 +3528,35 @@ var de_GetFindingsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2539
3528
|
Object.assign(contents, doc);
|
|
2540
3529
|
return contents;
|
|
2541
3530
|
}, "de_GetFindingsCommand");
|
|
3531
|
+
var de_GetFindingStatisticsV2Command = /* @__PURE__ */ __name(async (output, context) => {
|
|
3532
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3533
|
+
return de_CommandError(output, context);
|
|
3534
|
+
}
|
|
3535
|
+
const contents = (0, import_smithy_client.map)({
|
|
3536
|
+
$metadata: deserializeMetadata(output)
|
|
3537
|
+
});
|
|
3538
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3539
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3540
|
+
GroupByResults: import_smithy_client._json
|
|
3541
|
+
});
|
|
3542
|
+
Object.assign(contents, doc);
|
|
3543
|
+
return contents;
|
|
3544
|
+
}, "de_GetFindingStatisticsV2Command");
|
|
3545
|
+
var de_GetFindingsV2Command = /* @__PURE__ */ __name(async (output, context) => {
|
|
3546
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3547
|
+
return de_CommandError(output, context);
|
|
3548
|
+
}
|
|
3549
|
+
const contents = (0, import_smithy_client.map)({
|
|
3550
|
+
$metadata: deserializeMetadata(output)
|
|
3551
|
+
});
|
|
3552
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3553
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3554
|
+
Findings: /* @__PURE__ */ __name((_) => de_OcsfFindingsList(_, context), "Findings"),
|
|
3555
|
+
NextToken: import_smithy_client.expectString
|
|
3556
|
+
});
|
|
3557
|
+
Object.assign(contents, doc);
|
|
3558
|
+
return contents;
|
|
3559
|
+
}, "de_GetFindingsV2Command");
|
|
2542
3560
|
var de_GetInsightResultsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2543
3561
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2544
3562
|
return de_CommandError(output, context);
|
|
@@ -2562,13 +3580,70 @@ var de_GetInsightsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2562
3580
|
});
|
|
2563
3581
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2564
3582
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2565
|
-
Insights: /* @__PURE__ */ __name((_) => de_InsightList(_, context), "Insights"),
|
|
2566
|
-
NextToken: import_smithy_client.expectString
|
|
3583
|
+
Insights: /* @__PURE__ */ __name((_) => de_InsightList(_, context), "Insights"),
|
|
3584
|
+
NextToken: import_smithy_client.expectString
|
|
3585
|
+
});
|
|
3586
|
+
Object.assign(contents, doc);
|
|
3587
|
+
return contents;
|
|
3588
|
+
}, "de_GetInsightsCommand");
|
|
3589
|
+
var de_GetInvitationsCountCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3590
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3591
|
+
return de_CommandError(output, context);
|
|
3592
|
+
}
|
|
3593
|
+
const contents = (0, import_smithy_client.map)({
|
|
3594
|
+
$metadata: deserializeMetadata(output)
|
|
3595
|
+
});
|
|
3596
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3597
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3598
|
+
InvitationsCount: import_smithy_client.expectInt32
|
|
3599
|
+
});
|
|
3600
|
+
Object.assign(contents, doc);
|
|
3601
|
+
return contents;
|
|
3602
|
+
}, "de_GetInvitationsCountCommand");
|
|
3603
|
+
var de_GetMasterAccountCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3604
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3605
|
+
return de_CommandError(output, context);
|
|
3606
|
+
}
|
|
3607
|
+
const contents = (0, import_smithy_client.map)({
|
|
3608
|
+
$metadata: deserializeMetadata(output)
|
|
3609
|
+
});
|
|
3610
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3611
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3612
|
+
Master: /* @__PURE__ */ __name((_) => de_Invitation(_, context), "Master")
|
|
3613
|
+
});
|
|
3614
|
+
Object.assign(contents, doc);
|
|
3615
|
+
return contents;
|
|
3616
|
+
}, "de_GetMasterAccountCommand");
|
|
3617
|
+
var de_GetMembersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3618
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3619
|
+
return de_CommandError(output, context);
|
|
3620
|
+
}
|
|
3621
|
+
const contents = (0, import_smithy_client.map)({
|
|
3622
|
+
$metadata: deserializeMetadata(output)
|
|
3623
|
+
});
|
|
3624
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3625
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3626
|
+
Members: /* @__PURE__ */ __name((_) => de_MemberList(_, context), "Members"),
|
|
3627
|
+
UnprocessedAccounts: import_smithy_client._json
|
|
3628
|
+
});
|
|
3629
|
+
Object.assign(contents, doc);
|
|
3630
|
+
return contents;
|
|
3631
|
+
}, "de_GetMembersCommand");
|
|
3632
|
+
var de_GetResourcesStatisticsV2Command = /* @__PURE__ */ __name(async (output, context) => {
|
|
3633
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3634
|
+
return de_CommandError(output, context);
|
|
3635
|
+
}
|
|
3636
|
+
const contents = (0, import_smithy_client.map)({
|
|
3637
|
+
$metadata: deserializeMetadata(output)
|
|
3638
|
+
});
|
|
3639
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3640
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3641
|
+
GroupByResults: import_smithy_client._json
|
|
2567
3642
|
});
|
|
2568
3643
|
Object.assign(contents, doc);
|
|
2569
3644
|
return contents;
|
|
2570
|
-
}, "
|
|
2571
|
-
var
|
|
3645
|
+
}, "de_GetResourcesStatisticsV2Command");
|
|
3646
|
+
var de_GetResourcesV2Command = /* @__PURE__ */ __name(async (output, context) => {
|
|
2572
3647
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2573
3648
|
return de_CommandError(output, context);
|
|
2574
3649
|
}
|
|
@@ -2577,12 +3652,13 @@ var de_GetInvitationsCountCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2577
3652
|
});
|
|
2578
3653
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2579
3654
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2580
|
-
|
|
3655
|
+
NextToken: import_smithy_client.expectString,
|
|
3656
|
+
Resources: /* @__PURE__ */ __name((_) => de_Resources(_, context), "Resources")
|
|
2581
3657
|
});
|
|
2582
3658
|
Object.assign(contents, doc);
|
|
2583
3659
|
return contents;
|
|
2584
|
-
}, "
|
|
2585
|
-
var
|
|
3660
|
+
}, "de_GetResourcesV2Command");
|
|
3661
|
+
var de_GetSecurityControlDefinitionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2586
3662
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2587
3663
|
return de_CommandError(output, context);
|
|
2588
3664
|
}
|
|
@@ -2591,12 +3667,12 @@ var de_GetMasterAccountCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2591
3667
|
});
|
|
2592
3668
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2593
3669
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2594
|
-
|
|
3670
|
+
SecurityControlDefinition: /* @__PURE__ */ __name((_) => de_SecurityControlDefinition(_, context), "SecurityControlDefinition")
|
|
2595
3671
|
});
|
|
2596
3672
|
Object.assign(contents, doc);
|
|
2597
3673
|
return contents;
|
|
2598
|
-
}, "
|
|
2599
|
-
var
|
|
3674
|
+
}, "de_GetSecurityControlDefinitionCommand");
|
|
3675
|
+
var de_InviteMembersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2600
3676
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2601
3677
|
return de_CommandError(output, context);
|
|
2602
3678
|
}
|
|
@@ -2605,13 +3681,12 @@ var de_GetMembersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2605
3681
|
});
|
|
2606
3682
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2607
3683
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2608
|
-
Members: /* @__PURE__ */ __name((_) => de_MemberList(_, context), "Members"),
|
|
2609
3684
|
UnprocessedAccounts: import_smithy_client._json
|
|
2610
3685
|
});
|
|
2611
3686
|
Object.assign(contents, doc);
|
|
2612
3687
|
return contents;
|
|
2613
|
-
}, "
|
|
2614
|
-
var
|
|
3688
|
+
}, "de_InviteMembersCommand");
|
|
3689
|
+
var de_ListAggregatorsV2Command = /* @__PURE__ */ __name(async (output, context) => {
|
|
2615
3690
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2616
3691
|
return de_CommandError(output, context);
|
|
2617
3692
|
}
|
|
@@ -2620,12 +3695,13 @@ var de_GetSecurityControlDefinitionCommand = /* @__PURE__ */ __name(async (outpu
|
|
|
2620
3695
|
});
|
|
2621
3696
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2622
3697
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2623
|
-
|
|
3698
|
+
AggregatorsV2: import_smithy_client._json,
|
|
3699
|
+
NextToken: import_smithy_client.expectString
|
|
2624
3700
|
});
|
|
2625
3701
|
Object.assign(contents, doc);
|
|
2626
3702
|
return contents;
|
|
2627
|
-
}, "
|
|
2628
|
-
var
|
|
3703
|
+
}, "de_ListAggregatorsV2Command");
|
|
3704
|
+
var de_ListAutomationRulesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2629
3705
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2630
3706
|
return de_CommandError(output, context);
|
|
2631
3707
|
}
|
|
@@ -2634,12 +3710,13 @@ var de_InviteMembersCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2634
3710
|
});
|
|
2635
3711
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2636
3712
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2637
|
-
|
|
3713
|
+
AutomationRulesMetadata: /* @__PURE__ */ __name((_) => de_AutomationRulesMetadataList(_, context), "AutomationRulesMetadata"),
|
|
3714
|
+
NextToken: import_smithy_client.expectString
|
|
2638
3715
|
});
|
|
2639
3716
|
Object.assign(contents, doc);
|
|
2640
3717
|
return contents;
|
|
2641
|
-
}, "
|
|
2642
|
-
var
|
|
3718
|
+
}, "de_ListAutomationRulesCommand");
|
|
3719
|
+
var de_ListAutomationRulesV2Command = /* @__PURE__ */ __name(async (output, context) => {
|
|
2643
3720
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2644
3721
|
return de_CommandError(output, context);
|
|
2645
3722
|
}
|
|
@@ -2648,12 +3725,12 @@ var de_ListAutomationRulesCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2648
3725
|
});
|
|
2649
3726
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2650
3727
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2651
|
-
|
|
2652
|
-
|
|
3728
|
+
NextToken: import_smithy_client.expectString,
|
|
3729
|
+
Rules: /* @__PURE__ */ __name((_) => de_AutomationRulesMetadataListV2(_, context), "Rules")
|
|
2653
3730
|
});
|
|
2654
3731
|
Object.assign(contents, doc);
|
|
2655
3732
|
return contents;
|
|
2656
|
-
}, "
|
|
3733
|
+
}, "de_ListAutomationRulesV2Command");
|
|
2657
3734
|
var de_ListConfigurationPoliciesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2658
3735
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2659
3736
|
return de_CommandError(output, context);
|
|
@@ -2684,6 +3761,21 @@ var de_ListConfigurationPolicyAssociationsCommand = /* @__PURE__ */ __name(async
|
|
|
2684
3761
|
Object.assign(contents, doc);
|
|
2685
3762
|
return contents;
|
|
2686
3763
|
}, "de_ListConfigurationPolicyAssociationsCommand");
|
|
3764
|
+
var de_ListConnectorsV2Command = /* @__PURE__ */ __name(async (output, context) => {
|
|
3765
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3766
|
+
return de_CommandError(output, context);
|
|
3767
|
+
}
|
|
3768
|
+
const contents = (0, import_smithy_client.map)({
|
|
3769
|
+
$metadata: deserializeMetadata(output)
|
|
3770
|
+
});
|
|
3771
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3772
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3773
|
+
Connectors: /* @__PURE__ */ __name((_) => de_ConnectorSummaryList(_, context), "Connectors"),
|
|
3774
|
+
NextToken: import_smithy_client.expectString
|
|
3775
|
+
});
|
|
3776
|
+
Object.assign(contents, doc);
|
|
3777
|
+
return contents;
|
|
3778
|
+
}, "de_ListConnectorsV2Command");
|
|
2687
3779
|
var de_ListEnabledProductsForImportCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2688
3780
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2689
3781
|
return de_CommandError(output, context);
|
|
@@ -2754,6 +3846,7 @@ var de_ListOrganizationAdminAccountsCommand = /* @__PURE__ */ __name(async (outp
|
|
|
2754
3846
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2755
3847
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2756
3848
|
AdminAccounts: import_smithy_client._json,
|
|
3849
|
+
Feature: import_smithy_client.expectString,
|
|
2757
3850
|
NextToken: import_smithy_client.expectString
|
|
2758
3851
|
});
|
|
2759
3852
|
Object.assign(contents, doc);
|
|
@@ -2863,6 +3956,33 @@ var de_UpdateActionTargetCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
2863
3956
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2864
3957
|
return contents;
|
|
2865
3958
|
}, "de_UpdateActionTargetCommand");
|
|
3959
|
+
var de_UpdateAggregatorV2Command = /* @__PURE__ */ __name(async (output, context) => {
|
|
3960
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3961
|
+
return de_CommandError(output, context);
|
|
3962
|
+
}
|
|
3963
|
+
const contents = (0, import_smithy_client.map)({
|
|
3964
|
+
$metadata: deserializeMetadata(output)
|
|
3965
|
+
});
|
|
3966
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3967
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3968
|
+
AggregationRegion: import_smithy_client.expectString,
|
|
3969
|
+
AggregatorV2Arn: import_smithy_client.expectString,
|
|
3970
|
+
LinkedRegions: import_smithy_client._json,
|
|
3971
|
+
RegionLinkingMode: import_smithy_client.expectString
|
|
3972
|
+
});
|
|
3973
|
+
Object.assign(contents, doc);
|
|
3974
|
+
return contents;
|
|
3975
|
+
}, "de_UpdateAggregatorV2Command");
|
|
3976
|
+
var de_UpdateAutomationRuleV2Command = /* @__PURE__ */ __name(async (output, context) => {
|
|
3977
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3978
|
+
return de_CommandError(output, context);
|
|
3979
|
+
}
|
|
3980
|
+
const contents = (0, import_smithy_client.map)({
|
|
3981
|
+
$metadata: deserializeMetadata(output)
|
|
3982
|
+
});
|
|
3983
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3984
|
+
return contents;
|
|
3985
|
+
}, "de_UpdateAutomationRuleV2Command");
|
|
2866
3986
|
var de_UpdateConfigurationPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2867
3987
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2868
3988
|
return de_CommandError(output, context);
|
|
@@ -2883,6 +4003,16 @@ var de_UpdateConfigurationPolicyCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2883
4003
|
Object.assign(contents, doc);
|
|
2884
4004
|
return contents;
|
|
2885
4005
|
}, "de_UpdateConfigurationPolicyCommand");
|
|
4006
|
+
var de_UpdateConnectorV2Command = /* @__PURE__ */ __name(async (output, context) => {
|
|
4007
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4008
|
+
return de_CommandError(output, context);
|
|
4009
|
+
}
|
|
4010
|
+
const contents = (0, import_smithy_client.map)({
|
|
4011
|
+
$metadata: deserializeMetadata(output)
|
|
4012
|
+
});
|
|
4013
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
4014
|
+
return contents;
|
|
4015
|
+
}, "de_UpdateConnectorV2Command");
|
|
2886
4016
|
var de_UpdateFindingAggregatorCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2887
4017
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2888
4018
|
return de_CommandError(output, context);
|
|
@@ -2985,6 +4115,18 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2985
4115
|
case "AccessDeniedException":
|
|
2986
4116
|
case "com.amazonaws.securityhub#AccessDeniedException":
|
|
2987
4117
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4118
|
+
case "ConflictException":
|
|
4119
|
+
case "com.amazonaws.securityhub#ConflictException":
|
|
4120
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
4121
|
+
case "InternalServerException":
|
|
4122
|
+
case "com.amazonaws.securityhub#InternalServerException":
|
|
4123
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4124
|
+
case "ThrottlingException":
|
|
4125
|
+
case "com.amazonaws.securityhub#ThrottlingException":
|
|
4126
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4127
|
+
case "ValidationException":
|
|
4128
|
+
case "com.amazonaws.securityhub#ValidationException":
|
|
4129
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2988
4130
|
case "ResourceConflictException":
|
|
2989
4131
|
case "com.amazonaws.securityhub#ResourceConflictException":
|
|
2990
4132
|
throw await de_ResourceConflictExceptionRes(parsedOutput, context);
|
|
@@ -3015,6 +4157,20 @@ var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, co
|
|
|
3015
4157
|
});
|
|
3016
4158
|
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
3017
4159
|
}, "de_AccessDeniedExceptionRes");
|
|
4160
|
+
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
4161
|
+
const contents = (0, import_smithy_client.map)({});
|
|
4162
|
+
const data = parsedOutput.body;
|
|
4163
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
4164
|
+
Code: import_smithy_client.expectString,
|
|
4165
|
+
Message: import_smithy_client.expectString
|
|
4166
|
+
});
|
|
4167
|
+
Object.assign(contents, doc);
|
|
4168
|
+
const exception = new ConflictException({
|
|
4169
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
4170
|
+
...contents
|
|
4171
|
+
});
|
|
4172
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
4173
|
+
}, "de_ConflictExceptionRes");
|
|
3018
4174
|
var de_InternalExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3019
4175
|
const contents = (0, import_smithy_client.map)({});
|
|
3020
4176
|
const data = parsedOutput.body;
|
|
@@ -3029,6 +4185,20 @@ var de_InternalExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, contex
|
|
|
3029
4185
|
});
|
|
3030
4186
|
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
3031
4187
|
}, "de_InternalExceptionRes");
|
|
4188
|
+
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
4189
|
+
const contents = (0, import_smithy_client.map)({});
|
|
4190
|
+
const data = parsedOutput.body;
|
|
4191
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
4192
|
+
Code: import_smithy_client.expectString,
|
|
4193
|
+
Message: import_smithy_client.expectString
|
|
4194
|
+
});
|
|
4195
|
+
Object.assign(contents, doc);
|
|
4196
|
+
const exception = new InternalServerException({
|
|
4197
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
4198
|
+
...contents
|
|
4199
|
+
});
|
|
4200
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
4201
|
+
}, "de_InternalServerExceptionRes");
|
|
3032
4202
|
var de_InvalidAccessExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3033
4203
|
const contents = (0, import_smithy_client.map)({});
|
|
3034
4204
|
const data = parsedOutput.body;
|
|
@@ -3113,6 +4283,34 @@ var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput
|
|
|
3113
4283
|
});
|
|
3114
4284
|
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
3115
4285
|
}, "de_ResourceNotFoundExceptionRes");
|
|
4286
|
+
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
4287
|
+
const contents = (0, import_smithy_client.map)({});
|
|
4288
|
+
const data = parsedOutput.body;
|
|
4289
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
4290
|
+
Code: import_smithy_client.expectString,
|
|
4291
|
+
Message: import_smithy_client.expectString
|
|
4292
|
+
});
|
|
4293
|
+
Object.assign(contents, doc);
|
|
4294
|
+
const exception = new ThrottlingException({
|
|
4295
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
4296
|
+
...contents
|
|
4297
|
+
});
|
|
4298
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
4299
|
+
}, "de_ThrottlingExceptionRes");
|
|
4300
|
+
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
4301
|
+
const contents = (0, import_smithy_client.map)({});
|
|
4302
|
+
const data = parsedOutput.body;
|
|
4303
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
4304
|
+
Code: import_smithy_client.expectString,
|
|
4305
|
+
Message: import_smithy_client.expectString
|
|
4306
|
+
});
|
|
4307
|
+
Object.assign(contents, doc);
|
|
4308
|
+
const exception = new ValidationException({
|
|
4309
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
4310
|
+
...contents
|
|
4311
|
+
});
|
|
4312
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
4313
|
+
}, "de_ValidationExceptionRes");
|
|
3116
4314
|
var se_Action = /* @__PURE__ */ __name((input, context) => {
|
|
3117
4315
|
return (0, import_smithy_client.take)(input, {
|
|
3118
4316
|
ActionType: [],
|
|
@@ -3633,6 +4831,27 @@ var se_BatchImportFindingsRequestFindingList = /* @__PURE__ */ __name((input, co
|
|
|
3633
4831
|
return se_AwsSecurityFinding(entry, context);
|
|
3634
4832
|
});
|
|
3635
4833
|
}, "se_BatchImportFindingsRequestFindingList");
|
|
4834
|
+
var se_CompositeFilter = /* @__PURE__ */ __name((input, context) => {
|
|
4835
|
+
return (0, import_smithy_client.take)(input, {
|
|
4836
|
+
BooleanFilters: import_smithy_client._json,
|
|
4837
|
+
DateFilters: import_smithy_client._json,
|
|
4838
|
+
MapFilters: import_smithy_client._json,
|
|
4839
|
+
NumberFilters: /* @__PURE__ */ __name((_) => se_OcsfNumberFilterList(_, context), "NumberFilters"),
|
|
4840
|
+
Operator: [],
|
|
4841
|
+
StringFilters: import_smithy_client._json
|
|
4842
|
+
});
|
|
4843
|
+
}, "se_CompositeFilter");
|
|
4844
|
+
var se_CompositeFilterList = /* @__PURE__ */ __name((input, context) => {
|
|
4845
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
4846
|
+
return se_CompositeFilter(entry, context);
|
|
4847
|
+
});
|
|
4848
|
+
}, "se_CompositeFilterList");
|
|
4849
|
+
var se_Criteria = /* @__PURE__ */ __name((input, context) => {
|
|
4850
|
+
return Criteria.visit(input, {
|
|
4851
|
+
OcsfFindingCriteria: /* @__PURE__ */ __name((value) => ({ OcsfFindingCriteria: se_OcsfFindingFilters(value, context) }), "OcsfFindingCriteria"),
|
|
4852
|
+
_: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
|
|
4853
|
+
});
|
|
4854
|
+
}, "se_Criteria");
|
|
3636
4855
|
var se_Cvss = /* @__PURE__ */ __name((input, context) => {
|
|
3637
4856
|
return (0, import_smithy_client.take)(input, {
|
|
3638
4857
|
Adjustments: import_smithy_client._json,
|
|
@@ -3658,6 +4877,17 @@ var se_GeoLocation = /* @__PURE__ */ __name((input, context) => {
|
|
|
3658
4877
|
Lon: import_smithy_client.serializeFloat
|
|
3659
4878
|
});
|
|
3660
4879
|
}, "se_GeoLocation");
|
|
4880
|
+
var se_GroupByRule = /* @__PURE__ */ __name((input, context) => {
|
|
4881
|
+
return (0, import_smithy_client.take)(input, {
|
|
4882
|
+
Filters: /* @__PURE__ */ __name((_) => se_OcsfFindingFilters(_, context), "Filters"),
|
|
4883
|
+
GroupByField: []
|
|
4884
|
+
});
|
|
4885
|
+
}, "se_GroupByRule");
|
|
4886
|
+
var se_GroupByRules = /* @__PURE__ */ __name((input, context) => {
|
|
4887
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
4888
|
+
return se_GroupByRule(entry, context);
|
|
4889
|
+
});
|
|
4890
|
+
}, "se_GroupByRules");
|
|
3661
4891
|
var se_NetworkConnectionAction = /* @__PURE__ */ __name((input, context) => {
|
|
3662
4892
|
return (0, import_smithy_client.take)(input, {
|
|
3663
4893
|
Blocked: [],
|
|
@@ -3706,6 +4936,23 @@ var se_NumberFilterList = /* @__PURE__ */ __name((input, context) => {
|
|
|
3706
4936
|
return se_NumberFilter(entry, context);
|
|
3707
4937
|
});
|
|
3708
4938
|
}, "se_NumberFilterList");
|
|
4939
|
+
var se_OcsfFindingFilters = /* @__PURE__ */ __name((input, context) => {
|
|
4940
|
+
return (0, import_smithy_client.take)(input, {
|
|
4941
|
+
CompositeFilters: /* @__PURE__ */ __name((_) => se_CompositeFilterList(_, context), "CompositeFilters"),
|
|
4942
|
+
CompositeOperator: []
|
|
4943
|
+
});
|
|
4944
|
+
}, "se_OcsfFindingFilters");
|
|
4945
|
+
var se_OcsfNumberFilter = /* @__PURE__ */ __name((input, context) => {
|
|
4946
|
+
return (0, import_smithy_client.take)(input, {
|
|
4947
|
+
FieldName: [],
|
|
4948
|
+
Filter: /* @__PURE__ */ __name((_) => se_NumberFilter(_, context), "Filter")
|
|
4949
|
+
});
|
|
4950
|
+
}, "se_OcsfNumberFilter");
|
|
4951
|
+
var se_OcsfNumberFilterList = /* @__PURE__ */ __name((input, context) => {
|
|
4952
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
4953
|
+
return se_OcsfNumberFilter(entry, context);
|
|
4954
|
+
});
|
|
4955
|
+
}, "se_OcsfNumberFilterList");
|
|
3709
4956
|
var se_ParameterConfiguration = /* @__PURE__ */ __name((input, context) => {
|
|
3710
4957
|
return (0, import_smithy_client.take)(input, {
|
|
3711
4958
|
Value: /* @__PURE__ */ __name((_) => se_ParameterValue(_, context), "Value"),
|
|
@@ -3875,11 +5122,53 @@ var se_ResourceDetails = /* @__PURE__ */ __name((input, context) => {
|
|
|
3875
5122
|
Other: import_smithy_client._json
|
|
3876
5123
|
});
|
|
3877
5124
|
}, "se_ResourceDetails");
|
|
5125
|
+
var se_ResourceGroupByRule = /* @__PURE__ */ __name((input, context) => {
|
|
5126
|
+
return (0, import_smithy_client.take)(input, {
|
|
5127
|
+
Filters: /* @__PURE__ */ __name((_) => se_ResourcesFilters(_, context), "Filters"),
|
|
5128
|
+
GroupByField: []
|
|
5129
|
+
});
|
|
5130
|
+
}, "se_ResourceGroupByRule");
|
|
5131
|
+
var se_ResourceGroupByRules = /* @__PURE__ */ __name((input, context) => {
|
|
5132
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
5133
|
+
return se_ResourceGroupByRule(entry, context);
|
|
5134
|
+
});
|
|
5135
|
+
}, "se_ResourceGroupByRules");
|
|
3878
5136
|
var se_ResourceList = /* @__PURE__ */ __name((input, context) => {
|
|
3879
5137
|
return input.filter((e) => e != null).map((entry) => {
|
|
3880
5138
|
return se_Resource(entry, context);
|
|
3881
5139
|
});
|
|
3882
5140
|
}, "se_ResourceList");
|
|
5141
|
+
var se_ResourcesCompositeFilter = /* @__PURE__ */ __name((input, context) => {
|
|
5142
|
+
return (0, import_smithy_client.take)(input, {
|
|
5143
|
+
DateFilters: import_smithy_client._json,
|
|
5144
|
+
MapFilters: import_smithy_client._json,
|
|
5145
|
+
NumberFilters: /* @__PURE__ */ __name((_) => se_ResourcesNumberFilterList(_, context), "NumberFilters"),
|
|
5146
|
+
Operator: [],
|
|
5147
|
+
StringFilters: import_smithy_client._json
|
|
5148
|
+
});
|
|
5149
|
+
}, "se_ResourcesCompositeFilter");
|
|
5150
|
+
var se_ResourcesCompositeFilterList = /* @__PURE__ */ __name((input, context) => {
|
|
5151
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
5152
|
+
return se_ResourcesCompositeFilter(entry, context);
|
|
5153
|
+
});
|
|
5154
|
+
}, "se_ResourcesCompositeFilterList");
|
|
5155
|
+
var se_ResourcesFilters = /* @__PURE__ */ __name((input, context) => {
|
|
5156
|
+
return (0, import_smithy_client.take)(input, {
|
|
5157
|
+
CompositeFilters: /* @__PURE__ */ __name((_) => se_ResourcesCompositeFilterList(_, context), "CompositeFilters"),
|
|
5158
|
+
CompositeOperator: []
|
|
5159
|
+
});
|
|
5160
|
+
}, "se_ResourcesFilters");
|
|
5161
|
+
var se_ResourcesNumberFilter = /* @__PURE__ */ __name((input, context) => {
|
|
5162
|
+
return (0, import_smithy_client.take)(input, {
|
|
5163
|
+
FieldName: [],
|
|
5164
|
+
Filter: /* @__PURE__ */ __name((_) => se_NumberFilter(_, context), "Filter")
|
|
5165
|
+
});
|
|
5166
|
+
}, "se_ResourcesNumberFilter");
|
|
5167
|
+
var se_ResourcesNumberFilterList = /* @__PURE__ */ __name((input, context) => {
|
|
5168
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
5169
|
+
return se_ResourcesNumberFilter(entry, context);
|
|
5170
|
+
});
|
|
5171
|
+
}, "se_ResourcesNumberFilterList");
|
|
3883
5172
|
var se_SecurityControlCustomParameter = /* @__PURE__ */ __name((input, context) => {
|
|
3884
5173
|
return (0, import_smithy_client.take)(input, {
|
|
3885
5174
|
Parameters: /* @__PURE__ */ __name((_) => se_Parameters(_, context), "Parameters"),
|
|
@@ -4115,6 +5404,25 @@ var de_AutomationRulesMetadataList = /* @__PURE__ */ __name((output, context) =>
|
|
|
4115
5404
|
});
|
|
4116
5405
|
return retVal;
|
|
4117
5406
|
}, "de_AutomationRulesMetadataList");
|
|
5407
|
+
var de_AutomationRulesMetadataListV2 = /* @__PURE__ */ __name((output, context) => {
|
|
5408
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
5409
|
+
return de_AutomationRulesMetadataV2(entry, context);
|
|
5410
|
+
});
|
|
5411
|
+
return retVal;
|
|
5412
|
+
}, "de_AutomationRulesMetadataListV2");
|
|
5413
|
+
var de_AutomationRulesMetadataV2 = /* @__PURE__ */ __name((output, context) => {
|
|
5414
|
+
return (0, import_smithy_client.take)(output, {
|
|
5415
|
+
Actions: import_smithy_client._json,
|
|
5416
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreatedAt"),
|
|
5417
|
+
Description: import_smithy_client.expectString,
|
|
5418
|
+
RuleArn: import_smithy_client.expectString,
|
|
5419
|
+
RuleId: import_smithy_client.expectString,
|
|
5420
|
+
RuleName: import_smithy_client.expectString,
|
|
5421
|
+
RuleOrder: import_smithy_client.limitedParseFloat32,
|
|
5422
|
+
RuleStatus: import_smithy_client.expectString,
|
|
5423
|
+
UpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "UpdatedAt")
|
|
5424
|
+
});
|
|
5425
|
+
}, "de_AutomationRulesMetadataV2");
|
|
4118
5426
|
var de_AwsApiCallAction = /* @__PURE__ */ __name((output, context) => {
|
|
4119
5427
|
return (0, import_smithy_client.take)(output, {
|
|
4120
5428
|
AffectedResources: import_smithy_client._json,
|
|
@@ -4553,6 +5861,22 @@ var de_AwsSecurityFindingList = /* @__PURE__ */ __name((output, context) => {
|
|
|
4553
5861
|
});
|
|
4554
5862
|
return retVal;
|
|
4555
5863
|
}, "de_AwsSecurityFindingList");
|
|
5864
|
+
var de_CompositeFilter = /* @__PURE__ */ __name((output, context) => {
|
|
5865
|
+
return (0, import_smithy_client.take)(output, {
|
|
5866
|
+
BooleanFilters: import_smithy_client._json,
|
|
5867
|
+
DateFilters: import_smithy_client._json,
|
|
5868
|
+
MapFilters: import_smithy_client._json,
|
|
5869
|
+
NumberFilters: /* @__PURE__ */ __name((_) => de_OcsfNumberFilterList(_, context), "NumberFilters"),
|
|
5870
|
+
Operator: import_smithy_client.expectString,
|
|
5871
|
+
StringFilters: import_smithy_client._json
|
|
5872
|
+
});
|
|
5873
|
+
}, "de_CompositeFilter");
|
|
5874
|
+
var de_CompositeFilterList = /* @__PURE__ */ __name((output, context) => {
|
|
5875
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
5876
|
+
return de_CompositeFilter(entry, context);
|
|
5877
|
+
});
|
|
5878
|
+
return retVal;
|
|
5879
|
+
}, "de_CompositeFilterList");
|
|
4556
5880
|
var de_ConfigurationOptions = /* @__PURE__ */ __name((output, context) => {
|
|
4557
5881
|
if (output.Boolean != null) {
|
|
4558
5882
|
return {
|
|
@@ -4635,6 +5959,30 @@ var de_ConfigurationPolicySummaryList = /* @__PURE__ */ __name((output, context)
|
|
|
4635
5959
|
});
|
|
4636
5960
|
return retVal;
|
|
4637
5961
|
}, "de_ConfigurationPolicySummaryList");
|
|
5962
|
+
var de_ConnectorSummary = /* @__PURE__ */ __name((output, context) => {
|
|
5963
|
+
return (0, import_smithy_client.take)(output, {
|
|
5964
|
+
ConnectorArn: import_smithy_client.expectString,
|
|
5965
|
+
ConnectorId: import_smithy_client.expectString,
|
|
5966
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreatedAt"),
|
|
5967
|
+
Description: import_smithy_client.expectString,
|
|
5968
|
+
Name: import_smithy_client.expectString,
|
|
5969
|
+
ProviderSummary: import_smithy_client._json
|
|
5970
|
+
});
|
|
5971
|
+
}, "de_ConnectorSummary");
|
|
5972
|
+
var de_ConnectorSummaryList = /* @__PURE__ */ __name((output, context) => {
|
|
5973
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
5974
|
+
return de_ConnectorSummary(entry, context);
|
|
5975
|
+
});
|
|
5976
|
+
return retVal;
|
|
5977
|
+
}, "de_ConnectorSummaryList");
|
|
5978
|
+
var de_Criteria = /* @__PURE__ */ __name((output, context) => {
|
|
5979
|
+
if (output.OcsfFindingCriteria != null) {
|
|
5980
|
+
return {
|
|
5981
|
+
OcsfFindingCriteria: de_OcsfFindingFilters(output.OcsfFindingCriteria, context)
|
|
5982
|
+
};
|
|
5983
|
+
}
|
|
5984
|
+
return { $unknown: Object.entries(output)[0] };
|
|
5985
|
+
}, "de_Criteria");
|
|
4638
5986
|
var de_Cvss = /* @__PURE__ */ __name((output, context) => {
|
|
4639
5987
|
return (0, import_smithy_client.take)(output, {
|
|
4640
5988
|
Adjustments: import_smithy_client._json,
|
|
@@ -4684,6 +6032,13 @@ var de_GeoLocation = /* @__PURE__ */ __name((output, context) => {
|
|
|
4684
6032
|
Lon: import_smithy_client.limitedParseDouble
|
|
4685
6033
|
});
|
|
4686
6034
|
}, "de_GeoLocation");
|
|
6035
|
+
var de_HealthCheck = /* @__PURE__ */ __name((output, context) => {
|
|
6036
|
+
return (0, import_smithy_client.take)(output, {
|
|
6037
|
+
ConnectorStatus: import_smithy_client.expectString,
|
|
6038
|
+
LastCheckedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "LastCheckedAt"),
|
|
6039
|
+
Message: import_smithy_client.expectString
|
|
6040
|
+
});
|
|
6041
|
+
}, "de_HealthCheck");
|
|
4687
6042
|
var de_Insight = /* @__PURE__ */ __name((output, context) => {
|
|
4688
6043
|
return (0, import_smithy_client.take)(output, {
|
|
4689
6044
|
Filters: /* @__PURE__ */ __name((_) => de_AwsSecurityFindingFilters(_, context), "Filters"),
|
|
@@ -4779,6 +6134,33 @@ var de_NumberFilterList = /* @__PURE__ */ __name((output, context) => {
|
|
|
4779
6134
|
});
|
|
4780
6135
|
return retVal;
|
|
4781
6136
|
}, "de_NumberFilterList");
|
|
6137
|
+
var de_OcsfFinding = /* @__PURE__ */ __name((output, context) => {
|
|
6138
|
+
return output;
|
|
6139
|
+
}, "de_OcsfFinding");
|
|
6140
|
+
var de_OcsfFindingFilters = /* @__PURE__ */ __name((output, context) => {
|
|
6141
|
+
return (0, import_smithy_client.take)(output, {
|
|
6142
|
+
CompositeFilters: /* @__PURE__ */ __name((_) => de_CompositeFilterList(_, context), "CompositeFilters"),
|
|
6143
|
+
CompositeOperator: import_smithy_client.expectString
|
|
6144
|
+
});
|
|
6145
|
+
}, "de_OcsfFindingFilters");
|
|
6146
|
+
var de_OcsfFindingsList = /* @__PURE__ */ __name((output, context) => {
|
|
6147
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
6148
|
+
return de_OcsfFinding(entry, context);
|
|
6149
|
+
});
|
|
6150
|
+
return retVal;
|
|
6151
|
+
}, "de_OcsfFindingsList");
|
|
6152
|
+
var de_OcsfNumberFilter = /* @__PURE__ */ __name((output, context) => {
|
|
6153
|
+
return (0, import_smithy_client.take)(output, {
|
|
6154
|
+
FieldName: import_smithy_client.expectString,
|
|
6155
|
+
Filter: /* @__PURE__ */ __name((_) => de_NumberFilter(_, context), "Filter")
|
|
6156
|
+
});
|
|
6157
|
+
}, "de_OcsfNumberFilter");
|
|
6158
|
+
var de_OcsfNumberFilterList = /* @__PURE__ */ __name((output, context) => {
|
|
6159
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
6160
|
+
return de_OcsfNumberFilter(entry, context);
|
|
6161
|
+
});
|
|
6162
|
+
return retVal;
|
|
6163
|
+
}, "de_OcsfNumberFilterList");
|
|
4782
6164
|
var de_ParameterConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
4783
6165
|
return (0, import_smithy_client.take)(output, {
|
|
4784
6166
|
Value: /* @__PURE__ */ __name((_) => de_ParameterValue((0, import_core2.awsExpectUnion)(_), context), "Value"),
|
|
@@ -4883,6 +6265,9 @@ var de_Resource = /* @__PURE__ */ __name((output, context) => {
|
|
|
4883
6265
|
Type: import_smithy_client.expectString
|
|
4884
6266
|
});
|
|
4885
6267
|
}, "de_Resource");
|
|
6268
|
+
var de_ResourceConfig = /* @__PURE__ */ __name((output, context) => {
|
|
6269
|
+
return output;
|
|
6270
|
+
}, "de_ResourceConfig");
|
|
4886
6271
|
var de_ResourceDetails = /* @__PURE__ */ __name((output, context) => {
|
|
4887
6272
|
return (0, import_smithy_client.take)(output, {
|
|
4888
6273
|
AwsAmazonMqBroker: import_smithy_client._json,
|
|
@@ -4992,6 +6377,28 @@ var de_ResourceList = /* @__PURE__ */ __name((output, context) => {
|
|
|
4992
6377
|
});
|
|
4993
6378
|
return retVal;
|
|
4994
6379
|
}, "de_ResourceList");
|
|
6380
|
+
var de_ResourceResult = /* @__PURE__ */ __name((output, context) => {
|
|
6381
|
+
return (0, import_smithy_client.take)(output, {
|
|
6382
|
+
AccountId: import_smithy_client.expectString,
|
|
6383
|
+
FindingsSummary: import_smithy_client._json,
|
|
6384
|
+
Region: import_smithy_client.expectString,
|
|
6385
|
+
ResourceArn: import_smithy_client.expectString,
|
|
6386
|
+
ResourceCategory: import_smithy_client.expectString,
|
|
6387
|
+
ResourceConfig: /* @__PURE__ */ __name((_) => de_ResourceConfig(_, context), "ResourceConfig"),
|
|
6388
|
+
ResourceCreationTimeDt: import_smithy_client.expectString,
|
|
6389
|
+
ResourceDetailCaptureTimeDt: import_smithy_client.expectString,
|
|
6390
|
+
ResourceId: import_smithy_client.expectString,
|
|
6391
|
+
ResourceName: import_smithy_client.expectString,
|
|
6392
|
+
ResourceTags: import_smithy_client._json,
|
|
6393
|
+
ResourceType: import_smithy_client.expectString
|
|
6394
|
+
});
|
|
6395
|
+
}, "de_ResourceResult");
|
|
6396
|
+
var de_Resources = /* @__PURE__ */ __name((output, context) => {
|
|
6397
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
6398
|
+
return de_ResourceResult(entry, context);
|
|
6399
|
+
});
|
|
6400
|
+
return retVal;
|
|
6401
|
+
}, "de_Resources");
|
|
4995
6402
|
var de_SecurityControl = /* @__PURE__ */ __name((output, context) => {
|
|
4996
6403
|
return (0, import_smithy_client.take)(output, {
|
|
4997
6404
|
Description: import_smithy_client.expectString,
|
|
@@ -5191,11 +6598,14 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
5191
6598
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
5192
6599
|
cfId: output.headers["x-amz-cf-id"]
|
|
5193
6600
|
}), "deserializeMetadata");
|
|
6601
|
+
var _CS = "ConnectorStatus";
|
|
6602
|
+
var _F = "Feature";
|
|
5194
6603
|
var _HA = "HubArn";
|
|
5195
6604
|
var _MR = "MaxResults";
|
|
5196
6605
|
var _NT = "NextToken";
|
|
5197
6606
|
var _OA = "OnlyAssociated";
|
|
5198
6607
|
var _PA = "ProductArn";
|
|
6608
|
+
var _PN = "ProviderName";
|
|
5199
6609
|
var _SA = "StandardsArn";
|
|
5200
6610
|
var _SCI = "SecurityControlId";
|
|
5201
6611
|
var _TK = "TagKeys";
|
|
@@ -5378,6 +6788,21 @@ var BatchUpdateFindingsCommand = class extends import_smithy_client.Command.clas
|
|
|
5378
6788
|
}
|
|
5379
6789
|
};
|
|
5380
6790
|
|
|
6791
|
+
// src/commands/BatchUpdateFindingsV2Command.ts
|
|
6792
|
+
|
|
6793
|
+
|
|
6794
|
+
|
|
6795
|
+
var BatchUpdateFindingsV2Command = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
6796
|
+
return [
|
|
6797
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
6798
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
6799
|
+
];
|
|
6800
|
+
}).s("SecurityHubAPIService", "BatchUpdateFindingsV2", {}).n("SecurityHubClient", "BatchUpdateFindingsV2Command").f(void 0, void 0).ser(se_BatchUpdateFindingsV2Command).de(de_BatchUpdateFindingsV2Command).build() {
|
|
6801
|
+
static {
|
|
6802
|
+
__name(this, "BatchUpdateFindingsV2Command");
|
|
6803
|
+
}
|
|
6804
|
+
};
|
|
6805
|
+
|
|
5381
6806
|
// src/commands/BatchUpdateStandardsControlAssociationsCommand.ts
|
|
5382
6807
|
|
|
5383
6808
|
|
|
@@ -5393,48 +6818,108 @@ var BatchUpdateStandardsControlAssociationsCommand = class extends import_smithy
|
|
|
5393
6818
|
}
|
|
5394
6819
|
};
|
|
5395
6820
|
|
|
5396
|
-
// src/commands/
|
|
6821
|
+
// src/commands/ConnectorRegistrationsV2Command.ts
|
|
6822
|
+
|
|
6823
|
+
|
|
6824
|
+
|
|
6825
|
+
var ConnectorRegistrationsV2Command = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
6826
|
+
return [
|
|
6827
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
6828
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
6829
|
+
];
|
|
6830
|
+
}).s("SecurityHubAPIService", "ConnectorRegistrationsV2", {}).n("SecurityHubClient", "ConnectorRegistrationsV2Command").f(void 0, void 0).ser(se_ConnectorRegistrationsV2Command).de(de_ConnectorRegistrationsV2Command).build() {
|
|
6831
|
+
static {
|
|
6832
|
+
__name(this, "ConnectorRegistrationsV2Command");
|
|
6833
|
+
}
|
|
6834
|
+
};
|
|
6835
|
+
|
|
6836
|
+
// src/commands/CreateActionTargetCommand.ts
|
|
6837
|
+
|
|
6838
|
+
|
|
6839
|
+
|
|
6840
|
+
var CreateActionTargetCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
6841
|
+
return [
|
|
6842
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
6843
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
6844
|
+
];
|
|
6845
|
+
}).s("SecurityHubAPIService", "CreateActionTarget", {}).n("SecurityHubClient", "CreateActionTargetCommand").f(void 0, void 0).ser(se_CreateActionTargetCommand).de(de_CreateActionTargetCommand).build() {
|
|
6846
|
+
static {
|
|
6847
|
+
__name(this, "CreateActionTargetCommand");
|
|
6848
|
+
}
|
|
6849
|
+
};
|
|
6850
|
+
|
|
6851
|
+
// src/commands/CreateAggregatorV2Command.ts
|
|
6852
|
+
|
|
6853
|
+
|
|
6854
|
+
|
|
6855
|
+
var CreateAggregatorV2Command = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
6856
|
+
return [
|
|
6857
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
6858
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
6859
|
+
];
|
|
6860
|
+
}).s("SecurityHubAPIService", "CreateAggregatorV2", {}).n("SecurityHubClient", "CreateAggregatorV2Command").f(void 0, void 0).ser(se_CreateAggregatorV2Command).de(de_CreateAggregatorV2Command).build() {
|
|
6861
|
+
static {
|
|
6862
|
+
__name(this, "CreateAggregatorV2Command");
|
|
6863
|
+
}
|
|
6864
|
+
};
|
|
6865
|
+
|
|
6866
|
+
// src/commands/CreateAutomationRuleCommand.ts
|
|
6867
|
+
|
|
6868
|
+
|
|
6869
|
+
|
|
6870
|
+
var CreateAutomationRuleCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
6871
|
+
return [
|
|
6872
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
6873
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
6874
|
+
];
|
|
6875
|
+
}).s("SecurityHubAPIService", "CreateAutomationRule", {}).n("SecurityHubClient", "CreateAutomationRuleCommand").f(void 0, void 0).ser(se_CreateAutomationRuleCommand).de(de_CreateAutomationRuleCommand).build() {
|
|
6876
|
+
static {
|
|
6877
|
+
__name(this, "CreateAutomationRuleCommand");
|
|
6878
|
+
}
|
|
6879
|
+
};
|
|
6880
|
+
|
|
6881
|
+
// src/commands/CreateAutomationRuleV2Command.ts
|
|
5397
6882
|
|
|
5398
6883
|
|
|
5399
6884
|
|
|
5400
|
-
var
|
|
6885
|
+
var CreateAutomationRuleV2Command = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5401
6886
|
return [
|
|
5402
6887
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5403
6888
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5404
6889
|
];
|
|
5405
|
-
}).s("SecurityHubAPIService", "
|
|
6890
|
+
}).s("SecurityHubAPIService", "CreateAutomationRuleV2", {}).n("SecurityHubClient", "CreateAutomationRuleV2Command").f(void 0, void 0).ser(se_CreateAutomationRuleV2Command).de(de_CreateAutomationRuleV2Command).build() {
|
|
5406
6891
|
static {
|
|
5407
|
-
__name(this, "
|
|
6892
|
+
__name(this, "CreateAutomationRuleV2Command");
|
|
5408
6893
|
}
|
|
5409
6894
|
};
|
|
5410
6895
|
|
|
5411
|
-
// src/commands/
|
|
6896
|
+
// src/commands/CreateConfigurationPolicyCommand.ts
|
|
5412
6897
|
|
|
5413
6898
|
|
|
5414
6899
|
|
|
5415
|
-
var
|
|
6900
|
+
var CreateConfigurationPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5416
6901
|
return [
|
|
5417
6902
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5418
6903
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5419
6904
|
];
|
|
5420
|
-
}).s("SecurityHubAPIService", "
|
|
6905
|
+
}).s("SecurityHubAPIService", "CreateConfigurationPolicy", {}).n("SecurityHubClient", "CreateConfigurationPolicyCommand").f(void 0, void 0).ser(se_CreateConfigurationPolicyCommand).de(de_CreateConfigurationPolicyCommand).build() {
|
|
5421
6906
|
static {
|
|
5422
|
-
__name(this, "
|
|
6907
|
+
__name(this, "CreateConfigurationPolicyCommand");
|
|
5423
6908
|
}
|
|
5424
6909
|
};
|
|
5425
6910
|
|
|
5426
|
-
// src/commands/
|
|
6911
|
+
// src/commands/CreateConnectorV2Command.ts
|
|
5427
6912
|
|
|
5428
6913
|
|
|
5429
6914
|
|
|
5430
|
-
var
|
|
6915
|
+
var CreateConnectorV2Command = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5431
6916
|
return [
|
|
5432
6917
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5433
6918
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5434
6919
|
];
|
|
5435
|
-
}).s("SecurityHubAPIService", "
|
|
6920
|
+
}).s("SecurityHubAPIService", "CreateConnectorV2", {}).n("SecurityHubClient", "CreateConnectorV2Command").f(CreateConnectorV2RequestFilterSensitiveLog, void 0).ser(se_CreateConnectorV2Command).de(de_CreateConnectorV2Command).build() {
|
|
5436
6921
|
static {
|
|
5437
|
-
__name(this, "
|
|
6922
|
+
__name(this, "CreateConnectorV2Command");
|
|
5438
6923
|
}
|
|
5439
6924
|
};
|
|
5440
6925
|
|
|
@@ -5483,6 +6968,21 @@ var CreateMembersCommand = class extends import_smithy_client.Command.classBuild
|
|
|
5483
6968
|
}
|
|
5484
6969
|
};
|
|
5485
6970
|
|
|
6971
|
+
// src/commands/CreateTicketV2Command.ts
|
|
6972
|
+
|
|
6973
|
+
|
|
6974
|
+
|
|
6975
|
+
var CreateTicketV2Command = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
6976
|
+
return [
|
|
6977
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
6978
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
6979
|
+
];
|
|
6980
|
+
}).s("SecurityHubAPIService", "CreateTicketV2", {}).n("SecurityHubClient", "CreateTicketV2Command").f(void 0, void 0).ser(se_CreateTicketV2Command).de(de_CreateTicketV2Command).build() {
|
|
6981
|
+
static {
|
|
6982
|
+
__name(this, "CreateTicketV2Command");
|
|
6983
|
+
}
|
|
6984
|
+
};
|
|
6985
|
+
|
|
5486
6986
|
// src/commands/DeclineInvitationsCommand.ts
|
|
5487
6987
|
|
|
5488
6988
|
|
|
@@ -5513,6 +7013,36 @@ var DeleteActionTargetCommand = class extends import_smithy_client.Command.class
|
|
|
5513
7013
|
}
|
|
5514
7014
|
};
|
|
5515
7015
|
|
|
7016
|
+
// src/commands/DeleteAggregatorV2Command.ts
|
|
7017
|
+
|
|
7018
|
+
|
|
7019
|
+
|
|
7020
|
+
var DeleteAggregatorV2Command = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
7021
|
+
return [
|
|
7022
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
7023
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
7024
|
+
];
|
|
7025
|
+
}).s("SecurityHubAPIService", "DeleteAggregatorV2", {}).n("SecurityHubClient", "DeleteAggregatorV2Command").f(void 0, void 0).ser(se_DeleteAggregatorV2Command).de(de_DeleteAggregatorV2Command).build() {
|
|
7026
|
+
static {
|
|
7027
|
+
__name(this, "DeleteAggregatorV2Command");
|
|
7028
|
+
}
|
|
7029
|
+
};
|
|
7030
|
+
|
|
7031
|
+
// src/commands/DeleteAutomationRuleV2Command.ts
|
|
7032
|
+
|
|
7033
|
+
|
|
7034
|
+
|
|
7035
|
+
var DeleteAutomationRuleV2Command = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
7036
|
+
return [
|
|
7037
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
7038
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
7039
|
+
];
|
|
7040
|
+
}).s("SecurityHubAPIService", "DeleteAutomationRuleV2", {}).n("SecurityHubClient", "DeleteAutomationRuleV2Command").f(void 0, void 0).ser(se_DeleteAutomationRuleV2Command).de(de_DeleteAutomationRuleV2Command).build() {
|
|
7041
|
+
static {
|
|
7042
|
+
__name(this, "DeleteAutomationRuleV2Command");
|
|
7043
|
+
}
|
|
7044
|
+
};
|
|
7045
|
+
|
|
5516
7046
|
// src/commands/DeleteConfigurationPolicyCommand.ts
|
|
5517
7047
|
|
|
5518
7048
|
|
|
@@ -5528,6 +7058,21 @@ var DeleteConfigurationPolicyCommand = class extends import_smithy_client.Comman
|
|
|
5528
7058
|
}
|
|
5529
7059
|
};
|
|
5530
7060
|
|
|
7061
|
+
// src/commands/DeleteConnectorV2Command.ts
|
|
7062
|
+
|
|
7063
|
+
|
|
7064
|
+
|
|
7065
|
+
var DeleteConnectorV2Command = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
7066
|
+
return [
|
|
7067
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
7068
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
7069
|
+
];
|
|
7070
|
+
}).s("SecurityHubAPIService", "DeleteConnectorV2", {}).n("SecurityHubClient", "DeleteConnectorV2Command").f(void 0, void 0).ser(se_DeleteConnectorV2Command).de(de_DeleteConnectorV2Command).build() {
|
|
7071
|
+
static {
|
|
7072
|
+
__name(this, "DeleteConnectorV2Command");
|
|
7073
|
+
}
|
|
7074
|
+
};
|
|
7075
|
+
|
|
5531
7076
|
// src/commands/DeleteFindingAggregatorCommand.ts
|
|
5532
7077
|
|
|
5533
7078
|
|
|
@@ -5648,6 +7193,36 @@ var DescribeProductsCommand = class extends import_smithy_client.Command.classBu
|
|
|
5648
7193
|
}
|
|
5649
7194
|
};
|
|
5650
7195
|
|
|
7196
|
+
// src/commands/DescribeProductsV2Command.ts
|
|
7197
|
+
|
|
7198
|
+
|
|
7199
|
+
|
|
7200
|
+
var DescribeProductsV2Command = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
7201
|
+
return [
|
|
7202
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
7203
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
7204
|
+
];
|
|
7205
|
+
}).s("SecurityHubAPIService", "DescribeProductsV2", {}).n("SecurityHubClient", "DescribeProductsV2Command").f(void 0, void 0).ser(se_DescribeProductsV2Command).de(de_DescribeProductsV2Command).build() {
|
|
7206
|
+
static {
|
|
7207
|
+
__name(this, "DescribeProductsV2Command");
|
|
7208
|
+
}
|
|
7209
|
+
};
|
|
7210
|
+
|
|
7211
|
+
// src/commands/DescribeSecurityHubV2Command.ts
|
|
7212
|
+
|
|
7213
|
+
|
|
7214
|
+
|
|
7215
|
+
var DescribeSecurityHubV2Command = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
7216
|
+
return [
|
|
7217
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
7218
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
7219
|
+
];
|
|
7220
|
+
}).s("SecurityHubAPIService", "DescribeSecurityHubV2", {}).n("SecurityHubClient", "DescribeSecurityHubV2Command").f(void 0, void 0).ser(se_DescribeSecurityHubV2Command).de(de_DescribeSecurityHubV2Command).build() {
|
|
7221
|
+
static {
|
|
7222
|
+
__name(this, "DescribeSecurityHubV2Command");
|
|
7223
|
+
}
|
|
7224
|
+
};
|
|
7225
|
+
|
|
5651
7226
|
// src/commands/DescribeStandardsCommand.ts
|
|
5652
7227
|
|
|
5653
7228
|
|
|
@@ -5723,6 +7298,21 @@ var DisableSecurityHubCommand = class extends import_smithy_client.Command.class
|
|
|
5723
7298
|
}
|
|
5724
7299
|
};
|
|
5725
7300
|
|
|
7301
|
+
// src/commands/DisableSecurityHubV2Command.ts
|
|
7302
|
+
|
|
7303
|
+
|
|
7304
|
+
|
|
7305
|
+
var DisableSecurityHubV2Command = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
7306
|
+
return [
|
|
7307
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
7308
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
7309
|
+
];
|
|
7310
|
+
}).s("SecurityHubAPIService", "DisableSecurityHubV2", {}).n("SecurityHubClient", "DisableSecurityHubV2Command").f(void 0, void 0).ser(se_DisableSecurityHubV2Command).de(de_DisableSecurityHubV2Command).build() {
|
|
7311
|
+
static {
|
|
7312
|
+
__name(this, "DisableSecurityHubV2Command");
|
|
7313
|
+
}
|
|
7314
|
+
};
|
|
7315
|
+
|
|
5726
7316
|
// src/commands/DisassociateFromAdministratorAccountCommand.ts
|
|
5727
7317
|
|
|
5728
7318
|
|
|
@@ -5813,6 +7403,21 @@ var EnableSecurityHubCommand = class extends import_smithy_client.Command.classB
|
|
|
5813
7403
|
}
|
|
5814
7404
|
};
|
|
5815
7405
|
|
|
7406
|
+
// src/commands/EnableSecurityHubV2Command.ts
|
|
7407
|
+
|
|
7408
|
+
|
|
7409
|
+
|
|
7410
|
+
var EnableSecurityHubV2Command = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
7411
|
+
return [
|
|
7412
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
7413
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
7414
|
+
];
|
|
7415
|
+
}).s("SecurityHubAPIService", "EnableSecurityHubV2", {}).n("SecurityHubClient", "EnableSecurityHubV2Command").f(void 0, void 0).ser(se_EnableSecurityHubV2Command).de(de_EnableSecurityHubV2Command).build() {
|
|
7416
|
+
static {
|
|
7417
|
+
__name(this, "EnableSecurityHubV2Command");
|
|
7418
|
+
}
|
|
7419
|
+
};
|
|
7420
|
+
|
|
5816
7421
|
// src/commands/GetAdministratorAccountCommand.ts
|
|
5817
7422
|
|
|
5818
7423
|
|
|
@@ -5828,6 +7433,36 @@ var GetAdministratorAccountCommand = class extends import_smithy_client.Command.
|
|
|
5828
7433
|
}
|
|
5829
7434
|
};
|
|
5830
7435
|
|
|
7436
|
+
// src/commands/GetAggregatorV2Command.ts
|
|
7437
|
+
|
|
7438
|
+
|
|
7439
|
+
|
|
7440
|
+
var GetAggregatorV2Command = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
7441
|
+
return [
|
|
7442
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
7443
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
7444
|
+
];
|
|
7445
|
+
}).s("SecurityHubAPIService", "GetAggregatorV2", {}).n("SecurityHubClient", "GetAggregatorV2Command").f(void 0, void 0).ser(se_GetAggregatorV2Command).de(de_GetAggregatorV2Command).build() {
|
|
7446
|
+
static {
|
|
7447
|
+
__name(this, "GetAggregatorV2Command");
|
|
7448
|
+
}
|
|
7449
|
+
};
|
|
7450
|
+
|
|
7451
|
+
// src/commands/GetAutomationRuleV2Command.ts
|
|
7452
|
+
|
|
7453
|
+
|
|
7454
|
+
|
|
7455
|
+
var GetAutomationRuleV2Command = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
7456
|
+
return [
|
|
7457
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
7458
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
7459
|
+
];
|
|
7460
|
+
}).s("SecurityHubAPIService", "GetAutomationRuleV2", {}).n("SecurityHubClient", "GetAutomationRuleV2Command").f(void 0, void 0).ser(se_GetAutomationRuleV2Command).de(de_GetAutomationRuleV2Command).build() {
|
|
7461
|
+
static {
|
|
7462
|
+
__name(this, "GetAutomationRuleV2Command");
|
|
7463
|
+
}
|
|
7464
|
+
};
|
|
7465
|
+
|
|
5831
7466
|
// src/commands/GetConfigurationPolicyAssociationCommand.ts
|
|
5832
7467
|
|
|
5833
7468
|
|
|
@@ -5858,6 +7493,21 @@ var GetConfigurationPolicyCommand = class extends import_smithy_client.Command.c
|
|
|
5858
7493
|
}
|
|
5859
7494
|
};
|
|
5860
7495
|
|
|
7496
|
+
// src/commands/GetConnectorV2Command.ts
|
|
7497
|
+
|
|
7498
|
+
|
|
7499
|
+
|
|
7500
|
+
var GetConnectorV2Command = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
7501
|
+
return [
|
|
7502
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
7503
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
7504
|
+
];
|
|
7505
|
+
}).s("SecurityHubAPIService", "GetConnectorV2", {}).n("SecurityHubClient", "GetConnectorV2Command").f(void 0, void 0).ser(se_GetConnectorV2Command).de(de_GetConnectorV2Command).build() {
|
|
7506
|
+
static {
|
|
7507
|
+
__name(this, "GetConnectorV2Command");
|
|
7508
|
+
}
|
|
7509
|
+
};
|
|
7510
|
+
|
|
5861
7511
|
// src/commands/GetEnabledStandardsCommand.ts
|
|
5862
7512
|
|
|
5863
7513
|
|
|
@@ -5918,6 +7568,36 @@ var GetFindingsCommand = class extends import_smithy_client.Command.classBuilder
|
|
|
5918
7568
|
}
|
|
5919
7569
|
};
|
|
5920
7570
|
|
|
7571
|
+
// src/commands/GetFindingStatisticsV2Command.ts
|
|
7572
|
+
|
|
7573
|
+
|
|
7574
|
+
|
|
7575
|
+
var GetFindingStatisticsV2Command = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
7576
|
+
return [
|
|
7577
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
7578
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
7579
|
+
];
|
|
7580
|
+
}).s("SecurityHubAPIService", "GetFindingStatisticsV2", {}).n("SecurityHubClient", "GetFindingStatisticsV2Command").f(void 0, void 0).ser(se_GetFindingStatisticsV2Command).de(de_GetFindingStatisticsV2Command).build() {
|
|
7581
|
+
static {
|
|
7582
|
+
__name(this, "GetFindingStatisticsV2Command");
|
|
7583
|
+
}
|
|
7584
|
+
};
|
|
7585
|
+
|
|
7586
|
+
// src/commands/GetFindingsV2Command.ts
|
|
7587
|
+
|
|
7588
|
+
|
|
7589
|
+
|
|
7590
|
+
var GetFindingsV2Command = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
7591
|
+
return [
|
|
7592
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
7593
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
7594
|
+
];
|
|
7595
|
+
}).s("SecurityHubAPIService", "GetFindingsV2", {}).n("SecurityHubClient", "GetFindingsV2Command").f(void 0, void 0).ser(se_GetFindingsV2Command).de(de_GetFindingsV2Command).build() {
|
|
7596
|
+
static {
|
|
7597
|
+
__name(this, "GetFindingsV2Command");
|
|
7598
|
+
}
|
|
7599
|
+
};
|
|
7600
|
+
|
|
5921
7601
|
// src/commands/GetInsightResultsCommand.ts
|
|
5922
7602
|
|
|
5923
7603
|
|
|
@@ -5993,6 +7673,36 @@ var GetMembersCommand = class extends import_smithy_client.Command.classBuilder(
|
|
|
5993
7673
|
}
|
|
5994
7674
|
};
|
|
5995
7675
|
|
|
7676
|
+
// src/commands/GetResourcesStatisticsV2Command.ts
|
|
7677
|
+
|
|
7678
|
+
|
|
7679
|
+
|
|
7680
|
+
var GetResourcesStatisticsV2Command = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
7681
|
+
return [
|
|
7682
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
7683
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
7684
|
+
];
|
|
7685
|
+
}).s("SecurityHubAPIService", "GetResourcesStatisticsV2", {}).n("SecurityHubClient", "GetResourcesStatisticsV2Command").f(void 0, void 0).ser(se_GetResourcesStatisticsV2Command).de(de_GetResourcesStatisticsV2Command).build() {
|
|
7686
|
+
static {
|
|
7687
|
+
__name(this, "GetResourcesStatisticsV2Command");
|
|
7688
|
+
}
|
|
7689
|
+
};
|
|
7690
|
+
|
|
7691
|
+
// src/commands/GetResourcesV2Command.ts
|
|
7692
|
+
|
|
7693
|
+
|
|
7694
|
+
|
|
7695
|
+
var GetResourcesV2Command = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
7696
|
+
return [
|
|
7697
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
7698
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
7699
|
+
];
|
|
7700
|
+
}).s("SecurityHubAPIService", "GetResourcesV2", {}).n("SecurityHubClient", "GetResourcesV2Command").f(void 0, void 0).ser(se_GetResourcesV2Command).de(de_GetResourcesV2Command).build() {
|
|
7701
|
+
static {
|
|
7702
|
+
__name(this, "GetResourcesV2Command");
|
|
7703
|
+
}
|
|
7704
|
+
};
|
|
7705
|
+
|
|
5996
7706
|
// src/commands/GetSecurityControlDefinitionCommand.ts
|
|
5997
7707
|
|
|
5998
7708
|
|
|
@@ -6023,6 +7733,21 @@ var InviteMembersCommand = class extends import_smithy_client.Command.classBuild
|
|
|
6023
7733
|
}
|
|
6024
7734
|
};
|
|
6025
7735
|
|
|
7736
|
+
// src/commands/ListAggregatorsV2Command.ts
|
|
7737
|
+
|
|
7738
|
+
|
|
7739
|
+
|
|
7740
|
+
var ListAggregatorsV2Command = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
7741
|
+
return [
|
|
7742
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
7743
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
7744
|
+
];
|
|
7745
|
+
}).s("SecurityHubAPIService", "ListAggregatorsV2", {}).n("SecurityHubClient", "ListAggregatorsV2Command").f(void 0, void 0).ser(se_ListAggregatorsV2Command).de(de_ListAggregatorsV2Command).build() {
|
|
7746
|
+
static {
|
|
7747
|
+
__name(this, "ListAggregatorsV2Command");
|
|
7748
|
+
}
|
|
7749
|
+
};
|
|
7750
|
+
|
|
6026
7751
|
// src/commands/ListAutomationRulesCommand.ts
|
|
6027
7752
|
|
|
6028
7753
|
|
|
@@ -6038,6 +7763,21 @@ var ListAutomationRulesCommand = class extends import_smithy_client.Command.clas
|
|
|
6038
7763
|
}
|
|
6039
7764
|
};
|
|
6040
7765
|
|
|
7766
|
+
// src/commands/ListAutomationRulesV2Command.ts
|
|
7767
|
+
|
|
7768
|
+
|
|
7769
|
+
|
|
7770
|
+
var ListAutomationRulesV2Command = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
7771
|
+
return [
|
|
7772
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
7773
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
7774
|
+
];
|
|
7775
|
+
}).s("SecurityHubAPIService", "ListAutomationRulesV2", {}).n("SecurityHubClient", "ListAutomationRulesV2Command").f(void 0, void 0).ser(se_ListAutomationRulesV2Command).de(de_ListAutomationRulesV2Command).build() {
|
|
7776
|
+
static {
|
|
7777
|
+
__name(this, "ListAutomationRulesV2Command");
|
|
7778
|
+
}
|
|
7779
|
+
};
|
|
7780
|
+
|
|
6041
7781
|
// src/commands/ListConfigurationPoliciesCommand.ts
|
|
6042
7782
|
|
|
6043
7783
|
|
|
@@ -6068,6 +7808,21 @@ var ListConfigurationPolicyAssociationsCommand = class extends import_smithy_cli
|
|
|
6068
7808
|
}
|
|
6069
7809
|
};
|
|
6070
7810
|
|
|
7811
|
+
// src/commands/ListConnectorsV2Command.ts
|
|
7812
|
+
|
|
7813
|
+
|
|
7814
|
+
|
|
7815
|
+
var ListConnectorsV2Command = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
7816
|
+
return [
|
|
7817
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
7818
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
7819
|
+
];
|
|
7820
|
+
}).s("SecurityHubAPIService", "ListConnectorsV2", {}).n("SecurityHubClient", "ListConnectorsV2Command").f(void 0, void 0).ser(se_ListConnectorsV2Command).de(de_ListConnectorsV2Command).build() {
|
|
7821
|
+
static {
|
|
7822
|
+
__name(this, "ListConnectorsV2Command");
|
|
7823
|
+
}
|
|
7824
|
+
};
|
|
7825
|
+
|
|
6071
7826
|
// src/commands/ListEnabledProductsForImportCommand.ts
|
|
6072
7827
|
|
|
6073
7828
|
|
|
@@ -6263,6 +8018,36 @@ var UpdateActionTargetCommand = class extends import_smithy_client.Command.class
|
|
|
6263
8018
|
}
|
|
6264
8019
|
};
|
|
6265
8020
|
|
|
8021
|
+
// src/commands/UpdateAggregatorV2Command.ts
|
|
8022
|
+
|
|
8023
|
+
|
|
8024
|
+
|
|
8025
|
+
var UpdateAggregatorV2Command = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
8026
|
+
return [
|
|
8027
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
8028
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
8029
|
+
];
|
|
8030
|
+
}).s("SecurityHubAPIService", "UpdateAggregatorV2", {}).n("SecurityHubClient", "UpdateAggregatorV2Command").f(void 0, void 0).ser(se_UpdateAggregatorV2Command).de(de_UpdateAggregatorV2Command).build() {
|
|
8031
|
+
static {
|
|
8032
|
+
__name(this, "UpdateAggregatorV2Command");
|
|
8033
|
+
}
|
|
8034
|
+
};
|
|
8035
|
+
|
|
8036
|
+
// src/commands/UpdateAutomationRuleV2Command.ts
|
|
8037
|
+
|
|
8038
|
+
|
|
8039
|
+
|
|
8040
|
+
var UpdateAutomationRuleV2Command = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
8041
|
+
return [
|
|
8042
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
8043
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
8044
|
+
];
|
|
8045
|
+
}).s("SecurityHubAPIService", "UpdateAutomationRuleV2", {}).n("SecurityHubClient", "UpdateAutomationRuleV2Command").f(void 0, void 0).ser(se_UpdateAutomationRuleV2Command).de(de_UpdateAutomationRuleV2Command).build() {
|
|
8046
|
+
static {
|
|
8047
|
+
__name(this, "UpdateAutomationRuleV2Command");
|
|
8048
|
+
}
|
|
8049
|
+
};
|
|
8050
|
+
|
|
6266
8051
|
// src/commands/UpdateConfigurationPolicyCommand.ts
|
|
6267
8052
|
|
|
6268
8053
|
|
|
@@ -6278,6 +8063,21 @@ var UpdateConfigurationPolicyCommand = class extends import_smithy_client.Comman
|
|
|
6278
8063
|
}
|
|
6279
8064
|
};
|
|
6280
8065
|
|
|
8066
|
+
// src/commands/UpdateConnectorV2Command.ts
|
|
8067
|
+
|
|
8068
|
+
|
|
8069
|
+
|
|
8070
|
+
var UpdateConnectorV2Command = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
8071
|
+
return [
|
|
8072
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
8073
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
8074
|
+
];
|
|
8075
|
+
}).s("SecurityHubAPIService", "UpdateConnectorV2", {}).n("SecurityHubClient", "UpdateConnectorV2Command").f(UpdateConnectorV2RequestFilterSensitiveLog, void 0).ser(se_UpdateConnectorV2Command).de(de_UpdateConnectorV2Command).build() {
|
|
8076
|
+
static {
|
|
8077
|
+
__name(this, "UpdateConnectorV2Command");
|
|
8078
|
+
}
|
|
8079
|
+
};
|
|
8080
|
+
|
|
6281
8081
|
// src/commands/UpdateFindingAggregatorCommand.ts
|
|
6282
8082
|
|
|
6283
8083
|
|
|
@@ -6397,16 +8197,25 @@ var commands = {
|
|
|
6397
8197
|
BatchImportFindingsCommand,
|
|
6398
8198
|
BatchUpdateAutomationRulesCommand,
|
|
6399
8199
|
BatchUpdateFindingsCommand,
|
|
8200
|
+
BatchUpdateFindingsV2Command,
|
|
6400
8201
|
BatchUpdateStandardsControlAssociationsCommand,
|
|
8202
|
+
ConnectorRegistrationsV2Command,
|
|
6401
8203
|
CreateActionTargetCommand,
|
|
8204
|
+
CreateAggregatorV2Command,
|
|
6402
8205
|
CreateAutomationRuleCommand,
|
|
8206
|
+
CreateAutomationRuleV2Command,
|
|
6403
8207
|
CreateConfigurationPolicyCommand,
|
|
8208
|
+
CreateConnectorV2Command,
|
|
6404
8209
|
CreateFindingAggregatorCommand,
|
|
6405
8210
|
CreateInsightCommand,
|
|
6406
8211
|
CreateMembersCommand,
|
|
8212
|
+
CreateTicketV2Command,
|
|
6407
8213
|
DeclineInvitationsCommand,
|
|
6408
8214
|
DeleteActionTargetCommand,
|
|
8215
|
+
DeleteAggregatorV2Command,
|
|
8216
|
+
DeleteAutomationRuleV2Command,
|
|
6409
8217
|
DeleteConfigurationPolicyCommand,
|
|
8218
|
+
DeleteConnectorV2Command,
|
|
6410
8219
|
DeleteFindingAggregatorCommand,
|
|
6411
8220
|
DeleteInsightCommand,
|
|
6412
8221
|
DeleteInvitationsCommand,
|
|
@@ -6415,34 +8224,48 @@ var commands = {
|
|
|
6415
8224
|
DescribeHubCommand,
|
|
6416
8225
|
DescribeOrganizationConfigurationCommand,
|
|
6417
8226
|
DescribeProductsCommand,
|
|
8227
|
+
DescribeProductsV2Command,
|
|
8228
|
+
DescribeSecurityHubV2Command,
|
|
6418
8229
|
DescribeStandardsCommand,
|
|
6419
8230
|
DescribeStandardsControlsCommand,
|
|
6420
8231
|
DisableImportFindingsForProductCommand,
|
|
6421
8232
|
DisableOrganizationAdminAccountCommand,
|
|
6422
8233
|
DisableSecurityHubCommand,
|
|
8234
|
+
DisableSecurityHubV2Command,
|
|
6423
8235
|
DisassociateFromAdministratorAccountCommand,
|
|
6424
8236
|
DisassociateFromMasterAccountCommand,
|
|
6425
8237
|
DisassociateMembersCommand,
|
|
6426
8238
|
EnableImportFindingsForProductCommand,
|
|
6427
8239
|
EnableOrganizationAdminAccountCommand,
|
|
6428
8240
|
EnableSecurityHubCommand,
|
|
8241
|
+
EnableSecurityHubV2Command,
|
|
6429
8242
|
GetAdministratorAccountCommand,
|
|
8243
|
+
GetAggregatorV2Command,
|
|
8244
|
+
GetAutomationRuleV2Command,
|
|
6430
8245
|
GetConfigurationPolicyCommand,
|
|
6431
8246
|
GetConfigurationPolicyAssociationCommand,
|
|
8247
|
+
GetConnectorV2Command,
|
|
6432
8248
|
GetEnabledStandardsCommand,
|
|
6433
8249
|
GetFindingAggregatorCommand,
|
|
6434
8250
|
GetFindingHistoryCommand,
|
|
6435
8251
|
GetFindingsCommand,
|
|
8252
|
+
GetFindingStatisticsV2Command,
|
|
8253
|
+
GetFindingsV2Command,
|
|
6436
8254
|
GetInsightResultsCommand,
|
|
6437
8255
|
GetInsightsCommand,
|
|
6438
8256
|
GetInvitationsCountCommand,
|
|
6439
8257
|
GetMasterAccountCommand,
|
|
6440
8258
|
GetMembersCommand,
|
|
8259
|
+
GetResourcesStatisticsV2Command,
|
|
8260
|
+
GetResourcesV2Command,
|
|
6441
8261
|
GetSecurityControlDefinitionCommand,
|
|
6442
8262
|
InviteMembersCommand,
|
|
8263
|
+
ListAggregatorsV2Command,
|
|
6443
8264
|
ListAutomationRulesCommand,
|
|
8265
|
+
ListAutomationRulesV2Command,
|
|
6444
8266
|
ListConfigurationPoliciesCommand,
|
|
6445
8267
|
ListConfigurationPolicyAssociationsCommand,
|
|
8268
|
+
ListConnectorsV2Command,
|
|
6446
8269
|
ListEnabledProductsForImportCommand,
|
|
6447
8270
|
ListFindingAggregatorsCommand,
|
|
6448
8271
|
ListInvitationsCommand,
|
|
@@ -6456,7 +8279,10 @@ var commands = {
|
|
|
6456
8279
|
TagResourceCommand,
|
|
6457
8280
|
UntagResourceCommand,
|
|
6458
8281
|
UpdateActionTargetCommand,
|
|
8282
|
+
UpdateAggregatorV2Command,
|
|
8283
|
+
UpdateAutomationRuleV2Command,
|
|
6459
8284
|
UpdateConfigurationPolicyCommand,
|
|
8285
|
+
UpdateConnectorV2Command,
|
|
6460
8286
|
UpdateFindingAggregatorCommand,
|
|
6461
8287
|
UpdateFindingsCommand,
|
|
6462
8288
|
UpdateInsightCommand,
|
|
@@ -6480,6 +8306,10 @@ var paginateDescribeActionTargets = (0, import_core.createPaginator)(SecurityHub
|
|
|
6480
8306
|
|
|
6481
8307
|
var paginateDescribeProducts = (0, import_core.createPaginator)(SecurityHubClient, DescribeProductsCommand, "NextToken", "NextToken", "MaxResults");
|
|
6482
8308
|
|
|
8309
|
+
// src/pagination/DescribeProductsV2Paginator.ts
|
|
8310
|
+
|
|
8311
|
+
var paginateDescribeProductsV2 = (0, import_core.createPaginator)(SecurityHubClient, DescribeProductsV2Command, "NextToken", "NextToken", "MaxResults");
|
|
8312
|
+
|
|
6483
8313
|
// src/pagination/DescribeStandardsControlsPaginator.ts
|
|
6484
8314
|
|
|
6485
8315
|
var paginateDescribeStandardsControls = (0, import_core.createPaginator)(SecurityHubClient, DescribeStandardsControlsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -6500,10 +8330,22 @@ var paginateGetFindingHistory = (0, import_core.createPaginator)(SecurityHubClie
|
|
|
6500
8330
|
|
|
6501
8331
|
var paginateGetFindings = (0, import_core.createPaginator)(SecurityHubClient, GetFindingsCommand, "NextToken", "NextToken", "MaxResults");
|
|
6502
8332
|
|
|
8333
|
+
// src/pagination/GetFindingsV2Paginator.ts
|
|
8334
|
+
|
|
8335
|
+
var paginateGetFindingsV2 = (0, import_core.createPaginator)(SecurityHubClient, GetFindingsV2Command, "NextToken", "NextToken", "MaxResults");
|
|
8336
|
+
|
|
6503
8337
|
// src/pagination/GetInsightsPaginator.ts
|
|
6504
8338
|
|
|
6505
8339
|
var paginateGetInsights = (0, import_core.createPaginator)(SecurityHubClient, GetInsightsCommand, "NextToken", "NextToken", "MaxResults");
|
|
6506
8340
|
|
|
8341
|
+
// src/pagination/GetResourcesV2Paginator.ts
|
|
8342
|
+
|
|
8343
|
+
var paginateGetResourcesV2 = (0, import_core.createPaginator)(SecurityHubClient, GetResourcesV2Command, "NextToken", "NextToken", "MaxResults");
|
|
8344
|
+
|
|
8345
|
+
// src/pagination/ListAggregatorsV2Paginator.ts
|
|
8346
|
+
|
|
8347
|
+
var paginateListAggregatorsV2 = (0, import_core.createPaginator)(SecurityHubClient, ListAggregatorsV2Command, "NextToken", "NextToken", "MaxResults");
|
|
8348
|
+
|
|
6507
8349
|
// src/pagination/ListConfigurationPoliciesPaginator.ts
|
|
6508
8350
|
|
|
6509
8351
|
var paginateListConfigurationPolicies = (0, import_core.createPaginator)(SecurityHubClient, ListConfigurationPoliciesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -6609,16 +8451,25 @@ var RecordState = {
|
|
|
6609
8451
|
BatchImportFindingsCommand,
|
|
6610
8452
|
BatchUpdateAutomationRulesCommand,
|
|
6611
8453
|
BatchUpdateFindingsCommand,
|
|
8454
|
+
BatchUpdateFindingsV2Command,
|
|
6612
8455
|
BatchUpdateStandardsControlAssociationsCommand,
|
|
8456
|
+
ConnectorRegistrationsV2Command,
|
|
6613
8457
|
CreateActionTargetCommand,
|
|
8458
|
+
CreateAggregatorV2Command,
|
|
6614
8459
|
CreateAutomationRuleCommand,
|
|
8460
|
+
CreateAutomationRuleV2Command,
|
|
6615
8461
|
CreateConfigurationPolicyCommand,
|
|
8462
|
+
CreateConnectorV2Command,
|
|
6616
8463
|
CreateFindingAggregatorCommand,
|
|
6617
8464
|
CreateInsightCommand,
|
|
6618
8465
|
CreateMembersCommand,
|
|
8466
|
+
CreateTicketV2Command,
|
|
6619
8467
|
DeclineInvitationsCommand,
|
|
6620
8468
|
DeleteActionTargetCommand,
|
|
8469
|
+
DeleteAggregatorV2Command,
|
|
8470
|
+
DeleteAutomationRuleV2Command,
|
|
6621
8471
|
DeleteConfigurationPolicyCommand,
|
|
8472
|
+
DeleteConnectorV2Command,
|
|
6622
8473
|
DeleteFindingAggregatorCommand,
|
|
6623
8474
|
DeleteInsightCommand,
|
|
6624
8475
|
DeleteInvitationsCommand,
|
|
@@ -6627,34 +8478,48 @@ var RecordState = {
|
|
|
6627
8478
|
DescribeHubCommand,
|
|
6628
8479
|
DescribeOrganizationConfigurationCommand,
|
|
6629
8480
|
DescribeProductsCommand,
|
|
8481
|
+
DescribeProductsV2Command,
|
|
8482
|
+
DescribeSecurityHubV2Command,
|
|
6630
8483
|
DescribeStandardsCommand,
|
|
6631
8484
|
DescribeStandardsControlsCommand,
|
|
6632
8485
|
DisableImportFindingsForProductCommand,
|
|
6633
8486
|
DisableOrganizationAdminAccountCommand,
|
|
6634
8487
|
DisableSecurityHubCommand,
|
|
8488
|
+
DisableSecurityHubV2Command,
|
|
6635
8489
|
DisassociateFromAdministratorAccountCommand,
|
|
6636
8490
|
DisassociateFromMasterAccountCommand,
|
|
6637
8491
|
DisassociateMembersCommand,
|
|
6638
8492
|
EnableImportFindingsForProductCommand,
|
|
6639
8493
|
EnableOrganizationAdminAccountCommand,
|
|
6640
8494
|
EnableSecurityHubCommand,
|
|
8495
|
+
EnableSecurityHubV2Command,
|
|
6641
8496
|
GetAdministratorAccountCommand,
|
|
8497
|
+
GetAggregatorV2Command,
|
|
8498
|
+
GetAutomationRuleV2Command,
|
|
6642
8499
|
GetConfigurationPolicyAssociationCommand,
|
|
6643
8500
|
GetConfigurationPolicyCommand,
|
|
8501
|
+
GetConnectorV2Command,
|
|
6644
8502
|
GetEnabledStandardsCommand,
|
|
6645
8503
|
GetFindingAggregatorCommand,
|
|
6646
8504
|
GetFindingHistoryCommand,
|
|
8505
|
+
GetFindingStatisticsV2Command,
|
|
6647
8506
|
GetFindingsCommand,
|
|
8507
|
+
GetFindingsV2Command,
|
|
6648
8508
|
GetInsightResultsCommand,
|
|
6649
8509
|
GetInsightsCommand,
|
|
6650
8510
|
GetInvitationsCountCommand,
|
|
6651
8511
|
GetMasterAccountCommand,
|
|
6652
8512
|
GetMembersCommand,
|
|
8513
|
+
GetResourcesStatisticsV2Command,
|
|
8514
|
+
GetResourcesV2Command,
|
|
6653
8515
|
GetSecurityControlDefinitionCommand,
|
|
6654
8516
|
InviteMembersCommand,
|
|
8517
|
+
ListAggregatorsV2Command,
|
|
6655
8518
|
ListAutomationRulesCommand,
|
|
8519
|
+
ListAutomationRulesV2Command,
|
|
6656
8520
|
ListConfigurationPoliciesCommand,
|
|
6657
8521
|
ListConfigurationPolicyAssociationsCommand,
|
|
8522
|
+
ListConnectorsV2Command,
|
|
6658
8523
|
ListEnabledProductsForImportCommand,
|
|
6659
8524
|
ListFindingAggregatorsCommand,
|
|
6660
8525
|
ListInvitationsCommand,
|
|
@@ -6668,7 +8533,10 @@ var RecordState = {
|
|
|
6668
8533
|
TagResourceCommand,
|
|
6669
8534
|
UntagResourceCommand,
|
|
6670
8535
|
UpdateActionTargetCommand,
|
|
8536
|
+
UpdateAggregatorV2Command,
|
|
8537
|
+
UpdateAutomationRuleV2Command,
|
|
6671
8538
|
UpdateConfigurationPolicyCommand,
|
|
8539
|
+
UpdateConnectorV2Command,
|
|
6672
8540
|
UpdateFindingAggregatorCommand,
|
|
6673
8541
|
UpdateFindingsCommand,
|
|
6674
8542
|
UpdateInsightCommand,
|
|
@@ -6678,12 +8546,16 @@ var RecordState = {
|
|
|
6678
8546
|
UpdateStandardsControlCommand,
|
|
6679
8547
|
paginateDescribeActionTargets,
|
|
6680
8548
|
paginateDescribeProducts,
|
|
8549
|
+
paginateDescribeProductsV2,
|
|
6681
8550
|
paginateDescribeStandardsControls,
|
|
6682
8551
|
paginateDescribeStandards,
|
|
6683
8552
|
paginateGetEnabledStandards,
|
|
6684
8553
|
paginateGetFindingHistory,
|
|
6685
8554
|
paginateGetFindings,
|
|
8555
|
+
paginateGetFindingsV2,
|
|
6686
8556
|
paginateGetInsights,
|
|
8557
|
+
paginateGetResourcesV2,
|
|
8558
|
+
paginateListAggregatorsV2,
|
|
6687
8559
|
paginateListConfigurationPolicies,
|
|
6688
8560
|
paginateListConfigurationPolicyAssociations,
|
|
6689
8561
|
paginateListEnabledProductsForImport,
|
|
@@ -6705,14 +8577,17 @@ var RecordState = {
|
|
|
6705
8577
|
AutomationRulesActionType,
|
|
6706
8578
|
ActorSessionMfaStatus,
|
|
6707
8579
|
AdminStatus,
|
|
8580
|
+
AllowedOperators,
|
|
6708
8581
|
ConfigurationPolicyAssociationStatus,
|
|
6709
8582
|
AssociationType,
|
|
6710
8583
|
AssociationStatus,
|
|
6711
8584
|
AutoEnableStandards,
|
|
8585
|
+
AutomationRulesActionTypeV2,
|
|
6712
8586
|
StringFilterComparison,
|
|
6713
8587
|
DateRangeUnit,
|
|
6714
8588
|
MapFilterComparison,
|
|
6715
8589
|
RuleStatus,
|
|
8590
|
+
RuleStatusV2,
|
|
6716
8591
|
AwsIamAccessKeyStatus,
|
|
6717
8592
|
AwsS3BucketNotificationConfigurationS3KeyFilterRuleName,
|
|
6718
8593
|
ComplianceStatus,
|
|
@@ -6738,17 +8613,47 @@ var RecordState = {
|
|
|
6738
8613
|
SeverityRating,
|
|
6739
8614
|
UpdateStatus,
|
|
6740
8615
|
UnprocessedErrorCode,
|
|
8616
|
+
BatchUpdateFindingsV2UnprocessedFindingErrorCode,
|
|
8617
|
+
ConflictException,
|
|
8618
|
+
InternalServerException,
|
|
8619
|
+
ThrottlingException,
|
|
8620
|
+
ValidationException,
|
|
8621
|
+
OcsfBooleanField,
|
|
8622
|
+
OcsfDateField,
|
|
8623
|
+
OcsfMapField,
|
|
8624
|
+
OcsfNumberField,
|
|
8625
|
+
OcsfStringField,
|
|
6741
8626
|
ConfigurationOptions,
|
|
8627
|
+
ConnectorAuthStatus,
|
|
8628
|
+
ConnectorProviderName,
|
|
8629
|
+
ConnectorStatus,
|
|
6742
8630
|
ControlFindingGenerator,
|
|
6743
8631
|
ResourceConflictException,
|
|
8632
|
+
Criteria,
|
|
6744
8633
|
Policy,
|
|
8634
|
+
ProviderConfiguration,
|
|
6745
8635
|
SecurityControlProperty,
|
|
6746
8636
|
OrganizationConfigurationConfigurationType,
|
|
6747
8637
|
OrganizationConfigurationStatus,
|
|
6748
8638
|
IntegrationType,
|
|
8639
|
+
IntegrationV2Type,
|
|
8640
|
+
SecurityHubFeature,
|
|
6749
8641
|
FindingHistoryUpdateSourceType,
|
|
8642
|
+
ProviderDetail,
|
|
6750
8643
|
SortOrder,
|
|
8644
|
+
ServiceNowProviderConfigurationFilterSensitiveLog,
|
|
8645
|
+
ProviderConfigurationFilterSensitiveLog,
|
|
8646
|
+
CreateConnectorV2RequestFilterSensitiveLog,
|
|
8647
|
+
GroupByField,
|
|
8648
|
+
ResourcesDateField,
|
|
8649
|
+
ResourcesMapField,
|
|
8650
|
+
ResourcesNumberField,
|
|
8651
|
+
ResourcesStringField,
|
|
8652
|
+
ResourceGroupByField,
|
|
8653
|
+
ResourceCategory,
|
|
6751
8654
|
RegionAvailabilityStatus,
|
|
6752
|
-
|
|
8655
|
+
ProviderUpdateConfiguration,
|
|
8656
|
+
ResourceInUseException,
|
|
8657
|
+
UpdateConnectorV2RequestFilterSensitiveLog
|
|
6753
8658
|
});
|
|
6754
8659
|
|