@aws-sdk/client-securityhub 3.425.0 → 3.427.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/dist-cjs/models/models_1.js +1 -36
- package/dist-cjs/models/models_2.js +36 -1
- package/dist-cjs/protocols/Aws_restJson1.js +14 -0
- package/dist-es/models/models_1.js +0 -35
- package/dist-es/models/models_2.js +35 -0
- package/dist-es/protocols/Aws_restJson1.js +14 -0
- package/dist-types/commands/BatchImportFindingsCommand.d.ts +143 -0
- package/dist-types/commands/GetFindingsCommand.d.ts +143 -0
- package/dist-types/models/models_0.d.ts +319 -148
- package/dist-types/models/models_1.d.ts +707 -1504
- package/dist-types/models/models_2.d.ts +1542 -2
- package/dist-types/ts3.4/models/models_0.d.ts +51 -28
- package/dist-types/ts3.4/models/models_1.d.ts +135 -324
- package/dist-types/ts3.4/models/models_2.d.ts +386 -9
- package/package.json +5 -5
|
@@ -1,7 +1,1547 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { AccountDetails, Action, ActionTarget, AdminAccount, AssociationStatus, AutoEnableStandards, AutomationRulesAction, AutomationRulesConfig, AutomationRulesFindingFilters, AutomationRulesMetadata, DateFilter, MapFilter, NoteUpdate, NumberFilter, RelatedFinding, RuleStatus, SeverityUpdate, StringFilter, VerificationState, WorkflowStatus, WorkflowUpdate } from "./models_0";
|
|
3
|
-
import {
|
|
2
|
+
import { AccountDetails, Action, ActionTarget, Adjustment, AdminAccount, AssociationStatus, AutoEnableStandards, AutomationRulesAction, AutomationRulesConfig, AutomationRulesFindingFilters, AutomationRulesMetadata, AwsAmazonMqBrokerDetails, AwsApiGatewayRestApiDetails, AwsApiGatewayStageDetails, AwsApiGatewayV2ApiDetails, AwsApiGatewayV2StageDetails, AwsAppSyncGraphQlApiDetails, AwsAthenaWorkGroupDetails, AwsAutoScalingAutoScalingGroupDetails, AwsAutoScalingLaunchConfigurationDetails, AwsBackupBackupPlanDetails, AwsBackupBackupVaultDetails, AwsBackupRecoveryPointDetails, AwsCertificateManagerCertificateDetails, AwsCloudFormationStackDetails, AwsCloudFrontDistributionDetails, AwsCloudTrailTrailDetails, AwsCloudWatchAlarmDetails, AwsCodeBuildProjectDetails, AwsDmsEndpointDetails, AwsDmsReplicationInstanceDetails, AwsDmsReplicationTaskDetails, AwsDynamoDbTableDetails, AwsEc2EipDetails, AwsEc2InstanceDetails, AwsEc2LaunchTemplateDetails, AwsEc2NetworkAclDetails, AwsEc2NetworkInterfaceDetails, AwsEc2RouteTableDetails, AwsEc2SecurityGroupDetails, AwsEc2SubnetDetails, AwsEc2TransitGatewayDetails, AwsEc2VolumeDetails, AwsEc2VpcDetails, AwsEc2VpcEndpointServiceDetails, AwsEc2VpcPeeringConnectionDetails, AwsEc2VpnConnectionDetails, AwsEcrContainerImageDetails, AwsEcrRepositoryDetails, AwsEcsClusterDetails, AwsEcsContainerDetails, AwsEcsServiceDetails, AwsEcsTaskDefinitionDetails, DateFilter, MapFilter, NoteUpdate, NumberFilter, RelatedFinding, RuleStatus, SeverityLabel, SeverityUpdate, StringFilter, VerificationState, WorkflowStatus, WorkflowUpdate } from "./models_0";
|
|
3
|
+
import { 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, AwsRdsDbClusterDetails, AwsRdsDbClusterSnapshotDetails, AwsRdsDbInstanceDetails, AwsRdsDbSecurityGroupDetails, AwsRdsDbSnapshotDetails, AwsRdsEventSubscriptionDetails, AwsRedshiftClusterDetails, AwsRoute53HostedZoneDetails, AwsS3AccountPublicAccessBlockDetails, AwsS3BucketDetails, AwsS3ObjectDetails, AwsSageMakerNotebookInstanceDetails, AwsSecretsManagerSecretDetails, AwsSnsTopicDetails, AwsSqsQueueDetails, AwsSsmPatchComplianceDetails, AwsStepFunctionStateMachineDetails, AwsWafRateBasedRuleDetails, AwsWafRegionalRateBasedRuleDetails, AwsWafRegionalRuleDetails, AwsWafRegionalRuleGroupDetails, AwsWafRegionalWebAclDetails, AwsWafRuleDetails, AwsWafRuleGroupDetails, AwsWafv2ActionAllowDetails, AwsWafv2ActionBlockDetails, AwsWafv2RulesActionDetails, Compliance, DataClassificationDetails, FindingProviderFields, GeneratorDetails, Malware, Network, NetworkPathComponent, Note, PatchSummary, ProcessDetails, RecordState, Remediation } from "./models_1";
|
|
4
4
|
import { SecurityHubServiceException as __BaseException } from "./SecurityHubServiceException";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
* <p>
|
|
8
|
+
* Defines and enables Amazon CloudWatch metrics and web request sample collection.
|
|
9
|
+
* </p>
|
|
10
|
+
*/
|
|
11
|
+
export interface AwsWafv2VisibilityConfigDetails {
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
* <p>
|
|
15
|
+
* A boolean indicating whether the associated resource sends metrics to Amazon CloudWatch. For the list of available
|
|
16
|
+
* metrics, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/monitoring-cloudwatch.html#waf-metrics">WAF metrics and dimensions</a> in the <i>WAF Developer Guide</i>.
|
|
17
|
+
* </p>
|
|
18
|
+
*/
|
|
19
|
+
CloudWatchMetricsEnabled?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>
|
|
23
|
+
* A name of the Amazon CloudWatch metric.
|
|
24
|
+
* </p>
|
|
25
|
+
*/
|
|
26
|
+
MetricName?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @public
|
|
29
|
+
* <p>
|
|
30
|
+
* A boolean indicating whether WAF should store a sampling of the web requests that match the rules.
|
|
31
|
+
* You can view the sampled requests through the WAF console.
|
|
32
|
+
* </p>
|
|
33
|
+
*/
|
|
34
|
+
SampledRequestsEnabled?: boolean;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* @public
|
|
38
|
+
* <p>
|
|
39
|
+
* Provides details about rules in a rule group. A rule identifies web requests that you want to allow, block, or count. Each rule includes one top-level Statement that WAF uses to identify matching web requests, and parameters that govern how WAF handles them.
|
|
40
|
+
* </p>
|
|
41
|
+
*/
|
|
42
|
+
export interface AwsWafv2RulesDetails {
|
|
43
|
+
/**
|
|
44
|
+
* @public
|
|
45
|
+
* <p>
|
|
46
|
+
* The action that WAF should take on a web request when it matches the rule statement. Settings at the web ACL level can override the rule action setting.
|
|
47
|
+
* </p>
|
|
48
|
+
*/
|
|
49
|
+
Action?: AwsWafv2RulesActionDetails;
|
|
50
|
+
/**
|
|
51
|
+
* @public
|
|
52
|
+
* <p>
|
|
53
|
+
* The name of the rule.
|
|
54
|
+
* </p>
|
|
55
|
+
*/
|
|
56
|
+
Name?: string;
|
|
57
|
+
/**
|
|
58
|
+
* @public
|
|
59
|
+
* <p>
|
|
60
|
+
* The action to use in the place of the action that results from the rule group evaluation.
|
|
61
|
+
* </p>
|
|
62
|
+
*/
|
|
63
|
+
OverrideAction?: string;
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
* <p>
|
|
67
|
+
* If you define more than one Rule in a WebACL, WAF evaluates each request against the Rules in order based on the value of <code>Priority</code>.
|
|
68
|
+
* WAF processes rules with lower priority first. The priorities don't need to be consecutive, but they must all be different.
|
|
69
|
+
* </p>
|
|
70
|
+
*/
|
|
71
|
+
Priority?: number;
|
|
72
|
+
/**
|
|
73
|
+
* @public
|
|
74
|
+
* <p>
|
|
75
|
+
* Defines and enables Amazon CloudWatch metrics and web request sample collection.
|
|
76
|
+
* </p>
|
|
77
|
+
*/
|
|
78
|
+
VisibilityConfig?: AwsWafv2VisibilityConfigDetails;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* @public
|
|
82
|
+
* <p>
|
|
83
|
+
* Details about an WAFv2 rule group.
|
|
84
|
+
* </p>
|
|
85
|
+
*/
|
|
86
|
+
export interface AwsWafv2RuleGroupDetails {
|
|
87
|
+
/**
|
|
88
|
+
* @public
|
|
89
|
+
* <p>
|
|
90
|
+
* The web ACL capacity units (WCUs) required for this rule group.
|
|
91
|
+
* </p>
|
|
92
|
+
*/
|
|
93
|
+
Capacity?: number;
|
|
94
|
+
/**
|
|
95
|
+
* @public
|
|
96
|
+
* <p>
|
|
97
|
+
* A description of the rule group that helps with identification.
|
|
98
|
+
* </p>
|
|
99
|
+
*/
|
|
100
|
+
Description?: string;
|
|
101
|
+
/**
|
|
102
|
+
* @public
|
|
103
|
+
* <p>
|
|
104
|
+
* A unique identifier for the rule group.
|
|
105
|
+
* </p>
|
|
106
|
+
*/
|
|
107
|
+
Id?: string;
|
|
108
|
+
/**
|
|
109
|
+
* @public
|
|
110
|
+
* <p>
|
|
111
|
+
* The name of the rule group. You cannot change the name of a rule group after you create it.
|
|
112
|
+
* </p>
|
|
113
|
+
*/
|
|
114
|
+
Name?: string;
|
|
115
|
+
/**
|
|
116
|
+
* @public
|
|
117
|
+
* <p>
|
|
118
|
+
* The Amazon Resource Name (ARN) of the entity.
|
|
119
|
+
* </p>
|
|
120
|
+
*/
|
|
121
|
+
Arn?: string;
|
|
122
|
+
/**
|
|
123
|
+
* @public
|
|
124
|
+
* <p>
|
|
125
|
+
* The Rule statements used to identify the web requests that you want to allow, block, or count. Each rule includes one
|
|
126
|
+
* top-level statement that WAF uses to identify matching web requests, and parameters that govern how
|
|
127
|
+
* WAF handles them.
|
|
128
|
+
* </p>
|
|
129
|
+
*/
|
|
130
|
+
Rules?: AwsWafv2RulesDetails[];
|
|
131
|
+
/**
|
|
132
|
+
* @public
|
|
133
|
+
* <p>
|
|
134
|
+
* Specifies whether the rule group is for an Amazon CloudFront distribution or for a regional application.
|
|
135
|
+
* A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync
|
|
136
|
+
* GraphQL API, or an Amazon Cognito user pool.
|
|
137
|
+
* </p>
|
|
138
|
+
*/
|
|
139
|
+
Scope?: string;
|
|
140
|
+
/**
|
|
141
|
+
* @public
|
|
142
|
+
* <p>
|
|
143
|
+
* Defines and enables Amazon CloudWatch metrics and web request sample collection.
|
|
144
|
+
* </p>
|
|
145
|
+
*/
|
|
146
|
+
VisibilityConfig?: AwsWafv2VisibilityConfigDetails;
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* @public
|
|
150
|
+
* <p>
|
|
151
|
+
* Used for CAPTCHA and challenge token settings. Determines how long a CAPTCHA or challenge timestamp remains valid after WAF updates it for a successful CAPTCHA or challenge response.
|
|
152
|
+
* </p>
|
|
153
|
+
*/
|
|
154
|
+
export interface AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails {
|
|
155
|
+
/**
|
|
156
|
+
* @public
|
|
157
|
+
* <p>
|
|
158
|
+
* The amount of time, in seconds, that a CAPTCHA or challenge timestamp is considered valid by WAF.
|
|
159
|
+
* </p>
|
|
160
|
+
*/
|
|
161
|
+
ImmunityTime?: number;
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* @public
|
|
165
|
+
* <p>
|
|
166
|
+
* Specifies how WAF should handle CAPTCHA evaluations for rules that don't have their own <code>CaptchaConfig</code> settings.
|
|
167
|
+
* </p>
|
|
168
|
+
*/
|
|
169
|
+
export interface AwsWafv2WebAclCaptchaConfigDetails {
|
|
170
|
+
/**
|
|
171
|
+
* @public
|
|
172
|
+
* <p>
|
|
173
|
+
* Determines how long a CAPTCHA timestamp in the token remains valid after the client successfully solves a CAPTCHA puzzle.
|
|
174
|
+
* </p>
|
|
175
|
+
*/
|
|
176
|
+
ImmunityTimeProperty?: AwsWafv2WebAclCaptchaConfigImmunityTimePropertyDetails;
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* @public
|
|
180
|
+
* <p>
|
|
181
|
+
* Specifies the action that Amazon CloudFront or WAF takes when a web request matches the conditions in the rule.
|
|
182
|
+
* </p>
|
|
183
|
+
*/
|
|
184
|
+
export interface AwsWafv2WebAclActionDetails {
|
|
185
|
+
/**
|
|
186
|
+
* @public
|
|
187
|
+
* <p>
|
|
188
|
+
* Specifies that WAF should allow requests by default.
|
|
189
|
+
* </p>
|
|
190
|
+
*/
|
|
191
|
+
Allow?: AwsWafv2ActionAllowDetails;
|
|
192
|
+
/**
|
|
193
|
+
* @public
|
|
194
|
+
* <p>
|
|
195
|
+
* Specifies that WAF should block requests by default.
|
|
196
|
+
* </p>
|
|
197
|
+
*/
|
|
198
|
+
Block?: AwsWafv2ActionBlockDetails;
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* @public
|
|
202
|
+
* <p>
|
|
203
|
+
* Details about an WAFv2 web Access Control List (ACL).
|
|
204
|
+
* </p>
|
|
205
|
+
*/
|
|
206
|
+
export interface AwsWafv2WebAclDetails {
|
|
207
|
+
/**
|
|
208
|
+
* @public
|
|
209
|
+
* <p>
|
|
210
|
+
* The name of the web ACL.
|
|
211
|
+
* </p>
|
|
212
|
+
*/
|
|
213
|
+
Name?: string;
|
|
214
|
+
/**
|
|
215
|
+
* @public
|
|
216
|
+
* <p>
|
|
217
|
+
* The Amazon Resource Name (ARN) of the web ACL that you want to associate with the resource.
|
|
218
|
+
* </p>
|
|
219
|
+
*/
|
|
220
|
+
Arn?: string;
|
|
221
|
+
/**
|
|
222
|
+
* @public
|
|
223
|
+
* <p>
|
|
224
|
+
* Indicates whether this web ACL is managed by Firewall Manager.
|
|
225
|
+
* </p>
|
|
226
|
+
*/
|
|
227
|
+
ManagedbyFirewallManager?: boolean;
|
|
228
|
+
/**
|
|
229
|
+
* @public
|
|
230
|
+
* <p>
|
|
231
|
+
* A unique identifier for the web ACL.
|
|
232
|
+
* </p>
|
|
233
|
+
*/
|
|
234
|
+
Id?: string;
|
|
235
|
+
/**
|
|
236
|
+
* @public
|
|
237
|
+
* <p>
|
|
238
|
+
* The web ACL capacity units (WCUs) currently being used by this web ACL.
|
|
239
|
+
* </p>
|
|
240
|
+
*/
|
|
241
|
+
Capacity?: number;
|
|
242
|
+
/**
|
|
243
|
+
* @public
|
|
244
|
+
* <p>
|
|
245
|
+
* Specifies how WAF should handle CAPTCHA evaluations for rules that don't have their own
|
|
246
|
+
* <code>CaptchaConfig</code> settings.
|
|
247
|
+
* </p>
|
|
248
|
+
*/
|
|
249
|
+
CaptchaConfig?: AwsWafv2WebAclCaptchaConfigDetails;
|
|
250
|
+
/**
|
|
251
|
+
* @public
|
|
252
|
+
* <p>
|
|
253
|
+
* The action to perform if none of the Rules contained in the web ACL match.
|
|
254
|
+
* </p>
|
|
255
|
+
*/
|
|
256
|
+
DefaultAction?: AwsWafv2WebAclActionDetails;
|
|
257
|
+
/**
|
|
258
|
+
* @public
|
|
259
|
+
* <p>
|
|
260
|
+
* A description of the web ACL that helps with identification.
|
|
261
|
+
* </p>
|
|
262
|
+
*/
|
|
263
|
+
Description?: string;
|
|
264
|
+
/**
|
|
265
|
+
* @public
|
|
266
|
+
* <p>
|
|
267
|
+
* The Rule statements used to identify the web requests that you want to allow, block, or count. Each rule includes one
|
|
268
|
+
* top-level statement that WAF uses to identify matching web requests, and parameters that govern how
|
|
269
|
+
* WAF handles them.
|
|
270
|
+
* </p>
|
|
271
|
+
*/
|
|
272
|
+
Rules?: AwsWafv2RulesDetails[];
|
|
273
|
+
/**
|
|
274
|
+
* @public
|
|
275
|
+
* <p>
|
|
276
|
+
* Defines and enables Amazon CloudWatch metrics and web request sample collection.
|
|
277
|
+
* </p>
|
|
278
|
+
*/
|
|
279
|
+
VisibilityConfig?: AwsWafv2VisibilityConfigDetails;
|
|
280
|
+
}
|
|
281
|
+
/**
|
|
282
|
+
* @public
|
|
283
|
+
* <p>Details about the action that CloudFront or WAF takes when a web request matches the
|
|
284
|
+
* conditions in the rule. </p>
|
|
285
|
+
*/
|
|
286
|
+
export interface WafAction {
|
|
287
|
+
/**
|
|
288
|
+
* @public
|
|
289
|
+
* <p>Specifies how you want WAF to respond to requests that match the settings in a
|
|
290
|
+
* rule.</p>
|
|
291
|
+
* <p>Valid settings include the following:</p>
|
|
292
|
+
* <ul>
|
|
293
|
+
* <li>
|
|
294
|
+
* <p>
|
|
295
|
+
* <code>ALLOW</code> - WAF allows requests</p>
|
|
296
|
+
* </li>
|
|
297
|
+
* <li>
|
|
298
|
+
* <p>
|
|
299
|
+
* <code>BLOCK</code> - WAF blocks requests</p>
|
|
300
|
+
* </li>
|
|
301
|
+
* <li>
|
|
302
|
+
* <p>
|
|
303
|
+
* <code>COUNT</code> - WAF increments a counter of the requests that
|
|
304
|
+
* match all of the conditions in the rule. WAF then continues to inspect
|
|
305
|
+
* the web request based on the remaining rules in the web ACL. You can't specify
|
|
306
|
+
* <code>COUNT</code> for the default action for a web ACL.</p>
|
|
307
|
+
* </li>
|
|
308
|
+
* </ul>
|
|
309
|
+
*/
|
|
310
|
+
Type?: string;
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
* @public
|
|
314
|
+
* <p>Details about a rule to exclude from a rule group.</p>
|
|
315
|
+
*/
|
|
316
|
+
export interface WafExcludedRule {
|
|
317
|
+
/**
|
|
318
|
+
* @public
|
|
319
|
+
* <p>The unique identifier for the rule to exclude from the rule group.</p>
|
|
320
|
+
*/
|
|
321
|
+
RuleId?: string;
|
|
322
|
+
}
|
|
323
|
+
/**
|
|
324
|
+
* @public
|
|
325
|
+
* <p>Details about an override action for a rule.</p>
|
|
326
|
+
*/
|
|
327
|
+
export interface WafOverrideAction {
|
|
328
|
+
/**
|
|
329
|
+
* @public
|
|
330
|
+
* <p>
|
|
331
|
+
* <code>COUNT</code> overrides the action specified by the individual rule within a
|
|
332
|
+
* <code>RuleGroup</code> .</p>
|
|
333
|
+
* <p>If set to <code>NONE</code>, the rule's action takes place.</p>
|
|
334
|
+
*/
|
|
335
|
+
Type?: string;
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* @public
|
|
339
|
+
* <p>Details for a rule in an WAF web ACL.</p>
|
|
340
|
+
*/
|
|
341
|
+
export interface AwsWafWebAclRule {
|
|
342
|
+
/**
|
|
343
|
+
* @public
|
|
344
|
+
* <p>Specifies the action that CloudFront or WAF takes when a web request matches the
|
|
345
|
+
* conditions in the rule. </p>
|
|
346
|
+
*/
|
|
347
|
+
Action?: WafAction;
|
|
348
|
+
/**
|
|
349
|
+
* @public
|
|
350
|
+
* <p>Rules to exclude from a rule group.</p>
|
|
351
|
+
*/
|
|
352
|
+
ExcludedRules?: WafExcludedRule[];
|
|
353
|
+
/**
|
|
354
|
+
* @public
|
|
355
|
+
* <p>Use the <code>OverrideAction</code> to test your <code>RuleGroup</code>.</p>
|
|
356
|
+
* <p>Any rule in a <code>RuleGroup</code> can potentially block a request. If you set the <code>OverrideAction</code> to
|
|
357
|
+
* <code>None</code>, the <code>RuleGroup</code> blocks a request if any individual rule in the <code>RuleGroup</code>
|
|
358
|
+
* matches the request and is configured to block that request.</p>
|
|
359
|
+
* <p>However, if you first want to test the <code>RuleGroup</code>,
|
|
360
|
+
* set the <code>OverrideAction</code> to <code>Count</code>. The <code>RuleGroup</code>
|
|
361
|
+
* then overrides any block action specified by individual rules contained within the group.
|
|
362
|
+
* Instead of blocking matching requests, those requests are counted.</p>
|
|
363
|
+
* <p>
|
|
364
|
+
* <code>ActivatedRule</code>|<code>OverrideAction</code> applies only when updating or
|
|
365
|
+
* adding a <code>RuleGroup</code>
|
|
366
|
+
* to a web ACL. In this case you do not use <code>ActivatedRule</code>
|
|
367
|
+
* <code>Action</code>. For all other update requests,
|
|
368
|
+
* <code>ActivatedRule</code>
|
|
369
|
+
* <code>Action</code> is used instead of <code>ActivatedRule</code>
|
|
370
|
+
* <code>OverrideAction</code>.</p>
|
|
371
|
+
*/
|
|
372
|
+
OverrideAction?: WafOverrideAction;
|
|
373
|
+
/**
|
|
374
|
+
* @public
|
|
375
|
+
* <p>Specifies the order in which the rules in a web
|
|
376
|
+
* ACL are evaluated. Rules with a lower value for <code>Priority</code> are
|
|
377
|
+
* evaluated before rules with a higher value. The value must be a unique integer. If you add
|
|
378
|
+
* multiple rules to a web ACL, the values do not need to be consecutive.</p>
|
|
379
|
+
*/
|
|
380
|
+
Priority?: number;
|
|
381
|
+
/**
|
|
382
|
+
* @public
|
|
383
|
+
* <p>The identifier for a rule.</p>
|
|
384
|
+
*/
|
|
385
|
+
RuleId?: string;
|
|
386
|
+
/**
|
|
387
|
+
* @public
|
|
388
|
+
* <p>The rule type.</p>
|
|
389
|
+
* <p>Valid values: <code>REGULAR</code> | <code>RATE_BASED</code> | <code>GROUP</code>
|
|
390
|
+
* </p>
|
|
391
|
+
* <p>The default is <code>REGULAR</code>.</p>
|
|
392
|
+
*/
|
|
393
|
+
Type?: string;
|
|
394
|
+
}
|
|
395
|
+
/**
|
|
396
|
+
* @public
|
|
397
|
+
* <p>Provides information about an WAF web access control list (web ACL).</p>
|
|
398
|
+
*/
|
|
399
|
+
export interface AwsWafWebAclDetails {
|
|
400
|
+
/**
|
|
401
|
+
* @public
|
|
402
|
+
* <p>A friendly name or description of the web ACL. You can't change the name of a web ACL after you create it.</p>
|
|
403
|
+
*/
|
|
404
|
+
Name?: string;
|
|
405
|
+
/**
|
|
406
|
+
* @public
|
|
407
|
+
* <p>The action to perform if none of the rules contained in the web ACL match.</p>
|
|
408
|
+
*/
|
|
409
|
+
DefaultAction?: string;
|
|
410
|
+
/**
|
|
411
|
+
* @public
|
|
412
|
+
* <p>An array that contains the action for each rule in a web ACL, the priority of the rule, and the ID of the rule.</p>
|
|
413
|
+
*/
|
|
414
|
+
Rules?: AwsWafWebAclRule[];
|
|
415
|
+
/**
|
|
416
|
+
* @public
|
|
417
|
+
* <p>A unique identifier for a web ACL.</p>
|
|
418
|
+
*/
|
|
419
|
+
WebAclId?: string;
|
|
420
|
+
}
|
|
421
|
+
/**
|
|
422
|
+
* @public
|
|
423
|
+
* <p>Information about the encryption configuration for X-Ray.</p>
|
|
424
|
+
*/
|
|
425
|
+
export interface AwsXrayEncryptionConfigDetails {
|
|
426
|
+
/**
|
|
427
|
+
* @public
|
|
428
|
+
* <p>The identifier of the KMS key that is used for encryption. Provided if <code>Type</code> is <code>KMS</code>.</p>
|
|
429
|
+
*/
|
|
430
|
+
KeyId?: string;
|
|
431
|
+
/**
|
|
432
|
+
* @public
|
|
433
|
+
* <p>The current status of the encryption configuration. Valid values are <code>ACTIVE</code> or <code>UPDATING</code>.</p>
|
|
434
|
+
* <p>When <code>Status</code> is equal to <code>UPDATING</code>, X-Ray might use both the old and new encryption.</p>
|
|
435
|
+
*/
|
|
436
|
+
Status?: string;
|
|
437
|
+
/**
|
|
438
|
+
* @public
|
|
439
|
+
* <p>The type of encryption. <code>KMS</code> indicates that the encryption uses KMS keys. <code>NONE</code> indicates the default encryption.</p>
|
|
440
|
+
*/
|
|
441
|
+
Type?: string;
|
|
442
|
+
}
|
|
443
|
+
/**
|
|
444
|
+
* @public
|
|
445
|
+
* <p>Describes the mounting of a volume in a container.
|
|
446
|
+
* </p>
|
|
447
|
+
*/
|
|
448
|
+
export interface VolumeMount {
|
|
449
|
+
/**
|
|
450
|
+
* @public
|
|
451
|
+
* <p>The name of the volume.
|
|
452
|
+
* </p>
|
|
453
|
+
*/
|
|
454
|
+
Name?: string;
|
|
455
|
+
/**
|
|
456
|
+
* @public
|
|
457
|
+
* <p>The path in the container at which the volume should be mounted.
|
|
458
|
+
* </p>
|
|
459
|
+
*/
|
|
460
|
+
MountPath?: string;
|
|
461
|
+
}
|
|
462
|
+
/**
|
|
463
|
+
* @public
|
|
464
|
+
* <p>Container details related to a finding.</p>
|
|
465
|
+
*/
|
|
466
|
+
export interface ContainerDetails {
|
|
467
|
+
/**
|
|
468
|
+
* @public
|
|
469
|
+
* <p>The runtime of the container.
|
|
470
|
+
* </p>
|
|
471
|
+
*/
|
|
472
|
+
ContainerRuntime?: string;
|
|
473
|
+
/**
|
|
474
|
+
* @public
|
|
475
|
+
* <p>The name of the container related to a finding.</p>
|
|
476
|
+
*/
|
|
477
|
+
Name?: string;
|
|
478
|
+
/**
|
|
479
|
+
* @public
|
|
480
|
+
* <p>The identifier of the container image related to a finding.</p>
|
|
481
|
+
*/
|
|
482
|
+
ImageId?: string;
|
|
483
|
+
/**
|
|
484
|
+
* @public
|
|
485
|
+
* <p>The name of the container image related to a finding.</p>
|
|
486
|
+
*/
|
|
487
|
+
ImageName?: string;
|
|
488
|
+
/**
|
|
489
|
+
* @public
|
|
490
|
+
* <p>Indicates when the container started.</p>
|
|
491
|
+
* <p>Uses the <code>date-time</code> format specified in <a href="https://tools.ietf.org/html/rfc3339#section-5.6">RFC 3339 section 5.6, Internet
|
|
492
|
+
* Date/Time Format</a>. The value cannot contain spaces, and date and time should be separated by <code>T</code>. For example,
|
|
493
|
+
* <code>2020-03-22T13:22:13.933Z</code>.</p>
|
|
494
|
+
*/
|
|
495
|
+
LaunchedAt?: string;
|
|
496
|
+
/**
|
|
497
|
+
* @public
|
|
498
|
+
* <p>Provides information about the mounting of a volume in a container.
|
|
499
|
+
* </p>
|
|
500
|
+
*/
|
|
501
|
+
VolumeMounts?: VolumeMount[];
|
|
502
|
+
/**
|
|
503
|
+
* @public
|
|
504
|
+
* <p>When this parameter is <code>true</code>, the container is given elevated privileges on the host
|
|
505
|
+
* container instance (similar to the root user).
|
|
506
|
+
* </p>
|
|
507
|
+
*/
|
|
508
|
+
Privileged?: boolean;
|
|
509
|
+
}
|
|
510
|
+
/**
|
|
511
|
+
* @public
|
|
512
|
+
* <p>Additional details about a resource related to a finding.</p>
|
|
513
|
+
* <p>To provide the details, use the object that corresponds to the resource type. For
|
|
514
|
+
* example, if the resource type is <code>AwsEc2Instance</code>, then you use the
|
|
515
|
+
* <code>AwsEc2Instance</code> object to provide the details.</p>
|
|
516
|
+
* <p>If the type-specific object does not contain all of the fields you want to populate,
|
|
517
|
+
* then you use the <code>Other</code> object to populate those additional fields.</p>
|
|
518
|
+
* <p>You also use the <code>Other</code> object to populate the details when the selected
|
|
519
|
+
* type does not have a corresponding object.</p>
|
|
520
|
+
*/
|
|
521
|
+
export interface ResourceDetails {
|
|
522
|
+
/**
|
|
523
|
+
* @public
|
|
524
|
+
* <p>Details for an autoscaling group.</p>
|
|
525
|
+
*/
|
|
526
|
+
AwsAutoScalingAutoScalingGroup?: AwsAutoScalingAutoScalingGroupDetails;
|
|
527
|
+
/**
|
|
528
|
+
* @public
|
|
529
|
+
* <p>Details for an CodeBuild project.</p>
|
|
530
|
+
*/
|
|
531
|
+
AwsCodeBuildProject?: AwsCodeBuildProjectDetails;
|
|
532
|
+
/**
|
|
533
|
+
* @public
|
|
534
|
+
* <p>Details about a CloudFront distribution.</p>
|
|
535
|
+
*/
|
|
536
|
+
AwsCloudFrontDistribution?: AwsCloudFrontDistributionDetails;
|
|
537
|
+
/**
|
|
538
|
+
* @public
|
|
539
|
+
* <p>Details about an EC2 instance related to a finding.</p>
|
|
540
|
+
*/
|
|
541
|
+
AwsEc2Instance?: AwsEc2InstanceDetails;
|
|
542
|
+
/**
|
|
543
|
+
* @public
|
|
544
|
+
* <p>Details for an EC2 network interface.</p>
|
|
545
|
+
*/
|
|
546
|
+
AwsEc2NetworkInterface?: AwsEc2NetworkInterfaceDetails;
|
|
547
|
+
/**
|
|
548
|
+
* @public
|
|
549
|
+
* <p>Details for an EC2 security group.</p>
|
|
550
|
+
*/
|
|
551
|
+
AwsEc2SecurityGroup?: AwsEc2SecurityGroupDetails;
|
|
552
|
+
/**
|
|
553
|
+
* @public
|
|
554
|
+
* <p>Details for an Amazon EC2 volume.</p>
|
|
555
|
+
*/
|
|
556
|
+
AwsEc2Volume?: AwsEc2VolumeDetails;
|
|
557
|
+
/**
|
|
558
|
+
* @public
|
|
559
|
+
* <p>Details for an Amazon EC2 VPC.</p>
|
|
560
|
+
*/
|
|
561
|
+
AwsEc2Vpc?: AwsEc2VpcDetails;
|
|
562
|
+
/**
|
|
563
|
+
* @public
|
|
564
|
+
* <p>Details about an Elastic IP address.</p>
|
|
565
|
+
*/
|
|
566
|
+
AwsEc2Eip?: AwsEc2EipDetails;
|
|
567
|
+
/**
|
|
568
|
+
* @public
|
|
569
|
+
* <p>Details about a subnet in Amazon EC2.</p>
|
|
570
|
+
*/
|
|
571
|
+
AwsEc2Subnet?: AwsEc2SubnetDetails;
|
|
572
|
+
/**
|
|
573
|
+
* @public
|
|
574
|
+
* <p>Details about an EC2 network access control list (ACL).</p>
|
|
575
|
+
*/
|
|
576
|
+
AwsEc2NetworkAcl?: AwsEc2NetworkAclDetails;
|
|
577
|
+
/**
|
|
578
|
+
* @public
|
|
579
|
+
* <p>Details about a load balancer.</p>
|
|
580
|
+
*/
|
|
581
|
+
AwsElbv2LoadBalancer?: AwsElbv2LoadBalancerDetails;
|
|
582
|
+
/**
|
|
583
|
+
* @public
|
|
584
|
+
* <p>Details about an Elastic Beanstalk environment.</p>
|
|
585
|
+
*/
|
|
586
|
+
AwsElasticBeanstalkEnvironment?: AwsElasticBeanstalkEnvironmentDetails;
|
|
587
|
+
/**
|
|
588
|
+
* @public
|
|
589
|
+
* <p>Details for an Elasticsearch domain.</p>
|
|
590
|
+
*/
|
|
591
|
+
AwsElasticsearchDomain?: AwsElasticsearchDomainDetails;
|
|
592
|
+
/**
|
|
593
|
+
* @public
|
|
594
|
+
* <p>Details about an S3 bucket related to a finding.</p>
|
|
595
|
+
*/
|
|
596
|
+
AwsS3Bucket?: AwsS3BucketDetails;
|
|
597
|
+
/**
|
|
598
|
+
* @public
|
|
599
|
+
* <p>Details about the Amazon S3 Public Access Block configuration for an account.</p>
|
|
600
|
+
*/
|
|
601
|
+
AwsS3AccountPublicAccessBlock?: AwsS3AccountPublicAccessBlockDetails;
|
|
602
|
+
/**
|
|
603
|
+
* @public
|
|
604
|
+
* <p>Details about an S3 object related to a finding.</p>
|
|
605
|
+
*/
|
|
606
|
+
AwsS3Object?: AwsS3ObjectDetails;
|
|
607
|
+
/**
|
|
608
|
+
* @public
|
|
609
|
+
* <p>Details about a Secrets Manager secret.</p>
|
|
610
|
+
*/
|
|
611
|
+
AwsSecretsManagerSecret?: AwsSecretsManagerSecretDetails;
|
|
612
|
+
/**
|
|
613
|
+
* @public
|
|
614
|
+
* <p>Details about an IAM access key related to a finding.</p>
|
|
615
|
+
*/
|
|
616
|
+
AwsIamAccessKey?: AwsIamAccessKeyDetails;
|
|
617
|
+
/**
|
|
618
|
+
* @public
|
|
619
|
+
* <p>Details about an IAM user.</p>
|
|
620
|
+
*/
|
|
621
|
+
AwsIamUser?: AwsIamUserDetails;
|
|
622
|
+
/**
|
|
623
|
+
* @public
|
|
624
|
+
* <p>Details about an IAM permissions policy.</p>
|
|
625
|
+
*/
|
|
626
|
+
AwsIamPolicy?: AwsIamPolicyDetails;
|
|
627
|
+
/**
|
|
628
|
+
* @public
|
|
629
|
+
* <p>Provides information about a version 2 stage for Amazon API Gateway.</p>
|
|
630
|
+
*/
|
|
631
|
+
AwsApiGatewayV2Stage?: AwsApiGatewayV2StageDetails;
|
|
632
|
+
/**
|
|
633
|
+
* @public
|
|
634
|
+
* <p>Provides information about a version 2 API in Amazon API Gateway.</p>
|
|
635
|
+
*/
|
|
636
|
+
AwsApiGatewayV2Api?: AwsApiGatewayV2ApiDetails;
|
|
637
|
+
/**
|
|
638
|
+
* @public
|
|
639
|
+
* <p>Details about a DynamoDB table.</p>
|
|
640
|
+
*/
|
|
641
|
+
AwsDynamoDbTable?: AwsDynamoDbTableDetails;
|
|
642
|
+
/**
|
|
643
|
+
* @public
|
|
644
|
+
* <p>Provides information about a version 1 Amazon API Gateway stage.</p>
|
|
645
|
+
*/
|
|
646
|
+
AwsApiGatewayStage?: AwsApiGatewayStageDetails;
|
|
647
|
+
/**
|
|
648
|
+
* @public
|
|
649
|
+
* <p>Provides information about a REST API in version 1 of Amazon API Gateway.</p>
|
|
650
|
+
*/
|
|
651
|
+
AwsApiGatewayRestApi?: AwsApiGatewayRestApiDetails;
|
|
652
|
+
/**
|
|
653
|
+
* @public
|
|
654
|
+
* <p>Provides details about a CloudTrail trail.</p>
|
|
655
|
+
*/
|
|
656
|
+
AwsCloudTrailTrail?: AwsCloudTrailTrailDetails;
|
|
657
|
+
/**
|
|
658
|
+
* @public
|
|
659
|
+
* <p>Provides information about the state of a patch on an instance based on the patch baseline that was used to patch the instance.</p>
|
|
660
|
+
*/
|
|
661
|
+
AwsSsmPatchCompliance?: AwsSsmPatchComplianceDetails;
|
|
662
|
+
/**
|
|
663
|
+
* @public
|
|
664
|
+
* <p>Provides details about an Certificate Manager certificate.</p>
|
|
665
|
+
*/
|
|
666
|
+
AwsCertificateManagerCertificate?: AwsCertificateManagerCertificateDetails;
|
|
667
|
+
/**
|
|
668
|
+
* @public
|
|
669
|
+
* <p>Contains details about an Amazon Redshift cluster.</p>
|
|
670
|
+
*/
|
|
671
|
+
AwsRedshiftCluster?: AwsRedshiftClusterDetails;
|
|
672
|
+
/**
|
|
673
|
+
* @public
|
|
674
|
+
* <p>Contains details about a Classic Load Balancer.</p>
|
|
675
|
+
*/
|
|
676
|
+
AwsElbLoadBalancer?: AwsElbLoadBalancerDetails;
|
|
677
|
+
/**
|
|
678
|
+
* @public
|
|
679
|
+
* <p>Contains details about an IAM group.</p>
|
|
680
|
+
*/
|
|
681
|
+
AwsIamGroup?: AwsIamGroupDetails;
|
|
682
|
+
/**
|
|
683
|
+
* @public
|
|
684
|
+
* <p>Details about an IAM role.</p>
|
|
685
|
+
*/
|
|
686
|
+
AwsIamRole?: AwsIamRoleDetails;
|
|
687
|
+
/**
|
|
688
|
+
* @public
|
|
689
|
+
* <p>Details about an KMS key.</p>
|
|
690
|
+
*/
|
|
691
|
+
AwsKmsKey?: AwsKmsKeyDetails;
|
|
692
|
+
/**
|
|
693
|
+
* @public
|
|
694
|
+
* <p>Details about a Lambda function.</p>
|
|
695
|
+
*/
|
|
696
|
+
AwsLambdaFunction?: AwsLambdaFunctionDetails;
|
|
697
|
+
/**
|
|
698
|
+
* @public
|
|
699
|
+
* <p>Details for a Lambda layer version.</p>
|
|
700
|
+
*/
|
|
701
|
+
AwsLambdaLayerVersion?: AwsLambdaLayerVersionDetails;
|
|
702
|
+
/**
|
|
703
|
+
* @public
|
|
704
|
+
* <p>Details about an Amazon RDS database instance.</p>
|
|
705
|
+
*/
|
|
706
|
+
AwsRdsDbInstance?: AwsRdsDbInstanceDetails;
|
|
707
|
+
/**
|
|
708
|
+
* @public
|
|
709
|
+
* <p>Details about an SNS topic.</p>
|
|
710
|
+
*/
|
|
711
|
+
AwsSnsTopic?: AwsSnsTopicDetails;
|
|
712
|
+
/**
|
|
713
|
+
* @public
|
|
714
|
+
* <p>Details about an SQS queue.</p>
|
|
715
|
+
*/
|
|
716
|
+
AwsSqsQueue?: AwsSqsQueueDetails;
|
|
717
|
+
/**
|
|
718
|
+
* @public
|
|
719
|
+
* <p>Details for an WAF web ACL.</p>
|
|
720
|
+
*/
|
|
721
|
+
AwsWafWebAcl?: AwsWafWebAclDetails;
|
|
722
|
+
/**
|
|
723
|
+
* @public
|
|
724
|
+
* <p>Details about an Amazon RDS database snapshot.</p>
|
|
725
|
+
*/
|
|
726
|
+
AwsRdsDbSnapshot?: AwsRdsDbSnapshotDetails;
|
|
727
|
+
/**
|
|
728
|
+
* @public
|
|
729
|
+
* <p>Details about an Amazon RDS database cluster snapshot.</p>
|
|
730
|
+
*/
|
|
731
|
+
AwsRdsDbClusterSnapshot?: AwsRdsDbClusterSnapshotDetails;
|
|
732
|
+
/**
|
|
733
|
+
* @public
|
|
734
|
+
* <p>Details about an Amazon RDS database cluster.</p>
|
|
735
|
+
*/
|
|
736
|
+
AwsRdsDbCluster?: AwsRdsDbClusterDetails;
|
|
737
|
+
/**
|
|
738
|
+
* @public
|
|
739
|
+
* <p>Details about an Amazon ECS cluster.</p>
|
|
740
|
+
*/
|
|
741
|
+
AwsEcsCluster?: AwsEcsClusterDetails;
|
|
742
|
+
/**
|
|
743
|
+
* @public
|
|
744
|
+
* <p>Provides information about a Docker container that's part of a task.
|
|
745
|
+
* </p>
|
|
746
|
+
*/
|
|
747
|
+
AwsEcsContainer?: AwsEcsContainerDetails;
|
|
748
|
+
/**
|
|
749
|
+
* @public
|
|
750
|
+
* <p>Details about a task definition. A task definition describes the container and volume definitions of an Amazon Elastic Container Service task.</p>
|
|
751
|
+
*/
|
|
752
|
+
AwsEcsTaskDefinition?: AwsEcsTaskDefinitionDetails;
|
|
753
|
+
/**
|
|
754
|
+
* @public
|
|
755
|
+
* <p>Details about a container resource related to a finding.</p>
|
|
756
|
+
*/
|
|
757
|
+
Container?: ContainerDetails;
|
|
758
|
+
/**
|
|
759
|
+
* @public
|
|
760
|
+
* <p>Details about a resource that are not available in a type-specific details object. Use
|
|
761
|
+
* the <code>Other</code> object in the following cases.</p>
|
|
762
|
+
* <ul>
|
|
763
|
+
* <li>
|
|
764
|
+
* <p>The type-specific object does not contain all of the fields that you want to
|
|
765
|
+
* populate. In this case, first use the type-specific object to populate those fields.
|
|
766
|
+
* Use the <code>Other</code> object to populate the fields that are missing from the
|
|
767
|
+
* type-specific object.</p>
|
|
768
|
+
* </li>
|
|
769
|
+
* <li>
|
|
770
|
+
* <p>The resource type does not have a corresponding object. This includes resources
|
|
771
|
+
* for which the type is <code>Other</code>. </p>
|
|
772
|
+
* </li>
|
|
773
|
+
* </ul>
|
|
774
|
+
*/
|
|
775
|
+
Other?: Record<string, string>;
|
|
776
|
+
/**
|
|
777
|
+
* @public
|
|
778
|
+
* <p>Details about an RDS event notification subscription.</p>
|
|
779
|
+
*/
|
|
780
|
+
AwsRdsEventSubscription?: AwsRdsEventSubscriptionDetails;
|
|
781
|
+
/**
|
|
782
|
+
* @public
|
|
783
|
+
* <p>Details about a service within an ECS cluster.</p>
|
|
784
|
+
*/
|
|
785
|
+
AwsEcsService?: AwsEcsServiceDetails;
|
|
786
|
+
/**
|
|
787
|
+
* @public
|
|
788
|
+
* <p>Provides details about a launch configuration.</p>
|
|
789
|
+
*/
|
|
790
|
+
AwsAutoScalingLaunchConfiguration?: AwsAutoScalingLaunchConfigurationDetails;
|
|
791
|
+
/**
|
|
792
|
+
* @public
|
|
793
|
+
* <p>Details about an Amazon EC2 VPN connection.</p>
|
|
794
|
+
*/
|
|
795
|
+
AwsEc2VpnConnection?: AwsEc2VpnConnectionDetails;
|
|
796
|
+
/**
|
|
797
|
+
* @public
|
|
798
|
+
* <p>Information about an Amazon ECR image.</p>
|
|
799
|
+
*/
|
|
800
|
+
AwsEcrContainerImage?: AwsEcrContainerImageDetails;
|
|
801
|
+
/**
|
|
802
|
+
* @public
|
|
803
|
+
* <p>Details about an Amazon OpenSearch Service domain.</p>
|
|
804
|
+
*/
|
|
805
|
+
AwsOpenSearchServiceDomain?: AwsOpenSearchServiceDomainDetails;
|
|
806
|
+
/**
|
|
807
|
+
* @public
|
|
808
|
+
* <p>Details about the service configuration for a VPC endpoint service.</p>
|
|
809
|
+
*/
|
|
810
|
+
AwsEc2VpcEndpointService?: AwsEc2VpcEndpointServiceDetails;
|
|
811
|
+
/**
|
|
812
|
+
* @public
|
|
813
|
+
* <p>Information about the encryption configuration for X-Ray.</p>
|
|
814
|
+
*/
|
|
815
|
+
AwsXrayEncryptionConfig?: AwsXrayEncryptionConfigDetails;
|
|
816
|
+
/**
|
|
817
|
+
* @public
|
|
818
|
+
* <p>Details about a rate-based rule for global resources.</p>
|
|
819
|
+
*/
|
|
820
|
+
AwsWafRateBasedRule?: AwsWafRateBasedRuleDetails;
|
|
821
|
+
/**
|
|
822
|
+
* @public
|
|
823
|
+
* <p>Details about a rate-based rule for Regional resources.</p>
|
|
824
|
+
*/
|
|
825
|
+
AwsWafRegionalRateBasedRule?: AwsWafRegionalRateBasedRuleDetails;
|
|
826
|
+
/**
|
|
827
|
+
* @public
|
|
828
|
+
* <p>Information about an Amazon Elastic Container Registry repository.</p>
|
|
829
|
+
*/
|
|
830
|
+
AwsEcrRepository?: AwsEcrRepositoryDetails;
|
|
831
|
+
/**
|
|
832
|
+
* @public
|
|
833
|
+
* <p>Details about an Amazon EKS cluster.</p>
|
|
834
|
+
*/
|
|
835
|
+
AwsEksCluster?: AwsEksClusterDetails;
|
|
836
|
+
/**
|
|
837
|
+
* @public
|
|
838
|
+
* <p>Details about an Network Firewall firewall policy.</p>
|
|
839
|
+
*/
|
|
840
|
+
AwsNetworkFirewallFirewallPolicy?: AwsNetworkFirewallFirewallPolicyDetails;
|
|
841
|
+
/**
|
|
842
|
+
* @public
|
|
843
|
+
* <p>Details about an Network Firewall firewall.</p>
|
|
844
|
+
*/
|
|
845
|
+
AwsNetworkFirewallFirewall?: AwsNetworkFirewallFirewallDetails;
|
|
846
|
+
/**
|
|
847
|
+
* @public
|
|
848
|
+
* <p>Details about an Network Firewall rule group.</p>
|
|
849
|
+
*/
|
|
850
|
+
AwsNetworkFirewallRuleGroup?: AwsNetworkFirewallRuleGroupDetails;
|
|
851
|
+
/**
|
|
852
|
+
* @public
|
|
853
|
+
* <p>Details about an Amazon RDS DB security group.</p>
|
|
854
|
+
*/
|
|
855
|
+
AwsRdsDbSecurityGroup?: AwsRdsDbSecurityGroupDetails;
|
|
856
|
+
/**
|
|
857
|
+
* @public
|
|
858
|
+
* <p>Details about an Amazon Kinesis data stream.</p>
|
|
859
|
+
*/
|
|
860
|
+
AwsKinesisStream?: AwsKinesisStreamDetails;
|
|
861
|
+
/**
|
|
862
|
+
* @public
|
|
863
|
+
* <p>Details about an Amazon EC2 transit gateway that interconnects your virtual private clouds (VPC) and on-premises networks.</p>
|
|
864
|
+
*/
|
|
865
|
+
AwsEc2TransitGateway?: AwsEc2TransitGatewayDetails;
|
|
866
|
+
/**
|
|
867
|
+
* @public
|
|
868
|
+
* <p>Details about an Amazon EFS access point. An access point is an application-specific view into an EFS file system that
|
|
869
|
+
* applies an operating system user and group, and a file system path, to any file system request made through the access point.
|
|
870
|
+
* </p>
|
|
871
|
+
*/
|
|
872
|
+
AwsEfsAccessPoint?: AwsEfsAccessPointDetails;
|
|
873
|
+
/**
|
|
874
|
+
* @public
|
|
875
|
+
* <p>Details about an CloudFormation stack. A stack is a collection of Amazon Web Services resources that you can manage as a single unit.</p>
|
|
876
|
+
*/
|
|
877
|
+
AwsCloudFormationStack?: AwsCloudFormationStackDetails;
|
|
878
|
+
/**
|
|
879
|
+
* @public
|
|
880
|
+
* <p>Details about an Amazon CloudWatch alarm. An alarm allows you to monitor and receive alerts about your Amazon Web Services resources and applications across multiple Regions.</p>
|
|
881
|
+
*/
|
|
882
|
+
AwsCloudWatchAlarm?: AwsCloudWatchAlarmDetails;
|
|
883
|
+
/**
|
|
884
|
+
* @public
|
|
885
|
+
* <p>Details about an Amazon EC2 VPC peering connection. A VPC peering connection is
|
|
886
|
+
* a networking connection between two VPCs that enables you to route traffic between them
|
|
887
|
+
* privately.
|
|
888
|
+
* </p>
|
|
889
|
+
*/
|
|
890
|
+
AwsEc2VpcPeeringConnection?: AwsEc2VpcPeeringConnectionDetails;
|
|
891
|
+
/**
|
|
892
|
+
* @public
|
|
893
|
+
* <p>Details about an WAF rule group for Regional resources.
|
|
894
|
+
* </p>
|
|
895
|
+
*/
|
|
896
|
+
AwsWafRegionalRuleGroup?: AwsWafRegionalRuleGroupDetails;
|
|
897
|
+
/**
|
|
898
|
+
* @public
|
|
899
|
+
* <p>Details about an WAF rule for Regional resources.
|
|
900
|
+
* </p>
|
|
901
|
+
*/
|
|
902
|
+
AwsWafRegionalRule?: AwsWafRegionalRuleDetails;
|
|
903
|
+
/**
|
|
904
|
+
* @public
|
|
905
|
+
* <p>Details about an WAF web access control list (web ACL) for Regional resources. </p>
|
|
906
|
+
*/
|
|
907
|
+
AwsWafRegionalWebAcl?: AwsWafRegionalWebAclDetails;
|
|
908
|
+
/**
|
|
909
|
+
* @public
|
|
910
|
+
* <p>Details about an WAF rule for global resources.
|
|
911
|
+
* </p>
|
|
912
|
+
*/
|
|
913
|
+
AwsWafRule?: AwsWafRuleDetails;
|
|
914
|
+
/**
|
|
915
|
+
* @public
|
|
916
|
+
* <p>Details about an WAF rule group for global resources.
|
|
917
|
+
* </p>
|
|
918
|
+
*/
|
|
919
|
+
AwsWafRuleGroup?: AwsWafRuleGroupDetails;
|
|
920
|
+
/**
|
|
921
|
+
* @public
|
|
922
|
+
* <p>Details about a task in a cluster. </p>
|
|
923
|
+
*/
|
|
924
|
+
AwsEcsTask?: AwsEcsTaskDetails;
|
|
925
|
+
/**
|
|
926
|
+
* @public
|
|
927
|
+
* <p>Provides details about an Backup backup vault.
|
|
928
|
+
* </p>
|
|
929
|
+
*/
|
|
930
|
+
AwsBackupBackupVault?: AwsBackupBackupVaultDetails;
|
|
931
|
+
/**
|
|
932
|
+
* @public
|
|
933
|
+
* <p>Provides details about an Backup backup plan.
|
|
934
|
+
* </p>
|
|
935
|
+
*/
|
|
936
|
+
AwsBackupBackupPlan?: AwsBackupBackupPlanDetails;
|
|
937
|
+
/**
|
|
938
|
+
* @public
|
|
939
|
+
* <p>Provides details about an Backup backup, or recovery point.
|
|
940
|
+
* </p>
|
|
941
|
+
*/
|
|
942
|
+
AwsBackupRecoveryPoint?: AwsBackupRecoveryPointDetails;
|
|
943
|
+
/**
|
|
944
|
+
* @public
|
|
945
|
+
* <p>
|
|
946
|
+
* Specifies the properties for creating an Amazon Elastic Compute Cloud (Amazon EC2) launch template.
|
|
947
|
+
* </p>
|
|
948
|
+
*/
|
|
949
|
+
AwsEc2LaunchTemplate?: AwsEc2LaunchTemplateDetails;
|
|
950
|
+
/**
|
|
951
|
+
* @public
|
|
952
|
+
* <p>
|
|
953
|
+
* Provides details about an Amazon SageMaker notebook instance.
|
|
954
|
+
* </p>
|
|
955
|
+
*/
|
|
956
|
+
AwsSageMakerNotebookInstance?: AwsSageMakerNotebookInstanceDetails;
|
|
957
|
+
/**
|
|
958
|
+
* @public
|
|
959
|
+
* <p>
|
|
960
|
+
* Details about an WAFv2 web Access Control List (ACL).
|
|
961
|
+
* </p>
|
|
962
|
+
*/
|
|
963
|
+
AwsWafv2WebAcl?: AwsWafv2WebAclDetails;
|
|
964
|
+
/**
|
|
965
|
+
* @public
|
|
966
|
+
* <p>
|
|
967
|
+
* Details about an WAFv2 rule group.
|
|
968
|
+
* </p>
|
|
969
|
+
*/
|
|
970
|
+
AwsWafv2RuleGroup?: AwsWafv2RuleGroupDetails;
|
|
971
|
+
/**
|
|
972
|
+
* @public
|
|
973
|
+
* <p>
|
|
974
|
+
* Provides details about a route table. A route table contains a set of rules, called routes, that
|
|
975
|
+
* determine where to direct network traffic from your subnet or gateway.
|
|
976
|
+
* </p>
|
|
977
|
+
*/
|
|
978
|
+
AwsEc2RouteTable?: AwsEc2RouteTableDetails;
|
|
979
|
+
/**
|
|
980
|
+
* @public
|
|
981
|
+
* <p>
|
|
982
|
+
* Provides details about AppSync message broker. A message broker allows software applications and
|
|
983
|
+
* components to communicate using various programming languages, operating systems, and formal messaging protocols.
|
|
984
|
+
* </p>
|
|
985
|
+
*/
|
|
986
|
+
AwsAmazonMqBroker?: AwsAmazonMqBrokerDetails;
|
|
987
|
+
/**
|
|
988
|
+
* @public
|
|
989
|
+
* <p>
|
|
990
|
+
* Provides details about an AppSync Graph QL API, which lets you query multiple databases, microservices,
|
|
991
|
+
* and APIs from a single GraphQL endpoint.
|
|
992
|
+
* </p>
|
|
993
|
+
*/
|
|
994
|
+
AwsAppSyncGraphQlApi?: AwsAppSyncGraphQlApiDetails;
|
|
995
|
+
/**
|
|
996
|
+
* @public
|
|
997
|
+
* <p>
|
|
998
|
+
* A schema defines the structure of events that are sent to Amazon EventBridge. Schema registries are containers for
|
|
999
|
+
* schemas. They collect and organize schemas so that your schemas are in logical groups.
|
|
1000
|
+
* </p>
|
|
1001
|
+
*/
|
|
1002
|
+
AwsEventSchemasRegistry?: AwsEventSchemasRegistryDetails;
|
|
1003
|
+
/**
|
|
1004
|
+
* @public
|
|
1005
|
+
* <p>
|
|
1006
|
+
* Provides details about an Amazon GuardDuty detector. A detector is an object that represents the GuardDuty
|
|
1007
|
+
* service. A detector is required for GuardDuty to become operational.
|
|
1008
|
+
* </p>
|
|
1009
|
+
*/
|
|
1010
|
+
AwsGuardDutyDetector?: AwsGuardDutyDetectorDetails;
|
|
1011
|
+
/**
|
|
1012
|
+
* @public
|
|
1013
|
+
* <p>
|
|
1014
|
+
* Provides details about an Step Functions state machine, which is a workflow consisting of a series of event-driven steps.
|
|
1015
|
+
* </p>
|
|
1016
|
+
*/
|
|
1017
|
+
AwsStepFunctionStateMachine?: AwsStepFunctionStateMachineDetails;
|
|
1018
|
+
/**
|
|
1019
|
+
* @public
|
|
1020
|
+
* <p>
|
|
1021
|
+
* Provides information about an Amazon Athena workgroup. A workgroup helps you separate users, teams,
|
|
1022
|
+
* applications, or workloads. It also helps you set limits on data processing and track costs.
|
|
1023
|
+
* </p>
|
|
1024
|
+
*/
|
|
1025
|
+
AwsAthenaWorkGroup?: AwsAthenaWorkGroupDetails;
|
|
1026
|
+
/**
|
|
1027
|
+
* @public
|
|
1028
|
+
* <p>
|
|
1029
|
+
* Provides details about Amazon EventBridge event bus for an endpoint. An event bus is a router that receives events
|
|
1030
|
+
* and delivers them to zero or more destinations, or targets.</p>
|
|
1031
|
+
*/
|
|
1032
|
+
AwsEventsEventbus?: AwsEventsEventbusDetails;
|
|
1033
|
+
/**
|
|
1034
|
+
* @public
|
|
1035
|
+
* <p>
|
|
1036
|
+
* Provides details about an Database Migration Service (DMS) endpoint. An endpoint provides connection, data
|
|
1037
|
+
* store type, and location information about your data store.</p>
|
|
1038
|
+
*/
|
|
1039
|
+
AwsDmsEndpoint?: AwsDmsEndpointDetails;
|
|
1040
|
+
/**
|
|
1041
|
+
* @public
|
|
1042
|
+
* <p>
|
|
1043
|
+
* Provides details about an Amazon EventBridge global endpoint. The endpoint can improve your application’s
|
|
1044
|
+
* availability by making it Regional-fault tolerant.</p>
|
|
1045
|
+
*/
|
|
1046
|
+
AwsEventsEndpoint?: AwsEventsEndpointDetails;
|
|
1047
|
+
/**
|
|
1048
|
+
* @public
|
|
1049
|
+
* <p>
|
|
1050
|
+
* Provides details about an DMS replication task. A replication task moves a set of data from the source
|
|
1051
|
+
* endpoint to the target endpoint.</p>
|
|
1052
|
+
*/
|
|
1053
|
+
AwsDmsReplicationTask?: AwsDmsReplicationTaskDetails;
|
|
1054
|
+
/**
|
|
1055
|
+
* @public
|
|
1056
|
+
* <p>
|
|
1057
|
+
* Provides details about an DMS replication instance. DMS uses a replication instance to connect to your
|
|
1058
|
+
* source data store, read the source data, and format the data for consumption by the target data store.</p>
|
|
1059
|
+
*/
|
|
1060
|
+
AwsDmsReplicationInstance?: AwsDmsReplicationInstanceDetails;
|
|
1061
|
+
/**
|
|
1062
|
+
* @public
|
|
1063
|
+
* <p>
|
|
1064
|
+
* Provides details about an Amazon Route 53 hosted zone, including the four name servers assigned to the hosted
|
|
1065
|
+
* zone. A hosted zone represents a collection of records that can be managed together, belonging to a single parent domain name.</p>
|
|
1066
|
+
*/
|
|
1067
|
+
AwsRoute53HostedZone?: AwsRoute53HostedZoneDetails;
|
|
1068
|
+
/**
|
|
1069
|
+
* @public
|
|
1070
|
+
* <p>
|
|
1071
|
+
* Provides details about an Amazon Managed Streaming for Apache Kafka (Amazon MSK) cluster.</p>
|
|
1072
|
+
*/
|
|
1073
|
+
AwsMskCluster?: AwsMskClusterDetails;
|
|
1074
|
+
}
|
|
1075
|
+
/**
|
|
1076
|
+
* @public
|
|
1077
|
+
* @enum
|
|
1078
|
+
*/
|
|
1079
|
+
export declare const Partition: {
|
|
1080
|
+
readonly AWS: "aws";
|
|
1081
|
+
readonly AWS_CN: "aws-cn";
|
|
1082
|
+
readonly AWS_US_GOV: "aws-us-gov";
|
|
1083
|
+
};
|
|
1084
|
+
/**
|
|
1085
|
+
* @public
|
|
1086
|
+
*/
|
|
1087
|
+
export type Partition = (typeof Partition)[keyof typeof Partition];
|
|
1088
|
+
/**
|
|
1089
|
+
* @public
|
|
1090
|
+
* <p>A resource related to a finding.</p>
|
|
1091
|
+
*/
|
|
1092
|
+
export interface Resource {
|
|
1093
|
+
/**
|
|
1094
|
+
* @public
|
|
1095
|
+
* <p>The type of the resource that details are provided for. If possible, set
|
|
1096
|
+
* <code>Type</code> to one of the supported resource types. For example, if the resource
|
|
1097
|
+
* is an EC2 instance, then set <code>Type</code> to <code>AwsEc2Instance</code>.</p>
|
|
1098
|
+
* <p>If the resource does not match any of the provided types, then set <code>Type</code> to
|
|
1099
|
+
* <code>Other</code>. </p>
|
|
1100
|
+
*/
|
|
1101
|
+
Type: string | undefined;
|
|
1102
|
+
/**
|
|
1103
|
+
* @public
|
|
1104
|
+
* <p>The canonical identifier for the given resource type.</p>
|
|
1105
|
+
*/
|
|
1106
|
+
Id: string | undefined;
|
|
1107
|
+
/**
|
|
1108
|
+
* @public
|
|
1109
|
+
* <p>The canonical Amazon Web Services partition name that the Region is assigned to.</p>
|
|
1110
|
+
*/
|
|
1111
|
+
Partition?: Partition | string;
|
|
1112
|
+
/**
|
|
1113
|
+
* @public
|
|
1114
|
+
* <p>The canonical Amazon Web Services external Region name where this resource is located.</p>
|
|
1115
|
+
*/
|
|
1116
|
+
Region?: string;
|
|
1117
|
+
/**
|
|
1118
|
+
* @public
|
|
1119
|
+
* <p>Identifies the role of the resource in the finding. A resource is either the actor or target of the finding activity,</p>
|
|
1120
|
+
*/
|
|
1121
|
+
ResourceRole?: string;
|
|
1122
|
+
/**
|
|
1123
|
+
* @public
|
|
1124
|
+
* <p>A list of Amazon Web Services tags associated with a resource at the time the finding was
|
|
1125
|
+
* processed.</p>
|
|
1126
|
+
*/
|
|
1127
|
+
Tags?: Record<string, string>;
|
|
1128
|
+
/**
|
|
1129
|
+
* @public
|
|
1130
|
+
* <p>Contains information about sensitive data that was detected on the resource.</p>
|
|
1131
|
+
*/
|
|
1132
|
+
DataClassification?: DataClassificationDetails;
|
|
1133
|
+
/**
|
|
1134
|
+
* @public
|
|
1135
|
+
* <p>Additional details about the resource related to a finding.</p>
|
|
1136
|
+
*/
|
|
1137
|
+
Details?: ResourceDetails;
|
|
1138
|
+
}
|
|
1139
|
+
/**
|
|
1140
|
+
* @public
|
|
1141
|
+
* <p>The severity of the finding.</p>
|
|
1142
|
+
* <p>The finding provider can provide the initial severity. The finding provider can only
|
|
1143
|
+
* update the severity if it hasn't been updated using
|
|
1144
|
+
* <code>BatchUpdateFindings</code>.</p>
|
|
1145
|
+
* <p>The finding must have either <code>Label</code> or <code>Normalized</code> populated. If
|
|
1146
|
+
* only one of these attributes is populated, then Security Hub automatically populates the other
|
|
1147
|
+
* one. If neither attribute is populated, then the finding is invalid. <code>Label</code> is
|
|
1148
|
+
* the preferred attribute.</p>
|
|
1149
|
+
*/
|
|
1150
|
+
export interface Severity {
|
|
1151
|
+
/**
|
|
1152
|
+
* @public
|
|
1153
|
+
* <p>Deprecated. This attribute is being deprecated. Instead of providing
|
|
1154
|
+
* <code>Product</code>, provide <code>Original</code>.</p>
|
|
1155
|
+
* <p>The native severity as defined by the Amazon Web Services service or integrated partner product that
|
|
1156
|
+
* generated the finding.</p>
|
|
1157
|
+
*/
|
|
1158
|
+
Product?: number;
|
|
1159
|
+
/**
|
|
1160
|
+
* @public
|
|
1161
|
+
* <p>The severity value of the finding. The allowed values are the following.</p>
|
|
1162
|
+
* <ul>
|
|
1163
|
+
* <li>
|
|
1164
|
+
* <p>
|
|
1165
|
+
* <code>INFORMATIONAL</code> - No issue was found.</p>
|
|
1166
|
+
* </li>
|
|
1167
|
+
* <li>
|
|
1168
|
+
* <p>
|
|
1169
|
+
* <code>LOW</code> - The issue does not require action on its own.</p>
|
|
1170
|
+
* </li>
|
|
1171
|
+
* <li>
|
|
1172
|
+
* <p>
|
|
1173
|
+
* <code>MEDIUM</code> - The issue must be addressed but not urgently.</p>
|
|
1174
|
+
* </li>
|
|
1175
|
+
* <li>
|
|
1176
|
+
* <p>
|
|
1177
|
+
* <code>HIGH</code> - The issue must be addressed as a priority.</p>
|
|
1178
|
+
* </li>
|
|
1179
|
+
* <li>
|
|
1180
|
+
* <p>
|
|
1181
|
+
* <code>CRITICAL</code> - The issue must be remediated immediately to avoid it
|
|
1182
|
+
* escalating.</p>
|
|
1183
|
+
* </li>
|
|
1184
|
+
* </ul>
|
|
1185
|
+
* <p>If you provide <code>Normalized</code> and do not provide <code>Label</code>, then
|
|
1186
|
+
* <code>Label</code> is set automatically as follows. </p>
|
|
1187
|
+
* <ul>
|
|
1188
|
+
* <li>
|
|
1189
|
+
* <p>0 - <code>INFORMATIONAL</code>
|
|
1190
|
+
* </p>
|
|
1191
|
+
* </li>
|
|
1192
|
+
* <li>
|
|
1193
|
+
* <p>1–39 - <code>LOW</code>
|
|
1194
|
+
* </p>
|
|
1195
|
+
* </li>
|
|
1196
|
+
* <li>
|
|
1197
|
+
* <p>40–69 - <code>MEDIUM</code>
|
|
1198
|
+
* </p>
|
|
1199
|
+
* </li>
|
|
1200
|
+
* <li>
|
|
1201
|
+
* <p>70–89 - <code>HIGH</code>
|
|
1202
|
+
* </p>
|
|
1203
|
+
* </li>
|
|
1204
|
+
* <li>
|
|
1205
|
+
* <p>90–100 - <code>CRITICAL</code>
|
|
1206
|
+
* </p>
|
|
1207
|
+
* </li>
|
|
1208
|
+
* </ul>
|
|
1209
|
+
*/
|
|
1210
|
+
Label?: SeverityLabel | string;
|
|
1211
|
+
/**
|
|
1212
|
+
* @public
|
|
1213
|
+
* <p>Deprecated. The normalized severity of a finding. This attribute is being deprecated.
|
|
1214
|
+
* Instead of providing <code>Normalized</code>, provide <code>Label</code>.</p>
|
|
1215
|
+
* <p>If you provide <code>Label</code> and do not provide <code>Normalized</code>, then
|
|
1216
|
+
* <code>Normalized</code> is set automatically as follows.</p>
|
|
1217
|
+
* <ul>
|
|
1218
|
+
* <li>
|
|
1219
|
+
* <p>
|
|
1220
|
+
* <code>INFORMATIONAL</code> - 0</p>
|
|
1221
|
+
* </li>
|
|
1222
|
+
* <li>
|
|
1223
|
+
* <p>
|
|
1224
|
+
* <code>LOW</code> - 1</p>
|
|
1225
|
+
* </li>
|
|
1226
|
+
* <li>
|
|
1227
|
+
* <p>
|
|
1228
|
+
* <code>MEDIUM</code> - 40</p>
|
|
1229
|
+
* </li>
|
|
1230
|
+
* <li>
|
|
1231
|
+
* <p>
|
|
1232
|
+
* <code>HIGH</code> - 70</p>
|
|
1233
|
+
* </li>
|
|
1234
|
+
* <li>
|
|
1235
|
+
* <p>
|
|
1236
|
+
* <code>CRITICAL</code> - 90</p>
|
|
1237
|
+
* </li>
|
|
1238
|
+
* </ul>
|
|
1239
|
+
*/
|
|
1240
|
+
Normalized?: number;
|
|
1241
|
+
/**
|
|
1242
|
+
* @public
|
|
1243
|
+
* <p>The native severity from the finding product that generated the finding.</p>
|
|
1244
|
+
*/
|
|
1245
|
+
Original?: string;
|
|
1246
|
+
}
|
|
1247
|
+
/**
|
|
1248
|
+
* @public
|
|
1249
|
+
* @enum
|
|
1250
|
+
*/
|
|
1251
|
+
export declare const ThreatIntelIndicatorCategory: {
|
|
1252
|
+
readonly BACKDOOR: "BACKDOOR";
|
|
1253
|
+
readonly CARD_STEALER: "CARD_STEALER";
|
|
1254
|
+
readonly COMMAND_AND_CONTROL: "COMMAND_AND_CONTROL";
|
|
1255
|
+
readonly DROP_SITE: "DROP_SITE";
|
|
1256
|
+
readonly EXPLOIT_SITE: "EXPLOIT_SITE";
|
|
1257
|
+
readonly KEYLOGGER: "KEYLOGGER";
|
|
1258
|
+
};
|
|
1259
|
+
/**
|
|
1260
|
+
* @public
|
|
1261
|
+
*/
|
|
1262
|
+
export type ThreatIntelIndicatorCategory = (typeof ThreatIntelIndicatorCategory)[keyof typeof ThreatIntelIndicatorCategory];
|
|
1263
|
+
/**
|
|
1264
|
+
* @public
|
|
1265
|
+
* @enum
|
|
1266
|
+
*/
|
|
1267
|
+
export declare const ThreatIntelIndicatorType: {
|
|
1268
|
+
readonly DOMAIN: "DOMAIN";
|
|
1269
|
+
readonly EMAIL_ADDRESS: "EMAIL_ADDRESS";
|
|
1270
|
+
readonly HASH_MD5: "HASH_MD5";
|
|
1271
|
+
readonly HASH_SHA1: "HASH_SHA1";
|
|
1272
|
+
readonly HASH_SHA256: "HASH_SHA256";
|
|
1273
|
+
readonly HASH_SHA512: "HASH_SHA512";
|
|
1274
|
+
readonly IPV4_ADDRESS: "IPV4_ADDRESS";
|
|
1275
|
+
readonly IPV6_ADDRESS: "IPV6_ADDRESS";
|
|
1276
|
+
readonly MUTEX: "MUTEX";
|
|
1277
|
+
readonly PROCESS: "PROCESS";
|
|
1278
|
+
readonly URL: "URL";
|
|
1279
|
+
};
|
|
1280
|
+
/**
|
|
1281
|
+
* @public
|
|
1282
|
+
*/
|
|
1283
|
+
export type ThreatIntelIndicatorType = (typeof ThreatIntelIndicatorType)[keyof typeof ThreatIntelIndicatorType];
|
|
1284
|
+
/**
|
|
1285
|
+
* @public
|
|
1286
|
+
* <p>Details about the threat intelligence related to a finding.</p>
|
|
1287
|
+
*/
|
|
1288
|
+
export interface ThreatIntelIndicator {
|
|
1289
|
+
/**
|
|
1290
|
+
* @public
|
|
1291
|
+
* <p>The type of threat intelligence indicator.</p>
|
|
1292
|
+
*/
|
|
1293
|
+
Type?: ThreatIntelIndicatorType | string;
|
|
1294
|
+
/**
|
|
1295
|
+
* @public
|
|
1296
|
+
* <p>The value of a threat intelligence indicator.</p>
|
|
1297
|
+
*/
|
|
1298
|
+
Value?: string;
|
|
1299
|
+
/**
|
|
1300
|
+
* @public
|
|
1301
|
+
* <p>The category of a threat intelligence indicator.</p>
|
|
1302
|
+
*/
|
|
1303
|
+
Category?: ThreatIntelIndicatorCategory | string;
|
|
1304
|
+
/**
|
|
1305
|
+
* @public
|
|
1306
|
+
* <p>Indicates when the most recent instance of a threat intelligence indicator was
|
|
1307
|
+
* observed.</p>
|
|
1308
|
+
* <p>Uses the <code>date-time</code> format specified in <a href="https://tools.ietf.org/html/rfc3339#section-5.6">RFC 3339 section 5.6, Internet
|
|
1309
|
+
* Date/Time Format</a>. The value cannot contain spaces, and date and time should be separated by <code>T</code>. For example,
|
|
1310
|
+
* <code>2020-03-22T13:22:13.933Z</code>.</p>
|
|
1311
|
+
*/
|
|
1312
|
+
LastObservedAt?: string;
|
|
1313
|
+
/**
|
|
1314
|
+
* @public
|
|
1315
|
+
* <p>The source of the threat intelligence indicator.</p>
|
|
1316
|
+
*/
|
|
1317
|
+
Source?: string;
|
|
1318
|
+
/**
|
|
1319
|
+
* @public
|
|
1320
|
+
* <p>The URL to the page or site where you can get more information about the threat
|
|
1321
|
+
* intelligence indicator.</p>
|
|
1322
|
+
*/
|
|
1323
|
+
SourceUrl?: string;
|
|
1324
|
+
}
|
|
1325
|
+
/**
|
|
1326
|
+
* @public
|
|
1327
|
+
* <p>Provides information about the file paths that were affected by the threat.
|
|
1328
|
+
* </p>
|
|
1329
|
+
*/
|
|
1330
|
+
export interface FilePaths {
|
|
1331
|
+
/**
|
|
1332
|
+
* @public
|
|
1333
|
+
* <p>Path to the infected or suspicious file on the resource it was detected on.
|
|
1334
|
+
* </p>
|
|
1335
|
+
*/
|
|
1336
|
+
FilePath?: string;
|
|
1337
|
+
/**
|
|
1338
|
+
* @public
|
|
1339
|
+
* <p>The name of the infected or suspicious file corresponding to the hash.
|
|
1340
|
+
* </p>
|
|
1341
|
+
*/
|
|
1342
|
+
FileName?: string;
|
|
1343
|
+
/**
|
|
1344
|
+
* @public
|
|
1345
|
+
* <p>The Amazon Resource Name (ARN) of the resource on which the threat was detected.
|
|
1346
|
+
* </p>
|
|
1347
|
+
*/
|
|
1348
|
+
ResourceId?: string;
|
|
1349
|
+
/**
|
|
1350
|
+
* @public
|
|
1351
|
+
* <p>The hash value for the infected or suspicious file.
|
|
1352
|
+
* </p>
|
|
1353
|
+
*/
|
|
1354
|
+
Hash?: string;
|
|
1355
|
+
}
|
|
1356
|
+
/**
|
|
1357
|
+
* @public
|
|
1358
|
+
* <p>Provides information about the threat detected in a security finding and the file paths that were affected by the threat.
|
|
1359
|
+
* </p>
|
|
1360
|
+
*/
|
|
1361
|
+
export interface Threat {
|
|
1362
|
+
/**
|
|
1363
|
+
* @public
|
|
1364
|
+
* <p>The name of the threat.
|
|
1365
|
+
* </p>
|
|
1366
|
+
*/
|
|
1367
|
+
Name?: string;
|
|
1368
|
+
/**
|
|
1369
|
+
* @public
|
|
1370
|
+
* <p>The severity of the threat.
|
|
1371
|
+
* </p>
|
|
1372
|
+
*/
|
|
1373
|
+
Severity?: string;
|
|
1374
|
+
/**
|
|
1375
|
+
* @public
|
|
1376
|
+
* <p>This total number of items in which the threat has been detected.
|
|
1377
|
+
* </p>
|
|
1378
|
+
*/
|
|
1379
|
+
ItemCount?: number;
|
|
1380
|
+
/**
|
|
1381
|
+
* @public
|
|
1382
|
+
* <p>Provides information about the file paths that were affected by the threat.
|
|
1383
|
+
* </p>
|
|
1384
|
+
*/
|
|
1385
|
+
FilePaths?: FilePaths[];
|
|
1386
|
+
}
|
|
1387
|
+
/**
|
|
1388
|
+
* @public
|
|
1389
|
+
* <p>
|
|
1390
|
+
* Provides details about where a code vulnerability is located in your Lambda function.
|
|
1391
|
+
* </p>
|
|
1392
|
+
*/
|
|
1393
|
+
export interface CodeVulnerabilitiesFilePath {
|
|
1394
|
+
/**
|
|
1395
|
+
* @public
|
|
1396
|
+
* <p>
|
|
1397
|
+
* The line number of the last line of code in which the vulnerability is located.
|
|
1398
|
+
* </p>
|
|
1399
|
+
*/
|
|
1400
|
+
EndLine?: number;
|
|
1401
|
+
/**
|
|
1402
|
+
* @public
|
|
1403
|
+
* <p>
|
|
1404
|
+
* The name of the file in which the code vulnerability is located.
|
|
1405
|
+
* </p>
|
|
1406
|
+
*/
|
|
1407
|
+
FileName?: string;
|
|
1408
|
+
/**
|
|
1409
|
+
* @public
|
|
1410
|
+
* <p>
|
|
1411
|
+
* The file path to the code in which the vulnerability is located.
|
|
1412
|
+
* </p>
|
|
1413
|
+
*/
|
|
1414
|
+
FilePath?: string;
|
|
1415
|
+
/**
|
|
1416
|
+
* @public
|
|
1417
|
+
* <p>
|
|
1418
|
+
* The line number of the first line of code in which the vulnerability is located.
|
|
1419
|
+
* </p>
|
|
1420
|
+
*/
|
|
1421
|
+
StartLine?: number;
|
|
1422
|
+
}
|
|
1423
|
+
/**
|
|
1424
|
+
* @public
|
|
1425
|
+
* <p>Provides details about the vulnerabilities found in your Lambda function code. This field pertains to findings that
|
|
1426
|
+
* Security Hub receives from Amazon Inspector.
|
|
1427
|
+
* </p>
|
|
1428
|
+
*/
|
|
1429
|
+
export interface VulnerabilityCodeVulnerabilities {
|
|
1430
|
+
/**
|
|
1431
|
+
* @public
|
|
1432
|
+
* <p>
|
|
1433
|
+
* The Common Weakness Enumeration (CWE) item associated with the detected code vulnerability.
|
|
1434
|
+
* </p>
|
|
1435
|
+
*/
|
|
1436
|
+
Cwes?: string[];
|
|
1437
|
+
/**
|
|
1438
|
+
* @public
|
|
1439
|
+
* <p>
|
|
1440
|
+
* Provides details about where a code vulnerability is located in your Lambda function.
|
|
1441
|
+
* </p>
|
|
1442
|
+
*/
|
|
1443
|
+
FilePath?: CodeVulnerabilitiesFilePath;
|
|
1444
|
+
/**
|
|
1445
|
+
* @public
|
|
1446
|
+
* <p>
|
|
1447
|
+
* The Amazon Resource Name (ARN) of the Lambda layer in which the code vulnerability is located.
|
|
1448
|
+
* </p>
|
|
1449
|
+
*/
|
|
1450
|
+
SourceArn?: string;
|
|
1451
|
+
}
|
|
1452
|
+
/**
|
|
1453
|
+
* @public
|
|
1454
|
+
* <p>CVSS scores from the advisory related to the vulnerability.</p>
|
|
1455
|
+
*/
|
|
1456
|
+
export interface Cvss {
|
|
1457
|
+
/**
|
|
1458
|
+
* @public
|
|
1459
|
+
* <p>The version of CVSS for the CVSS score.</p>
|
|
1460
|
+
*/
|
|
1461
|
+
Version?: string;
|
|
1462
|
+
/**
|
|
1463
|
+
* @public
|
|
1464
|
+
* <p>The base CVSS score.</p>
|
|
1465
|
+
*/
|
|
1466
|
+
BaseScore?: number;
|
|
1467
|
+
/**
|
|
1468
|
+
* @public
|
|
1469
|
+
* <p>The base scoring vector for the CVSS score.</p>
|
|
1470
|
+
*/
|
|
1471
|
+
BaseVector?: string;
|
|
1472
|
+
/**
|
|
1473
|
+
* @public
|
|
1474
|
+
* <p>The origin of the original CVSS score and vector.</p>
|
|
1475
|
+
*/
|
|
1476
|
+
Source?: string;
|
|
1477
|
+
/**
|
|
1478
|
+
* @public
|
|
1479
|
+
* <p>Adjustments to the CVSS metrics.</p>
|
|
1480
|
+
*/
|
|
1481
|
+
Adjustments?: Adjustment[];
|
|
1482
|
+
}
|
|
1483
|
+
/**
|
|
1484
|
+
* @public
|
|
1485
|
+
* @enum
|
|
1486
|
+
*/
|
|
1487
|
+
export declare const VulnerabilityExploitAvailable: {
|
|
1488
|
+
readonly NO: "NO";
|
|
1489
|
+
readonly YES: "YES";
|
|
1490
|
+
};
|
|
1491
|
+
/**
|
|
1492
|
+
* @public
|
|
1493
|
+
*/
|
|
1494
|
+
export type VulnerabilityExploitAvailable = (typeof VulnerabilityExploitAvailable)[keyof typeof VulnerabilityExploitAvailable];
|
|
1495
|
+
/**
|
|
1496
|
+
* @public
|
|
1497
|
+
* @enum
|
|
1498
|
+
*/
|
|
1499
|
+
export declare const VulnerabilityFixAvailable: {
|
|
1500
|
+
readonly NO: "NO";
|
|
1501
|
+
readonly PARTIAL: "PARTIAL";
|
|
1502
|
+
readonly YES: "YES";
|
|
1503
|
+
};
|
|
1504
|
+
/**
|
|
1505
|
+
* @public
|
|
1506
|
+
*/
|
|
1507
|
+
export type VulnerabilityFixAvailable = (typeof VulnerabilityFixAvailable)[keyof typeof VulnerabilityFixAvailable];
|
|
1508
|
+
/**
|
|
1509
|
+
* @public
|
|
1510
|
+
* <p>A vendor that generates a vulnerability report.</p>
|
|
1511
|
+
*/
|
|
1512
|
+
export interface VulnerabilityVendor {
|
|
1513
|
+
/**
|
|
1514
|
+
* @public
|
|
1515
|
+
* <p>The name of the vendor.</p>
|
|
1516
|
+
*/
|
|
1517
|
+
Name: string | undefined;
|
|
1518
|
+
/**
|
|
1519
|
+
* @public
|
|
1520
|
+
* <p>The URL of the vulnerability advisory.</p>
|
|
1521
|
+
*/
|
|
1522
|
+
Url?: string;
|
|
1523
|
+
/**
|
|
1524
|
+
* @public
|
|
1525
|
+
* <p>The severity that the vendor assigned to the vulnerability.</p>
|
|
1526
|
+
*/
|
|
1527
|
+
VendorSeverity?: string;
|
|
1528
|
+
/**
|
|
1529
|
+
* @public
|
|
1530
|
+
* <p>Indicates when the vulnerability advisory was created.</p>
|
|
1531
|
+
* <p>Uses the <code>date-time</code> format specified in <a href="https://tools.ietf.org/html/rfc3339#section-5.6">RFC 3339 section 5.6, Internet
|
|
1532
|
+
* Date/Time Format</a>. The value cannot contain spaces, and date and time should be separated by <code>T</code>. For example,
|
|
1533
|
+
* <code>2020-03-22T13:22:13.933Z</code>.</p>
|
|
1534
|
+
*/
|
|
1535
|
+
VendorCreatedAt?: string;
|
|
1536
|
+
/**
|
|
1537
|
+
* @public
|
|
1538
|
+
* <p>Indicates when the vulnerability advisory was last updated.</p>
|
|
1539
|
+
* <p>Uses the <code>date-time</code> format specified in <a href="https://tools.ietf.org/html/rfc3339#section-5.6">RFC 3339 section 5.6, Internet
|
|
1540
|
+
* Date/Time Format</a>. The value cannot contain spaces, and date and time should be separated by <code>T</code>. For example,
|
|
1541
|
+
* <code>2020-03-22T13:22:13.933Z</code>.</p>
|
|
1542
|
+
*/
|
|
1543
|
+
VendorUpdatedAt?: string;
|
|
1544
|
+
}
|
|
5
1545
|
/**
|
|
6
1546
|
* @public
|
|
7
1547
|
* <p>Information about a software package.</p>
|