@aws-sdk/client-securityhub 3.350.0 → 3.352.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 +40 -0
- package/dist-cjs/SecurityHub.js +10 -0
- package/dist-cjs/commands/BatchDeleteAutomationRulesCommand.js +46 -0
- package/dist-cjs/commands/BatchGetAutomationRulesCommand.js +46 -0
- package/dist-cjs/commands/BatchUpdateAutomationRulesCommand.js +46 -0
- package/dist-cjs/commands/CreateAutomationRuleCommand.js +46 -0
- package/dist-cjs/commands/ListAutomationRulesCommand.js +46 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +40 -1
- package/dist-cjs/models/models_1.js +1 -44
- package/dist-cjs/models/models_2.js +12 -1
- package/dist-cjs/protocols/Aws_restJson1.js +553 -3
- package/dist-es/SecurityHub.js +10 -0
- package/dist-es/commands/BatchDeleteAutomationRulesCommand.js +42 -0
- package/dist-es/commands/BatchGetAutomationRulesCommand.js +42 -0
- package/dist-es/commands/BatchUpdateAutomationRulesCommand.js +42 -0
- package/dist-es/commands/CreateAutomationRuleCommand.js +42 -0
- package/dist-es/commands/ListAutomationRulesCommand.js +42 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +39 -0
- package/dist-es/models/models_1.js +0 -43
- package/dist-es/models/models_2.js +11 -0
- package/dist-es/protocols/Aws_restJson1.js +540 -0
- package/dist-types/SecurityHub.d.ts +35 -0
- package/dist-types/SecurityHubClient.d.ts +7 -2
- package/dist-types/commands/BatchDeleteAutomationRulesCommand.d.ts +103 -0
- package/dist-types/commands/BatchDisableStandardsCommand.d.ts +1 -1
- package/dist-types/commands/BatchEnableStandardsCommand.d.ts +1 -1
- package/dist-types/commands/BatchGetAutomationRulesCommand.d.ts +288 -0
- package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +282 -0
- package/dist-types/commands/CreateAutomationRuleCommand.d.ts +270 -0
- package/dist-types/commands/ListAutomationRulesCommand.d.ts +106 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +6010 -5729
- package/dist-types/models/models_1.d.ts +645 -439
- package/dist-types/models/models_2.d.ts +423 -108
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/SecurityHub.d.ts +85 -0
- package/dist-types/ts3.4/SecurityHubClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/BatchDeleteAutomationRulesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/BatchDisableStandardsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/BatchEnableStandardsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/BatchGetAutomationRulesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/BatchUpdateAutomationRulesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateAutomationRuleCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListAutomationRulesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +167 -136
- package/dist-types/ts3.4/models/models_1.d.ts +145 -123
- package/dist-types/ts3.4/models/models_2.d.ts +112 -16
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +5 -5
|
@@ -1,4 +1,648 @@
|
|
|
1
|
-
import { Action, Adjustment, AssociatedStandard, AvailabilityZone, AwsAmazonMqBrokerDetails, AwsApiGatewayRestApiDetails, AwsApiGatewayStageDetails, AwsApiGatewayV2ApiDetails, AwsApiGatewayV2StageDetails, AwsAppSyncGraphQlApiDetails, AwsAutoScalingAutoScalingGroupDetails, AwsAutoScalingLaunchConfigurationDetails, AwsBackupBackupPlanDetails, AwsBackupBackupVaultDetails, AwsBackupRecoveryPointDetails, AwsCertificateManagerCertificateDetails, AwsCloudFormationStackDetails, AwsCloudFrontDistributionDetails, AwsCloudTrailTrailDetails, AwsCloudWatchAlarmDetails, AwsCodeBuildProjectDetails, AwsDynamoDbTableDetails, AwsEc2EipDetails, AwsEc2InstanceDetails, AwsEc2LaunchTemplateDetails, AwsEc2NetworkAclDetails, AwsEc2NetworkInterfaceDetails, AwsEc2RouteTableDetails, AwsEc2SecurityGroupDetails, AwsEc2SubnetDetails, AwsEc2TransitGatewayDetails, AwsEc2VolumeDetails, AwsEc2VpcDetails, AwsEc2VpcEndpointServiceDetails, AwsEc2VpcPeeringConnectionDetails, AwsEc2VpnConnectionDetails, AwsEcrContainerImageDetails, AwsEcrRepositoryDetails, AwsEcsClusterDetails, AwsEcsContainerDetails, AwsEcsServiceDetails, AwsEcsTaskDefinitionDetails, AwsEcsTaskDetails, AwsEfsAccessPointDetails,
|
|
1
|
+
import { Action, Adjustment, AssociatedStandard, AvailabilityZone, AwsAmazonMqBrokerDetails, AwsApiGatewayRestApiDetails, AwsApiGatewayStageDetails, AwsApiGatewayV2ApiDetails, AwsApiGatewayV2StageDetails, AwsAppSyncGraphQlApiDetails, AwsAutoScalingAutoScalingGroupDetails, AwsAutoScalingLaunchConfigurationDetails, AwsBackupBackupPlanDetails, AwsBackupBackupVaultDetails, AwsBackupRecoveryPointDetails, AwsCertificateManagerCertificateDetails, AwsCloudFormationStackDetails, AwsCloudFrontDistributionDetails, AwsCloudTrailTrailDetails, AwsCloudWatchAlarmDetails, AwsCodeBuildProjectDetails, AwsDynamoDbTableDetails, AwsEc2EipDetails, AwsEc2InstanceDetails, AwsEc2LaunchTemplateDetails, AwsEc2NetworkAclDetails, AwsEc2NetworkInterfaceDetails, AwsEc2RouteTableDetails, AwsEc2SecurityGroupDetails, AwsEc2SubnetDetails, AwsEc2TransitGatewayDetails, AwsEc2VolumeDetails, AwsEc2VpcDetails, AwsEc2VpcEndpointServiceDetails, AwsEc2VpcPeeringConnectionDetails, AwsEc2VpnConnectionDetails, AwsEcrContainerImageDetails, AwsEcrRepositoryDetails, AwsEcsClusterDetails, AwsEcsContainerDetails, AwsEcsServiceDetails, AwsEcsTaskDefinitionDetails, AwsEcsTaskDetails, AwsEfsAccessPointDetails, AwsEksClusterLoggingDetails, DateFilter, MapFilter, NumberFilter, RelatedFinding, SeverityLabel, StringFilter, VerificationState, WorkflowStatus } from "./models_0";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
* <p>Information about the VPC configuration used by the cluster control plane.</p>
|
|
5
|
+
*/
|
|
6
|
+
export interface AwsEksClusterResourcesVpcConfigDetails {
|
|
7
|
+
/**
|
|
8
|
+
* <p>The security groups that are associated with the cross-account elastic network interfaces that are used to allow communication between your nodes and the Amazon EKS control plane.</p>
|
|
9
|
+
*/
|
|
10
|
+
SecurityGroupIds?: string[];
|
|
11
|
+
/**
|
|
12
|
+
* <p>The subnets that are associated with the cluster.</p>
|
|
13
|
+
*/
|
|
14
|
+
SubnetIds?: string[];
|
|
15
|
+
/**
|
|
16
|
+
* <p>
|
|
17
|
+
* Indicates whether the Amazon EKS public API server endpoint is turned on. If the Amazon EKS public API
|
|
18
|
+
* server endpoint is turned off, your cluster's Kubernetes API server can only receive requests that originate from within
|
|
19
|
+
* the cluster VPC.
|
|
20
|
+
* </p>
|
|
21
|
+
*/
|
|
22
|
+
EndpointPublicAccess?: boolean;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Provides details about an Amazon EKS cluster.</p>
|
|
27
|
+
*/
|
|
28
|
+
export interface AwsEksClusterDetails {
|
|
29
|
+
/**
|
|
30
|
+
* <p>The ARN of the cluster.</p>
|
|
31
|
+
*/
|
|
32
|
+
Arn?: string;
|
|
33
|
+
/**
|
|
34
|
+
* <p>The certificate authority data for the cluster.</p>
|
|
35
|
+
*/
|
|
36
|
+
CertificateAuthorityData?: string;
|
|
37
|
+
/**
|
|
38
|
+
* <p>The status of the cluster. Valid values are as follows:</p>
|
|
39
|
+
* <ul>
|
|
40
|
+
* <li>
|
|
41
|
+
* <p>
|
|
42
|
+
* <code>ACTIVE</code>
|
|
43
|
+
* </p>
|
|
44
|
+
* </li>
|
|
45
|
+
* <li>
|
|
46
|
+
* <p>
|
|
47
|
+
* <code>CREATING</code>
|
|
48
|
+
* </p>
|
|
49
|
+
* </li>
|
|
50
|
+
* <li>
|
|
51
|
+
* <p>
|
|
52
|
+
* <code>DELETING</code>
|
|
53
|
+
* </p>
|
|
54
|
+
* </li>
|
|
55
|
+
* <li>
|
|
56
|
+
* <p>
|
|
57
|
+
* <code>FAILED</code>
|
|
58
|
+
* </p>
|
|
59
|
+
* </li>
|
|
60
|
+
* <li>
|
|
61
|
+
* <p>
|
|
62
|
+
* <code>PENDING</code>
|
|
63
|
+
* </p>
|
|
64
|
+
* </li>
|
|
65
|
+
* <li>
|
|
66
|
+
* <p>
|
|
67
|
+
* <code>UPDATING</code>
|
|
68
|
+
* </p>
|
|
69
|
+
* </li>
|
|
70
|
+
* </ul>
|
|
71
|
+
*/
|
|
72
|
+
ClusterStatus?: string;
|
|
73
|
+
/**
|
|
74
|
+
* <p>The endpoint for the Amazon EKS API server.</p>
|
|
75
|
+
*/
|
|
76
|
+
Endpoint?: string;
|
|
77
|
+
/**
|
|
78
|
+
* <p>The name of the cluster.</p>
|
|
79
|
+
*/
|
|
80
|
+
Name?: string;
|
|
81
|
+
/**
|
|
82
|
+
* <p>The VPC configuration used by the cluster control plane.</p>
|
|
83
|
+
*/
|
|
84
|
+
ResourcesVpcConfig?: AwsEksClusterResourcesVpcConfigDetails;
|
|
85
|
+
/**
|
|
86
|
+
* <p>The ARN of the IAM role that provides permissions for the Amazon EKS control plane to make calls to Amazon Web Services API operations on your behalf.</p>
|
|
87
|
+
*/
|
|
88
|
+
RoleArn?: string;
|
|
89
|
+
/**
|
|
90
|
+
* <p>The Amazon EKS server version for the cluster.</p>
|
|
91
|
+
*/
|
|
92
|
+
Version?: string;
|
|
93
|
+
/**
|
|
94
|
+
* <p>The logging configuration for the cluster.</p>
|
|
95
|
+
*/
|
|
96
|
+
Logging?: AwsEksClusterLoggingDetails;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* @public
|
|
100
|
+
* <p>Contains information about a link to another environment that is in the same group.</p>
|
|
101
|
+
*/
|
|
102
|
+
export interface AwsElasticBeanstalkEnvironmentEnvironmentLink {
|
|
103
|
+
/**
|
|
104
|
+
* <p>The name of the linked environment.</p>
|
|
105
|
+
*/
|
|
106
|
+
EnvironmentName?: string;
|
|
107
|
+
/**
|
|
108
|
+
* <p>The name of the environment link.</p>
|
|
109
|
+
*/
|
|
110
|
+
LinkName?: string;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* @public
|
|
114
|
+
* <p>A configuration option setting for the environment.</p>
|
|
115
|
+
*/
|
|
116
|
+
export interface AwsElasticBeanstalkEnvironmentOptionSetting {
|
|
117
|
+
/**
|
|
118
|
+
* <p>The type of resource that the configuration option is associated with.</p>
|
|
119
|
+
*/
|
|
120
|
+
Namespace?: string;
|
|
121
|
+
/**
|
|
122
|
+
* <p>The name of the option.</p>
|
|
123
|
+
*/
|
|
124
|
+
OptionName?: string;
|
|
125
|
+
/**
|
|
126
|
+
* <p>The name of the resource.</p>
|
|
127
|
+
*/
|
|
128
|
+
ResourceName?: string;
|
|
129
|
+
/**
|
|
130
|
+
* <p>The value of the configuration setting.</p>
|
|
131
|
+
*/
|
|
132
|
+
Value?: string;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* @public
|
|
136
|
+
* <p>Contains information about the tier of the environment.</p>
|
|
137
|
+
*/
|
|
138
|
+
export interface AwsElasticBeanstalkEnvironmentTier {
|
|
139
|
+
/**
|
|
140
|
+
* <p>The name of the environment tier. Valid values are <code>WebServer</code> or <code>Worker</code>.</p>
|
|
141
|
+
*/
|
|
142
|
+
Name?: string;
|
|
143
|
+
/**
|
|
144
|
+
* <p>The type of environment tier. Valid values are <code>Standard</code> or <code>SQS/HTTP</code>.</p>
|
|
145
|
+
*/
|
|
146
|
+
Type?: string;
|
|
147
|
+
/**
|
|
148
|
+
* <p>The version of the environment tier.</p>
|
|
149
|
+
*/
|
|
150
|
+
Version?: string;
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* @public
|
|
154
|
+
* <p>Contains details about an Elastic Beanstalk environment.</p>
|
|
155
|
+
*/
|
|
156
|
+
export interface AwsElasticBeanstalkEnvironmentDetails {
|
|
157
|
+
/**
|
|
158
|
+
* <p>The name of the application that is associated with the environment.</p>
|
|
159
|
+
*/
|
|
160
|
+
ApplicationName?: string;
|
|
161
|
+
/**
|
|
162
|
+
* <p>The URL to the CNAME for this environment.</p>
|
|
163
|
+
*/
|
|
164
|
+
Cname?: string;
|
|
165
|
+
/**
|
|
166
|
+
* <p>The creation date for this environment.</p>
|
|
167
|
+
*/
|
|
168
|
+
DateCreated?: string;
|
|
169
|
+
/**
|
|
170
|
+
* <p>The date when this environment was last modified.</p>
|
|
171
|
+
*/
|
|
172
|
+
DateUpdated?: string;
|
|
173
|
+
/**
|
|
174
|
+
* <p>A description of the environment.</p>
|
|
175
|
+
*/
|
|
176
|
+
Description?: string;
|
|
177
|
+
/**
|
|
178
|
+
* <p>For load-balanced, autoscaling environments, the URL to the load balancer. For single-instance environments, the IP address of the instance.</p>
|
|
179
|
+
*/
|
|
180
|
+
EndpointUrl?: string;
|
|
181
|
+
/**
|
|
182
|
+
* <p>The ARN of the environment.</p>
|
|
183
|
+
*/
|
|
184
|
+
EnvironmentArn?: string;
|
|
185
|
+
/**
|
|
186
|
+
* <p>The identifier of the environment.</p>
|
|
187
|
+
*/
|
|
188
|
+
EnvironmentId?: string;
|
|
189
|
+
/**
|
|
190
|
+
* <p>Links to other environments in the same group.</p>
|
|
191
|
+
*/
|
|
192
|
+
EnvironmentLinks?: AwsElasticBeanstalkEnvironmentEnvironmentLink[];
|
|
193
|
+
/**
|
|
194
|
+
* <p>The name of the environment.</p>
|
|
195
|
+
*/
|
|
196
|
+
EnvironmentName?: string;
|
|
197
|
+
/**
|
|
198
|
+
* <p>The configuration setting for the environment.</p>
|
|
199
|
+
*/
|
|
200
|
+
OptionSettings?: AwsElasticBeanstalkEnvironmentOptionSetting[];
|
|
201
|
+
/**
|
|
202
|
+
* <p>The ARN of the platform version for the environment.</p>
|
|
203
|
+
*/
|
|
204
|
+
PlatformArn?: string;
|
|
205
|
+
/**
|
|
206
|
+
* <p>The name of the solution stack that is deployed with the environment.</p>
|
|
207
|
+
*/
|
|
208
|
+
SolutionStackName?: string;
|
|
209
|
+
/**
|
|
210
|
+
* <p>The current operational status of the environment. Valid values are as follows:</p>
|
|
211
|
+
* <ul>
|
|
212
|
+
* <li>
|
|
213
|
+
* <p>
|
|
214
|
+
* <code>Aborting</code>
|
|
215
|
+
* </p>
|
|
216
|
+
* </li>
|
|
217
|
+
* <li>
|
|
218
|
+
* <p>
|
|
219
|
+
* <code>Launching</code>
|
|
220
|
+
* </p>
|
|
221
|
+
* </li>
|
|
222
|
+
* <li>
|
|
223
|
+
* <p>
|
|
224
|
+
* <code>LinkingFrom</code>
|
|
225
|
+
* </p>
|
|
226
|
+
* </li>
|
|
227
|
+
* <li>
|
|
228
|
+
* <p>
|
|
229
|
+
* <code>LinkingTo</code>
|
|
230
|
+
* </p>
|
|
231
|
+
* </li>
|
|
232
|
+
* <li>
|
|
233
|
+
* <p>
|
|
234
|
+
* <code>Ready</code>
|
|
235
|
+
* </p>
|
|
236
|
+
* </li>
|
|
237
|
+
* <li>
|
|
238
|
+
* <p>
|
|
239
|
+
* <code>Terminated</code>
|
|
240
|
+
* </p>
|
|
241
|
+
* </li>
|
|
242
|
+
* <li>
|
|
243
|
+
* <p>
|
|
244
|
+
* <code>Terminating</code>
|
|
245
|
+
* </p>
|
|
246
|
+
* </li>
|
|
247
|
+
* <li>
|
|
248
|
+
* <p>
|
|
249
|
+
* <code>Updating</code>
|
|
250
|
+
* </p>
|
|
251
|
+
* </li>
|
|
252
|
+
* </ul>
|
|
253
|
+
*/
|
|
254
|
+
Status?: string;
|
|
255
|
+
/**
|
|
256
|
+
* <p>The tier of the environment.</p>
|
|
257
|
+
*/
|
|
258
|
+
Tier?: AwsElasticBeanstalkEnvironmentTier;
|
|
259
|
+
/**
|
|
260
|
+
* <p>The application version of the environment.</p>
|
|
261
|
+
*/
|
|
262
|
+
VersionLabel?: string;
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* @public
|
|
266
|
+
* <p>Additional options for the domain endpoint, such as whether to require HTTPS for all
|
|
267
|
+
* traffic.</p>
|
|
268
|
+
*/
|
|
269
|
+
export interface AwsElasticsearchDomainDomainEndpointOptions {
|
|
270
|
+
/**
|
|
271
|
+
* <p>Whether to require that all traffic to the domain arrive over HTTPS.</p>
|
|
272
|
+
*/
|
|
273
|
+
EnforceHTTPS?: boolean;
|
|
274
|
+
/**
|
|
275
|
+
* <p>The TLS security policy to apply to the HTTPS endpoint of the OpenSearch
|
|
276
|
+
* domain.</p>
|
|
277
|
+
* <p>Valid values:</p>
|
|
278
|
+
* <ul>
|
|
279
|
+
* <li>
|
|
280
|
+
* <p>
|
|
281
|
+
* <code>Policy-Min-TLS-1-0-2019-07</code>, which supports TLSv1.0 and higher</p>
|
|
282
|
+
* </li>
|
|
283
|
+
* <li>
|
|
284
|
+
* <p>
|
|
285
|
+
* <code>Policy-Min-TLS-1-2-2019-07</code>, which only supports TLSv1.2</p>
|
|
286
|
+
* </li>
|
|
287
|
+
* </ul>
|
|
288
|
+
*/
|
|
289
|
+
TLSSecurityPolicy?: string;
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
* @public
|
|
293
|
+
* <p>Configuration options for zone awareness.</p>
|
|
294
|
+
*/
|
|
295
|
+
export interface AwsElasticsearchDomainElasticsearchClusterConfigZoneAwarenessConfigDetails {
|
|
296
|
+
/**
|
|
297
|
+
* <p>he number of Availability Zones that the domain uses. Valid values are 2 and 3. The default is 2.</p>
|
|
298
|
+
*/
|
|
299
|
+
AvailabilityZoneCount?: number;
|
|
300
|
+
}
|
|
301
|
+
/**
|
|
302
|
+
* @public
|
|
303
|
+
* <p>details about the configuration of an OpenSearch cluster.</p>
|
|
304
|
+
*/
|
|
305
|
+
export interface AwsElasticsearchDomainElasticsearchClusterConfigDetails {
|
|
306
|
+
/**
|
|
307
|
+
* <p>The number of instances to use for the master node. If this attribute is specified, then <code>DedicatedMasterEnabled</code> must be <code>true</code>.</p>
|
|
308
|
+
*/
|
|
309
|
+
DedicatedMasterCount?: number;
|
|
310
|
+
/**
|
|
311
|
+
* <p>Whether to use a dedicated master node for the Elasticsearch domain. A dedicated master node performs cluster management tasks, but doesn't hold data or respond to data upload requests.</p>
|
|
312
|
+
*/
|
|
313
|
+
DedicatedMasterEnabled?: boolean;
|
|
314
|
+
/**
|
|
315
|
+
* <p>The hardware configuration of the computer that hosts the dedicated master node. A sample value is <code>m3.medium.elasticsearch</code>. If this attribute is specified, then <code>DedicatedMasterEnabled</code> must be <code>true</code>.</p>
|
|
316
|
+
* <p>For a list of valid values, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/supported-instance-types.html">Supported instance types in Amazon OpenSearch Service</a> in the <i>Amazon OpenSearch Service Developer Guide</i>.</p>
|
|
317
|
+
*/
|
|
318
|
+
DedicatedMasterType?: string;
|
|
319
|
+
/**
|
|
320
|
+
* <p>The number of data nodes to use in the Elasticsearch domain.</p>
|
|
321
|
+
*/
|
|
322
|
+
InstanceCount?: number;
|
|
323
|
+
/**
|
|
324
|
+
* <p>The instance type for your data nodes. For example, <code>m3.medium.elasticsearch</code>.</p>
|
|
325
|
+
* <p>For a list of valid values, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/supported-instance-types.html">Supported instance types in Amazon OpenSearch Service</a> in the <i>Amazon OpenSearch Service Developer Guide</i>.</p>
|
|
326
|
+
*/
|
|
327
|
+
InstanceType?: string;
|
|
328
|
+
/**
|
|
329
|
+
* <p>Configuration options for zone awareness. Provided if <code>ZoneAwarenessEnabled</code> is <code>true</code>.</p>
|
|
330
|
+
*/
|
|
331
|
+
ZoneAwarenessConfig?: AwsElasticsearchDomainElasticsearchClusterConfigZoneAwarenessConfigDetails;
|
|
332
|
+
/**
|
|
333
|
+
* <p>Whether to enable zone awareness for the Elasticsearch domain. When zone awareness is enabled, OpenSearch allocates the cluster's nodes and replica index shards across Availability Zones in the same Region. This prevents data loss and minimizes downtime if a node or data center fails.</p>
|
|
334
|
+
*/
|
|
335
|
+
ZoneAwarenessEnabled?: boolean;
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* @public
|
|
339
|
+
* <p>Details about the configuration for encryption at rest.</p>
|
|
340
|
+
*/
|
|
341
|
+
export interface AwsElasticsearchDomainEncryptionAtRestOptions {
|
|
342
|
+
/**
|
|
343
|
+
* <p>Whether encryption at rest is enabled.</p>
|
|
344
|
+
*/
|
|
345
|
+
Enabled?: boolean;
|
|
346
|
+
/**
|
|
347
|
+
* <p>The KMS key ID. Takes the form <code>1a2a3a4-1a2a-3a4a-5a6a-1a2a3a4a5a6a</code>.</p>
|
|
348
|
+
*/
|
|
349
|
+
KmsKeyId?: string;
|
|
350
|
+
}
|
|
351
|
+
/**
|
|
352
|
+
* @public
|
|
353
|
+
* <p>The log configuration.</p>
|
|
354
|
+
*/
|
|
355
|
+
export interface AwsElasticsearchDomainLogPublishingOptionsLogConfig {
|
|
356
|
+
/**
|
|
357
|
+
* <p>The ARN of the CloudWatch Logs group to publish the logs to.</p>
|
|
358
|
+
*/
|
|
359
|
+
CloudWatchLogsLogGroupArn?: string;
|
|
360
|
+
/**
|
|
361
|
+
* <p>Whether the log publishing is enabled.</p>
|
|
362
|
+
*/
|
|
363
|
+
Enabled?: boolean;
|
|
364
|
+
}
|
|
365
|
+
/**
|
|
366
|
+
* @public
|
|
367
|
+
* <p>configures the CloudWatch Logs to publish for the
|
|
368
|
+
* Elasticsearch domain.</p>
|
|
369
|
+
*/
|
|
370
|
+
export interface AwsElasticsearchDomainLogPublishingOptions {
|
|
371
|
+
/**
|
|
372
|
+
* <p>Configures the OpenSearch index logs
|
|
373
|
+
* publishing.</p>
|
|
374
|
+
*/
|
|
375
|
+
IndexSlowLogs?: AwsElasticsearchDomainLogPublishingOptionsLogConfig;
|
|
376
|
+
/**
|
|
377
|
+
* <p>Configures the OpenSearch search slow log
|
|
378
|
+
* publishing.</p>
|
|
379
|
+
*/
|
|
380
|
+
SearchSlowLogs?: AwsElasticsearchDomainLogPublishingOptionsLogConfig;
|
|
381
|
+
/**
|
|
382
|
+
* <p>The log configuration.</p>
|
|
383
|
+
*/
|
|
384
|
+
AuditLogs?: AwsElasticsearchDomainLogPublishingOptionsLogConfig;
|
|
385
|
+
}
|
|
386
|
+
/**
|
|
387
|
+
* @public
|
|
388
|
+
* <p>Details about the configuration for node-to-node encryption.</p>
|
|
389
|
+
*/
|
|
390
|
+
export interface AwsElasticsearchDomainNodeToNodeEncryptionOptions {
|
|
391
|
+
/**
|
|
392
|
+
* <p>Whether node-to-node encryption is enabled.</p>
|
|
393
|
+
*/
|
|
394
|
+
Enabled?: boolean;
|
|
395
|
+
}
|
|
396
|
+
/**
|
|
397
|
+
* @public
|
|
398
|
+
* <p>Information about the state of the domain relative to the latest service software.</p>
|
|
399
|
+
*/
|
|
400
|
+
export interface AwsElasticsearchDomainServiceSoftwareOptions {
|
|
401
|
+
/**
|
|
402
|
+
* <p>The epoch time when the deployment window closes for required updates. After this time,
|
|
403
|
+
* Amazon OpenSearch Service schedules the software upgrade automatically.</p>
|
|
404
|
+
*/
|
|
405
|
+
AutomatedUpdateDate?: string;
|
|
406
|
+
/**
|
|
407
|
+
* <p>Whether a request to update the domain can be canceled.</p>
|
|
408
|
+
*/
|
|
409
|
+
Cancellable?: boolean;
|
|
410
|
+
/**
|
|
411
|
+
* <p>The version of the service software that is currently installed on the domain.</p>
|
|
412
|
+
*/
|
|
413
|
+
CurrentVersion?: string;
|
|
414
|
+
/**
|
|
415
|
+
* <p>A more detailed description of the service software status.</p>
|
|
416
|
+
*/
|
|
417
|
+
Description?: string;
|
|
418
|
+
/**
|
|
419
|
+
* <p>The most recent version of the service software.</p>
|
|
420
|
+
*/
|
|
421
|
+
NewVersion?: string;
|
|
422
|
+
/**
|
|
423
|
+
* <p>Whether a service software update is available for the domain.</p>
|
|
424
|
+
*/
|
|
425
|
+
UpdateAvailable?: boolean;
|
|
426
|
+
/**
|
|
427
|
+
* <p>The status of the service software update. Valid values are as follows:</p>
|
|
428
|
+
* <ul>
|
|
429
|
+
* <li>
|
|
430
|
+
* <p>
|
|
431
|
+
* <code>COMPLETED</code>
|
|
432
|
+
* </p>
|
|
433
|
+
* </li>
|
|
434
|
+
* <li>
|
|
435
|
+
* <p>
|
|
436
|
+
* <code>ELIGIBLE</code>
|
|
437
|
+
* </p>
|
|
438
|
+
* </li>
|
|
439
|
+
* <li>
|
|
440
|
+
* <p>
|
|
441
|
+
* <code>IN_PROGRESS</code>
|
|
442
|
+
* </p>
|
|
443
|
+
* </li>
|
|
444
|
+
* <li>
|
|
445
|
+
* <p>
|
|
446
|
+
* <code>NOT_ELIGIBLE</code>
|
|
447
|
+
* </p>
|
|
448
|
+
* </li>
|
|
449
|
+
* <li>
|
|
450
|
+
* <p>
|
|
451
|
+
* <code>PENDING_UPDATE</code>
|
|
452
|
+
* </p>
|
|
453
|
+
* </li>
|
|
454
|
+
* </ul>
|
|
455
|
+
*/
|
|
456
|
+
UpdateStatus?: string;
|
|
457
|
+
}
|
|
458
|
+
/**
|
|
459
|
+
* @public
|
|
460
|
+
* <p>Information that OpenSearch derives based on <code>VPCOptions</code> for the
|
|
461
|
+
* domain.</p>
|
|
462
|
+
*/
|
|
463
|
+
export interface AwsElasticsearchDomainVPCOptions {
|
|
464
|
+
/**
|
|
465
|
+
* <p>The list of Availability Zones associated with the VPC subnets.</p>
|
|
466
|
+
*/
|
|
467
|
+
AvailabilityZones?: string[];
|
|
468
|
+
/**
|
|
469
|
+
* <p>The list of security group IDs associated with the VPC endpoints for the domain.</p>
|
|
470
|
+
*/
|
|
471
|
+
SecurityGroupIds?: string[];
|
|
472
|
+
/**
|
|
473
|
+
* <p>A list of subnet IDs associated with the VPC endpoints for the domain.</p>
|
|
474
|
+
*/
|
|
475
|
+
SubnetIds?: string[];
|
|
476
|
+
/**
|
|
477
|
+
* <p>ID for the VPC.</p>
|
|
478
|
+
*/
|
|
479
|
+
VPCId?: string;
|
|
480
|
+
}
|
|
481
|
+
/**
|
|
482
|
+
* @public
|
|
483
|
+
* <p>Information about an Elasticsearch domain.</p>
|
|
484
|
+
*/
|
|
485
|
+
export interface AwsElasticsearchDomainDetails {
|
|
486
|
+
/**
|
|
487
|
+
* <p>IAM policy document specifying the access policies for the new Elasticsearch domain.</p>
|
|
488
|
+
*/
|
|
489
|
+
AccessPolicies?: string;
|
|
490
|
+
/**
|
|
491
|
+
* <p>Additional options for the domain endpoint.</p>
|
|
492
|
+
*/
|
|
493
|
+
DomainEndpointOptions?: AwsElasticsearchDomainDomainEndpointOptions;
|
|
494
|
+
/**
|
|
495
|
+
* <p>Unique identifier for an Elasticsearch domain.</p>
|
|
496
|
+
*/
|
|
497
|
+
DomainId?: string;
|
|
498
|
+
/**
|
|
499
|
+
* <p>Name of an Elasticsearch domain.</p>
|
|
500
|
+
* <p>Domain names are unique across all domains owned by the same account within an Amazon Web Services
|
|
501
|
+
* Region.</p>
|
|
502
|
+
* <p>Domain names must start with a lowercase letter and must be between 3 and 28
|
|
503
|
+
* characters.</p>
|
|
504
|
+
* <p>Valid characters are a-z (lowercase only), 0-9, and – (hyphen). </p>
|
|
505
|
+
*/
|
|
506
|
+
DomainName?: string;
|
|
507
|
+
/**
|
|
508
|
+
* <p>Domain-specific endpoint used to submit index, search, and data upload requests to an
|
|
509
|
+
* Elasticsearch domain.</p>
|
|
510
|
+
* <p>The endpoint is a service URL. </p>
|
|
511
|
+
*/
|
|
512
|
+
Endpoint?: string;
|
|
513
|
+
/**
|
|
514
|
+
* <p>The key-value pair that exists if the Elasticsearch domain uses VPC endpoints.</p>
|
|
515
|
+
*/
|
|
516
|
+
Endpoints?: Record<string, string>;
|
|
517
|
+
/**
|
|
518
|
+
* <p>OpenSearch version.</p>
|
|
519
|
+
*/
|
|
520
|
+
ElasticsearchVersion?: string;
|
|
521
|
+
/**
|
|
522
|
+
* <p>Information about an OpenSearch cluster configuration.</p>
|
|
523
|
+
*/
|
|
524
|
+
ElasticsearchClusterConfig?: AwsElasticsearchDomainElasticsearchClusterConfigDetails;
|
|
525
|
+
/**
|
|
526
|
+
* <p>Details about the configuration for encryption at rest.</p>
|
|
527
|
+
*/
|
|
528
|
+
EncryptionAtRestOptions?: AwsElasticsearchDomainEncryptionAtRestOptions;
|
|
529
|
+
/**
|
|
530
|
+
* <p>Configures the CloudWatch Logs to publish for the Elasticsearch domain.</p>
|
|
531
|
+
*/
|
|
532
|
+
LogPublishingOptions?: AwsElasticsearchDomainLogPublishingOptions;
|
|
533
|
+
/**
|
|
534
|
+
* <p>Details about the configuration for node-to-node encryption.</p>
|
|
535
|
+
*/
|
|
536
|
+
NodeToNodeEncryptionOptions?: AwsElasticsearchDomainNodeToNodeEncryptionOptions;
|
|
537
|
+
/**
|
|
538
|
+
* <p>Information about the status of a domain relative to the latest service software.</p>
|
|
539
|
+
*/
|
|
540
|
+
ServiceSoftwareOptions?: AwsElasticsearchDomainServiceSoftwareOptions;
|
|
541
|
+
/**
|
|
542
|
+
* <p>Information that OpenSearch derives based on <code>VPCOptions</code> for the
|
|
543
|
+
* domain.</p>
|
|
544
|
+
*/
|
|
545
|
+
VPCOptions?: AwsElasticsearchDomainVPCOptions;
|
|
546
|
+
}
|
|
547
|
+
/**
|
|
548
|
+
* @public
|
|
549
|
+
* <p>Contains information about a stickiness policy that was created using
|
|
550
|
+
* <code>CreateAppCookieStickinessPolicy</code>.</p>
|
|
551
|
+
*/
|
|
552
|
+
export interface AwsElbAppCookieStickinessPolicy {
|
|
553
|
+
/**
|
|
554
|
+
* <p>The name of the application cookie used for stickiness.</p>
|
|
555
|
+
*/
|
|
556
|
+
CookieName?: string;
|
|
557
|
+
/**
|
|
558
|
+
* <p>The mnemonic name for the policy being created. The name must be unique within the set
|
|
559
|
+
* of policies for the load balancer.</p>
|
|
560
|
+
*/
|
|
561
|
+
PolicyName?: string;
|
|
562
|
+
}
|
|
563
|
+
/**
|
|
564
|
+
* @public
|
|
565
|
+
* <p>Contains information about a stickiness policy that was created using
|
|
566
|
+
* <code>CreateLBCookieStickinessPolicy</code>.</p>
|
|
567
|
+
*/
|
|
568
|
+
export interface AwsElbLbCookieStickinessPolicy {
|
|
569
|
+
/**
|
|
570
|
+
* <p>The amount of time, in seconds, after which the cookie is considered stale. If an
|
|
571
|
+
* expiration period is not specified, the stickiness session lasts for the duration of the
|
|
572
|
+
* browser session.</p>
|
|
573
|
+
*/
|
|
574
|
+
CookieExpirationPeriod?: number;
|
|
575
|
+
/**
|
|
576
|
+
* <p>The name of the policy. The name must be unique within the set of policies for the load
|
|
577
|
+
* balancer.</p>
|
|
578
|
+
*/
|
|
579
|
+
PolicyName?: string;
|
|
580
|
+
}
|
|
581
|
+
/**
|
|
582
|
+
* @public
|
|
583
|
+
* <p>Contains information about the access log configuration for the load balancer.</p>
|
|
584
|
+
*/
|
|
585
|
+
export interface AwsElbLoadBalancerAccessLog {
|
|
586
|
+
/**
|
|
587
|
+
* <p>The interval in minutes for publishing the access logs.</p>
|
|
588
|
+
* <p>You can publish access logs either every 5 minutes or every 60 minutes.</p>
|
|
589
|
+
*/
|
|
590
|
+
EmitInterval?: number;
|
|
591
|
+
/**
|
|
592
|
+
* <p>Indicates whether access logs are enabled for the load balancer.</p>
|
|
593
|
+
*/
|
|
594
|
+
Enabled?: boolean;
|
|
595
|
+
/**
|
|
596
|
+
* <p>The name of the S3 bucket where the access logs are stored.</p>
|
|
597
|
+
*/
|
|
598
|
+
S3BucketName?: string;
|
|
599
|
+
/**
|
|
600
|
+
* <p>The logical hierarchy that was created for the S3 bucket.</p>
|
|
601
|
+
* <p>If a prefix is not provided, the log is placed at the root level of the bucket.</p>
|
|
602
|
+
*/
|
|
603
|
+
S3BucketPrefix?: string;
|
|
604
|
+
}
|
|
605
|
+
/**
|
|
606
|
+
* @public
|
|
607
|
+
* <p>Provides information about additional attributes for the load balancer.</p>
|
|
608
|
+
*/
|
|
609
|
+
export interface AwsElbLoadBalancerAdditionalAttribute {
|
|
610
|
+
/**
|
|
611
|
+
* <p>The name of the attribute.</p>
|
|
612
|
+
*/
|
|
613
|
+
Key?: string;
|
|
614
|
+
/**
|
|
615
|
+
* <p>The value of the attribute.</p>
|
|
616
|
+
*/
|
|
617
|
+
Value?: string;
|
|
618
|
+
}
|
|
619
|
+
/**
|
|
620
|
+
* @public
|
|
621
|
+
* <p>Contains information about the connection draining configuration for the load
|
|
622
|
+
* balancer.</p>
|
|
623
|
+
*/
|
|
624
|
+
export interface AwsElbLoadBalancerConnectionDraining {
|
|
625
|
+
/**
|
|
626
|
+
* <p>Indicates whether connection draining is enabled for the load balancer.</p>
|
|
627
|
+
*/
|
|
628
|
+
Enabled?: boolean;
|
|
629
|
+
/**
|
|
630
|
+
* <p>The maximum time, in seconds, to keep the existing connections open before deregistering
|
|
631
|
+
* the instances.</p>
|
|
632
|
+
*/
|
|
633
|
+
Timeout?: number;
|
|
634
|
+
}
|
|
635
|
+
/**
|
|
636
|
+
* @public
|
|
637
|
+
* <p>Contains connection settings for the load balancer.</p>
|
|
638
|
+
*/
|
|
639
|
+
export interface AwsElbLoadBalancerConnectionSettings {
|
|
640
|
+
/**
|
|
641
|
+
* <p>The time, in seconds, that the connection can be idle (no data is sent over the
|
|
642
|
+
* connection) before it is closed by the load balancer.</p>
|
|
643
|
+
*/
|
|
644
|
+
IdleTimeout?: number;
|
|
645
|
+
}
|
|
2
646
|
/**
|
|
3
647
|
* @public
|
|
4
648
|
* <p>Contains cross-zone load balancing settings for the load balancer.</p>
|
|
@@ -5149,35 +5793,6 @@ export interface Compliance {
|
|
|
5149
5793
|
*/
|
|
5150
5794
|
AssociatedStandards?: AssociatedStandard[];
|
|
5151
5795
|
}
|
|
5152
|
-
/**
|
|
5153
|
-
* @public
|
|
5154
|
-
* <p>Details about a related finding.</p>
|
|
5155
|
-
*/
|
|
5156
|
-
export interface RelatedFinding {
|
|
5157
|
-
/**
|
|
5158
|
-
* <p>The ARN of the product that generated a related finding.</p>
|
|
5159
|
-
*/
|
|
5160
|
-
ProductArn: string | undefined;
|
|
5161
|
-
/**
|
|
5162
|
-
* <p>The product-generated identifier for a related finding.</p>
|
|
5163
|
-
*/
|
|
5164
|
-
Id: string | undefined;
|
|
5165
|
-
}
|
|
5166
|
-
/**
|
|
5167
|
-
* @public
|
|
5168
|
-
* @enum
|
|
5169
|
-
*/
|
|
5170
|
-
export declare const SeverityLabel: {
|
|
5171
|
-
readonly CRITICAL: "CRITICAL";
|
|
5172
|
-
readonly HIGH: "HIGH";
|
|
5173
|
-
readonly INFORMATIONAL: "INFORMATIONAL";
|
|
5174
|
-
readonly LOW: "LOW";
|
|
5175
|
-
readonly MEDIUM: "MEDIUM";
|
|
5176
|
-
};
|
|
5177
|
-
/**
|
|
5178
|
-
* @public
|
|
5179
|
-
*/
|
|
5180
|
-
export type SeverityLabel = (typeof SeverityLabel)[keyof typeof SeverityLabel];
|
|
5181
5796
|
/**
|
|
5182
5797
|
* @public
|
|
5183
5798
|
* <p>The severity assigned to the finding by the finding provider.</p>
|
|
@@ -8010,20 +8625,6 @@ export interface Threat {
|
|
|
8010
8625
|
*/
|
|
8011
8626
|
FilePaths?: FilePaths[];
|
|
8012
8627
|
}
|
|
8013
|
-
/**
|
|
8014
|
-
* @public
|
|
8015
|
-
* @enum
|
|
8016
|
-
*/
|
|
8017
|
-
export declare const VerificationState: {
|
|
8018
|
-
readonly BENIGN_POSITIVE: "BENIGN_POSITIVE";
|
|
8019
|
-
readonly FALSE_POSITIVE: "FALSE_POSITIVE";
|
|
8020
|
-
readonly TRUE_POSITIVE: "TRUE_POSITIVE";
|
|
8021
|
-
readonly UNKNOWN: "UNKNOWN";
|
|
8022
|
-
};
|
|
8023
|
-
/**
|
|
8024
|
-
* @public
|
|
8025
|
-
*/
|
|
8026
|
-
export type VerificationState = (typeof VerificationState)[keyof typeof VerificationState];
|
|
8027
8628
|
/**
|
|
8028
8629
|
* @public
|
|
8029
8630
|
* <p>CVSS scores from the advisory related to the vulnerability.</p>
|
|
@@ -8202,20 +8803,6 @@ export interface Vulnerability {
|
|
|
8202
8803
|
*/
|
|
8203
8804
|
FixAvailable?: VulnerabilityFixAvailable | string;
|
|
8204
8805
|
}
|
|
8205
|
-
/**
|
|
8206
|
-
* @public
|
|
8207
|
-
* @enum
|
|
8208
|
-
*/
|
|
8209
|
-
export declare const WorkflowStatus: {
|
|
8210
|
-
readonly NEW: "NEW";
|
|
8211
|
-
readonly NOTIFIED: "NOTIFIED";
|
|
8212
|
-
readonly RESOLVED: "RESOLVED";
|
|
8213
|
-
readonly SUPPRESSED: "SUPPRESSED";
|
|
8214
|
-
};
|
|
8215
|
-
/**
|
|
8216
|
-
* @public
|
|
8217
|
-
*/
|
|
8218
|
-
export type WorkflowStatus = (typeof WorkflowStatus)[keyof typeof WorkflowStatus];
|
|
8219
8806
|
/**
|
|
8220
8807
|
* @public
|
|
8221
8808
|
* <p>Provides information about the status of the investigation into a finding.</p>
|
|
@@ -8504,182 +9091,6 @@ export interface AwsSecurityFinding {
|
|
|
8504
9091
|
*/
|
|
8505
9092
|
Sample?: boolean;
|
|
8506
9093
|
}
|
|
8507
|
-
/**
|
|
8508
|
-
* @public
|
|
8509
|
-
* @enum
|
|
8510
|
-
*/
|
|
8511
|
-
export declare const StringFilterComparison: {
|
|
8512
|
-
readonly EQUALS: "EQUALS";
|
|
8513
|
-
readonly NOT_EQUALS: "NOT_EQUALS";
|
|
8514
|
-
readonly PREFIX: "PREFIX";
|
|
8515
|
-
readonly PREFIX_NOT_EQUALS: "PREFIX_NOT_EQUALS";
|
|
8516
|
-
};
|
|
8517
|
-
/**
|
|
8518
|
-
* @public
|
|
8519
|
-
*/
|
|
8520
|
-
export type StringFilterComparison = (typeof StringFilterComparison)[keyof typeof StringFilterComparison];
|
|
8521
|
-
/**
|
|
8522
|
-
* @public
|
|
8523
|
-
* <p>A string filter for querying findings.</p>
|
|
8524
|
-
*/
|
|
8525
|
-
export interface StringFilter {
|
|
8526
|
-
/**
|
|
8527
|
-
* <p>The string filter value. Filter values are case sensitive. For example, the product name
|
|
8528
|
-
* for control-based findings is <code>Security Hub</code>. If you provide <code>security hub</code>
|
|
8529
|
-
* as the filter text, then there is no match.</p>
|
|
8530
|
-
*/
|
|
8531
|
-
Value?: string;
|
|
8532
|
-
/**
|
|
8533
|
-
* <p>The condition to apply to a string value when querying for findings. To search for
|
|
8534
|
-
* values that contain the filter criteria value, use one of the following comparison
|
|
8535
|
-
* operators:</p>
|
|
8536
|
-
* <ul>
|
|
8537
|
-
* <li>
|
|
8538
|
-
* <p>To search for values that exactly match the filter value, use
|
|
8539
|
-
* <code>EQUALS</code>.</p>
|
|
8540
|
-
* <p>For example, the filter <code>ResourceType EQUALS AwsEc2SecurityGroup</code> only
|
|
8541
|
-
* matches findings that have a resource type of
|
|
8542
|
-
* <code>AwsEc2SecurityGroup</code>.</p>
|
|
8543
|
-
* </li>
|
|
8544
|
-
* <li>
|
|
8545
|
-
* <p>To search for values that start with the filter value, use
|
|
8546
|
-
* <code>PREFIX</code>.</p>
|
|
8547
|
-
* <p>For example, the filter <code>ResourceType PREFIX AwsIam</code> matches findings
|
|
8548
|
-
* that have a resource type that starts with <code>AwsIam</code>. Findings with a
|
|
8549
|
-
* resource type of <code>AwsIamPolicy</code>, <code>AwsIamRole</code>, or
|
|
8550
|
-
* <code>AwsIamUser</code> would all match.</p>
|
|
8551
|
-
* </li>
|
|
8552
|
-
* </ul>
|
|
8553
|
-
* <p>
|
|
8554
|
-
* <code>EQUALS</code> and <code>PREFIX</code> filters on the same field are joined by
|
|
8555
|
-
* <code>OR</code>. A finding matches if it matches any one of those filters.</p>
|
|
8556
|
-
* <p>To search for values that do not contain the filter criteria value, use one of the
|
|
8557
|
-
* following comparison operators:</p>
|
|
8558
|
-
* <ul>
|
|
8559
|
-
* <li>
|
|
8560
|
-
* <p>To search for values that do not exactly match the filter value, use
|
|
8561
|
-
* <code>NOT_EQUALS</code>.</p>
|
|
8562
|
-
* <p>For example, the filter <code>ResourceType NOT_EQUALS AwsIamPolicy</code> matches
|
|
8563
|
-
* findings that have a resource type other than <code>AwsIamPolicy</code>.</p>
|
|
8564
|
-
* </li>
|
|
8565
|
-
* <li>
|
|
8566
|
-
* <p>To search for values that do not start with the filter value, use
|
|
8567
|
-
* <code>PREFIX_NOT_EQUALS</code>.</p>
|
|
8568
|
-
* <p>For example, the filter <code>ResourceType PREFIX_NOT_EQUALS AwsIam</code> matches
|
|
8569
|
-
* findings that have a resource type that does not start with <code>AwsIam</code>.
|
|
8570
|
-
* Findings with a resource type of <code>AwsIamPolicy</code>, <code>AwsIamRole</code>,
|
|
8571
|
-
* or <code>AwsIamUser</code> would all be excluded from the results.</p>
|
|
8572
|
-
* </li>
|
|
8573
|
-
* </ul>
|
|
8574
|
-
* <p>
|
|
8575
|
-
* <code>NOT_EQUALS</code> and <code>PREFIX_NOT_EQUALS</code> filters on the same field are
|
|
8576
|
-
* joined by <code>AND</code>. A finding matches only if it matches all of those
|
|
8577
|
-
* filters.</p>
|
|
8578
|
-
* <p>For filters on the same field, you cannot provide both an <code>EQUALS</code> filter and
|
|
8579
|
-
* a <code>NOT_EQUALS</code> or <code>PREFIX_NOT_EQUALS</code> filter. Combining filters in
|
|
8580
|
-
* this way always returns an error, even if the provided filter values would return valid
|
|
8581
|
-
* results.</p>
|
|
8582
|
-
* <p>You can combine <code>PREFIX</code> filters with <code>NOT_EQUALS</code> or
|
|
8583
|
-
* <code>PREFIX_NOT_EQUALS</code> filters for the same field. Security Hub first processes the
|
|
8584
|
-
* <code>PREFIX</code> filters, then the <code>NOT_EQUALS</code> or
|
|
8585
|
-
* <code>PREFIX_NOT_EQUALS</code> filters.</p>
|
|
8586
|
-
* <p> For example, for the following filter, Security Hub first identifies findings that have
|
|
8587
|
-
* resource types that start with either <code>AwsIAM</code> or <code>AwsEc2</code>. It then
|
|
8588
|
-
* excludes findings that have a resource type of <code>AwsIamPolicy</code> and findings that
|
|
8589
|
-
* have a resource type of <code>AwsEc2NetworkInterface</code>.</p>
|
|
8590
|
-
* <ul>
|
|
8591
|
-
* <li>
|
|
8592
|
-
* <p>
|
|
8593
|
-
* <code>ResourceType PREFIX AwsIam</code>
|
|
8594
|
-
* </p>
|
|
8595
|
-
* </li>
|
|
8596
|
-
* <li>
|
|
8597
|
-
* <p>
|
|
8598
|
-
* <code>ResourceType PREFIX AwsEc2</code>
|
|
8599
|
-
* </p>
|
|
8600
|
-
* </li>
|
|
8601
|
-
* <li>
|
|
8602
|
-
* <p>
|
|
8603
|
-
* <code>ResourceType NOT_EQUALS AwsIamPolicy</code>
|
|
8604
|
-
* </p>
|
|
8605
|
-
* </li>
|
|
8606
|
-
* <li>
|
|
8607
|
-
* <p>
|
|
8608
|
-
* <code>ResourceType NOT_EQUALS AwsEc2NetworkInterface</code>
|
|
8609
|
-
* </p>
|
|
8610
|
-
* </li>
|
|
8611
|
-
* </ul>
|
|
8612
|
-
*/
|
|
8613
|
-
Comparison?: StringFilterComparison | string;
|
|
8614
|
-
}
|
|
8615
|
-
/**
|
|
8616
|
-
* @public
|
|
8617
|
-
* <p>A number filter for querying findings.</p>
|
|
8618
|
-
*/
|
|
8619
|
-
export interface NumberFilter {
|
|
8620
|
-
/**
|
|
8621
|
-
* <p>The greater-than-equal condition to be applied to a single field when querying for
|
|
8622
|
-
* findings. </p>
|
|
8623
|
-
*/
|
|
8624
|
-
Gte?: number;
|
|
8625
|
-
/**
|
|
8626
|
-
* <p>The less-than-equal condition to be applied to a single field when querying for
|
|
8627
|
-
* findings. </p>
|
|
8628
|
-
*/
|
|
8629
|
-
Lte?: number;
|
|
8630
|
-
/**
|
|
8631
|
-
* <p>The equal-to condition to be applied to a single field when querying for
|
|
8632
|
-
* findings.</p>
|
|
8633
|
-
*/
|
|
8634
|
-
Eq?: number;
|
|
8635
|
-
}
|
|
8636
|
-
/**
|
|
8637
|
-
* @public
|
|
8638
|
-
* @enum
|
|
8639
|
-
*/
|
|
8640
|
-
export declare const DateRangeUnit: {
|
|
8641
|
-
readonly DAYS: "DAYS";
|
|
8642
|
-
};
|
|
8643
|
-
/**
|
|
8644
|
-
* @public
|
|
8645
|
-
*/
|
|
8646
|
-
export type DateRangeUnit = (typeof DateRangeUnit)[keyof typeof DateRangeUnit];
|
|
8647
|
-
/**
|
|
8648
|
-
* @public
|
|
8649
|
-
* <p>A date range for the date filter.</p>
|
|
8650
|
-
*/
|
|
8651
|
-
export interface DateRange {
|
|
8652
|
-
/**
|
|
8653
|
-
* <p>A date range value for the date filter.</p>
|
|
8654
|
-
*/
|
|
8655
|
-
Value?: number;
|
|
8656
|
-
/**
|
|
8657
|
-
* <p>A date range unit for the date filter.</p>
|
|
8658
|
-
*/
|
|
8659
|
-
Unit?: DateRangeUnit | string;
|
|
8660
|
-
}
|
|
8661
|
-
/**
|
|
8662
|
-
* @public
|
|
8663
|
-
* <p>A date filter for querying findings.</p>
|
|
8664
|
-
*/
|
|
8665
|
-
export interface DateFilter {
|
|
8666
|
-
/**
|
|
8667
|
-
* <p>A timestamp that provides the start date for the date filter.</p>
|
|
8668
|
-
* <p>A correctly formatted example is <code>2020-05-21T20:16:34.724Z</code>. The value cannot contain spaces, and date and time should be separated by <code>T</code>.
|
|
8669
|
-
* For more information, see <a href="https://www.rfc-editor.org/rfc/rfc3339#section-5.6">RFC 3339 section 5.6, Internet Date/Time Format</a>.</p>
|
|
8670
|
-
*/
|
|
8671
|
-
Start?: string;
|
|
8672
|
-
/**
|
|
8673
|
-
* <p>A timestamp that provides the end date for the date filter.</p>
|
|
8674
|
-
* <p>A correctly formatted example is <code>2020-05-21T20:16:34.724Z</code>. The value cannot contain spaces, and date and time should be separated by <code>T</code>.
|
|
8675
|
-
* For more information, see <a href="https://www.rfc-editor.org/rfc/rfc3339#section-5.6">RFC 3339 section 5.6, Internet Date/Time Format</a>.</p>
|
|
8676
|
-
*/
|
|
8677
|
-
End?: string;
|
|
8678
|
-
/**
|
|
8679
|
-
* <p>A date range for the date filter.</p>
|
|
8680
|
-
*/
|
|
8681
|
-
DateRange?: DateRange;
|
|
8682
|
-
}
|
|
8683
9094
|
/**
|
|
8684
9095
|
* @public
|
|
8685
9096
|
* <p>A keyword filter for querying findings.</p>
|
|
@@ -8700,58 +9111,6 @@ export interface IpFilter {
|
|
|
8700
9111
|
*/
|
|
8701
9112
|
Cidr?: string;
|
|
8702
9113
|
}
|
|
8703
|
-
/**
|
|
8704
|
-
* @public
|
|
8705
|
-
* @enum
|
|
8706
|
-
*/
|
|
8707
|
-
export declare const MapFilterComparison: {
|
|
8708
|
-
readonly EQUALS: "EQUALS";
|
|
8709
|
-
readonly NOT_EQUALS: "NOT_EQUALS";
|
|
8710
|
-
};
|
|
8711
|
-
/**
|
|
8712
|
-
* @public
|
|
8713
|
-
*/
|
|
8714
|
-
export type MapFilterComparison = (typeof MapFilterComparison)[keyof typeof MapFilterComparison];
|
|
8715
|
-
/**
|
|
8716
|
-
* @public
|
|
8717
|
-
* <p>A map filter for querying findings. Each map filter provides the field to check, the
|
|
8718
|
-
* value to look for, and the comparison operator.</p>
|
|
8719
|
-
*/
|
|
8720
|
-
export interface MapFilter {
|
|
8721
|
-
/**
|
|
8722
|
-
* <p>The key of the map filter. For example, for <code>ResourceTags</code>, <code>Key</code>
|
|
8723
|
-
* identifies the name of the tag. For <code>UserDefinedFields</code>, <code>Key</code> is the
|
|
8724
|
-
* name of the field.</p>
|
|
8725
|
-
*/
|
|
8726
|
-
Key?: string;
|
|
8727
|
-
/**
|
|
8728
|
-
* <p>The value for the key in the map filter. Filter values are case sensitive. For example,
|
|
8729
|
-
* one of the values for a tag called <code>Department</code> might be <code>Security</code>.
|
|
8730
|
-
* If you provide <code>security</code> as the filter value, then there is no match.</p>
|
|
8731
|
-
*/
|
|
8732
|
-
Value?: string;
|
|
8733
|
-
/**
|
|
8734
|
-
* <p>The condition to apply to the key value when querying for findings with a map
|
|
8735
|
-
* filter.</p>
|
|
8736
|
-
* <p>To search for values that exactly match the filter value, use <code>EQUALS</code>. For
|
|
8737
|
-
* example, for the <code>ResourceTags</code> field, the filter <code>Department EQUALS
|
|
8738
|
-
* Security</code> matches findings that have the value <code>Security</code> for the tag
|
|
8739
|
-
* <code>Department</code>.</p>
|
|
8740
|
-
* <p>To search for values other than the filter value, use <code>NOT_EQUALS</code>. For
|
|
8741
|
-
* example, for the <code>ResourceTags</code> field, the filter <code>Department NOT_EQUALS
|
|
8742
|
-
* Finance</code> matches findings that do not have the value <code>Finance</code> for the
|
|
8743
|
-
* tag <code>Department</code>.</p>
|
|
8744
|
-
* <p>
|
|
8745
|
-
* <code>EQUALS</code> filters on the same field are joined by <code>OR</code>. A finding
|
|
8746
|
-
* matches if it matches any one of those filters.</p>
|
|
8747
|
-
* <p>
|
|
8748
|
-
* <code>NOT_EQUALS</code> filters on the same field are joined by <code>AND</code>. A
|
|
8749
|
-
* finding matches only if it matches all of those filters.</p>
|
|
8750
|
-
* <p>You cannot have both an <code>EQUALS</code> filter and a <code>NOT_EQUALS</code> filter
|
|
8751
|
-
* on the same field.</p>
|
|
8752
|
-
*/
|
|
8753
|
-
Comparison?: MapFilterComparison | string;
|
|
8754
|
-
}
|
|
8755
9114
|
/**
|
|
8756
9115
|
* @public
|
|
8757
9116
|
* <p>Boolean filter for querying findings.</p>
|
|
@@ -9284,156 +9643,3 @@ export interface AwsSecurityFindingFilters {
|
|
|
9284
9643
|
*/
|
|
9285
9644
|
ComplianceAssociatedStandardsId?: StringFilter[];
|
|
9286
9645
|
}
|
|
9287
|
-
/**
|
|
9288
|
-
* @public
|
|
9289
|
-
* <p>Identifies which finding to get the finding history for.</p>
|
|
9290
|
-
*/
|
|
9291
|
-
export interface AwsSecurityFindingIdentifier {
|
|
9292
|
-
/**
|
|
9293
|
-
* <p>The identifier of the finding that was specified by the finding provider.</p>
|
|
9294
|
-
*/
|
|
9295
|
-
Id: string | undefined;
|
|
9296
|
-
/**
|
|
9297
|
-
* <p>The ARN generated by Security Hub that uniquely identifies a product that generates findings.
|
|
9298
|
-
* This can be the ARN for a third-party product that is integrated with Security Hub, or the ARN for
|
|
9299
|
-
* a custom integration.</p>
|
|
9300
|
-
*/
|
|
9301
|
-
ProductArn: string | undefined;
|
|
9302
|
-
}
|
|
9303
|
-
/**
|
|
9304
|
-
* @public
|
|
9305
|
-
*/
|
|
9306
|
-
export interface BatchDisableStandardsRequest {
|
|
9307
|
-
/**
|
|
9308
|
-
* <p>The ARNs of the standards subscriptions to disable.</p>
|
|
9309
|
-
*/
|
|
9310
|
-
StandardsSubscriptionArns: string[] | undefined;
|
|
9311
|
-
}
|
|
9312
|
-
/**
|
|
9313
|
-
* @public
|
|
9314
|
-
* @enum
|
|
9315
|
-
*/
|
|
9316
|
-
export declare const StandardsStatus: {
|
|
9317
|
-
readonly DELETING: "DELETING";
|
|
9318
|
-
readonly FAILED: "FAILED";
|
|
9319
|
-
readonly INCOMPLETE: "INCOMPLETE";
|
|
9320
|
-
readonly PENDING: "PENDING";
|
|
9321
|
-
readonly READY: "READY";
|
|
9322
|
-
};
|
|
9323
|
-
/**
|
|
9324
|
-
* @public
|
|
9325
|
-
*/
|
|
9326
|
-
export type StandardsStatus = (typeof StandardsStatus)[keyof typeof StandardsStatus];
|
|
9327
|
-
/**
|
|
9328
|
-
* @public
|
|
9329
|
-
* @enum
|
|
9330
|
-
*/
|
|
9331
|
-
export declare const StatusReasonCode: {
|
|
9332
|
-
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
9333
|
-
readonly NO_AVAILABLE_CONFIGURATION_RECORDER: "NO_AVAILABLE_CONFIGURATION_RECORDER";
|
|
9334
|
-
};
|
|
9335
|
-
/**
|
|
9336
|
-
* @public
|
|
9337
|
-
*/
|
|
9338
|
-
export type StatusReasonCode = (typeof StatusReasonCode)[keyof typeof StatusReasonCode];
|
|
9339
|
-
/**
|
|
9340
|
-
* @public
|
|
9341
|
-
* <p>The reason for the current status of a standard subscription.</p>
|
|
9342
|
-
*/
|
|
9343
|
-
export interface StandardsStatusReason {
|
|
9344
|
-
/**
|
|
9345
|
-
* <p>The reason code that represents the reason for the current status of a standard subscription.</p>
|
|
9346
|
-
*/
|
|
9347
|
-
StatusReasonCode: StatusReasonCode | string | undefined;
|
|
9348
|
-
}
|
|
9349
|
-
/**
|
|
9350
|
-
* @public
|
|
9351
|
-
* <p>A resource that represents your subscription to a supported standard.</p>
|
|
9352
|
-
*/
|
|
9353
|
-
export interface StandardsSubscription {
|
|
9354
|
-
/**
|
|
9355
|
-
* <p>The ARN of a resource that represents your subscription to a supported standard.</p>
|
|
9356
|
-
*/
|
|
9357
|
-
StandardsSubscriptionArn: string | undefined;
|
|
9358
|
-
/**
|
|
9359
|
-
* <p>The ARN of a standard.</p>
|
|
9360
|
-
*/
|
|
9361
|
-
StandardsArn: string | undefined;
|
|
9362
|
-
/**
|
|
9363
|
-
* <p>A key-value pair of input for the standard.</p>
|
|
9364
|
-
*/
|
|
9365
|
-
StandardsInput: Record<string, string> | undefined;
|
|
9366
|
-
/**
|
|
9367
|
-
* <p>The status of the standard subscription.</p>
|
|
9368
|
-
* <p>The status values are as follows:</p>
|
|
9369
|
-
* <ul>
|
|
9370
|
-
* <li>
|
|
9371
|
-
* <p>
|
|
9372
|
-
* <code>PENDING</code> - Standard is in the process of being enabled.</p>
|
|
9373
|
-
* </li>
|
|
9374
|
-
* <li>
|
|
9375
|
-
* <p>
|
|
9376
|
-
* <code>READY</code> - Standard is enabled.</p>
|
|
9377
|
-
* </li>
|
|
9378
|
-
* <li>
|
|
9379
|
-
* <p>
|
|
9380
|
-
* <code>INCOMPLETE</code> - Standard could not be enabled completely. Some controls may not be available.</p>
|
|
9381
|
-
* </li>
|
|
9382
|
-
* <li>
|
|
9383
|
-
* <p>
|
|
9384
|
-
* <code>DELETING</code> - Standard is in the process of being disabled.</p>
|
|
9385
|
-
* </li>
|
|
9386
|
-
* <li>
|
|
9387
|
-
* <p>
|
|
9388
|
-
* <code>FAILED</code> - Standard could not be disabled.</p>
|
|
9389
|
-
* </li>
|
|
9390
|
-
* </ul>
|
|
9391
|
-
*/
|
|
9392
|
-
StandardsStatus: StandardsStatus | string | undefined;
|
|
9393
|
-
/**
|
|
9394
|
-
* <p>The reason for the current status.</p>
|
|
9395
|
-
*/
|
|
9396
|
-
StandardsStatusReason?: StandardsStatusReason;
|
|
9397
|
-
}
|
|
9398
|
-
/**
|
|
9399
|
-
* @public
|
|
9400
|
-
*/
|
|
9401
|
-
export interface BatchDisableStandardsResponse {
|
|
9402
|
-
/**
|
|
9403
|
-
* <p>The details of the standards subscriptions that were disabled.</p>
|
|
9404
|
-
*/
|
|
9405
|
-
StandardsSubscriptions?: StandardsSubscription[];
|
|
9406
|
-
}
|
|
9407
|
-
/**
|
|
9408
|
-
* @public
|
|
9409
|
-
* <p>The standard that you want to enable.</p>
|
|
9410
|
-
*/
|
|
9411
|
-
export interface StandardsSubscriptionRequest {
|
|
9412
|
-
/**
|
|
9413
|
-
* <p>The ARN of the standard that you want to enable. To view the list of available standards
|
|
9414
|
-
* and their ARNs, use the <code>DescribeStandards</code> operation.</p>
|
|
9415
|
-
*/
|
|
9416
|
-
StandardsArn: string | undefined;
|
|
9417
|
-
/**
|
|
9418
|
-
* <p>A key-value pair of input for the standard.</p>
|
|
9419
|
-
*/
|
|
9420
|
-
StandardsInput?: Record<string, string>;
|
|
9421
|
-
}
|
|
9422
|
-
/**
|
|
9423
|
-
* @public
|
|
9424
|
-
*/
|
|
9425
|
-
export interface BatchEnableStandardsRequest {
|
|
9426
|
-
/**
|
|
9427
|
-
* <p>The list of standards checks to enable.</p>
|
|
9428
|
-
*/
|
|
9429
|
-
StandardsSubscriptionRequests: StandardsSubscriptionRequest[] | undefined;
|
|
9430
|
-
}
|
|
9431
|
-
/**
|
|
9432
|
-
* @public
|
|
9433
|
-
*/
|
|
9434
|
-
export interface BatchEnableStandardsResponse {
|
|
9435
|
-
/**
|
|
9436
|
-
* <p>The details of the standards subscriptions that were enabled.</p>
|
|
9437
|
-
*/
|
|
9438
|
-
StandardsSubscriptions?: StandardsSubscription[];
|
|
9439
|
-
}
|