@aws-sdk/client-securityhub 3.1043.0 → 3.1044.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 +47 -0
- package/dist-cjs/schemas/schemas_0.js +72 -11
- package/dist-es/SecurityHub.js +6 -0
- package/dist-es/commands/GenerateRecommendedPolicyV2Command.js +16 -0
- package/dist-es/commands/GetRecommendedPolicyV2Command.js +16 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/enums.js +12 -0
- package/dist-es/pagination/GetRecommendedPolicyV2Paginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +63 -2
- package/dist-types/SecurityHub.d.ts +21 -0
- package/dist-types/SecurityHubClient.d.ts +4 -2
- package/dist-types/commands/BatchGetAutomationRulesCommand.d.ts +5 -0
- package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +5 -0
- package/dist-types/commands/CreateAutomationRuleCommand.d.ts +5 -0
- package/dist-types/commands/CreateAutomationRuleV2Command.d.ts +2 -0
- package/dist-types/commands/CreateInsightCommand.d.ts +5 -0
- package/dist-types/commands/GenerateRecommendedPolicyV2Command.d.ts +96 -0
- package/dist-types/commands/GetAutomationRuleV2Command.d.ts +2 -0
- package/dist-types/commands/GetFindingStatisticsV2Command.d.ts +2 -0
- package/dist-types/commands/GetFindingsCommand.d.ts +5 -0
- package/dist-types/commands/GetFindingsV2Command.d.ts +2 -0
- package/dist-types/commands/GetInsightsCommand.d.ts +5 -0
- package/dist-types/commands/GetRecommendedPolicyV2Command.d.ts +118 -0
- package/dist-types/commands/GetResourcesStatisticsV2Command.d.ts +2 -0
- package/dist-types/commands/GetResourcesV2Command.d.ts +2 -0
- package/dist-types/commands/ListMembersCommand.d.ts +1 -1
- package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +1 -1
- package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +1 -1
- package/dist-types/commands/ListStandardsControlAssociationsCommand.d.ts +1 -2
- package/dist-types/commands/UpdateAutomationRuleV2Command.d.ts +2 -0
- package/dist-types/commands/UpdateFindingsCommand.d.ts +5 -0
- package/dist-types/commands/UpdateInsightCommand.d.ts +5 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/enums.d.ts +36 -0
- package/dist-types/models/models_0.d.ts +9 -4
- package/dist-types/models/models_2.d.ts +157 -168
- package/dist-types/models/models_3.d.ts +169 -3
- package/dist-types/pagination/GetRecommendedPolicyV2Paginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +9 -0
- package/dist-types/ts3.4/SecurityHub.d.ts +41 -0
- package/dist-types/ts3.4/SecurityHubClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GenerateRecommendedPolicyV2Command.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetRecommendedPolicyV2Command.d.ts +51 -0
- 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 +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +18 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/dist-types/ts3.4/models/models_2.d.ts +47 -34
- package/dist-types/ts3.4/models/models_3.d.ts +37 -1
- package/dist-types/ts3.4/pagination/GetRecommendedPolicyV2Paginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -0
- package/package.json +1 -1
|
@@ -256,6 +256,10 @@ import {
|
|
|
256
256
|
EnableSecurityHubV2CommandInput,
|
|
257
257
|
EnableSecurityHubV2CommandOutput,
|
|
258
258
|
} from "./commands/EnableSecurityHubV2Command";
|
|
259
|
+
import {
|
|
260
|
+
GenerateRecommendedPolicyV2CommandInput,
|
|
261
|
+
GenerateRecommendedPolicyV2CommandOutput,
|
|
262
|
+
} from "./commands/GenerateRecommendedPolicyV2Command";
|
|
259
263
|
import {
|
|
260
264
|
GetAdministratorAccountCommandInput,
|
|
261
265
|
GetAdministratorAccountCommandOutput,
|
|
@@ -328,6 +332,10 @@ import {
|
|
|
328
332
|
GetMembersCommandInput,
|
|
329
333
|
GetMembersCommandOutput,
|
|
330
334
|
} from "./commands/GetMembersCommand";
|
|
335
|
+
import {
|
|
336
|
+
GetRecommendedPolicyV2CommandInput,
|
|
337
|
+
GetRecommendedPolicyV2CommandOutput,
|
|
338
|
+
} from "./commands/GetRecommendedPolicyV2Command";
|
|
331
339
|
import {
|
|
332
340
|
GetResourcesStatisticsV2CommandInput,
|
|
333
341
|
GetResourcesStatisticsV2CommandOutput,
|
|
@@ -533,6 +541,7 @@ export type ServiceInputTypes =
|
|
|
533
541
|
| EnableOrganizationAdminAccountCommandInput
|
|
534
542
|
| EnableSecurityHubCommandInput
|
|
535
543
|
| EnableSecurityHubV2CommandInput
|
|
544
|
+
| GenerateRecommendedPolicyV2CommandInput
|
|
536
545
|
| GetAdministratorAccountCommandInput
|
|
537
546
|
| GetAggregatorV2CommandInput
|
|
538
547
|
| GetAutomationRuleV2CommandInput
|
|
@@ -551,6 +560,7 @@ export type ServiceInputTypes =
|
|
|
551
560
|
| GetInvitationsCountCommandInput
|
|
552
561
|
| GetMasterAccountCommandInput
|
|
553
562
|
| GetMembersCommandInput
|
|
563
|
+
| GetRecommendedPolicyV2CommandInput
|
|
554
564
|
| GetResourcesStatisticsV2CommandInput
|
|
555
565
|
| GetResourcesTrendsV2CommandInput
|
|
556
566
|
| GetResourcesV2CommandInput
|
|
@@ -641,6 +651,7 @@ export type ServiceOutputTypes =
|
|
|
641
651
|
| EnableOrganizationAdminAccountCommandOutput
|
|
642
652
|
| EnableSecurityHubCommandOutput
|
|
643
653
|
| EnableSecurityHubV2CommandOutput
|
|
654
|
+
| GenerateRecommendedPolicyV2CommandOutput
|
|
644
655
|
| GetAdministratorAccountCommandOutput
|
|
645
656
|
| GetAggregatorV2CommandOutput
|
|
646
657
|
| GetAutomationRuleV2CommandOutput
|
|
@@ -659,6 +670,7 @@ export type ServiceOutputTypes =
|
|
|
659
670
|
| GetInvitationsCountCommandOutput
|
|
660
671
|
| GetMasterAccountCommandOutput
|
|
661
672
|
| GetMembersCommandOutput
|
|
673
|
+
| GetRecommendedPolicyV2CommandOutput
|
|
662
674
|
| GetResourcesStatisticsV2CommandOutput
|
|
663
675
|
| GetResourcesTrendsV2CommandOutput
|
|
664
676
|
| GetResourcesV2CommandOutput
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
GenerateRecommendedPolicyV2Request,
|
|
5
|
+
GenerateRecommendedPolicyV2Response,
|
|
6
|
+
} from "../models/models_2";
|
|
7
|
+
import {
|
|
8
|
+
SecurityHubClientResolvedConfig,
|
|
9
|
+
ServiceInputTypes,
|
|
10
|
+
ServiceOutputTypes,
|
|
11
|
+
} from "../SecurityHubClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GenerateRecommendedPolicyV2CommandInput
|
|
15
|
+
extends GenerateRecommendedPolicyV2Request {}
|
|
16
|
+
export interface GenerateRecommendedPolicyV2CommandOutput
|
|
17
|
+
extends GenerateRecommendedPolicyV2Response,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const GenerateRecommendedPolicyV2Command_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: GenerateRecommendedPolicyV2CommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
GenerateRecommendedPolicyV2CommandInput,
|
|
24
|
+
GenerateRecommendedPolicyV2CommandOutput,
|
|
25
|
+
SecurityHubClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: GenerateRecommendedPolicyV2CommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
GenerateRecommendedPolicyV2CommandInput,
|
|
33
|
+
GenerateRecommendedPolicyV2CommandOutput,
|
|
34
|
+
SecurityHubClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class GenerateRecommendedPolicyV2Command extends GenerateRecommendedPolicyV2Command_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: GenerateRecommendedPolicyV2Request;
|
|
44
|
+
output: {};
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: GenerateRecommendedPolicyV2CommandInput;
|
|
48
|
+
output: GenerateRecommendedPolicyV2CommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
GetRecommendedPolicyV2Request,
|
|
5
|
+
GetRecommendedPolicyV2Response,
|
|
6
|
+
} from "../models/models_2";
|
|
7
|
+
import {
|
|
8
|
+
SecurityHubClientResolvedConfig,
|
|
9
|
+
ServiceInputTypes,
|
|
10
|
+
ServiceOutputTypes,
|
|
11
|
+
} from "../SecurityHubClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetRecommendedPolicyV2CommandInput
|
|
15
|
+
extends GetRecommendedPolicyV2Request {}
|
|
16
|
+
export interface GetRecommendedPolicyV2CommandOutput
|
|
17
|
+
extends GetRecommendedPolicyV2Response,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const GetRecommendedPolicyV2Command_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: GetRecommendedPolicyV2CommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
GetRecommendedPolicyV2CommandInput,
|
|
24
|
+
GetRecommendedPolicyV2CommandOutput,
|
|
25
|
+
SecurityHubClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: GetRecommendedPolicyV2CommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
GetRecommendedPolicyV2CommandInput,
|
|
33
|
+
GetRecommendedPolicyV2CommandOutput,
|
|
34
|
+
SecurityHubClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class GetRecommendedPolicyV2Command extends GetRecommendedPolicyV2Command_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: GetRecommendedPolicyV2Request;
|
|
44
|
+
output: GetRecommendedPolicyV2Response;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: GetRecommendedPolicyV2CommandInput;
|
|
48
|
+
output: GetRecommendedPolicyV2CommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ListMembersRequest, ListMembersResponse } from "../models/
|
|
3
|
+
import { ListMembersRequest, ListMembersResponse } from "../models/models_3";
|
|
4
4
|
import {
|
|
5
5
|
SecurityHubClientResolvedConfig,
|
|
6
6
|
ServiceInputTypes,
|
|
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
3
3
|
import {
|
|
4
4
|
ListOrganizationAdminAccountsRequest,
|
|
5
5
|
ListOrganizationAdminAccountsResponse,
|
|
6
|
-
} from "../models/
|
|
6
|
+
} from "../models/models_3";
|
|
7
7
|
import {
|
|
8
8
|
SecurityHubClientResolvedConfig,
|
|
9
9
|
ServiceInputTypes,
|
|
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
3
3
|
import {
|
|
4
4
|
ListSecurityControlDefinitionsRequest,
|
|
5
5
|
ListSecurityControlDefinitionsResponse,
|
|
6
|
-
} from "../models/
|
|
6
|
+
} from "../models/models_3";
|
|
7
7
|
import {
|
|
8
8
|
SecurityHubClientResolvedConfig,
|
|
9
9
|
ServiceInputTypes,
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
|
|
3
|
+
import {
|
|
4
|
+
ListStandardsControlAssociationsRequest,
|
|
5
|
+
ListStandardsControlAssociationsResponse,
|
|
6
|
+
} from "../models/models_3";
|
|
5
7
|
import {
|
|
6
8
|
SecurityHubClientResolvedConfig,
|
|
7
9
|
ServiceInputTypes,
|
|
@@ -51,6 +51,7 @@ export * from "./EnableImportFindingsForProductCommand";
|
|
|
51
51
|
export * from "./EnableOrganizationAdminAccountCommand";
|
|
52
52
|
export * from "./EnableSecurityHubCommand";
|
|
53
53
|
export * from "./EnableSecurityHubV2Command";
|
|
54
|
+
export * from "./GenerateRecommendedPolicyV2Command";
|
|
54
55
|
export * from "./GetAdministratorAccountCommand";
|
|
55
56
|
export * from "./GetAggregatorV2Command";
|
|
56
57
|
export * from "./GetAutomationRuleV2Command";
|
|
@@ -69,6 +70,7 @@ export * from "./GetInsightsCommand";
|
|
|
69
70
|
export * from "./GetInvitationsCountCommand";
|
|
70
71
|
export * from "./GetMasterAccountCommand";
|
|
71
72
|
export * from "./GetMembersCommand";
|
|
73
|
+
export * from "./GetRecommendedPolicyV2Command";
|
|
72
74
|
export * from "./GetResourcesStatisticsV2Command";
|
|
73
75
|
export * from "./GetResourcesTrendsV2Command";
|
|
74
76
|
export * from "./GetResourcesV2Command";
|
|
@@ -86,6 +86,12 @@ export declare const StringFilterComparison: {
|
|
|
86
86
|
};
|
|
87
87
|
export type StringFilterComparison =
|
|
88
88
|
(typeof StringFilterComparison)[keyof typeof StringFilterComparison];
|
|
89
|
+
export declare const DateRangeComparison: {
|
|
90
|
+
readonly OLDER_THAN: "OLDER_THAN";
|
|
91
|
+
readonly WITHIN: "WITHIN";
|
|
92
|
+
};
|
|
93
|
+
export type DateRangeComparison =
|
|
94
|
+
(typeof DateRangeComparison)[keyof typeof DateRangeComparison];
|
|
89
95
|
export declare const DateRangeUnit: {
|
|
90
96
|
readonly DAYS: "DAYS";
|
|
91
97
|
};
|
|
@@ -541,6 +547,18 @@ export declare const GranularityField: {
|
|
|
541
547
|
};
|
|
542
548
|
export type GranularityField =
|
|
543
549
|
(typeof GranularityField)[keyof typeof GranularityField];
|
|
550
|
+
export declare const RecommendationType: {
|
|
551
|
+
readonly UNUSED_PERMISSION_RECOMMENDATION: "UNUSED_PERMISSION_RECOMMENDATION";
|
|
552
|
+
};
|
|
553
|
+
export type RecommendationType =
|
|
554
|
+
(typeof RecommendationType)[keyof typeof RecommendationType];
|
|
555
|
+
export declare const RecommendationStatus: {
|
|
556
|
+
readonly FAILED: "FAILED";
|
|
557
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
558
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
559
|
+
};
|
|
560
|
+
export type RecommendationStatus =
|
|
561
|
+
(typeof RecommendationStatus)[keyof typeof RecommendationStatus];
|
|
544
562
|
export declare const ResourcesDateField: {
|
|
545
563
|
readonly RESOURCE_CREATION_TIME_DT: "ResourceCreationTime";
|
|
546
564
|
readonly RESOURCE_DETAIL_CAPTURE_TIME_DT: "ResourceDetailCaptureTime";
|
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
AutomationRulesActionType,
|
|
6
6
|
AutomationRulesActionTypeV2,
|
|
7
7
|
ConfigurationPolicyAssociationStatus,
|
|
8
|
+
DateRangeComparison,
|
|
8
9
|
DateRangeUnit,
|
|
9
10
|
MapFilterComparison,
|
|
10
11
|
RuleStatus,
|
|
@@ -226,6 +227,7 @@ export interface NumberFilter {
|
|
|
226
227
|
export interface DateRange {
|
|
227
228
|
Value?: number | undefined;
|
|
228
229
|
Unit?: DateRangeUnit | undefined;
|
|
230
|
+
Comparison?: DateRangeComparison | undefined;
|
|
229
231
|
}
|
|
230
232
|
export interface DateFilter {
|
|
231
233
|
Start?: string | undefined;
|
|
@@ -25,6 +25,8 @@ import {
|
|
|
25
25
|
OrganizationConfigurationStatus,
|
|
26
26
|
ParameterValueType,
|
|
27
27
|
Partition,
|
|
28
|
+
RecommendationStatus,
|
|
29
|
+
RecommendationType,
|
|
28
30
|
RecordState,
|
|
29
31
|
RegionAvailabilityStatus,
|
|
30
32
|
ResourceCategory,
|
|
@@ -59,7 +61,6 @@ import {
|
|
|
59
61
|
Action,
|
|
60
62
|
ActionTarget,
|
|
61
63
|
Adjustment,
|
|
62
|
-
AdminAccount,
|
|
63
64
|
AggregatorV2,
|
|
64
65
|
AssociationFilters,
|
|
65
66
|
AutomationRulesAction,
|
|
@@ -1689,6 +1690,10 @@ export interface FindingsTrendsStringFilter {
|
|
|
1689
1690
|
FieldName?: FindingsTrendsStringField | undefined;
|
|
1690
1691
|
Filter?: StringFilter | undefined;
|
|
1691
1692
|
}
|
|
1693
|
+
export interface GenerateRecommendedPolicyV2Request {
|
|
1694
|
+
MetadataUid: string | undefined;
|
|
1695
|
+
}
|
|
1696
|
+
export interface GenerateRecommendedPolicyV2Response {}
|
|
1692
1697
|
export interface GetAdministratorAccountRequest {}
|
|
1693
1698
|
export interface Invitation {
|
|
1694
1699
|
AccountId?: string | undefined;
|
|
@@ -1926,6 +1931,47 @@ export interface GetMembersResponse {
|
|
|
1926
1931
|
Members?: Member[] | undefined;
|
|
1927
1932
|
UnprocessedAccounts?: Result[] | undefined;
|
|
1928
1933
|
}
|
|
1934
|
+
export interface GetRecommendedPolicyV2Request {
|
|
1935
|
+
MetadataUid: string | undefined;
|
|
1936
|
+
NextToken?: string | undefined;
|
|
1937
|
+
MaxResults?: number | undefined;
|
|
1938
|
+
}
|
|
1939
|
+
export interface RecommendationError {
|
|
1940
|
+
Code?: string | undefined;
|
|
1941
|
+
Message?: string | undefined;
|
|
1942
|
+
}
|
|
1943
|
+
export interface UnusedPermissionsRecommendationStep {
|
|
1944
|
+
RecommendedAction?: string | undefined;
|
|
1945
|
+
ExistingPolicy?: string | undefined;
|
|
1946
|
+
ExistingPolicyId?: string | undefined;
|
|
1947
|
+
PolicyUpdatedAt?: Date | undefined;
|
|
1948
|
+
RecommendedPolicy?: string | undefined;
|
|
1949
|
+
}
|
|
1950
|
+
export type RecommendationStep =
|
|
1951
|
+
| RecommendationStep.UnusedPermissionsMember
|
|
1952
|
+
| RecommendationStep.$UnknownMember;
|
|
1953
|
+
export declare namespace RecommendationStep {
|
|
1954
|
+
interface UnusedPermissionsMember {
|
|
1955
|
+
UnusedPermissions: UnusedPermissionsRecommendationStep;
|
|
1956
|
+
$unknown?: never;
|
|
1957
|
+
}
|
|
1958
|
+
interface $UnknownMember {
|
|
1959
|
+
UnusedPermissions?: never;
|
|
1960
|
+
$unknown: [string, any];
|
|
1961
|
+
}
|
|
1962
|
+
interface Visitor<T> {
|
|
1963
|
+
UnusedPermissions: (value: UnusedPermissionsRecommendationStep) => T;
|
|
1964
|
+
_: (name: string, value: any) => T;
|
|
1965
|
+
}
|
|
1966
|
+
}
|
|
1967
|
+
export interface GetRecommendedPolicyV2Response {
|
|
1968
|
+
NextToken?: string | undefined;
|
|
1969
|
+
RecommendationType?: RecommendationType | undefined;
|
|
1970
|
+
RecommendationSteps?: RecommendationStep[] | undefined;
|
|
1971
|
+
Error?: RecommendationError | undefined;
|
|
1972
|
+
Status?: RecommendationStatus | undefined;
|
|
1973
|
+
ResourceArn?: string | undefined;
|
|
1974
|
+
}
|
|
1929
1975
|
export interface ResourcesDateFilter {
|
|
1930
1976
|
FieldName?: ResourcesDateField | undefined;
|
|
1931
1977
|
Filter?: DateFilter | undefined;
|
|
@@ -2111,36 +2157,3 @@ export interface ListInvitationsResponse {
|
|
|
2111
2157
|
Invitations?: Invitation[] | undefined;
|
|
2112
2158
|
NextToken?: string | undefined;
|
|
2113
2159
|
}
|
|
2114
|
-
export interface ListMembersRequest {
|
|
2115
|
-
OnlyAssociated?: boolean | undefined;
|
|
2116
|
-
MaxResults?: number | undefined;
|
|
2117
|
-
NextToken?: string | undefined;
|
|
2118
|
-
}
|
|
2119
|
-
export interface ListMembersResponse {
|
|
2120
|
-
Members?: Member[] | undefined;
|
|
2121
|
-
NextToken?: string | undefined;
|
|
2122
|
-
}
|
|
2123
|
-
export interface ListOrganizationAdminAccountsRequest {
|
|
2124
|
-
MaxResults?: number | undefined;
|
|
2125
|
-
NextToken?: string | undefined;
|
|
2126
|
-
Feature?: SecurityHubFeature | undefined;
|
|
2127
|
-
}
|
|
2128
|
-
export interface ListOrganizationAdminAccountsResponse {
|
|
2129
|
-
AdminAccounts?: AdminAccount[] | undefined;
|
|
2130
|
-
NextToken?: string | undefined;
|
|
2131
|
-
Feature?: SecurityHubFeature | undefined;
|
|
2132
|
-
}
|
|
2133
|
-
export interface ListSecurityControlDefinitionsRequest {
|
|
2134
|
-
StandardsArn?: string | undefined;
|
|
2135
|
-
NextToken?: string | undefined;
|
|
2136
|
-
MaxResults?: number | undefined;
|
|
2137
|
-
}
|
|
2138
|
-
export interface ListSecurityControlDefinitionsResponse {
|
|
2139
|
-
SecurityControlDefinitions: SecurityControlDefinition[] | undefined;
|
|
2140
|
-
NextToken?: string | undefined;
|
|
2141
|
-
}
|
|
2142
|
-
export interface ListStandardsControlAssociationsRequest {
|
|
2143
|
-
SecurityControlId: string | undefined;
|
|
2144
|
-
NextToken?: string | undefined;
|
|
2145
|
-
MaxResults?: number | undefined;
|
|
2146
|
-
}
|
|
@@ -10,15 +10,17 @@ import {
|
|
|
10
10
|
RecordState,
|
|
11
11
|
ResourceGroupByField,
|
|
12
12
|
RuleStatusV2,
|
|
13
|
+
SecurityHubFeature,
|
|
13
14
|
SortOrder,
|
|
14
15
|
TargetType,
|
|
15
16
|
} from "./enums";
|
|
16
|
-
import { AutomationRulesActionV2, NoteUpdate } from "./models_0";
|
|
17
|
+
import { AdminAccount, AutomationRulesActionV2, NoteUpdate } from "./models_0";
|
|
17
18
|
import {
|
|
18
19
|
AwsSecurityFindingFilters,
|
|
19
20
|
FindingScopes,
|
|
20
21
|
FindingsTrendsStringFilter,
|
|
21
22
|
JiraCloudUpdateConfiguration,
|
|
23
|
+
Member,
|
|
22
24
|
OcsfBooleanFilter,
|
|
23
25
|
OcsfDateFilter,
|
|
24
26
|
OcsfIpFilter,
|
|
@@ -34,9 +36,43 @@ import {
|
|
|
34
36
|
ResourcesNumberFilter,
|
|
35
37
|
ResourcesStringFilter,
|
|
36
38
|
ResourcesTrendsStringFilter,
|
|
39
|
+
SecurityControlDefinition,
|
|
37
40
|
SortCriterion,
|
|
38
41
|
Target,
|
|
39
42
|
} from "./models_2";
|
|
43
|
+
export interface ListMembersRequest {
|
|
44
|
+
OnlyAssociated?: boolean | undefined;
|
|
45
|
+
MaxResults?: number | undefined;
|
|
46
|
+
NextToken?: string | undefined;
|
|
47
|
+
}
|
|
48
|
+
export interface ListMembersResponse {
|
|
49
|
+
Members?: Member[] | undefined;
|
|
50
|
+
NextToken?: string | undefined;
|
|
51
|
+
}
|
|
52
|
+
export interface ListOrganizationAdminAccountsRequest {
|
|
53
|
+
MaxResults?: number | undefined;
|
|
54
|
+
NextToken?: string | undefined;
|
|
55
|
+
Feature?: SecurityHubFeature | undefined;
|
|
56
|
+
}
|
|
57
|
+
export interface ListOrganizationAdminAccountsResponse {
|
|
58
|
+
AdminAccounts?: AdminAccount[] | undefined;
|
|
59
|
+
NextToken?: string | undefined;
|
|
60
|
+
Feature?: SecurityHubFeature | undefined;
|
|
61
|
+
}
|
|
62
|
+
export interface ListSecurityControlDefinitionsRequest {
|
|
63
|
+
StandardsArn?: string | undefined;
|
|
64
|
+
NextToken?: string | undefined;
|
|
65
|
+
MaxResults?: number | undefined;
|
|
66
|
+
}
|
|
67
|
+
export interface ListSecurityControlDefinitionsResponse {
|
|
68
|
+
SecurityControlDefinitions: SecurityControlDefinition[] | undefined;
|
|
69
|
+
NextToken?: string | undefined;
|
|
70
|
+
}
|
|
71
|
+
export interface ListStandardsControlAssociationsRequest {
|
|
72
|
+
SecurityControlId: string | undefined;
|
|
73
|
+
NextToken?: string | undefined;
|
|
74
|
+
MaxResults?: number | undefined;
|
|
75
|
+
}
|
|
40
76
|
export interface StandardsControlAssociationSummary {
|
|
41
77
|
StandardsArn: string | undefined;
|
|
42
78
|
SecurityControlId: string | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
GetRecommendedPolicyV2CommandInput,
|
|
4
|
+
GetRecommendedPolicyV2CommandOutput,
|
|
5
|
+
} from "../commands/GetRecommendedPolicyV2Command";
|
|
6
|
+
import { SecurityHubPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateGetRecommendedPolicyV2: (
|
|
8
|
+
config: SecurityHubPaginationConfiguration,
|
|
9
|
+
input: GetRecommendedPolicyV2CommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<GetRecommendedPolicyV2CommandOutput>;
|
|
@@ -10,6 +10,7 @@ export * from "./GetFindingsPaginator";
|
|
|
10
10
|
export * from "./GetFindingsTrendsV2Paginator";
|
|
11
11
|
export * from "./GetFindingsV2Paginator";
|
|
12
12
|
export * from "./GetInsightsPaginator";
|
|
13
|
+
export * from "./GetRecommendedPolicyV2Paginator";
|
|
13
14
|
export * from "./GetResourcesTrendsV2Paginator";
|
|
14
15
|
export * from "./GetResourcesV2Paginator";
|
|
15
16
|
export * from "./ListAggregatorsV2Paginator";
|
|
@@ -700,6 +700,8 @@ export declare var FirewallPolicyDetails$: StaticStructureSchema;
|
|
|
700
700
|
export declare var FirewallPolicyStatefulRuleGroupReferencesDetails$: StaticStructureSchema;
|
|
701
701
|
export declare var FirewallPolicyStatelessCustomActionsDetails$: StaticStructureSchema;
|
|
702
702
|
export declare var FirewallPolicyStatelessRuleGroupReferencesDetails$: StaticStructureSchema;
|
|
703
|
+
export declare var GenerateRecommendedPolicyV2Request$: StaticStructureSchema;
|
|
704
|
+
export declare var GenerateRecommendedPolicyV2Response$: StaticStructureSchema;
|
|
703
705
|
export declare var GeneratorDetails$: StaticStructureSchema;
|
|
704
706
|
export declare var GeoLocation$: StaticStructureSchema;
|
|
705
707
|
export declare var GetAdministratorAccountRequest$: StaticStructureSchema;
|
|
@@ -738,6 +740,8 @@ export declare var GetMasterAccountRequest$: StaticStructureSchema;
|
|
|
738
740
|
export declare var GetMasterAccountResponse$: StaticStructureSchema;
|
|
739
741
|
export declare var GetMembersRequest$: StaticStructureSchema;
|
|
740
742
|
export declare var GetMembersResponse$: StaticStructureSchema;
|
|
743
|
+
export declare var GetRecommendedPolicyV2Request$: StaticStructureSchema;
|
|
744
|
+
export declare var GetRecommendedPolicyV2Response$: StaticStructureSchema;
|
|
741
745
|
export declare var GetResourcesStatisticsV2Request$: StaticStructureSchema;
|
|
742
746
|
export declare var GetResourcesStatisticsV2Response$: StaticStructureSchema;
|
|
743
747
|
export declare var GetResourcesTrendsV2Request$: StaticStructureSchema;
|
|
@@ -837,6 +841,7 @@ export declare var PropagatingVgwSetDetails$: StaticStructureSchema;
|
|
|
837
841
|
export declare var ProviderSummary$: StaticStructureSchema;
|
|
838
842
|
export declare var Range$: StaticStructureSchema;
|
|
839
843
|
export declare var Recommendation$: StaticStructureSchema;
|
|
844
|
+
export declare var RecommendationError$: StaticStructureSchema;
|
|
840
845
|
export declare var _Record$: StaticStructureSchema;
|
|
841
846
|
export declare var RegisterConnectorV2Request$: StaticStructureSchema;
|
|
842
847
|
export declare var RegisterConnectorV2Response$: StaticStructureSchema;
|
|
@@ -935,6 +940,7 @@ export declare var UnprocessedStandardsControlAssociation$: StaticStructureSchem
|
|
|
935
940
|
export declare var UnprocessedStandardsControlAssociationUpdate$: StaticStructureSchema;
|
|
936
941
|
export declare var UntagResourceRequest$: StaticStructureSchema;
|
|
937
942
|
export declare var UntagResourceResponse$: StaticStructureSchema;
|
|
943
|
+
export declare var UnusedPermissionsRecommendationStep$: StaticStructureSchema;
|
|
938
944
|
export declare var UpdateActionTargetRequest$: StaticStructureSchema;
|
|
939
945
|
export declare var UpdateActionTargetResponse$: StaticStructureSchema;
|
|
940
946
|
export declare var UpdateAggregatorV2Request$: StaticStructureSchema;
|
|
@@ -980,6 +986,7 @@ export declare var Policy$: StaticUnionSchema;
|
|
|
980
986
|
export declare var ProviderConfiguration$: StaticUnionSchema;
|
|
981
987
|
export declare var ProviderDetail$: StaticUnionSchema;
|
|
982
988
|
export declare var ProviderUpdateConfiguration$: StaticUnionSchema;
|
|
989
|
+
export declare var RecommendationStep$: StaticUnionSchema;
|
|
983
990
|
export declare var Target$: StaticUnionSchema;
|
|
984
991
|
export declare var AcceptAdministratorInvitation$: StaticOperationSchema;
|
|
985
992
|
export declare var AcceptInvitation$: StaticOperationSchema;
|
|
@@ -1034,6 +1041,7 @@ export declare var EnableImportFindingsForProduct$: StaticOperationSchema;
|
|
|
1034
1041
|
export declare var EnableOrganizationAdminAccount$: StaticOperationSchema;
|
|
1035
1042
|
export declare var EnableSecurityHub$: StaticOperationSchema;
|
|
1036
1043
|
export declare var EnableSecurityHubV2$: StaticOperationSchema;
|
|
1044
|
+
export declare var GenerateRecommendedPolicyV2$: StaticOperationSchema;
|
|
1037
1045
|
export declare var GetAdministratorAccount$: StaticOperationSchema;
|
|
1038
1046
|
export declare var GetAggregatorV2$: StaticOperationSchema;
|
|
1039
1047
|
export declare var GetAutomationRuleV2$: StaticOperationSchema;
|
|
@@ -1052,6 +1060,7 @@ export declare var GetInsights$: StaticOperationSchema;
|
|
|
1052
1060
|
export declare var GetInvitationsCount$: StaticOperationSchema;
|
|
1053
1061
|
export declare var GetMasterAccount$: StaticOperationSchema;
|
|
1054
1062
|
export declare var GetMembers$: StaticOperationSchema;
|
|
1063
|
+
export declare var GetRecommendedPolicyV2$: StaticOperationSchema;
|
|
1055
1064
|
export declare var GetResourcesStatisticsV2$: StaticOperationSchema;
|
|
1056
1065
|
export declare var GetResourcesTrendsV2$: StaticOperationSchema;
|
|
1057
1066
|
export declare var GetResourcesV2$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-securityhub",
|
|
3
3
|
"description": "AWS SDK for JavaScript Securityhub Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1044.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-securityhub",
|