@aws-sdk/client-securityhub 3.1104.0 → 3.1106.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.
Files changed (34) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +75 -9
  3. package/dist-es/SecurityHub.js +4 -0
  4. package/dist-es/commands/ListFreeTrialStatusesV2Command.js +4 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/enums.js +8 -0
  7. package/dist-es/pagination/ListFreeTrialStatusesV2Paginator.js +4 -0
  8. package/dist-es/pagination/index.js +1 -0
  9. package/dist-es/schemas/schemas_0.js +52 -8
  10. package/dist-types/SecurityHub.d.ts +15 -0
  11. package/dist-types/SecurityHubClient.d.ts +3 -2
  12. package/dist-types/commands/ListFreeTrialStatusesV2Command.d.ts +111 -0
  13. package/dist-types/commands/index.d.ts +1 -0
  14. package/dist-types/models/enums.d.ts +24 -0
  15. package/dist-types/models/models_0.d.ts +69 -49
  16. package/dist-types/models/models_1.d.ts +49 -46
  17. package/dist-types/models/models_2.d.ts +47 -29
  18. package/dist-types/models/models_3.d.ts +80 -3
  19. package/dist-types/pagination/ListFreeTrialStatusesV2Paginator.d.ts +7 -0
  20. package/dist-types/pagination/index.d.ts +1 -0
  21. package/dist-types/schemas/schemas_0.d.ts +5 -0
  22. package/dist-types/ts3.4/SecurityHub.d.ts +25 -0
  23. package/dist-types/ts3.4/SecurityHubClient.d.ts +6 -0
  24. package/dist-types/ts3.4/commands/ListFreeTrialStatusesV2Command.d.ts +42 -0
  25. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  26. package/dist-types/ts3.4/models/enums.d.ts +10 -0
  27. package/dist-types/ts3.4/models/models_0.d.ts +13 -11
  28. package/dist-types/ts3.4/models/models_1.d.ts +11 -11
  29. package/dist-types/ts3.4/models/models_2.d.ts +9 -9
  30. package/dist-types/ts3.4/models/models_3.d.ts +20 -2
  31. package/dist-types/ts3.4/pagination/ListFreeTrialStatusesV2Paginator.d.ts +11 -0
  32. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  33. package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -0
  34. package/package.json +1 -1
@@ -359,6 +359,10 @@ import {
359
359
  ListFindingAggregatorsCommandInput,
360
360
  ListFindingAggregatorsCommandOutput,
361
361
  } from "./commands/ListFindingAggregatorsCommand";
