@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
@@ -0,0 +1,111 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListFreeTrialStatusesV2Request, ListFreeTrialStatusesV2Response } from "../models/models_3";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListFreeTrialStatusesV2Command}.
11
+ */
12
+ export interface ListFreeTrialStatusesV2CommandInput extends ListFreeTrialStatusesV2Request {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListFreeTrialStatusesV2Command}.
18
+ */
19
+ export interface ListFreeTrialStatusesV2CommandOutput extends ListFreeTrialStatusesV2Response, __MetadataBearer {
20
+ }
21
+ declare const ListFreeTrialStatusesV2Command_base: {
22
+ new (input: ListFreeTrialStatusesV2CommandInput): import("@smithy/core/client").CommandImpl<ListFreeTrialStatusesV2CommandInput, ListFreeTrialStatusesV2CommandOutput, import("..").SecurityHubClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListFreeTrialStatusesV2CommandInput]): import("@smithy/core/client").CommandImpl<ListFreeTrialStatusesV2CommandInput, ListFreeTrialStatusesV2CommandOutput, import("..").SecurityHubClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Lists the free trial status of Security Hub features. A delegated Security Hub administrator can list the status for accounts in its organization. Any other account can list the status only for itself. Free trial status remains available after a feature is disabled.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { SecurityHubClient, ListFreeTrialStatusesV2Command } from "@aws-sdk/client-securityhub"; // ES Modules import
32
+ * // const { SecurityHubClient, ListFreeTrialStatusesV2Command } = require("@aws-sdk/client-securityhub"); // CommonJS import
33
+ * // import type { SecurityHubClientConfig } from "@aws-sdk/client-securityhub";
34
+ * const config = {}; // type is SecurityHubClientConfig
35
+ * const client = new SecurityHubClient(config);
36
+ * const input = { // ListFreeTrialStatusesV2Request
37
+ * AccountIds: [ // FreeTrialAccountIdList
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * Statuses: [ // FreeTrialStatusValueList
41
+ * "ACTIVE" || "INACTIVE",
42
+ * ],
43
+ * MaxResults: Number("int"),
44
+ * NextToken: "STRING_VALUE",
45
+ * };
46
+ * const command = new ListFreeTrialStatusesV2Command(input);
47
+ * const response = await client.send(command);
48
+ * // { // ListFreeTrialStatusesV2Response
49
+ * // AccountFreeTrialStatuses: [ // AccountFreeTrialStatusList // required
50
+ * // { // AccountFreeTrialStatus
51
+ * // AccountId: "STRING_VALUE", // required
52
+ * // EvaluatedAt: new Date("TIMESTAMP"), // required
53
+ * // FreeTrialStatuses: [ // FreeTrialStatusList // required
54
+ * // { // FreeTrialStatus
55
+ * // FeatureType: "SECURITY_HUB_V2" || "SECURITY_HUB_V2_MULTI_CLOUD_AZURE", // required
56
+ * // Status: "ACTIVE" || "INACTIVE", // required
57
+ * // StartedAt: new Date("TIMESTAMP"), // required
58
+ * // ExpiresAt: new Date("TIMESTAMP"), // required
59
+ * // },
60
+ * // ],
61
+ * // },
62
+ * // ],
63
+ * // NextToken: "STRING_VALUE",
64
+ * // };
65
+ *
66
+ * ```
67
+ *
68
+ * @param ListFreeTrialStatusesV2CommandInput - {@link ListFreeTrialStatusesV2CommandInput}
69
+ * @returns {@link ListFreeTrialStatusesV2CommandOutput}
70
+ * @see {@link ListFreeTrialStatusesV2CommandInput} for command's `input` shape.
71
+ * @see {@link ListFreeTrialStatusesV2CommandOutput} for command's `response` shape.
72
+ * @see {@link SecurityHubClientResolvedConfig | config} for SecurityHubClient's `config` shape.
73
+ *
74
+ * @throws {@link AccessDeniedException} (client fault)
75
+ * <p>You don't have permission to perform the action specified in the request.</p>
76
+ *
77
+ * @throws {@link InternalServerException} (server fault)
78
+ * <p>
79
+ * The request has failed due to an internal failure of the service.
80
+ * </p>
81
+ *
82
+ * @throws {@link ResourceNotFoundException} (client fault)
83
+ * <p>The request was rejected because we can't find the specified resource.</p>
84
+ *
85
+ * @throws {@link ThrottlingException} (client fault)
86
+ * <p>
87
+ * The limit on the number of requests per second was exceeded.
88
+ * </p>
89
+ *
90
+ * @throws {@link ValidationException} (client fault)
91
+ * <p>The request has failed validation because it's missing required fields or has invalid inputs.</p>
92
+ *
93
+ * @throws {@link SecurityHubServiceException}
94
+ * <p>Base exception class for all service exceptions from SecurityHub service.</p>
95
+ *
96
+ *
97
+ * @public
98
+ */
99
+ export declare class ListFreeTrialStatusesV2Command extends ListFreeTrialStatusesV2Command_base {
100
+ /** @internal type navigation helper, not in runtime. */
101
+ protected static __types: {
102
+ api: {
103
+ input: ListFreeTrialStatusesV2Request;
104
+ output: ListFreeTrialStatusesV2Response;
105
+ };
106
+ sdk: {
107
+ input: ListFreeTrialStatusesV2CommandInput;
108
+ output: ListFreeTrialStatusesV2CommandOutput;
109
+ };
110
+ };
111
+ }
@@ -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,27 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const FreeTrialType: {
6
+ readonly SECURITY_HUB_V2: "SECURITY_HUB_V2";
7
+ readonly SECURITY_HUB_V2_MULTI_CLOUD_AZURE: "SECURITY_HUB_V2_MULTI_CLOUD_AZURE";
8
+ };
9
+ /**
10
+ * @public
11
+ */
12
+ export type FreeTrialType = (typeof FreeTrialType)[keyof typeof FreeTrialType];
13
+ /**
14
+ * @public
15
+ * @enum
16
+ */
17
+ export declare const FreeTrialStatusValue: {
18
+ readonly ACTIVE: "ACTIVE";
19
+ readonly INACTIVE: "INACTIVE";
20
+ };
21
+ /**
22
+ * @public
23
+ */
24
+ export type FreeTrialStatusValue = (typeof FreeTrialStatusValue)[keyof typeof FreeTrialStatusValue];
1
25
  /**
2
26
  * @public
3
27
  * @enum
@@ -1,4 +1,4 @@
1
- import type { ActorSessionMfaStatus, AdminStatus, AssociationType, AutomationRulesActionType, AutomationRulesActionTypeV2, ConfigurationPolicyAssociationStatus, DateRangeComparison, DateRangeUnit, MapFilterComparison, RuleStatus, RuleStatusV2, SeverityLabel, StringFilterComparison, VerificationState, WorkflowStatus } from "./enums";
1
+ import type { ActorSessionMfaStatus, AdminStatus, AssociationType, AutomationRulesActionType, AutomationRulesActionTypeV2, ConfigurationPolicyAssociationStatus, DateRangeComparison, DateRangeUnit, FreeTrialStatusValue, FreeTrialType, MapFilterComparison, RuleStatus, RuleStatusV2, SeverityLabel, StringFilterComparison, VerificationState, WorkflowStatus } from "./enums";
2
2
  /**
3
3
  * @public
4
4
  */
@@ -55,6 +55,74 @@ export interface AccountDetails {
55
55
  */
56
56
  Email?: string | undefined;
57
57
  }
58
+ /**
59
+ * <p>The free trial period for a Security Hub feature, and whether the trial is currently active.</p>
60
+ * @public
61
+ */
62
+ export interface FreeTrialStatus {
63
+ /**
64
+ * <p>The feature that the free trial period applies to. Valid values:</p>
65
+ * <ul>
66
+ * <li>
67
+ * <p>
68
+ * <code>SECURITY_HUB_V2</code> specifies Security Hub.</p>
69
+ * </li>
70
+ * <li>
71
+ * <p>
72
+ * <code>SECURITY_HUB_V2_MULTI_CLOUD_AZURE</code> specifies Security Hub coverage for Microsoft Azure resources.</p>
73
+ * </li>
74
+ * </ul>
75
+ * @public
76
+ */
77
+ FeatureType: FreeTrialType | undefined;
78
+ /**
79
+ * <p>Whether the free trial period is currently active. Valid values:</p>
80
+ * <ul>
81
+ * <li>
82
+ * <p>
83
+ * <code>ACTIVE</code> specifies that the free trial period is ongoing.</p>
84
+ * </li>
85
+ * <li>
86
+ * <p>
87
+ * <code>INACTIVE</code> specifies that the free trial period has ended, or that it never started.</p>
88
+ * </li>
89
+ * </ul>
90
+ * <p>To determine whether a trial has expired, compare <code>ExpiresAt</code> to the current time.</p>
91
+ * @public
92
+ */
93
+ Status: FreeTrialStatusValue | undefined;
94
+ /**
95
+ * <p>The date and time at which the free trial period began.</p>
96
+ * @public
97
+ */
98
+ StartedAt: Date | undefined;
99
+ /**
100
+ * <p>The date and time at which the free trial period ends.</p>
101
+ * @public
102
+ */
103
+ ExpiresAt: Date | undefined;
104
+ }
105
+ /**
106
+ * <p>The free trial status of each Security Hub feature for an account.</p>
107
+ * @public
108
+ */
109
+ export interface AccountFreeTrialStatus {
110
+ /**
111
+ * <p>The Amazon Web Services account identifier that the free trial statuses apply to.</p>
112
+ * @public
113
+ */
114
+ AccountId: string | undefined;
115
+ /**
116
+ * <p>The date and time at which Security Hub evaluated the free trial statuses for this account. Every status in <code>FreeTrialStatuses</code> reflects this point in time.</p>
117
+ * @public
118
+ */
119
+ EvaluatedAt: Date | undefined;
120
+ /**
121
+ * <p>An array of free trial statuses, one for each feature that has a free trial period for the account. The array is empty if the account has no free trial to report.</p>
122
+ * @public
123
+ */
124
+ FreeTrialStatuses: FreeTrialStatus[] | undefined;
125
+ }
58
126
  /**
59
127
  * <p>Provided if <code>CallerType</code> is <code>domain</code>. It provides information
60
128
  * about the DNS domain that issued the API call.</p>
@@ -11643,51 +11711,3 @@ export interface AwsEcsTaskDefinitionProxyConfigurationDetails {
11643
11711
  */
11644
11712
  Type?: string | undefined;
11645
11713
  }
11646
- /**
11647
- * <p>Information about a Docker volume.</p>
11648
- * @public
11649
- */
11650
- export interface AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails {
11651
- /**
11652
- * <p>Whether to create the Docker volume automatically if it does not already exist.</p>
11653
- * @public
11654
- */
11655
- Autoprovision?: boolean | undefined;
11656
- /**
11657
- * <p>The Docker volume driver to use.</p>
11658
- * @public
11659
- */
11660
- Driver?: string | undefined;
11661
- /**
11662
- * <p>A map of Docker driver-specific options that are passed through.</p>
11663
- * @public
11664
- */
11665
- DriverOpts?: Record<string, string> | undefined;
11666
- /**
11667
- * <p>Custom metadata to add to the Docker volume.</p>
11668
- * @public
11669
- */
11670
- Labels?: Record<string, string> | undefined;
11671
- /**
11672
- * <p>The scope for the Docker volume that determines its lifecycle. Docker volumes that are scoped to a task are provisioned
11673
- * automatically when the task starts and destroyed when the task stops. Docker volumes that are shared persist after the task stops. Valid values are <code>shared</code> or <code>task</code>.</p>
11674
- * @public
11675
- */
11676
- Scope?: string | undefined;
11677
- }
11678
- /**
11679
- * <p></p>
11680
- * @public
11681
- */
11682
- export interface AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationAuthorizationConfigDetails {
11683
- /**
11684
- * <p>The Amazon EFS access point identifier to use.</p>
11685
- * @public
11686
- */
11687
- AccessPointId?: string | undefined;
11688
- /**
11689
- * <p>Whether to use the Amazon ECS task IAM role defined in a task definition when mounting the Amazon EFS file system.</p>
11690
- * @public
11691
- */
11692
- Iam?: string | undefined;
11693
- }
@@ -1,5 +1,53 @@
1
1
  import type { AwsIamAccessKeyStatus, AwsS3BucketNotificationConfigurationS3KeyFilterRuleName, ComplianceStatus, ConnectionDirection, MalwareState, MalwareType, NetworkDirection, SeverityLabel } from "./enums";
2
- import type { Actor, AssociatedStandard, AvailabilityZone, AwsEcsContainerDetails, AwsEcsTaskDefinitionContainerDefinitionsDetails, AwsEcsTaskDefinitionInferenceAcceleratorsDetails, AwsEcsTaskDefinitionPlacementConstraintsDetails, AwsEcsTaskDefinitionProxyConfigurationDetails, AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails, AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationAuthorizationConfigDetails, RelatedFinding } from "./models_0";
2
+ import type { Actor, AssociatedStandard, AvailabilityZone, AwsEcsContainerDetails, AwsEcsTaskDefinitionContainerDefinitionsDetails, AwsEcsTaskDefinitionInferenceAcceleratorsDetails, AwsEcsTaskDefinitionPlacementConstraintsDetails, AwsEcsTaskDefinitionProxyConfigurationDetails, RelatedFinding } from "./models_0";
3
+ /**
4
+ * <p>Information about a Docker volume.</p>
5
+ * @public
6
+ */
7
+ export interface AwsEcsTaskDefinitionVolumesDockerVolumeConfigurationDetails {
8
+ /**
9
+ * <p>Whether to create the Docker volume automatically if it does not already exist.</p>
10
+ * @public
11
+ */
12
+ Autoprovision?: boolean | undefined;
13
+ /**
14
+ * <p>The Docker volume driver to use.</p>
15
+ * @public
16
+ */
17
+ Driver?: string | undefined;
18
+ /**
19
+ * <p>A map of Docker driver-specific options that are passed through.</p>
20
+ * @public
21
+ */
22
+ DriverOpts?: Record<string, string> | undefined;
23
+ /**
24
+ * <p>Custom metadata to add to the Docker volume.</p>
25
+ * @public
26
+ */
27
+ Labels?: Record<string, string> | undefined;
28
+ /**
29
+ * <p>The scope for the Docker volume that determines its lifecycle. Docker volumes that are scoped to a task are provisioned
30
+ * automatically when the task starts and destroyed when the task stops. Docker volumes that are shared persist after the task stops. Valid values are <code>shared</code> or <code>task</code>.</p>
31
+ * @public
32
+ */
33
+ Scope?: string | undefined;
34
+ }
35
+ /**
36
+ * <p></p>
37
+ * @public
38
+ */
39
+ export interface AwsEcsTaskDefinitionVolumesEfsVolumeConfigurationAuthorizationConfigDetails {
40
+ /**
41
+ * <p>The Amazon EFS access point identifier to use.</p>
42
+ * @public
43
+ */
44
+ AccessPointId?: string | undefined;
45
+ /**
46
+ * <p>Whether to use the Amazon ECS task IAM role defined in a task definition when mounting the Amazon EFS file system.</p>
47
+ * @public
48
+ */
49
+ Iam?: string | undefined;
50
+ }
3
51
  /**
4
52
  * <p>Information about the Amazon Elastic File System file system that is used for task storage.</p>
5
53
  * @public
@@ -9894,48 +9942,3 @@ export interface AwsWafRuleDetails {
9894
9942
  */
9895
9943
  RuleId?: string | undefined;
9896
9944
  }
9897
- /**
9898
- * <p>Provides information about what action WAF should take on a web request when it matches the criteria defined in the rule.
9899
- * </p>
9900
- * @public
9901
- */
9902
- export interface AwsWafRuleGroupRulesActionDetails {
9903
- /**
9904
- * <p>The action that WAF should take on a web request when it matches the rule's
9905
- * statement.</p>
9906
- * @public
9907
- */
9908
- Type?: string | undefined;
9909
- }
9910
- /**
9911
- * <p>Provides information about the rules attached to the rule group. These rules identify the web requests that you want to
9912
- * allow, block, or count.
9913
- * </p>
9914
- * @public
9915
- */
9916
- export interface AwsWafRuleGroupRulesDetails {
9917
- /**
9918
- * <p>Provides information about what action WAF should take on a web request when it matches the criteria defined in the rule.
9919
- * </p>
9920
- * @public
9921
- */
9922
- Action?: AwsWafRuleGroupRulesActionDetails | undefined;
9923
- /**
9924
- * <p>If you define more than one rule in a web ACL, WAF evaluates each request against the rules in order
9925
- * based on the value of <code>Priority</code>.</p>
9926
- * @public
9927
- */
9928
- Priority?: number | undefined;
9929
- /**
9930
- * <p>The rule ID for a rule.
9931
- * </p>
9932
- * @public
9933
- */
9934
- RuleId?: string | undefined;
9935
- /**
9936
- * <p>The type of rule.
9937
- * </p>
9938
- * @public
9939
- */
9940
- Type?: string | undefined;
9941
- }
@@ -1,7 +1,52 @@
1
1
  import type { DocumentType as __DocumentType } from "@smithy/types";
2
2
  import type { AssociationStatus, AssociationType, AutoEnableStandards, BatchUpdateFindingsV2UnprocessedFindingErrorCode, CloudProviderName, ConfigurationPolicyAssociationStatus, ConnectorAuthStatus, ConnectorProviderName, ConnectorStatus, ControlFindingGenerator, ControlStatus, CspmConnectorProviderName, CspmConnectorStatus, CspmEnablementStatus, EnablementStatus, FeatureName, FeatureStatus, FindingHistoryUpdateSourceType, FindingsTrendsStringField, GranularityField, HealthIssueCode, IntegrationType, IntegrationV2Type, OcsfBooleanField, OcsfDateField, OcsfIpField, OcsfMapField, OcsfNumberField, OcsfStringField, OrganizationConfigurationConfigurationType, OrganizationConfigurationStatus, ParameterValueType, Partition, RecommendationStatus, RecommendationType, RecordState, ResourcesDateField, ResourcesMapField, ResourcesNumberField, ResourcesStringField, ResourcesTrendsStringField, RuleStatus, ScopeType, SecurityControlsProvider, SecurityHubFeature, SeverityLabel, SeverityRating, SortOrder, StandardsControlsUpdatable, StandardsProvider, StandardsStatus, StatusReasonCode, TargetType, ThreatIntelIndicatorCategory, ThreatIntelIndicatorType, TicketCreationMode, UnprocessedErrorCode, UpdateStatus, VerificationState, VulnerabilityExploitAvailable, VulnerabilityFixAvailable, WorkflowState, WorkflowStatus } from "./enums";
3
- import type { AccountDetails, Action, ActionTarget, Adjustment, AIDetails, AutomationRulesAction, AutomationRulesConfig, AutomationRulesFindingFilters, AwsAmazonMqBrokerDetails, AwsApiGatewayRestApiDetails, AwsApiGatewayStageDetails, AwsApiGatewayV2ApiDetails, AwsApiGatewayV2StageDetails, AwsAppSyncGraphQlApiDetails, AwsAthenaWorkGroupDetails, AwsAutoScalingAutoScalingGroupDetails, AwsAutoScalingLaunchConfigurationDetails, AwsBackupBackupPlanDetails, AwsBackupBackupVaultDetails, AwsBackupRecoveryPointDetails, AwsCertificateManagerCertificateDetails, AwsCloudFormationStackDetails, AwsCloudFrontDistributionDetails, AwsCloudTrailTrailDetails, AwsCloudWatchAlarmDetails, AwsCodeBuildProjectDetails, AwsDmsEndpointDetails, AwsDmsReplicationInstanceDetails, AwsDmsReplicationTaskDetails, AwsDynamoDbTableDetails, AwsEc2ClientVpnEndpointDetails, AwsEc2EipDetails, AwsEc2InstanceDetails, AwsEc2LaunchTemplateDetails, AwsEc2NetworkAclDetails, AwsEc2NetworkInterfaceDetails, AwsEc2RouteTableDetails, AwsEc2SecurityGroupDetails, AwsEc2SubnetDetails, AwsEc2TransitGatewayDetails, AwsEc2VolumeDetails, AwsEc2VpcDetails, AwsEc2VpcEndpointServiceDetails, AwsEc2VpcPeeringConnectionDetails, AwsEc2VpnConnectionDetails, AwsEcrContainerImageDetails, AwsEcrRepositoryDetails, AwsEcsClusterDetails, AwsEcsContainerDetails, AwsEcsServiceDetails, DateFilter, MapFilter, NoteUpdate, NumberFilter, RelatedFinding, SeverityUpdate, StringFilter, WorkflowUpdate } from "./models_0";
4
- import type { AwsEcsTaskDefinitionDetails, AwsEcsTaskDetails, AwsEfsAccessPointDetails, AwsEksClusterDetails, AwsElasticBeanstalkEnvironmentDetails, AwsElasticsearchDomainDetails, AwsElbLoadBalancerDetails, AwsElbv2LoadBalancerDetails, AwsEventSchemasRegistryDetails, AwsEventsEndpointDetails, AwsEventsEventbusDetails, AwsGuardDutyDetectorDetails, AwsIamAccessKeyDetails, AwsIamGroupDetails, AwsIamPolicyDetails, AwsIamRoleDetails, AwsIamUserDetails, AwsKinesisStreamDetails, AwsKmsKeyDetails, AwsLambdaFunctionDetails, AwsLambdaLayerVersionDetails, AwsMskClusterDetails, AwsNetworkFirewallFirewallDetails, AwsNetworkFirewallFirewallPolicyDetails, AwsNetworkFirewallRuleGroupDetails, AwsOpenSearchServiceDomainDetails, AwsOrganizationScope, AwsRdsDbClusterDetails, AwsRdsDbClusterSnapshotDetails, AwsRdsDbInstanceDetails, AwsRdsDbSecurityGroupDetails, AwsRdsDbSnapshotDetails, AwsRdsEventSubscriptionDetails, AwsRedshiftClusterDetails, AwsRoute53HostedZoneDetails, AwsS3AccessPointDetails, AwsS3AccountPublicAccessBlockDetails, AwsS3BucketDetails, AwsS3ObjectDetails, AwsSageMakerNotebookInstanceDetails, AwsSecretsManagerSecretDetails, AwsSnsTopicDetails, AwsSqsQueueDetails, AwsSsmPatchComplianceDetails, AwsStepFunctionStateMachineDetails, AwsWafRateBasedRuleDetails, AwsWafRegionalRateBasedRuleDetails, AwsWafRegionalRuleDetails, AwsWafRegionalRuleGroupDetails, AwsWafRegionalWebAclDetails, AwsWafRuleDetails, AwsWafRuleGroupRulesDetails, Compliance, DataClassificationDetails, Detection, FindingProviderFields, GeneratorDetails, Malware, Network, NetworkPathComponent, Note, PatchSummary, ProcessDetails, Remediation } from "./models_1";
3
+ import type { AccountDetails, Action, ActionTarget, Adjustment, AutomationRulesAction, AutomationRulesConfig, AutomationRulesFindingFilters, AwsAmazonMqBrokerDetails, AwsApiGatewayRestApiDetails, AwsApiGatewayStageDetails, AwsApiGatewayV2ApiDetails, AwsApiGatewayV2StageDetails, AwsAppSyncGraphQlApiDetails, AwsAthenaWorkGroupDetails, AwsAutoScalingAutoScalingGroupDetails, AwsAutoScalingLaunchConfigurationDetails, AwsBackupBackupPlanDetails, AwsBackupBackupVaultDetails, AwsBackupRecoveryPointDetails, AwsCertificateManagerCertificateDetails, AwsCloudFormationStackDetails, AwsCloudFrontDistributionDetails, AwsCloudTrailTrailDetails, AwsCloudWatchAlarmDetails, AwsCodeBuildProjectDetails, AwsDmsEndpointDetails, AwsDmsReplicationInstanceDetails, AwsDmsReplicationTaskDetails, AwsDynamoDbTableDetails, AwsEc2ClientVpnEndpointDetails, AwsEc2EipDetails, AwsEc2InstanceDetails, AwsEc2LaunchTemplateDetails, AwsEc2NetworkAclDetails, AwsEc2NetworkInterfaceDetails, AwsEc2RouteTableDetails, AwsEc2SecurityGroupDetails, AwsEc2SubnetDetails, AwsEc2TransitGatewayDetails, AwsEc2VolumeDetails, AwsEc2VpcDetails, AwsEc2VpcEndpointServiceDetails, AwsEc2VpcPeeringConnectionDetails, AwsEc2VpnConnectionDetails, AwsEcrContainerImageDetails, AwsEcrRepositoryDetails, AwsEcsClusterDetails, AwsEcsContainerDetails, AwsEcsServiceDetails, DateFilter, MapFilter, NoteUpdate, NumberFilter, RelatedFinding, SeverityUpdate, StringFilter, WorkflowUpdate } from "./models_0";
4
+ import type { AwsEcsTaskDefinitionDetails, AwsEcsTaskDetails, AwsEfsAccessPointDetails, AwsEksClusterDetails, AwsElasticBeanstalkEnvironmentDetails, AwsElasticsearchDomainDetails, AwsElbLoadBalancerDetails, AwsElbv2LoadBalancerDetails, AwsEventSchemasRegistryDetails, AwsEventsEndpointDetails, AwsEventsEventbusDetails, AwsGuardDutyDetectorDetails, AwsIamAccessKeyDetails, AwsIamGroupDetails, AwsIamPolicyDetails, AwsIamRoleDetails, AwsIamUserDetails, AwsKinesisStreamDetails, AwsKmsKeyDetails, AwsLambdaFunctionDetails, AwsLambdaLayerVersionDetails, AwsMskClusterDetails, AwsNetworkFirewallFirewallDetails, AwsNetworkFirewallFirewallPolicyDetails, AwsNetworkFirewallRuleGroupDetails, AwsOpenSearchServiceDomainDetails, AwsOrganizationScope, AwsRdsDbClusterDetails, AwsRdsDbClusterSnapshotDetails, AwsRdsDbInstanceDetails, AwsRdsDbSecurityGroupDetails, AwsRdsDbSnapshotDetails, AwsRdsEventSubscriptionDetails, AwsRedshiftClusterDetails, AwsRoute53HostedZoneDetails, AwsS3AccessPointDetails, AwsS3AccountPublicAccessBlockDetails, AwsS3BucketDetails, AwsS3ObjectDetails, AwsSageMakerNotebookInstanceDetails, AwsSecretsManagerSecretDetails, AwsSnsTopicDetails, AwsSqsQueueDetails, AwsSsmPatchComplianceDetails, AwsStepFunctionStateMachineDetails, AwsWafRateBasedRuleDetails, AwsWafRegionalRateBasedRuleDetails, AwsWafRegionalRuleDetails, AwsWafRegionalRuleGroupDetails, AwsWafRegionalWebAclDetails, AwsWafRuleDetails, Compliance, DataClassificationDetails, Detection, FindingProviderFields, GeneratorDetails, Malware, Network, NetworkPathComponent, Note, PatchSummary, ProcessDetails, Remediation } from "./models_1";
5
+ /**
6
+ * <p>Provides information about what action WAF should take on a web request when it matches the criteria defined in the rule.
7
+ * </p>
8
+ * @public
9
+ */
10
+ export interface AwsWafRuleGroupRulesActionDetails {
11
+ /**
12
+ * <p>The action that WAF should take on a web request when it matches the rule's
13
+ * statement.</p>
14
+ * @public
15
+ */
16
+ Type?: string | undefined;
17
+ }
18
+ /**
19
+ * <p>Provides information about the rules attached to the rule group. These rules identify the web requests that you want to
20
+ * allow, block, or count.
21
+ * </p>
22
+ * @public
23
+ */
24
+ export interface AwsWafRuleGroupRulesDetails {
25
+ /**
26
+ * <p>Provides information about what action WAF should take on a web request when it matches the criteria defined in the rule.
27
+ * </p>
28
+ * @public
29
+ */
30
+ Action?: AwsWafRuleGroupRulesActionDetails | undefined;
31
+ /**
32
+ * <p>If you define more than one rule in a web ACL, WAF evaluates each request against the rules in order
33
+ * based on the value of <code>Priority</code>.</p>
34
+ * @public
35
+ */
36
+ Priority?: number | undefined;
37
+ /**
38
+ * <p>The rule ID for a rule.
39
+ * </p>
40
+ * @public
41
+ */
42
+ RuleId?: string | undefined;
43
+ /**
44
+ * <p>The type of rule.
45
+ * </p>
46
+ * @public
47
+ */
48
+ Type?: string | undefined;
49
+ }
5
50
  /**
6
51
  * <p>Provides information about an WAF rule group. A rule group is a collection of rules for inspecting and controlling web requests.
7
52
  * </p>
@@ -9082,30 +9127,3 @@ export interface ResourceFindingsSummary {
9082
9127
  */
9083
9128
  Severities?: ResourceSeverityBreakdown | undefined;
9084
9129
  }
9085
- /**
9086
- * <p>Additional details about a resource that are specific to its category. For AI/ML resources and their host resources, this structure contains <code>AIDetails</code>.</p>
9087
- * @public
9088
- */
9089
- export interface ResourceInfo {
9090
- /**
9091
- * <p>Details that are specific to self-hosted AI resources and their host resources.</p>
9092
- * @public
9093
- */
9094
- AIDetails?: AIDetails | undefined;
9095
- }
9096
- /**
9097
- * <p>Represents tag information associated with Amazon Web Services resources.</p>
9098
- * @public
9099
- */
9100
- export interface ResourceTag {
9101
- /**
9102
- * <p>The identifier or name of the tag.</p>
9103
- * @public
9104
- */
9105
- Key: string | undefined;
9106
- /**
9107
- * <p>The data associated with the tag key.</p>
9108
- * @public
9109
- */
9110
- Value: string | undefined;
9111
- }
@@ -1,7 +1,34 @@
1
1
  import type { DocumentType as __DocumentType } from "@smithy/types";
2
- import type { AllowedOperators, AssociationStatus, AssociationType, AutoEnableStandards, ConfigurationPolicyAssociationStatus, ConnectorProviderName, ConnectorStatus, ControlFindingGenerator, ControlStatus, CspmConnectorProviderName, CspmConnectorStatus, CspmEnablementStatus, DiscoveryType, EnablementStatus, GroupByField, RecordState, RegionAvailabilityStatus, ResourceCategory, ResourceGroupByField, ResourceSubCategory, RuleStatusV2, SecurityControlProperty, SecurityControlsProvider, SecurityHubFeature, SeverityRating, SortOrder, TargetType } from "./enums";
3
- import type { AdminAccount, AggregatorV2, AssociationFilters, AutomationRulesActionV2, AutomationRulesMetadata, AutomationRulesMetadataV2, NoteUpdate } from "./models_0";
4
- import type { AwsSecurityFindingFilters, AzureUpdateConfiguration, ConfigurationOptions, ConfigurationPolicyAssociationSummary, ConfigurationPolicySummary, ConnectorSummary, CspmConnectorSummary, CspmProviderUpdateConfiguration, FindingAggregator, FindingScopes, FindingsTrendsStringFilter, Invitation, Member, OcsfBooleanFilter, OcsfDateFilter, OcsfIpFilter, OcsfMapFilter, OcsfNumberFilter, OcsfStringFilter, OrganizationConfiguration, ParameterConfiguration, Policy, ResourceFindingsSummary, ResourceInfo, ResourceScopes, ResourcesDateFilter, ResourcesMapFilter, ResourcesNumberFilter, ResourcesStringFilter, ResourcesTrendsStringFilter, ResourceTag, Result, SortCriterion, Target } from "./models_2";
2
+ import type { AllowedOperators, AssociationStatus, AssociationType, AutoEnableStandards, ConfigurationPolicyAssociationStatus, ConnectorProviderName, ConnectorStatus, ControlFindingGenerator, ControlStatus, CspmConnectorProviderName, CspmConnectorStatus, CspmEnablementStatus, DiscoveryType, EnablementStatus, FreeTrialStatusValue, GroupByField, RecordState, RegionAvailabilityStatus, ResourceCategory, ResourceGroupByField, ResourceSubCategory, RuleStatusV2, SecurityControlProperty, SecurityControlsProvider, SecurityHubFeature, SeverityRating, SortOrder, TargetType } from "./enums";
3
+ import type { AccountFreeTrialStatus, AdminAccount, AggregatorV2, AIDetails, AssociationFilters, AutomationRulesActionV2, AutomationRulesMetadata, AutomationRulesMetadataV2, NoteUpdate } from "./models_0";
4
+ import type { AwsSecurityFindingFilters, AzureUpdateConfiguration, ConfigurationOptions, ConfigurationPolicyAssociationSummary, ConfigurationPolicySummary, ConnectorSummary, CspmConnectorSummary, CspmProviderUpdateConfiguration, FindingAggregator, FindingScopes, FindingsTrendsStringFilter, Invitation, Member, OcsfBooleanFilter, OcsfDateFilter, OcsfIpFilter, OcsfMapFilter, OcsfNumberFilter, OcsfStringFilter, OrganizationConfiguration, ParameterConfiguration, Policy, ResourceFindingsSummary, ResourceScopes, ResourcesDateFilter, ResourcesMapFilter, ResourcesNumberFilter, ResourcesStringFilter, ResourcesTrendsStringFilter, Result, SortCriterion, Target } from "./models_2";
5
+ /**
6
+ * <p>Additional details about a resource that are specific to its category. For AI/ML resources and their host resources, this structure contains <code>AIDetails</code>.</p>
7
+ * @public
8
+ */
9
+ export interface ResourceInfo {
10
+ /**
11
+ * <p>Details that are specific to self-hosted AI resources and their host resources.</p>
12
+ * @public
13
+ */
14
+ AIDetails?: AIDetails | undefined;
15
+ }
16
+ /**
17
+ * <p>Represents tag information associated with Amazon Web Services resources.</p>
18
+ * @public
19
+ */
20
+ export interface ResourceTag {
21
+ /**
22
+ * <p>The identifier or name of the tag.</p>
23
+ * @public
24
+ */
25
+ Key: string | undefined;
26
+ /**
27
+ * <p>The data associated with the tag key.</p>
28
+ * @public
29
+ */
30
+ Value: string | undefined;
31
+ }
5
32
  /**
6
33
  * <p>Provides comprehensive details about an Amazon Web Services resource and its associated security findings.</p>
7
34
  * @public
@@ -652,6 +679,56 @@ export interface ListFindingAggregatorsResponse {
652
679
  */
653
680
  NextToken?: string | undefined;
654
681
  }
682
+ /**
683
+ * @public
684
+ */
685
+ export interface ListFreeTrialStatusesV2Request {
686
+ /**
687
+ * <p>The Amazon Web Services account identifiers to list free trial status for. You can specify accounts other than your own only if you are a delegated Security Hub administrator.</p>
688
+ * @public
689
+ */
690
+ AccountIds?: string[] | undefined;
691
+ /**
692
+ * <p>The free trial statuses to filter the results by. Valid values:</p>
693
+ * <ul>
694
+ * <li>
695
+ * <p>
696
+ * <code>ACTIVE</code> returns only features with an ongoing free trial period.</p>
697
+ * </li>
698
+ * <li>
699
+ * <p>
700
+ * <code>INACTIVE</code> returns only features whose free trial period has ended, or that never started.</p>
701
+ * </li>
702
+ * </ul>
703
+ * @public
704
+ */
705
+ Statuses?: FreeTrialStatusValue[] | undefined;
706
+ /**
707
+ * <p>The maximum number of results to return. If you don't specify a value, Security Hub returns up to 100 results.</p>
708
+ * @public
709
+ */
710
+ MaxResults?: number | undefined;
711
+ /**
712
+ * <p>The pagination token to request the next page of results.</p>
713
+ * @public
714
+ */
715
+ NextToken?: string | undefined;
716
+ }
717
+ /**
718
+ * @public
719
+ */
720
+ export interface ListFreeTrialStatusesV2Response {
721
+ /**
722
+ * <p>An array of free trial statuses, one for each account in scope.</p>
723
+ * @public
724
+ */
725
+ AccountFreeTrialStatuses: AccountFreeTrialStatus[] | undefined;
726
+ /**
727
+ * <p>The pagination token to use to request the next page of results. If there are no additional results, this value is null.</p>
728
+ * @public
729
+ */
730
+ NextToken?: string | undefined;
731
+ }
655
732
  /**
656
733
  * @public
657
734
  */
@@ -0,0 +1,7 @@
1
+ import type { Paginator } from "@smithy/types";
2
+ import { ListFreeTrialStatusesV2CommandInput, ListFreeTrialStatusesV2CommandOutput } from "../commands/ListFreeTrialStatusesV2Command";
3
+ import type { SecurityHubPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListFreeTrialStatusesV2: (config: SecurityHubPaginationConfiguration, input: ListFreeTrialStatusesV2CommandInput, ...rest: any[]) => 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;