@aws-sdk/client-securityhub 3.1144.0 → 3.1145.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 +14 -0
- package/dist-cjs/index.js +343 -32
- package/dist-es/SecurityHub.js +8 -0
- package/dist-es/commands/GetRemediationsV2Command.js +4 -0
- package/dist-es/commands/ListExposuresByRemediationV2Command.js +4 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/enums.js +42 -0
- package/dist-es/pagination/GetRemediationsV2Paginator.js +4 -0
- package/dist-es/pagination/ListExposuresByRemediationV2Paginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +253 -31
- package/dist-types/SecurityHub.d.ts +29 -0
- package/dist-types/SecurityHubClient.d.ts +4 -2
- package/dist-types/commands/GetRemediationsV2Command.d.ts +218 -0
- package/dist-types/commands/GetResourcesStatisticsV2Command.d.ts +1 -2
- package/dist-types/commands/GetResourcesTrendsV2Command.d.ts +1 -2
- package/dist-types/commands/ListExposuresByRemediationV2Command.d.ts +120 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/enums.d.ts +90 -0
- package/dist-types/models/models_0.d.ts +7 -2
- package/dist-types/models/models_2.d.ts +286 -137
- package/dist-types/models/models_3.d.ts +563 -3
- package/dist-types/pagination/GetRemediationsV2Paginator.d.ts +7 -0
- package/dist-types/pagination/ListExposuresByRemediationV2Paginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +24 -0
- package/dist-types/ts3.4/SecurityHub.d.ts +49 -0
- package/dist-types/ts3.4/SecurityHubClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetRemediationsV2Command.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetResourcesStatisticsV2Command.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetResourcesTrendsV2Command.d.ts +1 -2
- package/dist-types/ts3.4/commands/ListExposuresByRemediationV2Command.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +49 -0
- package/dist-types/ts3.4/models/models_2.d.ts +84 -55
- package/dist-types/ts3.4/models/models_3.d.ts +134 -7
- package/dist-types/ts3.4/pagination/GetRemediationsV2Paginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListExposuresByRemediationV2Paginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +24 -0
- package/package.json +1 -1
|
@@ -77,6 +77,7 @@ import { type GetInvitationsCountCommandInput, type GetInvitationsCountCommandOu
|
|
|
77
77
|
import { type GetMasterAccountCommandInput, type GetMasterAccountCommandOutput } from "./commands/GetMasterAccountCommand";
|
|
78
78
|
import { type GetMembersCommandInput, type GetMembersCommandOutput } from "./commands/GetMembersCommand";
|
|
79
79
|
import { type GetRecommendedPolicyV2CommandInput, type GetRecommendedPolicyV2CommandOutput } from "./commands/GetRecommendedPolicyV2Command";
|
|
80
|
+
import { type GetRemediationsV2CommandInput, type GetRemediationsV2CommandOutput } from "./commands/GetRemediationsV2Command";
|
|
80
81
|
import { type GetResourcesStatisticsV2CommandInput, type GetResourcesStatisticsV2CommandOutput } from "./commands/GetResourcesStatisticsV2Command";
|
|
81
82
|
import { type GetResourcesTrendsV2CommandInput, type GetResourcesTrendsV2CommandOutput } from "./commands/GetResourcesTrendsV2Command";
|
|
82
83
|
import { type GetResourcesV2CommandInput, type GetResourcesV2CommandOutput } from "./commands/GetResourcesV2Command";
|
|
@@ -90,6 +91,7 @@ import { type ListConfigurationPolicyAssociationsCommandInput, type ListConfigur
|
|
|
90
91
|
import { type ListConnectorsCommandInput, type ListConnectorsCommandOutput } from "./commands/ListConnectorsCommand";
|
|
91
92
|
import { type ListConnectorsV2CommandInput, type ListConnectorsV2CommandOutput } from "./commands/ListConnectorsV2Command";
|
|
92
93
|
import { type ListEnabledProductsForImportCommandInput, type ListEnabledProductsForImportCommandOutput } from "./commands/ListEnabledProductsForImportCommand";
|
|
94
|
+
import { type ListExposuresByRemediationV2CommandInput, type ListExposuresByRemediationV2CommandOutput } from "./commands/ListExposuresByRemediationV2Command";
|
|
93
95
|
import { type ListFindingAggregatorsCommandInput, type ListFindingAggregatorsCommandOutput } from "./commands/ListFindingAggregatorsCommand";
|
|
94
96
|
import { type ListFreeTrialStatusesV2CommandInput, type ListFreeTrialStatusesV2CommandOutput } from "./commands/ListFreeTrialStatusesV2Command";
|
|
95
97
|
import { type ListInvitationsCommandInput, type ListInvitationsCommandOutput } from "./commands/ListInvitationsCommand";
|
|
@@ -613,6 +615,13 @@ export interface SecurityHub {
|
|
|
613
615
|
getRecommendedPolicyV2(args: GetRecommendedPolicyV2CommandInput, options?: SecurityHubRequestOptions): Promise<GetRecommendedPolicyV2CommandOutput>;
|
|
614
616
|
getRecommendedPolicyV2(args: GetRecommendedPolicyV2CommandInput, cb: (err: any, data?: GetRecommendedPolicyV2CommandOutput) => void): void;
|
|
615
617
|
getRecommendedPolicyV2(args: GetRecommendedPolicyV2CommandInput, options: SecurityHubRequestOptions, cb: (err: any, data?: GetRecommendedPolicyV2CommandOutput) => void): void;
|
|
618
|
+
/**
|
|
619
|
+
* @see {@link GetRemediationsV2Command}
|
|
620
|
+
*/
|
|
621
|
+
getRemediationsV2(): Promise<GetRemediationsV2CommandOutput>;
|
|
622
|
+
getRemediationsV2(args: GetRemediationsV2CommandInput, options?: SecurityHubRequestOptions): Promise<GetRemediationsV2CommandOutput>;
|
|
623
|
+
getRemediationsV2(args: GetRemediationsV2CommandInput, cb: (err: any, data?: GetRemediationsV2CommandOutput) => void): void;
|
|
624
|
+
getRemediationsV2(args: GetRemediationsV2CommandInput, options: SecurityHubRequestOptions, cb: (err: any, data?: GetRemediationsV2CommandOutput) => void): void;
|
|
616
625
|
/**
|
|
617
626
|
* @see {@link GetResourcesStatisticsV2Command}
|
|
618
627
|
*/
|
|
@@ -700,6 +709,12 @@ export interface SecurityHub {
|
|
|
700
709
|
listEnabledProductsForImport(args: ListEnabledProductsForImportCommandInput, options?: SecurityHubRequestOptions): Promise<ListEnabledProductsForImportCommandOutput>;
|
|
701
710
|
listEnabledProductsForImport(args: ListEnabledProductsForImportCommandInput, cb: (err: any, data?: ListEnabledProductsForImportCommandOutput) => void): void;
|
|
702
711
|
listEnabledProductsForImport(args: ListEnabledProductsForImportCommandInput, options: SecurityHubRequestOptions, cb: (err: any, data?: ListEnabledProductsForImportCommandOutput) => void): void;
|
|
712
|
+
/**
|
|
713
|
+
* @see {@link ListExposuresByRemediationV2Command}
|
|
714
|
+
*/
|
|
715
|
+
listExposuresByRemediationV2(args: ListExposuresByRemediationV2CommandInput, options?: SecurityHubRequestOptions): Promise<ListExposuresByRemediationV2CommandOutput>;
|
|
716
|
+
listExposuresByRemediationV2(args: ListExposuresByRemediationV2CommandInput, cb: (err: any, data?: ListExposuresByRemediationV2CommandOutput) => void): void;
|
|
717
|
+
listExposuresByRemediationV2(args: ListExposuresByRemediationV2CommandInput, options: SecurityHubRequestOptions, cb: (err: any, data?: ListExposuresByRemediationV2CommandOutput) => void): void;
|
|
703
718
|
/**
|
|
704
719
|
* @see {@link ListFindingAggregatorsCommand}
|
|
705
720
|
*/
|
|
@@ -947,6 +962,13 @@ export interface SecurityHub {
|
|
|
947
962
|
* @returns AsyncIterable of {@link GetRecommendedPolicyV2CommandOutput}.
|
|
948
963
|
*/
|
|
949
964
|
paginateGetRecommendedPolicyV2(args: GetRecommendedPolicyV2CommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetRecommendedPolicyV2CommandOutput>;
|
|
965
|
+
/**
|
|
966
|
+
* @see {@link GetRemediationsV2Command}
|
|
967
|
+
* @param args - command input.
|
|
968
|
+
* @param paginationConfig - optional pagination config.
|
|
969
|
+
* @returns AsyncIterable of {@link GetRemediationsV2CommandOutput}.
|
|
970
|
+
*/
|
|
971
|
+
paginateGetRemediationsV2(args?: GetRemediationsV2CommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<GetRemediationsV2CommandOutput>;
|
|
950
972
|
/**
|
|
951
973
|
* @see {@link GetResourcesTrendsV2Command}
|
|
952
974
|
* @param args - command input.
|
|
@@ -989,6 +1011,13 @@ export interface SecurityHub {
|
|
|
989
1011
|
* @returns AsyncIterable of {@link ListEnabledProductsForImportCommandOutput}.
|
|
990
1012
|
*/
|
|
991
1013
|
paginateListEnabledProductsForImport(args?: ListEnabledProductsForImportCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListEnabledProductsForImportCommandOutput>;
|
|
1014
|
+
/**
|
|
1015
|
+
* @see {@link ListExposuresByRemediationV2Command}
|
|
1016
|
+
* @param args - command input.
|
|
1017
|
+
* @param paginationConfig - optional pagination config.
|
|
1018
|
+
* @returns AsyncIterable of {@link ListExposuresByRemediationV2CommandOutput}.
|
|
1019
|
+
*/
|
|
1020
|
+
paginateListExposuresByRemediationV2(args: ListExposuresByRemediationV2CommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListExposuresByRemediationV2CommandOutput>;
|
|
992
1021
|
/**
|
|
993
1022
|
* @see {@link ListFindingAggregatorsCommand}
|
|
994
1023
|
* @param args - command input.
|
|
@@ -84,6 +84,7 @@ import type { GetInvitationsCountCommandInput, GetInvitationsCountCommandOutput
|
|
|
84
84
|
import type { GetMasterAccountCommandInput, GetMasterAccountCommandOutput } from "./commands/GetMasterAccountCommand";
|
|
85
85
|
import type { GetMembersCommandInput, GetMembersCommandOutput } from "./commands/GetMembersCommand";
|
|
86
86
|
import type { GetRecommendedPolicyV2CommandInput, GetRecommendedPolicyV2CommandOutput } from "./commands/GetRecommendedPolicyV2Command";
|
|
87
|
+
import type { GetRemediationsV2CommandInput, GetRemediationsV2CommandOutput } from "./commands/GetRemediationsV2Command";
|
|
87
88
|
import type { GetResourcesStatisticsV2CommandInput, GetResourcesStatisticsV2CommandOutput } from "./commands/GetResourcesStatisticsV2Command";
|
|
88
89
|
import type { GetResourcesTrendsV2CommandInput, GetResourcesTrendsV2CommandOutput } from "./commands/GetResourcesTrendsV2Command";
|
|
89
90
|
import type { GetResourcesV2CommandInput, GetResourcesV2CommandOutput } from "./commands/GetResourcesV2Command";
|
|
@@ -97,6 +98,7 @@ import type { ListConfigurationPolicyAssociationsCommandInput, ListConfiguration
|
|
|
97
98
|
import type { ListConnectorsCommandInput, ListConnectorsCommandOutput } from "./commands/ListConnectorsCommand";
|
|
98
99
|
import type { ListConnectorsV2CommandInput, ListConnectorsV2CommandOutput } from "./commands/ListConnectorsV2Command";
|
|
99
100
|
import type { ListEnabledProductsForImportCommandInput, ListEnabledProductsForImportCommandOutput } from "./commands/ListEnabledProductsForImportCommand";
|
|
101
|
+
import type { ListExposuresByRemediationV2CommandInput, ListExposuresByRemediationV2CommandOutput } from "./commands/ListExposuresByRemediationV2Command";
|
|
100
102
|
import type { ListFindingAggregatorsCommandInput, ListFindingAggregatorsCommandOutput } from "./commands/ListFindingAggregatorsCommand";
|
|
101
103
|
import type { ListFreeTrialStatusesV2CommandInput, ListFreeTrialStatusesV2CommandOutput } from "./commands/ListFreeTrialStatusesV2Command";
|
|
102
104
|
import type { ListInvitationsCommandInput, ListInvitationsCommandOutput } from "./commands/ListInvitationsCommand";
|
|
@@ -129,11 +131,11 @@ export { __Client };
|
|
|
129
131
|
/**
|
|
130
132
|
* @public
|
|
131
133
|
*/
|
|
132
|
-
export type ServiceInputTypes = AcceptAdministratorInvitationCommandInput | AcceptInvitationCommandInput | BatchDeleteAutomationRulesCommandInput | BatchDisableStandardsCommandInput | BatchEnableStandardsCommandInput | BatchGetAutomationRulesCommandInput | BatchGetConfigurationPolicyAssociationsCommandInput | BatchGetSecurityControlsCommandInput | BatchGetStandardsControlAssociationsCommandInput | BatchImportFindingsCommandInput | BatchUpdateAutomationRulesCommandInput | BatchUpdateFindingsCommandInput | BatchUpdateFindingsV2CommandInput | BatchUpdateStandardsControlAssociationsCommandInput | CreateActionTargetCommandInput | CreateAggregatorV2CommandInput | CreateAutomationRuleCommandInput | CreateAutomationRuleV2CommandInput | CreateConfigurationPolicyCommandInput | CreateConnectorCommandInput | CreateConnectorV2CommandInput | CreateFindingAggregatorCommandInput | CreateInsightCommandInput | CreateMembersCommandInput | CreateTicketV2CommandInput | DeclineInvitationsCommandInput | DeleteActionTargetCommandInput | DeleteAggregatorV2CommandInput | DeleteAutomationRuleV2CommandInput | DeleteConfigurationPolicyCommandInput | DeleteConnectorCommandInput | DeleteConnectorV2CommandInput | DeleteFindingAggregatorCommandInput | DeleteInsightCommandInput | DeleteInvitationsCommandInput | DeleteMembersCommandInput | DescribeActionTargetsCommandInput | DescribeHubCommandInput | DescribeOrganizationConfigurationCommandInput | DescribeProductsCommandInput | DescribeProductsV2CommandInput | DescribeSecurityHubV2CommandInput | DescribeStandardsCommandInput | DescribeStandardsControlsCommandInput | DisableImportFindingsForProductCommandInput | DisableOrganizationAdminAccountCommandInput | DisableSecurityHubCommandInput | DisableSecurityHubFeatureV2CommandInput | DisableSecurityHubV2CommandInput | DisassociateFromAdministratorAccountCommandInput | DisassociateFromMasterAccountCommandInput | DisassociateMembersCommandInput | EnableImportFindingsForProductCommandInput | EnableOrganizationAdminAccountCommandInput | EnableSecurityHubCommandInput | EnableSecurityHubFeatureV2CommandInput | EnableSecurityHubV2CommandInput | GenerateRecommendedPolicyV2CommandInput | GetAdministratorAccountCommandInput | GetAggregatorV2CommandInput | GetAutomationRuleV2CommandInput | GetConfigurationPolicyAssociationCommandInput | GetConfigurationPolicyCommandInput | GetConnectorCommandInput | GetConnectorV2CommandInput | GetEnabledStandardsCommandInput | GetFindingAggregatorCommandInput | GetFindingHistoryCommandInput | GetFindingStatisticsV2CommandInput | GetFindingsCommandInput | GetFindingsTrendsV2CommandInput | GetFindingsV2CommandInput | GetInsightResultsCommandInput | GetInsightsCommandInput | GetInvitationsCountCommandInput | GetMasterAccountCommandInput | GetMembersCommandInput | GetRecommendedPolicyV2CommandInput | GetResourcesStatisticsV2CommandInput | GetResourcesTrendsV2CommandInput | GetResourcesV2CommandInput | GetSecurityControlDefinitionCommandInput | InviteMembersCommandInput | ListAggregatorsV2CommandInput | ListAutomationRulesCommandInput | ListAutomationRulesV2CommandInput | ListConfigurationPoliciesCommandInput | ListConfigurationPolicyAssociationsCommandInput | ListConnectorsCommandInput | ListConnectorsV2CommandInput | ListEnabledProductsForImportCommandInput | ListFindingAggregatorsCommandInput | ListFreeTrialStatusesV2CommandInput | ListInvitationsCommandInput | ListMembersCommandInput | ListOrganizationAdminAccountsCommandInput | ListSecurityControlDefinitionsCommandInput | ListStandardsControlAssociationsCommandInput | ListTagsForResourceCommandInput | RegisterConnectorV2CommandInput | StartConfigurationPolicyAssociationCommandInput | StartConfigurationPolicyDisassociationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateActionTargetCommandInput | UpdateAggregatorV2CommandInput | UpdateAutomationRuleV2CommandInput | UpdateConfigurationPolicyCommandInput | UpdateConnectorCommandInput | UpdateConnectorV2CommandInput | UpdateFindingAggregatorCommandInput | UpdateFindingsCommandInput | UpdateInsightCommandInput | UpdateOrganizationConfigurationCommandInput | UpdateSecurityControlCommandInput | UpdateSecurityHubConfigurationCommandInput | UpdateStandardsControlCommandInput;
|
|
134
|
+
export type ServiceInputTypes = AcceptAdministratorInvitationCommandInput | AcceptInvitationCommandInput | BatchDeleteAutomationRulesCommandInput | BatchDisableStandardsCommandInput | BatchEnableStandardsCommandInput | BatchGetAutomationRulesCommandInput | BatchGetConfigurationPolicyAssociationsCommandInput | BatchGetSecurityControlsCommandInput | BatchGetStandardsControlAssociationsCommandInput | BatchImportFindingsCommandInput | BatchUpdateAutomationRulesCommandInput | BatchUpdateFindingsCommandInput | BatchUpdateFindingsV2CommandInput | BatchUpdateStandardsControlAssociationsCommandInput | CreateActionTargetCommandInput | CreateAggregatorV2CommandInput | CreateAutomationRuleCommandInput | CreateAutomationRuleV2CommandInput | CreateConfigurationPolicyCommandInput | CreateConnectorCommandInput | CreateConnectorV2CommandInput | CreateFindingAggregatorCommandInput | CreateInsightCommandInput | CreateMembersCommandInput | CreateTicketV2CommandInput | DeclineInvitationsCommandInput | DeleteActionTargetCommandInput | DeleteAggregatorV2CommandInput | DeleteAutomationRuleV2CommandInput | DeleteConfigurationPolicyCommandInput | DeleteConnectorCommandInput | DeleteConnectorV2CommandInput | DeleteFindingAggregatorCommandInput | DeleteInsightCommandInput | DeleteInvitationsCommandInput | DeleteMembersCommandInput | DescribeActionTargetsCommandInput | DescribeHubCommandInput | DescribeOrganizationConfigurationCommandInput | DescribeProductsCommandInput | DescribeProductsV2CommandInput | DescribeSecurityHubV2CommandInput | DescribeStandardsCommandInput | DescribeStandardsControlsCommandInput | DisableImportFindingsForProductCommandInput | DisableOrganizationAdminAccountCommandInput | DisableSecurityHubCommandInput | DisableSecurityHubFeatureV2CommandInput | DisableSecurityHubV2CommandInput | DisassociateFromAdministratorAccountCommandInput | DisassociateFromMasterAccountCommandInput | DisassociateMembersCommandInput | EnableImportFindingsForProductCommandInput | EnableOrganizationAdminAccountCommandInput | EnableSecurityHubCommandInput | EnableSecurityHubFeatureV2CommandInput | EnableSecurityHubV2CommandInput | GenerateRecommendedPolicyV2CommandInput | GetAdministratorAccountCommandInput | GetAggregatorV2CommandInput | GetAutomationRuleV2CommandInput | GetConfigurationPolicyAssociationCommandInput | GetConfigurationPolicyCommandInput | GetConnectorCommandInput | GetConnectorV2CommandInput | GetEnabledStandardsCommandInput | GetFindingAggregatorCommandInput | GetFindingHistoryCommandInput | GetFindingStatisticsV2CommandInput | GetFindingsCommandInput | GetFindingsTrendsV2CommandInput | GetFindingsV2CommandInput | GetInsightResultsCommandInput | GetInsightsCommandInput | GetInvitationsCountCommandInput | GetMasterAccountCommandInput | GetMembersCommandInput | GetRecommendedPolicyV2CommandInput | GetRemediationsV2CommandInput | GetResourcesStatisticsV2CommandInput | GetResourcesTrendsV2CommandInput | GetResourcesV2CommandInput | GetSecurityControlDefinitionCommandInput | InviteMembersCommandInput | ListAggregatorsV2CommandInput | ListAutomationRulesCommandInput | ListAutomationRulesV2CommandInput | ListConfigurationPoliciesCommandInput | ListConfigurationPolicyAssociationsCommandInput | ListConnectorsCommandInput | ListConnectorsV2CommandInput | ListEnabledProductsForImportCommandInput | ListExposuresByRemediationV2CommandInput | ListFindingAggregatorsCommandInput | ListFreeTrialStatusesV2CommandInput | ListInvitationsCommandInput | ListMembersCommandInput | ListOrganizationAdminAccountsCommandInput | ListSecurityControlDefinitionsCommandInput | ListStandardsControlAssociationsCommandInput | ListTagsForResourceCommandInput | RegisterConnectorV2CommandInput | StartConfigurationPolicyAssociationCommandInput | StartConfigurationPolicyDisassociationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateActionTargetCommandInput | UpdateAggregatorV2CommandInput | UpdateAutomationRuleV2CommandInput | UpdateConfigurationPolicyCommandInput | UpdateConnectorCommandInput | UpdateConnectorV2CommandInput | UpdateFindingAggregatorCommandInput | UpdateFindingsCommandInput | UpdateInsightCommandInput | UpdateOrganizationConfigurationCommandInput | UpdateSecurityControlCommandInput | UpdateSecurityHubConfigurationCommandInput | UpdateStandardsControlCommandInput;
|
|
133
135
|
/**
|
|
134
136
|
* @public
|
|
135
137
|
*/
|
|
136
|
-
export type ServiceOutputTypes = AcceptAdministratorInvitationCommandOutput | AcceptInvitationCommandOutput | BatchDeleteAutomationRulesCommandOutput | BatchDisableStandardsCommandOutput | BatchEnableStandardsCommandOutput | BatchGetAutomationRulesCommandOutput | BatchGetConfigurationPolicyAssociationsCommandOutput | BatchGetSecurityControlsCommandOutput | BatchGetStandardsControlAssociationsCommandOutput | BatchImportFindingsCommandOutput | BatchUpdateAutomationRulesCommandOutput | BatchUpdateFindingsCommandOutput | BatchUpdateFindingsV2CommandOutput | BatchUpdateStandardsControlAssociationsCommandOutput | CreateActionTargetCommandOutput | CreateAggregatorV2CommandOutput | CreateAutomationRuleCommandOutput | CreateAutomationRuleV2CommandOutput | CreateConfigurationPolicyCommandOutput | CreateConnectorCommandOutput | CreateConnectorV2CommandOutput | CreateFindingAggregatorCommandOutput | CreateInsightCommandOutput | CreateMembersCommandOutput | CreateTicketV2CommandOutput | DeclineInvitationsCommandOutput | DeleteActionTargetCommandOutput | DeleteAggregatorV2CommandOutput | DeleteAutomationRuleV2CommandOutput | DeleteConfigurationPolicyCommandOutput | DeleteConnectorCommandOutput | DeleteConnectorV2CommandOutput | DeleteFindingAggregatorCommandOutput | DeleteInsightCommandOutput | DeleteInvitationsCommandOutput | DeleteMembersCommandOutput | DescribeActionTargetsCommandOutput | DescribeHubCommandOutput | DescribeOrganizationConfigurationCommandOutput | DescribeProductsCommandOutput | DescribeProductsV2CommandOutput | DescribeSecurityHubV2CommandOutput | DescribeStandardsCommandOutput | DescribeStandardsControlsCommandOutput | DisableImportFindingsForProductCommandOutput | DisableOrganizationAdminAccountCommandOutput | DisableSecurityHubCommandOutput | DisableSecurityHubFeatureV2CommandOutput | DisableSecurityHubV2CommandOutput | DisassociateFromAdministratorAccountCommandOutput | DisassociateFromMasterAccountCommandOutput | DisassociateMembersCommandOutput | EnableImportFindingsForProductCommandOutput | EnableOrganizationAdminAccountCommandOutput | EnableSecurityHubCommandOutput | EnableSecurityHubFeatureV2CommandOutput | EnableSecurityHubV2CommandOutput | GenerateRecommendedPolicyV2CommandOutput | GetAdministratorAccountCommandOutput | GetAggregatorV2CommandOutput | GetAutomationRuleV2CommandOutput | GetConfigurationPolicyAssociationCommandOutput | GetConfigurationPolicyCommandOutput | GetConnectorCommandOutput | GetConnectorV2CommandOutput | GetEnabledStandardsCommandOutput | GetFindingAggregatorCommandOutput | GetFindingHistoryCommandOutput | GetFindingStatisticsV2CommandOutput | GetFindingsCommandOutput | GetFindingsTrendsV2CommandOutput | GetFindingsV2CommandOutput | GetInsightResultsCommandOutput | GetInsightsCommandOutput | GetInvitationsCountCommandOutput | GetMasterAccountCommandOutput | GetMembersCommandOutput | GetRecommendedPolicyV2CommandOutput | GetResourcesStatisticsV2CommandOutput | GetResourcesTrendsV2CommandOutput | GetResourcesV2CommandOutput | GetSecurityControlDefinitionCommandOutput | InviteMembersCommandOutput | ListAggregatorsV2CommandOutput | ListAutomationRulesCommandOutput | ListAutomationRulesV2CommandOutput | ListConfigurationPoliciesCommandOutput | ListConfigurationPolicyAssociationsCommandOutput | ListConnectorsCommandOutput | ListConnectorsV2CommandOutput | ListEnabledProductsForImportCommandOutput | ListFindingAggregatorsCommandOutput | ListFreeTrialStatusesV2CommandOutput | ListInvitationsCommandOutput | ListMembersCommandOutput | ListOrganizationAdminAccountsCommandOutput | ListSecurityControlDefinitionsCommandOutput | ListStandardsControlAssociationsCommandOutput | ListTagsForResourceCommandOutput | RegisterConnectorV2CommandOutput | StartConfigurationPolicyAssociationCommandOutput | StartConfigurationPolicyDisassociationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateActionTargetCommandOutput | UpdateAggregatorV2CommandOutput | UpdateAutomationRuleV2CommandOutput | UpdateConfigurationPolicyCommandOutput | UpdateConnectorCommandOutput | UpdateConnectorV2CommandOutput | UpdateFindingAggregatorCommandOutput | UpdateFindingsCommandOutput | UpdateInsightCommandOutput | UpdateOrganizationConfigurationCommandOutput | UpdateSecurityControlCommandOutput | UpdateSecurityHubConfigurationCommandOutput | UpdateStandardsControlCommandOutput;
|
|
138
|
+
export type ServiceOutputTypes = AcceptAdministratorInvitationCommandOutput | AcceptInvitationCommandOutput | BatchDeleteAutomationRulesCommandOutput | BatchDisableStandardsCommandOutput | BatchEnableStandardsCommandOutput | BatchGetAutomationRulesCommandOutput | BatchGetConfigurationPolicyAssociationsCommandOutput | BatchGetSecurityControlsCommandOutput | BatchGetStandardsControlAssociationsCommandOutput | BatchImportFindingsCommandOutput | BatchUpdateAutomationRulesCommandOutput | BatchUpdateFindingsCommandOutput | BatchUpdateFindingsV2CommandOutput | BatchUpdateStandardsControlAssociationsCommandOutput | CreateActionTargetCommandOutput | CreateAggregatorV2CommandOutput | CreateAutomationRuleCommandOutput | CreateAutomationRuleV2CommandOutput | CreateConfigurationPolicyCommandOutput | CreateConnectorCommandOutput | CreateConnectorV2CommandOutput | CreateFindingAggregatorCommandOutput | CreateInsightCommandOutput | CreateMembersCommandOutput | CreateTicketV2CommandOutput | DeclineInvitationsCommandOutput | DeleteActionTargetCommandOutput | DeleteAggregatorV2CommandOutput | DeleteAutomationRuleV2CommandOutput | DeleteConfigurationPolicyCommandOutput | DeleteConnectorCommandOutput | DeleteConnectorV2CommandOutput | DeleteFindingAggregatorCommandOutput | DeleteInsightCommandOutput | DeleteInvitationsCommandOutput | DeleteMembersCommandOutput | DescribeActionTargetsCommandOutput | DescribeHubCommandOutput | DescribeOrganizationConfigurationCommandOutput | DescribeProductsCommandOutput | DescribeProductsV2CommandOutput | DescribeSecurityHubV2CommandOutput | DescribeStandardsCommandOutput | DescribeStandardsControlsCommandOutput | DisableImportFindingsForProductCommandOutput | DisableOrganizationAdminAccountCommandOutput | DisableSecurityHubCommandOutput | DisableSecurityHubFeatureV2CommandOutput | DisableSecurityHubV2CommandOutput | DisassociateFromAdministratorAccountCommandOutput | DisassociateFromMasterAccountCommandOutput | DisassociateMembersCommandOutput | EnableImportFindingsForProductCommandOutput | EnableOrganizationAdminAccountCommandOutput | EnableSecurityHubCommandOutput | EnableSecurityHubFeatureV2CommandOutput | EnableSecurityHubV2CommandOutput | GenerateRecommendedPolicyV2CommandOutput | GetAdministratorAccountCommandOutput | GetAggregatorV2CommandOutput | GetAutomationRuleV2CommandOutput | GetConfigurationPolicyAssociationCommandOutput | GetConfigurationPolicyCommandOutput | GetConnectorCommandOutput | GetConnectorV2CommandOutput | GetEnabledStandardsCommandOutput | GetFindingAggregatorCommandOutput | GetFindingHistoryCommandOutput | GetFindingStatisticsV2CommandOutput | GetFindingsCommandOutput | GetFindingsTrendsV2CommandOutput | GetFindingsV2CommandOutput | GetInsightResultsCommandOutput | GetInsightsCommandOutput | GetInvitationsCountCommandOutput | GetMasterAccountCommandOutput | GetMembersCommandOutput | GetRecommendedPolicyV2CommandOutput | GetRemediationsV2CommandOutput | GetResourcesStatisticsV2CommandOutput | GetResourcesTrendsV2CommandOutput | GetResourcesV2CommandOutput | GetSecurityControlDefinitionCommandOutput | InviteMembersCommandOutput | ListAggregatorsV2CommandOutput | ListAutomationRulesCommandOutput | ListAutomationRulesV2CommandOutput | ListConfigurationPoliciesCommandOutput | ListConfigurationPolicyAssociationsCommandOutput | ListConnectorsCommandOutput | ListConnectorsV2CommandOutput | ListEnabledProductsForImportCommandOutput | ListExposuresByRemediationV2CommandOutput | ListFindingAggregatorsCommandOutput | ListFreeTrialStatusesV2CommandOutput | ListInvitationsCommandOutput | ListMembersCommandOutput | ListOrganizationAdminAccountsCommandOutput | ListSecurityControlDefinitionsCommandOutput | ListStandardsControlAssociationsCommandOutput | ListTagsForResourceCommandOutput | RegisterConnectorV2CommandOutput | StartConfigurationPolicyAssociationCommandOutput | StartConfigurationPolicyDisassociationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateActionTargetCommandOutput | UpdateAggregatorV2CommandOutput | UpdateAutomationRuleV2CommandOutput | UpdateConfigurationPolicyCommandOutput | UpdateConnectorCommandOutput | UpdateConnectorV2CommandOutput | UpdateFindingAggregatorCommandOutput | UpdateFindingsCommandOutput | UpdateInsightCommandOutput | UpdateOrganizationConfigurationCommandOutput | UpdateSecurityControlCommandOutput | UpdateSecurityHubConfigurationCommandOutput | UpdateStandardsControlCommandOutput;
|
|
137
139
|
/**
|
|
138
140
|
* @public
|
|
139
141
|
*/
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetRemediationsV2Request } from "../models/models_2";
|
|
3
|
+
import type { GetRemediationsV2Response } from "../models/models_3";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export type { __MetadataBearer };
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*
|
|
11
|
+
* The input for {@link GetRemediationsV2Command}.
|
|
12
|
+
*/
|
|
13
|
+
export interface GetRemediationsV2CommandInput extends GetRemediationsV2Request {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
*
|
|
18
|
+
* The output of {@link GetRemediationsV2Command}.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetRemediationsV2CommandOutput extends GetRemediationsV2Response, __MetadataBearer {
|
|
21
|
+
}
|
|
22
|
+
declare const GetRemediationsV2Command_base: {
|
|
23
|
+
new (input: GetRemediationsV2CommandInput): import("@smithy/core/client").CommandImpl<GetRemediationsV2CommandInput, GetRemediationsV2CommandOutput, import("..").SecurityHubClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
new (...[input]: [] | [GetRemediationsV2CommandInput]): import("@smithy/core/client").CommandImpl<GetRemediationsV2CommandInput, GetRemediationsV2CommandOutput, import("..").SecurityHubClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* <p>Retrieves remediation targets for the account, or for all member accounts if the caller is
|
|
29
|
+
* the delegated administrator. Results are sorted by priority, highest first, and are paginated.
|
|
30
|
+
* Use <code>TargetUid</code> or <code>MetadataUid</code> to scope the request to a single target
|
|
31
|
+
* or finding.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { SecurityHubClient, GetRemediationsV2Command } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
36
|
+
* // const { SecurityHubClient, GetRemediationsV2Command } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
37
|
+
* // import type { SecurityHubClientConfig } from "@aws-sdk/client-securityhub";
|
|
38
|
+
* const config = {}; // type is SecurityHubClientConfig
|
|
39
|
+
* const client = new SecurityHubClient(config);
|
|
40
|
+
* const input = { // GetRemediationsV2Request
|
|
41
|
+
* TargetUid: "STRING_VALUE",
|
|
42
|
+
* MetadataUid: "STRING_VALUE",
|
|
43
|
+
* Filters: { // RemediationFilters
|
|
44
|
+
* CompositeFilters: [ // RemediationCompositeFilterList
|
|
45
|
+
* { // RemediationCompositeFilter
|
|
46
|
+
* StringFilters: [ // RemediationStringFilterList
|
|
47
|
+
* { // RemediationStringFilter
|
|
48
|
+
* FieldName: "Resource.Type" || "Priority" || "Status" || "Resource.Id" || "Resource.ResourceOwnerAccountId" || "Resource.CloudProvider", // required
|
|
49
|
+
* Filter: { // RemediationStringFilterCondition
|
|
50
|
+
* Value: "STRING_VALUE", // required
|
|
51
|
+
* },
|
|
52
|
+
* },
|
|
53
|
+
* ],
|
|
54
|
+
* },
|
|
55
|
+
* ],
|
|
56
|
+
* },
|
|
57
|
+
* ShowGuidance: true || false,
|
|
58
|
+
* GuidanceFormat: "All" || "AwsCli" || "Cli" || "Python" || "Terraform" || "Cdk" || "CloudFormation" || "IaC" || "Template",
|
|
59
|
+
* MaxResults: Number("int"),
|
|
60
|
+
* NextToken: "STRING_VALUE",
|
|
61
|
+
* };
|
|
62
|
+
* const command = new GetRemediationsV2Command(input);
|
|
63
|
+
* const response = await client.send(command);
|
|
64
|
+
* // { // GetRemediationsV2Response
|
|
65
|
+
* // Items: [ // RemediationV2ItemList // required
|
|
66
|
+
* // { // RemediationV2Item
|
|
67
|
+
* // TargetUid: "STRING_VALUE", // required
|
|
68
|
+
* // Outcome: { // RemediationOutcome
|
|
69
|
+
* // ResolvedFindingsCount: Number("int"), // required
|
|
70
|
+
* // SeverityReductionFindingsCount: Number("int"), // required
|
|
71
|
+
* // SeverityUnchangedCount: Number("int"), // required
|
|
72
|
+
* // },
|
|
73
|
+
* // Priority: "Critical" || "High" || "Medium" || "Low", // required
|
|
74
|
+
* // RemediationSummary: { // RemediationSummaryDetail
|
|
75
|
+
* // Action: "STRING_VALUE", // required
|
|
76
|
+
* // Description: "STRING_VALUE",
|
|
77
|
+
* // IsImmediate: true || false, // required
|
|
78
|
+
* // PostRemediationSteps: [ // RemediationStringList
|
|
79
|
+
* // "STRING_VALUE",
|
|
80
|
+
* // ],
|
|
81
|
+
* // KbArticles: [ // KbArticleList
|
|
82
|
+
* // { // KbArticle
|
|
83
|
+
* // Title: "STRING_VALUE", // required
|
|
84
|
+
* // Url: "STRING_VALUE", // required
|
|
85
|
+
* // },
|
|
86
|
+
* // ],
|
|
87
|
+
* // },
|
|
88
|
+
* // Resource: { // RemediationResource
|
|
89
|
+
* // AccountId: "STRING_VALUE", // required
|
|
90
|
+
* // Region: "STRING_VALUE", // required
|
|
91
|
+
* // ResourceOwnerAccountId: "STRING_VALUE",
|
|
92
|
+
* // ResourceOwnerOrgId: "STRING_VALUE",
|
|
93
|
+
* // Type: "STRING_VALUE", // required
|
|
94
|
+
* // Name: "STRING_VALUE",
|
|
95
|
+
* // Id: "STRING_VALUE", // required
|
|
96
|
+
* // ResourceGuid: "STRING_VALUE",
|
|
97
|
+
* // ResourceRegion: "STRING_VALUE", // required
|
|
98
|
+
* // CloudProvider: "Azure" || "AWS", // required
|
|
99
|
+
* // },
|
|
100
|
+
* // Status: "New" || "Updated" || "Resolved", // required
|
|
101
|
+
* // Trait: { // RemediationTrait
|
|
102
|
+
* // Type: "STRING_VALUE", // required
|
|
103
|
+
* // Title: "STRING_VALUE", // required
|
|
104
|
+
* // },
|
|
105
|
+
* // Guidance: { // RemediationGuidance
|
|
106
|
+
* // TargetTypeName: "STRING_VALUE", // required
|
|
107
|
+
* // Pattern: "STRING_VALUE", // required
|
|
108
|
+
* // Version: "STRING_VALUE", // required
|
|
109
|
+
* // Context: { // RemediationGuidanceContext
|
|
110
|
+
* // ProblemStatement: "STRING_VALUE",
|
|
111
|
+
* // RiskAssessment: "STRING_VALUE",
|
|
112
|
+
* // AffectedScope: "STRING_VALUE",
|
|
113
|
+
* // Prerequisites: [
|
|
114
|
+
* // "STRING_VALUE",
|
|
115
|
+
* // ],
|
|
116
|
+
* // },
|
|
117
|
+
* // Specification: { // RemediationGuidanceSpecification
|
|
118
|
+
* // Parameters: [ // RemediationParameterList
|
|
119
|
+
* // { // RemediationParameter
|
|
120
|
+
* // Name: "STRING_VALUE", // required
|
|
121
|
+
* // Type: "STRING_VALUE", // required
|
|
122
|
+
* // Description: "STRING_VALUE", // required
|
|
123
|
+
* // Required: true || false,
|
|
124
|
+
* // },
|
|
125
|
+
* // ],
|
|
126
|
+
* // Steps: [ // RemediationStepList
|
|
127
|
+
* // { // RemediationStep
|
|
128
|
+
* // Phase: "STRING_VALUE", // required
|
|
129
|
+
* // Description: "STRING_VALUE", // required
|
|
130
|
+
* // Service: "STRING_VALUE", // required
|
|
131
|
+
* // Action: "STRING_VALUE", // required
|
|
132
|
+
* // Logic: "STRING_VALUE",
|
|
133
|
+
* // Inverse: "STRING_VALUE",
|
|
134
|
+
* // VerifyAfter: "STRING_VALUE",
|
|
135
|
+
* // },
|
|
136
|
+
* // ],
|
|
137
|
+
* // ExpectedEndState: "STRING_VALUE",
|
|
138
|
+
* // RequiredPermissions: [
|
|
139
|
+
* // "STRING_VALUE",
|
|
140
|
+
* // ],
|
|
141
|
+
* // },
|
|
142
|
+
* // Examples: { // RemediationGuidanceExamples
|
|
143
|
+
* // AwsCli: "STRING_VALUE",
|
|
144
|
+
* // Cli: "STRING_VALUE",
|
|
145
|
+
* // Python: "STRING_VALUE",
|
|
146
|
+
* // Terraform: "STRING_VALUE",
|
|
147
|
+
* // Cdk: "STRING_VALUE",
|
|
148
|
+
* // CloudFormation: "STRING_VALUE",
|
|
149
|
+
* // IaC: "STRING_VALUE",
|
|
150
|
+
* // Template: "STRING_VALUE",
|
|
151
|
+
* // },
|
|
152
|
+
* // Metadata: { // RemediationGuidanceMetadata
|
|
153
|
+
* // ResourceType: "STRING_VALUE", // required
|
|
154
|
+
* // ExposureType: "STRING_VALUE", // required
|
|
155
|
+
* // TraitTitles: [ // required
|
|
156
|
+
* // "STRING_VALUE",
|
|
157
|
+
* // ],
|
|
158
|
+
* // Reversibility: "STRING_VALUE", // required
|
|
159
|
+
* // FixEffect: "STRING_VALUE", // required
|
|
160
|
+
* // RiskLevel: "STRING_VALUE", // required
|
|
161
|
+
* // AutomationLevel: "STRING_VALUE",
|
|
162
|
+
* // HumanReviewRequired: true || false,
|
|
163
|
+
* // GeneratedAt: new Date("TIMESTAMP"),
|
|
164
|
+
* // VerificationStatus: "STRING_VALUE",
|
|
165
|
+
* // },
|
|
166
|
+
* // },
|
|
167
|
+
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
168
|
+
* // },
|
|
169
|
+
* // ],
|
|
170
|
+
* // NextToken: "STRING_VALUE",
|
|
171
|
+
* // };
|
|
172
|
+
*
|
|
173
|
+
* ```
|
|
174
|
+
*
|
|
175
|
+
* @param GetRemediationsV2CommandInput - {@link GetRemediationsV2CommandInput}
|
|
176
|
+
* @returns {@link GetRemediationsV2CommandOutput}
|
|
177
|
+
* @see {@link GetRemediationsV2CommandInput} for command's `input` shape.
|
|
178
|
+
* @see {@link GetRemediationsV2CommandOutput} for command's `response` shape.
|
|
179
|
+
* @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
|
|
180
|
+
*
|
|
181
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
182
|
+
* <p>You don't have permission to perform the action specified in the request.</p>
|
|
183
|
+
*
|
|
184
|
+
* @throws {@link InternalServerException} (server fault)
|
|
185
|
+
* <p>
|
|
186
|
+
* The request has failed due to an internal failure of the service.
|
|
187
|
+
* </p>
|
|
188
|
+
*
|
|
189
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
190
|
+
* <p>The request was rejected because we can't find the specified resource.</p>
|
|
191
|
+
*
|
|
192
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
193
|
+
* <p>
|
|
194
|
+
* The limit on the number of requests per second was exceeded.
|
|
195
|
+
* </p>
|
|
196
|
+
*
|
|
197
|
+
* @throws {@link ValidationException} (client fault)
|
|
198
|
+
* <p>The request has failed validation because it's missing required fields or has invalid inputs.</p>
|
|
199
|
+
*
|
|
200
|
+
* @throws {@link SecurityHubServiceException}
|
|
201
|
+
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
202
|
+
*
|
|
203
|
+
*
|
|
204
|
+
* @public
|
|
205
|
+
*/
|
|
206
|
+
export declare class GetRemediationsV2Command extends GetRemediationsV2Command_base {
|
|
207
|
+
/** @internal type navigation helper, not in runtime. */
|
|
208
|
+
protected static __types: {
|
|
209
|
+
api: {
|
|
210
|
+
input: GetRemediationsV2Request;
|
|
211
|
+
output: GetRemediationsV2Response;
|
|
212
|
+
};
|
|
213
|
+
sdk: {
|
|
214
|
+
input: GetRemediationsV2CommandInput;
|
|
215
|
+
output: GetRemediationsV2CommandOutput;
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { GetResourcesStatisticsV2Response } from "../models/
|
|
3
|
-
import type { GetResourcesStatisticsV2Request } from "../models/models_3";
|
|
2
|
+
import type { GetResourcesStatisticsV2Request, GetResourcesStatisticsV2Response } from "../models/models_3";
|
|
4
3
|
/**
|
|
5
4
|
* @public
|
|
6
5
|
*/
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { GetResourcesTrendsV2Response } from "../models/
|
|
3
|
-
import type { GetResourcesTrendsV2Request } from "../models/models_3";
|
|
2
|
+
import type { GetResourcesTrendsV2Request, GetResourcesTrendsV2Response } from "../models/models_3";
|
|
4
3
|
/**
|
|
5
4
|
* @public
|
|
6
5
|
*/
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListExposuresByRemediationV2Request, ListExposuresByRemediationV2Response } from "../models/models_3";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListExposuresByRemediationV2Command}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListExposuresByRemediationV2CommandInput extends ListExposuresByRemediationV2Request {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListExposuresByRemediationV2Command}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListExposuresByRemediationV2CommandOutput extends ListExposuresByRemediationV2Response, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListExposuresByRemediationV2Command_base: {
|
|
22
|
+
new (input: ListExposuresByRemediationV2CommandInput): import("@smithy/core/client").CommandImpl<ListExposuresByRemediationV2CommandInput, ListExposuresByRemediationV2CommandOutput, import("..").SecurityHubClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListExposuresByRemediationV2CommandInput): import("@smithy/core/client").CommandImpl<ListExposuresByRemediationV2CommandInput, ListExposuresByRemediationV2CommandOutput, import("..").SecurityHubClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Retrieves the exposure findings tied to a specific remediation target. Results are sorted by
|
|
28
|
+
* previous severity, highest first, and are paginated.</p>
|
|
29
|
+
* @example
|
|
30
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
+
* ```javascript
|
|
32
|
+
* import { SecurityHubClient, ListExposuresByRemediationV2Command } from "@aws-sdk/client-securityhub"; // ES Modules import
|
|
33
|
+
* // const { SecurityHubClient, ListExposuresByRemediationV2Command } = require("@aws-sdk/client-securityhub"); // CommonJS import
|
|
34
|
+
* // import type { SecurityHubClientConfig } from "@aws-sdk/client-securityhub";
|
|
35
|
+
* const config = {}; // type is SecurityHubClientConfig
|
|
36
|
+
* const client = new SecurityHubClient(config);
|
|
37
|
+
* const input = { // ListExposuresByRemediationV2Request
|
|
38
|
+
* TargetUid: "STRING_VALUE", // required
|
|
39
|
+
* MaxResults: Number("int"),
|
|
40
|
+
* NextToken: "STRING_VALUE",
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ListExposuresByRemediationV2Command(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // ListExposuresByRemediationV2Response
|
|
45
|
+
* // Items: [ // ExposureFindingItemsList // required
|
|
46
|
+
* // { // ExposureFinding
|
|
47
|
+
* // MetadataUid: "STRING_VALUE", // required
|
|
48
|
+
* // Title: "STRING_VALUE", // required
|
|
49
|
+
* // PreviousSeverity: "Informational" || "Low" || "Medium" || "High" || "Critical", // required
|
|
50
|
+
* // ProjectedSeverity: "Informational" || "Low" || "Medium" || "High" || "Critical", // required
|
|
51
|
+
* // Impact: "Reduces" || "Resolves" || "Unchanged", // required
|
|
52
|
+
* // },
|
|
53
|
+
* // ],
|
|
54
|
+
* // TargetUid: "STRING_VALUE", // required
|
|
55
|
+
* // Resource: { // RemediationResource
|
|
56
|
+
* // AccountId: "STRING_VALUE", // required
|
|
57
|
+
* // Region: "STRING_VALUE", // required
|
|
58
|
+
* // ResourceOwnerAccountId: "STRING_VALUE",
|
|
59
|
+
* // ResourceOwnerOrgId: "STRING_VALUE",
|
|
60
|
+
* // Type: "STRING_VALUE", // required
|
|
61
|
+
* // Name: "STRING_VALUE",
|
|
62
|
+
* // Id: "STRING_VALUE", // required
|
|
63
|
+
* // ResourceGuid: "STRING_VALUE",
|
|
64
|
+
* // ResourceRegion: "STRING_VALUE", // required
|
|
65
|
+
* // CloudProvider: "Azure" || "AWS", // required
|
|
66
|
+
* // },
|
|
67
|
+
* // TotalCount: Number("int"), // required
|
|
68
|
+
* // Trait: { // RemediationTrait
|
|
69
|
+
* // Type: "STRING_VALUE", // required
|
|
70
|
+
* // Title: "STRING_VALUE", // required
|
|
71
|
+
* // },
|
|
72
|
+
* // NextToken: "STRING_VALUE",
|
|
73
|
+
* // };
|
|
74
|
+
*
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
77
|
+
* @param ListExposuresByRemediationV2CommandInput - {@link ListExposuresByRemediationV2CommandInput}
|
|
78
|
+
* @returns {@link ListExposuresByRemediationV2CommandOutput}
|
|
79
|
+
* @see {@link ListExposuresByRemediationV2CommandInput} for command's `input` shape.
|
|
80
|
+
* @see {@link ListExposuresByRemediationV2CommandOutput} for command's `response` shape.
|
|
81
|
+
* @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
84
|
+
* <p>You don't have permission to perform the action specified in the request.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link InternalServerException} (server fault)
|
|
87
|
+
* <p>
|
|
88
|
+
* The request has failed due to an internal failure of the service.
|
|
89
|
+
* </p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
92
|
+
* <p>The request was rejected because we can't find the specified resource.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
95
|
+
* <p>
|
|
96
|
+
* The limit on the number of requests per second was exceeded.
|
|
97
|
+
* </p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link ValidationException} (client fault)
|
|
100
|
+
* <p>The request has failed validation because it's missing required fields or has invalid inputs.</p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link SecurityHubServiceException}
|
|
103
|
+
* <p>Base exception class for all service exceptions from SecurityHub service.</p>
|
|
104
|
+
*
|
|
105
|
+
*
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
export declare class ListExposuresByRemediationV2Command extends ListExposuresByRemediationV2Command_base {
|
|
109
|
+
/** @internal type navigation helper, not in runtime. */
|
|
110
|
+
protected static __types: {
|
|
111
|
+
api: {
|
|
112
|
+
input: ListExposuresByRemediationV2Request;
|
|
113
|
+
output: ListExposuresByRemediationV2Response;
|
|
114
|
+
};
|
|
115
|
+
sdk: {
|
|
116
|
+
input: ListExposuresByRemediationV2CommandInput;
|
|
117
|
+
output: ListExposuresByRemediationV2CommandOutput;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
}
|
|
@@ -76,6 +76,7 @@ export * from "./GetInvitationsCountCommand";
|
|
|
76
76
|
export * from "./GetMasterAccountCommand";
|
|
77
77
|
export * from "./GetMembersCommand";
|
|
78
78
|
export * from "./GetRecommendedPolicyV2Command";
|
|
79
|
+
export * from "./GetRemediationsV2Command";
|
|
79
80
|
export * from "./GetResourcesStatisticsV2Command";
|
|
80
81
|
export * from "./GetResourcesTrendsV2Command";
|
|
81
82
|
export * from "./GetResourcesV2Command";
|
|
@@ -89,6 +90,7 @@ export * from "./ListConfigurationPolicyAssociationsCommand";
|
|
|
89
90
|
export * from "./ListConnectorsCommand";
|
|
90
91
|
export * from "./ListConnectorsV2Command";
|
|
91
92
|
export * from "./ListEnabledProductsForImportCommand";
|
|
93
|
+
export * from "./ListExposuresByRemediationV2Command";
|
|
92
94
|
export * from "./ListFindingAggregatorsCommand";
|
|
93
95
|
export * from "./ListFreeTrialStatusesV2Command";
|
|
94
96
|
export * from "./ListInvitationsCommand";
|
|
@@ -1050,6 +1050,34 @@ export declare const DiscoveryType: {
|
|
|
1050
1050
|
* @public
|
|
1051
1051
|
*/
|
|
1052
1052
|
export type DiscoveryType = (typeof DiscoveryType)[keyof typeof DiscoveryType];
|
|
1053
|
+
/**
|
|
1054
|
+
* @public
|
|
1055
|
+
* @enum
|
|
1056
|
+
*/
|
|
1057
|
+
export declare const ExposureImpact: {
|
|
1058
|
+
readonly REDUCES: "Reduces";
|
|
1059
|
+
readonly RESOLVES: "Resolves";
|
|
1060
|
+
readonly UNCHANGED: "Unchanged";
|
|
1061
|
+
};
|
|
1062
|
+
/**
|
|
1063
|
+
* @public
|
|
1064
|
+
*/
|
|
1065
|
+
export type ExposureImpact = (typeof ExposureImpact)[keyof typeof ExposureImpact];
|
|
1066
|
+
/**
|
|
1067
|
+
* @public
|
|
1068
|
+
* @enum
|
|
1069
|
+
*/
|
|
1070
|
+
export declare const ExposureSeverity: {
|
|
1071
|
+
readonly CRITICAL: "Critical";
|
|
1072
|
+
readonly HIGH: "High";
|
|
1073
|
+
readonly INFORMATIONAL: "Informational";
|
|
1074
|
+
readonly LOW: "Low";
|
|
1075
|
+
readonly MEDIUM: "Medium";
|
|
1076
|
+
};
|
|
1077
|
+
/**
|
|
1078
|
+
* @public
|
|
1079
|
+
*/
|
|
1080
|
+
export type ExposureSeverity = (typeof ExposureSeverity)[keyof typeof ExposureSeverity];
|
|
1053
1081
|
/**
|
|
1054
1082
|
* @public
|
|
1055
1083
|
* @enum
|
|
@@ -1176,6 +1204,68 @@ export declare const RecommendationStatus: {
|
|
|
1176
1204
|
* @public
|
|
1177
1205
|
*/
|
|
1178
1206
|
export type RecommendationStatus = (typeof RecommendationStatus)[keyof typeof RecommendationStatus];
|
|
1207
|
+
/**
|
|
1208
|
+
* @public
|
|
1209
|
+
* @enum
|
|
1210
|
+
*/
|
|
1211
|
+
export declare const RemediationStringField: {
|
|
1212
|
+
readonly PRIORITY: "Priority";
|
|
1213
|
+
readonly RESOURCE_CLOUD_PROVIDER: "Resource.CloudProvider";
|
|
1214
|
+
readonly RESOURCE_ID: "Resource.Id";
|
|
1215
|
+
readonly RESOURCE_OWNER_ACCOUNT_ID: "Resource.ResourceOwnerAccountId";
|
|
1216
|
+
readonly RESOURCE_TYPE: "Resource.Type";
|
|
1217
|
+
readonly STATUS: "Status";
|
|
1218
|
+
};
|
|
1219
|
+
/**
|
|
1220
|
+
* @public
|
|
1221
|
+
*/
|
|
1222
|
+
export type RemediationStringField = (typeof RemediationStringField)[keyof typeof RemediationStringField];
|
|
1223
|
+
/**
|
|
1224
|
+
* @public
|
|
1225
|
+
* @enum
|
|
1226
|
+
*/
|
|
1227
|
+
export declare const GuidanceFormat: {
|
|
1228
|
+
readonly ALL: "All";
|
|
1229
|
+
readonly AWS_CLI: "AwsCli";
|
|
1230
|
+
readonly CDK: "Cdk";
|
|
1231
|
+
readonly CLI: "Cli";
|
|
1232
|
+
readonly CLOUDFORMATION: "CloudFormation";
|
|
1233
|
+
readonly IAC: "IaC";
|
|
1234
|
+
readonly PYTHON: "Python";
|
|
1235
|
+
readonly TEMPLATE: "Template";
|
|
1236
|
+
readonly TERRAFORM: "Terraform";
|
|
1237
|
+
};
|
|
1238
|
+
/**
|
|
1239
|
+
* @public
|
|
1240
|
+
*/
|
|
1241
|
+
export type GuidanceFormat = (typeof GuidanceFormat)[keyof typeof GuidanceFormat];
|
|
1242
|
+
/**
|
|
1243
|
+
* @public
|
|
1244
|
+
* @enum
|
|
1245
|
+
*/
|
|
1246
|
+
export declare const RemediationPriority: {
|
|
1247
|
+
readonly CRITICAL: "Critical";
|
|
1248
|
+
readonly HIGH: "High";
|
|
1249
|
+
readonly LOW: "Low";
|
|
1250
|
+
readonly MEDIUM: "Medium";
|
|
1251
|
+
};
|
|
1252
|
+
/**
|
|
1253
|
+
* @public
|
|
1254
|
+
*/
|
|
1255
|
+
export type RemediationPriority = (typeof RemediationPriority)[keyof typeof RemediationPriority];
|
|
1256
|
+
/**
|
|
1257
|
+
* @public
|
|
1258
|
+
* @enum
|
|
1259
|
+
*/
|
|
1260
|
+
export declare const RemediationStatus: {
|
|
1261
|
+
readonly NEW: "New";
|
|
1262
|
+
readonly RESOLVED: "Resolved";
|
|
1263
|
+
readonly UPDATED: "Updated";
|
|
1264
|
+
};
|
|
1265
|
+
/**
|
|
1266
|
+
* @public
|
|
1267
|
+
*/
|
|
1268
|
+
export type RemediationStatus = (typeof RemediationStatus)[keyof typeof RemediationStatus];
|
|
1179
1269
|
/**
|
|
1180
1270
|
* @public
|
|
1181
1271
|
* @enum
|
|
@@ -76,7 +76,7 @@ export interface FreeTrialStatus {
|
|
|
76
76
|
*/
|
|
77
77
|
FeatureType: FreeTrialType | undefined;
|
|
78
78
|
/**
|
|
79
|
-
* <p>
|
|
79
|
+
* <p>Specifies whether the free trial period is currently active. Valid values:</p>
|
|
80
80
|
* <ul>
|
|
81
81
|
* <li>
|
|
82
82
|
* <p>
|
|
@@ -1225,7 +1225,12 @@ export interface StringFilter {
|
|
|
1225
1225
|
* <li>
|
|
1226
1226
|
* <p>To search for values that include the filter value, use <code>CONTAINS</code>. For example, the
|
|
1227
1227
|
* filter <code>Title CONTAINS CloudFront</code> matches findings that have a <code>Title</code> that
|
|
1228
|
-
* includes the string CloudFront
|
|
1228
|
+
* includes the string <code>CloudFront</code>.</p>
|
|
1229
|
+
* </li>
|
|
1230
|
+
* <li>
|
|
1231
|
+
* <p>To search for values that contain a word matching the filter value, regardless of case, use <code>CONTAINS_WORD</code>. For example,
|
|
1232
|
+
* the filter <code>Title CONTAINS_WORD lambda</code> matches a finding whose <code>Title</code> is <code>GuardDuty Lambda Protection</code>, because
|
|
1233
|
+
* the <code>Title</code> contains the word Lambda. Including special characters in the filter value might produce unexpected search results.</p>
|
|
1229
1234
|
* </li>
|
|
1230
1235
|
* <li>
|
|
1231
1236
|
* <p>To search for values that exactly match the filter value, use <code>EQUALS</code>. For example,
|