362
+ import {
363
+ ListFreeTrialStatusesV2CommandInput,
364
+ ListFreeTrialStatusesV2CommandOutput,
365
+ } from "./commands/ListFreeTrialStatusesV2Command";
362
366
  import {
363
367
  ListInvitationsCommandInput,
364
368
  ListInvitationsCommandOutput,
@@ -1678,6 +1682,20 @@ export interface SecurityHub {
1678
1682
  options: __HttpHandlerOptions,
1679
1683
  cb: (err: any, data?: ListFindingAggregatorsCommandOutput) => void,
1680
1684
  ): void;
1685
+ listFreeTrialStatusesV2(): Promise<ListFreeTrialStatusesV2CommandOutput>;
1686
+ listFreeTrialStatusesV2(
1687
+ args: ListFreeTrialStatusesV2CommandInput,
1688
+ options?: __HttpHandlerOptions,
1689
+ ): Promise<ListFreeTrialStatusesV2CommandOutput>;
1690
+ listFreeTrialStatusesV2(
1691
+ args: ListFreeTrialStatusesV2CommandInput,
1692
+ cb: (err: any, data?: ListFreeTrialStatusesV2CommandOutput) => void,
1693
+ ): void;
1694
+ listFreeTrialStatusesV2(
1695
+ args: ListFreeTrialStatusesV2CommandInput,
1696
+ options: __HttpHandlerOptions,
1697
+ cb: (err: any, data?: ListFreeTrialStatusesV2CommandOutput) => void,
1698
+ ): void;
1681
1699
  listInvitations(): Promise<ListInvitationsCommandOutput>;
1682
1700
  listInvitations(
1683
1701
  args: ListInvitationsCommandInput,
@@ -2128,6 +2146,13 @@ export interface SecurityHub {
2128
2146
  Exclude<keyof PaginationConfiguration, "client">
2129
2147
  >,
2130
2148
  ): Paginator<ListFindingAggregatorsCommandOutput>;
2149
+ paginateListFreeTrialStatusesV2(
2150
+ args?: ListFreeTrialStatusesV2CommandInput,
2151
+ paginationConfig?: Pick<
2152
+ PaginationConfiguration,
2153
+ Exclude<keyof PaginationConfiguration, "client">
2154
+ >,
2155
+ ): Paginator<ListFreeTrialStatusesV2CommandOutput>;
2131
2156
  paginateListInvitations(
2132
2157
  args?: ListInvitationsCommandInput,
2133
2158
  paginationConfig?: Pick<
@@ -389,6 +389,10 @@ import {
389
389
  ListFindingAggregatorsCommandInput,
390
390
  ListFindingAggregatorsCommandOutput,
391
391
  } from "./commands/ListFindingAggregatorsCommand";
392
+ import {
393
+ ListFreeTrialStatusesV2CommandInput,
394
+ ListFreeTrialStatusesV2CommandOutput,
395
+ } from "./commands/ListFreeTrialStatusesV2Command";
392
396
  import {
393
397
  ListInvitationsCommandInput,
394
398
  ListInvitationsCommandOutput,
@@ -579,6 +583,7 @@ export type ServiceInputTypes =
579
583
  | ListConnectorsV2CommandInput
580
584
  | ListEnabledProductsForImportCommandInput
581
585
  | ListFindingAggregatorsCommandInput
586
+ | ListFreeTrialStatusesV2CommandInput
582
587
  | ListInvitationsCommandInput
583
588
  | ListMembersCommandInput
584
589
  | ListOrganizationAdminAccountsCommandInput
@@ -696,6 +701,7 @@ export type ServiceOutputTypes =
696
701
  | ListConnectorsV2CommandOutput
697
702
  | ListEnabledProductsForImportCommandOutput
698
703
  | ListFindingAggregatorsCommandOutput
704
+ | ListFreeTrialStatusesV2CommandOutput
699
705
  | ListInvitationsCommandOutput
700
706
  | ListMembersCommandOutput
701
707
  | ListOrganizationAdminAccountsCommandOutput
@@ -0,0 +1,42 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ ListFreeTrialStatusesV2Request,
4
+ ListFreeTrialStatusesV2Response,
5
+ } from "../models/models_3";
6
+ export { __MetadataBearer };
7
+ export interface ListFreeTrialStatusesV2CommandInput extends ListFreeTrialStatusesV2Request {}
8
+ export interface ListFreeTrialStatusesV2CommandOutput
9
+ extends ListFreeTrialStatusesV2Response, __MetadataBearer {}
10
+ declare const ListFreeTrialStatusesV2Command_base: {
11
+ new (
12
+ input: ListFreeTrialStatusesV2CommandInput,
13
+ ): import("@smithy/core/client").CommandImpl<
14
+ ListFreeTrialStatusesV2CommandInput,
15
+ ListFreeTrialStatusesV2CommandOutput,
16
+ import("..").SecurityHubClientResolvedConfig,
17
+ import("..").ServiceInputTypes,
18
+ import("..").ServiceOutputTypes
19
+ >;
20
+ new (
21
+ ...[input]: [] | [ListFreeTrialStatusesV2CommandInput]
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ ListFreeTrialStatusesV2CommandInput,
24
+ ListFreeTrialStatusesV2CommandOutput,
25
+ import("..").SecurityHubClientResolvedConfig,
26
+ import("..").ServiceInputTypes,
27
+ import("..").ServiceOutputTypes
28
+ >;
29
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
+ };
31
+ export declare class ListFreeTrialStatusesV2Command extends ListFreeTrialStatusesV2Command_base {
32
+ protected static __types: {
33
+ api: {
34
+ input: ListFreeTrialStatusesV2Request;
35
+ output: ListFreeTrialStatusesV2Response;
36
+ };
37
+ sdk: {
38
+ input: ListFreeTrialStatusesV2CommandInput;
39
+ output: ListFreeTrialStatusesV2CommandOutput;
40
+ };
41
+ };
42
+ }
@@ -90,6 +90,7 @@ export * from "./ListConnectorsCommand";
90
90
  export * from "./ListConnectorsV2Command";
91
91
  export * from "./ListEnabledProductsForImportCommand";
92
92
  export * from "./ListFindingAggregatorsCommand";
93
+ export * from "./ListFreeTrialStatusesV2Command";
93
94
  export * from "./ListInvitationsCommand";
94
95
  export * from "./ListMembersCommand";
95
96
  export * from "./ListOrganizationAdminAccountsCommand";
@@ -1,3 +1,13 @@
1
+ export declare const FreeTrialType: {
2
+ readonly SECURITY_HUB_V2: "SECURITY_HUB_V2";
3
+ readonly SECURITY_HUB_V2_MULTI_CLOUD_AZURE: "SECURITY_HUB_V2_MULTI_CLOUD_AZURE";
4
+ };
5
+ export type FreeTrialType = (typeof FreeTrialType)[keyof typeof FreeTrialType];
6
+ export declare const FreeTrialStatusValue: {
7
+ readonly ACTIVE: "ACTIVE";
8
+ readonly INACTIVE: "INACTIVE";
9
+ };
10
+ export type FreeTrialStatusValue = (typeof FreeTrialStatusValue)[keyof typeof FreeTrialStatusValue];
1
11
  export declare const SeverityLabel: {
2
12
  readonly CRITICAL: "CRITICAL";
3
13
  readonly HIGH: "HIGH";
@@ -7,6 +7,8 @@ import {
7
7
  ConfigurationPolicyAssociationStatus,
8
8
  DateRangeComparison,
9
9
  DateRangeUnit,
10
+ FreeTrialStatusValue,
11
+ FreeTrialType,
10
12
  MapFilterComparison,
11
13
  RuleStatus,
12
14
  RuleStatusV2,
@@ -29,6 +31,17 @@ export interface AccountDetails {
29
31
  AccountId: string | undefined;
30
32
  Email?: string | undefined;
31
33
  }
34
+ export interface FreeTrialStatus {
35
+ FeatureType: FreeTrialType | undefined;
36
+ Status: FreeTrialStatusValue | undefined;
37
+ StartedAt: Date | undefined;
38
+ ExpiresAt: Date | undefined;
39
+ }
40
+ export interface AccountFreeTrialStatus {
41
+ AccountId: string | undefined;
42
+ EvaluatedAt: Date | undefined;
43
+ FreeTrialStatuses: FreeTrialStatus[] | undefined;
44
+ }
32
45
  export interface AwsApiCallActionDomainDetails {
33
46
  Domain?: string | undefined;
34
47
  }
@@ -2059,14 +2072,3 @@ export interface AwsEcsTaskDefinitionProxyConfigurationDetails {
2059
2072
  | undefined;
2060
2073
  Type?: string | undefined;
2061
2074
  }
2062
- export interface AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails {
2063
- Autoprovision?: boolean | undefined;
2064
- Driver?: string | undefined;
2065
- DriverOpts?: Record<string, string> | undefined;
2066
- Labels?: Record<string, string> | undefined;
2067
- Scope?: string | undefined;
2068
- }
2069
- export interface AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationAuthorizationConfigDetails {
2070
- AccessPointId?: string | undefined;
2071
- Iam?: string | undefined;
2072
- }
@@ -17,10 +17,19 @@ import {
17
17
  AwsEcsTaskDefinitionInferenceAcceleratorsDetails,
18
18
  AwsEcsTaskDefinitionPlacementConstraintsDetails,
19
19
  AwsEcsTaskDefinitionProxyConfigurationDetails,
20
- AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails,
21
- AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationAuthorizationConfigDetails,
22
20
  RelatedFinding,
23
21
  } from "./models_0";
22
+ export interface AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails {
23
+ Autoprovision?: boolean | undefined;
24
+ Driver?: string | undefined;
25
+ DriverOpts?: Record<string, string> | undefined;
26
+ Labels?: Record<string, string> | undefined;
27
+ Scope?: string | undefined;
28
+ }
29
+ export interface AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationAuthorizationConfigDetails {
30
+ AccessPointId?: string | undefined;
31
+ Iam?: string | undefined;
32
+ }
24
33
  export interface AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationDetails {
25
34
  AuthorizationConfig?:
26
35
  | AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationAuthorizationConfigDetails
@@ -1902,12 +1911,3 @@ export interface AwsWafRuleDetails {
1902
1911
  PredicateList?: AwsWafRulePredicateListDetails[] | undefined;
1903
1912
  RuleId?: string | undefined;
1904
1913
  }
1905
- export interface AwsWafRuleGroupRulesActionDetails {
1906
- Type?: string | undefined;
1907
- }
1908
- export interface AwsWafRuleGroupRulesDetails {
1909
- Action?: AwsWafRuleGroupRulesActionDetails | undefined;
1910
- Priority?: number | undefined;
1911
- RuleId?: string | undefined;
1912
- Type?: string | undefined;
1913
- }
@@ -69,7 +69,6 @@ import {
69
69
  Action,
70
70
  ActionTarget,
71
71
  Adjustment,
72
- AIDetails,
73
72
  AutomationRulesAction,
74
73
  AutomationRulesConfig,
75
74
  AutomationRulesFindingFilters,
@@ -176,7 +175,6 @@ import {
176
175
  AwsWafRegionalRuleGroupDetails,
177
176
  AwsWafRegionalWebAclDetails,
178
177
  AwsWafRuleDetails,
179
- AwsWafRuleGroupRulesDetails,
180
178
  Compliance,
181
179
  DataClassificationDetails,
182
180
  Detection,
@@ -190,6 +188,15 @@ import {
190
188
  ProcessDetails,
191
189
  Remediation,
192
190
  } from "./models_1";
191
+ export interface AwsWafRuleGroupRulesActionDetails {
192
+ Type?: string | undefined;
193
+ }
194
+ export interface AwsWafRuleGroupRulesDetails {
195
+ Action?: AwsWafRuleGroupRulesActionDetails | undefined;
196
+ Priority?: number | undefined;
197
+ RuleId?: string | undefined;
198
+ Type?: string | undefined;
199
+ }
193
200
  export interface AwsWafRuleGroupDetails {
194
201
  MetricName?: string | undefined;
195
202
  Name?: string | undefined;
@@ -2195,10 +2202,3 @@ export interface ResourceFindingsSummary {
2195
2202
  TotalFindings: number | undefined;
2196
2203
  Severities?: ResourceSeverityBreakdown | undefined;
2197
2204
  }
2198
- export interface ResourceInfo {
2199
- AIDetails?: AIDetails | undefined;
2200
- }
2201
- export interface ResourceTag {
2202
- Key: string | undefined;
2203
- Value: string | undefined;
2204
- }
@@ -14,6 +14,7 @@ import {
14
14
  CspmEnablementStatus,
15
15
  DiscoveryType,
16
16
  EnablementStatus,
17
+ FreeTrialStatusValue,
17
18
  GroupByField,
18
19
  RecordState,
19
20
  RegionAvailabilityStatus,
@@ -29,8 +30,10 @@ import {
29
30
  TargetType,
30
31
  } from "./enums";
31
32
  import {
33
+ AccountFreeTrialStatus,
32
34
  AdminAccount,
33
35
  AggregatorV2,
36
+ AIDetails,
34
37
  AssociationFilters,
35
38
  AutomationRulesActionV2,
36
39
  AutomationRulesMetadata,
@@ -61,18 +64,23 @@ import {
61
64
  ParameterConfiguration,
62
65
  Policy,
63
66
  ResourceFindingsSummary,
64
- ResourceInfo,
65
67
  ResourceScopes,
66
68
  ResourcesDateFilter,
67
69
  ResourcesMapFilter,
68
70
  ResourcesNumberFilter,
69
71
  ResourcesStringFilter,
70
72
  ResourcesTrendsStringFilter,
71
- ResourceTag,
72
73
  Result,
73
74
  SortCriterion,
74
75
  Target,
75
76
  } from "./models_2";
77
+ export interface ResourceInfo {
78
+ AIDetails?: AIDetails | undefined;
79
+ }
80
+ export interface ResourceTag {
81
+ Key: string | undefined;
82
+ Value: string | undefined;
83
+ }
76
84
  export interface ResourceResult {
77
85
  ResourceGuid?: string | undefined;
78
86
  ResourceId: string | undefined;
@@ -209,6 +217,16 @@ export interface ListFindingAggregatorsResponse {
209
217
  FindingAggregators?: FindingAggregator[] | undefined;
210
218
  NextToken?: string | undefined;
211
219
  }
220
+ export interface ListFreeTrialStatusesV2Request {
221
+ AccountIds?: string[] | undefined;
222
+ Statuses?: FreeTrialStatusValue[] | undefined;
223
+ MaxResults?: number | undefined;
224
+ NextToken?: string | undefined;
225
+ }
226
+ export interface ListFreeTrialStatusesV2Response {
227
+ AccountFreeTrialStatuses: AccountFreeTrialStatus[] | undefined;
228
+ NextToken?: string | undefined;
229
+ }
212
230
  export interface ListInvitationsRequest {
213
231
  MaxResults?: number | undefined;
214
232
  NextToken?: string | undefined;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListFreeTrialStatusesV2CommandInput,
4
+ ListFreeTrialStatusesV2CommandOutput,
5
+ } from "../commands/ListFreeTrialStatusesV2Command";
6
+ import { SecurityHubPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListFreeTrialStatusesV2: (
8
+ config: SecurityHubPaginationConfiguration,
9
+ input: ListFreeTrialStatusesV2CommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListFreeTrialStatusesV2CommandOutput>;
@@ -18,6 +18,7 @@ export * from "./ListConfigurationPoliciesPaginator";
18
18
  export * from "./ListConfigurationPolicyAssociationsPaginator";
19
19
  export * from "./ListEnabledProductsForImportPaginator";
20
20
  export * from "./ListFindingAggregatorsPaginator";
21
+ export * from "./ListFreeTrialStatusesV2Paginator";
21
22
  export * from "./ListInvitationsPaginator";
22
23
  export * from "./ListMembersPaginator";
23
24
  export * from "./ListOrganizationAdminAccountsPaginator";
@@ -27,6 +27,7 @@ export declare var AcceptAdministratorInvitationResponse$: StaticStructureSchema
27
27
  export declare var AcceptInvitationRequest$: StaticStructureSchema;
28
28
  export declare var AcceptInvitationResponse$: StaticStructureSchema;
29
29
  export declare var AccountDetails$: StaticStructureSchema;
30
+ export declare var AccountFreeTrialStatus$: StaticStructureSchema;
30
31
  export declare var Action$: StaticStructureSchema;
31
32
  export declare var ActionLocalIpDetails$: StaticStructureSchema;
32
33
  export declare var ActionLocalPortDetails$: StaticStructureSchema;
@@ -717,6 +718,7 @@ export declare var FirewallPolicyDetails$: StaticStructureSchema;
717
718
  export declare var FirewallPolicyStatefulRuleGroupReferencesDetails$: StaticStructureSchema;
718
719
  export declare var FirewallPolicyStatelessCustomActionsDetails$: StaticStructureSchema;
719
720
  export declare var FirewallPolicyStatelessRuleGroupReferencesDetails$: StaticStructureSchema;
721
+ export declare var FreeTrialStatus$: StaticStructureSchema;
720
722
  export declare var GenerateRecommendedPolicyV2Request$: StaticStructureSchema;
721
723
  export declare var GenerateRecommendedPolicyV2Response$: StaticStructureSchema;
722
724
  export declare var GeneratorDetails$: StaticStructureSchema;
@@ -810,6 +812,8 @@ export declare var ListEnabledProductsForImportRequest$: StaticStructureSchema;
810
812
  export declare var ListEnabledProductsForImportResponse$: StaticStructureSchema;
811
813
  export declare var ListFindingAggregatorsRequest$: StaticStructureSchema;
812
814
  export declare var ListFindingAggregatorsResponse$: StaticStructureSchema;
815
+ export declare var ListFreeTrialStatusesV2Request$: StaticStructureSchema;
816
+ export declare var ListFreeTrialStatusesV2Response$: StaticStructureSchema;
813
817
  export declare var ListInvitationsRequest$: StaticStructureSchema;
814
818
  export declare var ListInvitationsResponse$: StaticStructureSchema;
815
819
  export declare var ListMembersRequest$: StaticStructureSchema;
@@ -1111,6 +1115,7 @@ export declare var ListConnectors$: StaticOperationSchema;
1111
1115
  export declare var ListConnectorsV2$: StaticOperationSchema;
1112
1116
  export declare var ListEnabledProductsForImport$: StaticOperationSchema;
1113
1117
  export declare var ListFindingAggregators$: StaticOperationSchema;
1118
+ export declare var ListFreeTrialStatusesV2$: StaticOperationSchema;
1114
1119
  export declare var ListInvitations$: StaticOperationSchema;
1115
1120
  export declare var ListMembers$: StaticOperationSchema;
1116
1121
  export declare var ListOrganizationAdminAccounts$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-securityhub",
3
- "version": "3.1104.0",
3
+ "version": "3.1106.0",
4
4
  "description": "AWS SDK for JavaScript Securityhub Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-securityhub",
6
6
  "license": "Apache-2.0",