@awboost/cfn-resource-types 0.1.42 → 0.1.43
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/lib/AWS-AppIntegrations-Application.d.ts +107 -0
- package/lib/AWS-AppIntegrations-Application.js +13 -0
- package/lib/AWS-CodeArtifact-PackageGroup.d.ts +122 -0
- package/lib/AWS-CodeArtifact-PackageGroup.js +13 -0
- package/lib/AWS-Connect-SecurityProfile.d.ts +23 -0
- package/lib/AWS-DynamoDB-GlobalTable.d.ts +16 -0
- package/lib/AWS-DynamoDB-Table.d.ts +9 -0
- package/lib/AWS-EC2-Instance.d.ts +289 -43
- package/lib/AWS-EFS-FileSystem.d.ts +1 -1
- package/lib/AWS-GameLift-GameServerGroup.d.ts +8 -8
- package/lib/AWS-Glue-Crawler.d.ts +9 -0
- package/lib/AWS-IoTSiteWise-Gateway.d.ts +15 -0
- package/lib/AWS-SecurityHub-DelegatedAdmin.d.ts +37 -0
- package/lib/AWS-SecurityHub-DelegatedAdmin.js +12 -0
- package/lib/AWS-SecurityHub-Insight.d.ts +671 -0
- package/lib/AWS-SecurityHub-Insight.js +12 -0
- package/lib/AWS-SecurityHub-ProductSubscription.d.ts +33 -0
- package/lib/AWS-SecurityHub-ProductSubscription.js +12 -0
- package/package.json +1 -1
|
@@ -0,0 +1,671 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
|
|
3
|
+
/**
|
|
4
|
+
* The AWS::SecurityHub::Insight resource represents the AWS Security Hub Insight in your account. An AWS Security Hub insight is a collection of related findings.
|
|
5
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-insight.html}
|
|
6
|
+
*/
|
|
7
|
+
export type SecurityHubInsightProperties = {
|
|
8
|
+
/**
|
|
9
|
+
* One or more attributes used to filter the findings included in the insight
|
|
10
|
+
*/
|
|
11
|
+
Filters: AwsSecurityFindingFilters;
|
|
12
|
+
/**
|
|
13
|
+
* The grouping attribute for the insight's findings
|
|
14
|
+
* @minLength `1`
|
|
15
|
+
*/
|
|
16
|
+
GroupByAttribute: string;
|
|
17
|
+
/**
|
|
18
|
+
* The name of a Security Hub insight
|
|
19
|
+
* @minLength `1`
|
|
20
|
+
* @maxLength `128`
|
|
21
|
+
*/
|
|
22
|
+
Name: string;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Attribute type definition for `AWS::SecurityHub::Insight`.
|
|
26
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-insight.html#aws-resource-securityhub-insight-return-values}
|
|
27
|
+
*/
|
|
28
|
+
export type SecurityHubInsightAttributes = {
|
|
29
|
+
/**
|
|
30
|
+
* The ARN of a Security Hub insight
|
|
31
|
+
* @pattern `arn:aws\S*:securityhub:\S*`
|
|
32
|
+
*/
|
|
33
|
+
InsightArn: string;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Type definition for `AWS::SecurityHub::Insight.AwsSecurityFindingFilters`.
|
|
37
|
+
* A collection of filters that are applied to all active findings aggregated by AWS Security Hub.
|
|
38
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-insight-awssecurityfindingfilters.html}
|
|
39
|
+
*/
|
|
40
|
+
export type AwsSecurityFindingFilters = {
|
|
41
|
+
/**
|
|
42
|
+
* The AWS account ID in which a finding is generated.
|
|
43
|
+
* @maxLength `20`
|
|
44
|
+
*/
|
|
45
|
+
AwsAccountId?: StringFilter[];
|
|
46
|
+
/**
|
|
47
|
+
* The name of the AWS account in which a finding is generated.
|
|
48
|
+
* @maxLength `20`
|
|
49
|
+
*/
|
|
50
|
+
AwsAccountName?: StringFilter[];
|
|
51
|
+
/**
|
|
52
|
+
* The name of the findings provider (company) that owns the solution (product) that generates findings.
|
|
53
|
+
* @maxLength `20`
|
|
54
|
+
*/
|
|
55
|
+
CompanyName?: StringFilter[];
|
|
56
|
+
/**
|
|
57
|
+
* The unique identifier of a standard in which a control is enabled.
|
|
58
|
+
* @maxLength `20`
|
|
59
|
+
*/
|
|
60
|
+
ComplianceAssociatedStandardsId?: StringFilter[];
|
|
61
|
+
/**
|
|
62
|
+
* The unique identifier of a control across standards.
|
|
63
|
+
* @maxLength `20`
|
|
64
|
+
*/
|
|
65
|
+
ComplianceSecurityControlId?: StringFilter[];
|
|
66
|
+
/**
|
|
67
|
+
* The name of a security control parameter.
|
|
68
|
+
* @maxLength `20`
|
|
69
|
+
*/
|
|
70
|
+
ComplianceSecurityControlParametersName?: StringFilter[];
|
|
71
|
+
/**
|
|
72
|
+
* The current value of a security control parameter.
|
|
73
|
+
* @maxLength `20`
|
|
74
|
+
*/
|
|
75
|
+
ComplianceSecurityControlParametersValue?: StringFilter[];
|
|
76
|
+
/**
|
|
77
|
+
* Exclusive to findings that are generated as the result of a check run against a specific rule in a supported standard.
|
|
78
|
+
* @maxLength `20`
|
|
79
|
+
*/
|
|
80
|
+
ComplianceStatus?: StringFilter[];
|
|
81
|
+
/**
|
|
82
|
+
* A finding's confidence.
|
|
83
|
+
* @maxLength `20`
|
|
84
|
+
*/
|
|
85
|
+
Confidence?: NumberFilter[];
|
|
86
|
+
/**
|
|
87
|
+
* An ISO8601-formatted timestamp that indicates when the security findings provider captured the potential security issue that a finding captured.
|
|
88
|
+
* @maxLength `20`
|
|
89
|
+
*/
|
|
90
|
+
CreatedAt?: DateFilter[];
|
|
91
|
+
/**
|
|
92
|
+
* The level of importance assigned to the resources associated with the finding.
|
|
93
|
+
* @maxLength `20`
|
|
94
|
+
*/
|
|
95
|
+
Criticality?: NumberFilter[];
|
|
96
|
+
/**
|
|
97
|
+
* A finding's description.
|
|
98
|
+
* @maxLength `20`
|
|
99
|
+
*/
|
|
100
|
+
Description?: StringFilter[];
|
|
101
|
+
/**
|
|
102
|
+
* The finding provider value for the finding confidence.
|
|
103
|
+
* @maxLength `20`
|
|
104
|
+
*/
|
|
105
|
+
FindingProviderFieldsConfidence?: NumberFilter[];
|
|
106
|
+
/**
|
|
107
|
+
* The finding provider value for the level of importance assigned to the resources associated with the findings.
|
|
108
|
+
* @maxLength `20`
|
|
109
|
+
*/
|
|
110
|
+
FindingProviderFieldsCriticality?: NumberFilter[];
|
|
111
|
+
/**
|
|
112
|
+
* The finding identifier of a related finding that is identified by the finding provider.
|
|
113
|
+
* @maxLength `20`
|
|
114
|
+
*/
|
|
115
|
+
FindingProviderFieldsRelatedFindingsId?: StringFilter[];
|
|
116
|
+
/**
|
|
117
|
+
* The ARN of the solution that generated a related finding that is identified by the finding provider.
|
|
118
|
+
* @maxLength `20`
|
|
119
|
+
*/
|
|
120
|
+
FindingProviderFieldsRelatedFindingsProductArn?: StringFilter[];
|
|
121
|
+
/**
|
|
122
|
+
* The finding provider value for the severity label.
|
|
123
|
+
* @maxLength `20`
|
|
124
|
+
*/
|
|
125
|
+
FindingProviderFieldsSeverityLabel?: StringFilter[];
|
|
126
|
+
/**
|
|
127
|
+
* The finding provider's original value for the severity.
|
|
128
|
+
* @maxLength `20`
|
|
129
|
+
*/
|
|
130
|
+
FindingProviderFieldsSeverityOriginal?: StringFilter[];
|
|
131
|
+
/**
|
|
132
|
+
* One or more finding types that the finding provider assigned to the finding.
|
|
133
|
+
* @maxLength `20`
|
|
134
|
+
*/
|
|
135
|
+
FindingProviderFieldsTypes?: StringFilter[];
|
|
136
|
+
/**
|
|
137
|
+
* An ISO8601-formatted timestamp that indicates when the security findings provider first observed the potential security issue that a finding captured.
|
|
138
|
+
* @maxLength `20`
|
|
139
|
+
*/
|
|
140
|
+
FirstObservedAt?: DateFilter[];
|
|
141
|
+
/**
|
|
142
|
+
* The identifier for the solution-specific component (a discrete unit of logic) that generated a finding.
|
|
143
|
+
* @maxLength `20`
|
|
144
|
+
*/
|
|
145
|
+
GeneratorId?: StringFilter[];
|
|
146
|
+
/**
|
|
147
|
+
* The security findings provider-specific identifier for a finding.
|
|
148
|
+
* @maxLength `20`
|
|
149
|
+
*/
|
|
150
|
+
Id?: StringFilter[];
|
|
151
|
+
/**
|
|
152
|
+
* An ISO8601-formatted timestamp that indicates when the security findings provider most recently observed the potential security issue that a finding captured.
|
|
153
|
+
* @maxLength `20`
|
|
154
|
+
*/
|
|
155
|
+
LastObservedAt?: DateFilter[];
|
|
156
|
+
/**
|
|
157
|
+
* The name of the malware that was observed.
|
|
158
|
+
* @maxLength `20`
|
|
159
|
+
*/
|
|
160
|
+
MalwareName?: StringFilter[];
|
|
161
|
+
/**
|
|
162
|
+
* The filesystem path of the malware that was observed.
|
|
163
|
+
* @maxLength `20`
|
|
164
|
+
*/
|
|
165
|
+
MalwarePath?: StringFilter[];
|
|
166
|
+
/**
|
|
167
|
+
* The state of the malware that was observed.
|
|
168
|
+
* @maxLength `20`
|
|
169
|
+
*/
|
|
170
|
+
MalwareState?: StringFilter[];
|
|
171
|
+
/**
|
|
172
|
+
* The type of the malware that was observed.
|
|
173
|
+
* @maxLength `20`
|
|
174
|
+
*/
|
|
175
|
+
MalwareType?: StringFilter[];
|
|
176
|
+
/**
|
|
177
|
+
* The destination domain of network-related information about a finding.
|
|
178
|
+
* @maxLength `20`
|
|
179
|
+
*/
|
|
180
|
+
NetworkDestinationDomain?: StringFilter[];
|
|
181
|
+
/**
|
|
182
|
+
* The destination IPv4 address of network-related information about a finding.
|
|
183
|
+
* @maxLength `20`
|
|
184
|
+
*/
|
|
185
|
+
NetworkDestinationIpV4?: IpFilter[];
|
|
186
|
+
/**
|
|
187
|
+
* The destination IPv6 address of network-related information about a finding.
|
|
188
|
+
* @maxLength `20`
|
|
189
|
+
*/
|
|
190
|
+
NetworkDestinationIpV6?: IpFilter[];
|
|
191
|
+
/**
|
|
192
|
+
* The destination port of network-related information about a finding.
|
|
193
|
+
* @maxLength `20`
|
|
194
|
+
*/
|
|
195
|
+
NetworkDestinationPort?: NumberFilter[];
|
|
196
|
+
/**
|
|
197
|
+
* Indicates the direction of network traffic associated with a finding.
|
|
198
|
+
* @maxLength `20`
|
|
199
|
+
*/
|
|
200
|
+
NetworkDirection?: StringFilter[];
|
|
201
|
+
/**
|
|
202
|
+
* The protocol of network-related information about a finding.
|
|
203
|
+
* @maxLength `20`
|
|
204
|
+
*/
|
|
205
|
+
NetworkProtocol?: StringFilter[];
|
|
206
|
+
/**
|
|
207
|
+
* The source domain of network-related information about a finding.
|
|
208
|
+
* @maxLength `20`
|
|
209
|
+
*/
|
|
210
|
+
NetworkSourceDomain?: StringFilter[];
|
|
211
|
+
/**
|
|
212
|
+
* The source IPv4 address of network-related information about a finding.
|
|
213
|
+
* @maxLength `20`
|
|
214
|
+
*/
|
|
215
|
+
NetworkSourceIpV4?: IpFilter[];
|
|
216
|
+
/**
|
|
217
|
+
* The source IPv6 address of network-related information about a finding.
|
|
218
|
+
* @maxLength `20`
|
|
219
|
+
*/
|
|
220
|
+
NetworkSourceIpV6?: IpFilter[];
|
|
221
|
+
/**
|
|
222
|
+
* The source media access control (MAC) address of network-related information about a finding.
|
|
223
|
+
* @maxLength `20`
|
|
224
|
+
*/
|
|
225
|
+
NetworkSourceMac?: StringFilter[];
|
|
226
|
+
/**
|
|
227
|
+
* The source port of network-related information about a finding.
|
|
228
|
+
* @maxLength `20`
|
|
229
|
+
*/
|
|
230
|
+
NetworkSourcePort?: NumberFilter[];
|
|
231
|
+
/**
|
|
232
|
+
* The text of a note.
|
|
233
|
+
* @maxLength `20`
|
|
234
|
+
*/
|
|
235
|
+
NoteText?: StringFilter[];
|
|
236
|
+
/**
|
|
237
|
+
* The timestamp of when the note was updated.
|
|
238
|
+
* @maxLength `20`
|
|
239
|
+
*/
|
|
240
|
+
NoteUpdatedAt?: DateFilter[];
|
|
241
|
+
/**
|
|
242
|
+
* The principal that created a note.
|
|
243
|
+
* @maxLength `20`
|
|
244
|
+
*/
|
|
245
|
+
NoteUpdatedBy?: StringFilter[];
|
|
246
|
+
/**
|
|
247
|
+
* A timestamp that identifies when the process was launched.
|
|
248
|
+
* @maxLength `20`
|
|
249
|
+
*/
|
|
250
|
+
ProcessLaunchedAt?: DateFilter[];
|
|
251
|
+
/**
|
|
252
|
+
* The name of the process.
|
|
253
|
+
* @maxLength `20`
|
|
254
|
+
*/
|
|
255
|
+
ProcessName?: StringFilter[];
|
|
256
|
+
/**
|
|
257
|
+
* The parent process ID.
|
|
258
|
+
* @maxLength `20`
|
|
259
|
+
*/
|
|
260
|
+
ProcessParentPid?: NumberFilter[];
|
|
261
|
+
/**
|
|
262
|
+
* The path to the process executable.
|
|
263
|
+
* @maxLength `20`
|
|
264
|
+
*/
|
|
265
|
+
ProcessPath?: StringFilter[];
|
|
266
|
+
/**
|
|
267
|
+
* The process ID.
|
|
268
|
+
* @maxLength `20`
|
|
269
|
+
*/
|
|
270
|
+
ProcessPid?: NumberFilter[];
|
|
271
|
+
/**
|
|
272
|
+
* A timestamp that identifies when the process was terminated.
|
|
273
|
+
* @maxLength `20`
|
|
274
|
+
*/
|
|
275
|
+
ProcessTerminatedAt?: DateFilter[];
|
|
276
|
+
/**
|
|
277
|
+
* The ARN generated by Security Hub that uniquely identifies a third-party company (security findings provider) after this provider's product (solution that generates findings) is registered with Security Hub.
|
|
278
|
+
* @maxLength `20`
|
|
279
|
+
*/
|
|
280
|
+
ProductArn?: StringFilter[];
|
|
281
|
+
/**
|
|
282
|
+
* A data type where security findings providers can include additional solution-specific details that aren't part of the defined AwsSecurityFinding format.
|
|
283
|
+
* @maxLength `20`
|
|
284
|
+
*/
|
|
285
|
+
ProductFields?: MapFilter[];
|
|
286
|
+
/**
|
|
287
|
+
* The name of the solution (product) that generates findings.
|
|
288
|
+
* @maxLength `20`
|
|
289
|
+
*/
|
|
290
|
+
ProductName?: StringFilter[];
|
|
291
|
+
/**
|
|
292
|
+
* The recommendation of what to do about the issue described in a finding.
|
|
293
|
+
* @maxLength `20`
|
|
294
|
+
*/
|
|
295
|
+
RecommendationText?: StringFilter[];
|
|
296
|
+
/**
|
|
297
|
+
* The updated record state for the finding.
|
|
298
|
+
* @maxLength `20`
|
|
299
|
+
*/
|
|
300
|
+
RecordState?: StringFilter[];
|
|
301
|
+
/**
|
|
302
|
+
* The Region from which the finding was generated.
|
|
303
|
+
* @maxLength `20`
|
|
304
|
+
*/
|
|
305
|
+
Region?: StringFilter[];
|
|
306
|
+
/**
|
|
307
|
+
* The solution-generated identifier for a related finding.
|
|
308
|
+
* @maxLength `20`
|
|
309
|
+
*/
|
|
310
|
+
RelatedFindingsId?: StringFilter[];
|
|
311
|
+
/**
|
|
312
|
+
* The ARN of the solution that generated a related finding.
|
|
313
|
+
* @maxLength `20`
|
|
314
|
+
*/
|
|
315
|
+
RelatedFindingsProductArn?: StringFilter[];
|
|
316
|
+
/**
|
|
317
|
+
* The ARN of the application that is related to a finding.
|
|
318
|
+
* @maxLength `20`
|
|
319
|
+
*/
|
|
320
|
+
ResourceApplicationArn?: StringFilter[];
|
|
321
|
+
/**
|
|
322
|
+
* The name of the application that is related to a finding.
|
|
323
|
+
* @maxLength `20`
|
|
324
|
+
*/
|
|
325
|
+
ResourceApplicationName?: StringFilter[];
|
|
326
|
+
/**
|
|
327
|
+
* The IAM profile ARN of the instance.
|
|
328
|
+
* @maxLength `20`
|
|
329
|
+
*/
|
|
330
|
+
ResourceAwsEc2InstanceIamInstanceProfileArn?: StringFilter[];
|
|
331
|
+
/**
|
|
332
|
+
* The Amazon Machine Image (AMI) ID of the instance.
|
|
333
|
+
* @maxLength `20`
|
|
334
|
+
*/
|
|
335
|
+
ResourceAwsEc2InstanceImageId?: StringFilter[];
|
|
336
|
+
/**
|
|
337
|
+
* The IPv4 addresses associated with the instance.
|
|
338
|
+
* @maxLength `20`
|
|
339
|
+
*/
|
|
340
|
+
ResourceAwsEc2InstanceIpV4Addresses?: IpFilter[];
|
|
341
|
+
/**
|
|
342
|
+
* The IPv6 addresses associated with the instance.
|
|
343
|
+
* @maxLength `20`
|
|
344
|
+
*/
|
|
345
|
+
ResourceAwsEc2InstanceIpV6Addresses?: IpFilter[];
|
|
346
|
+
/**
|
|
347
|
+
* The key name associated with the instance.
|
|
348
|
+
* @maxLength `20`
|
|
349
|
+
*/
|
|
350
|
+
ResourceAwsEc2InstanceKeyName?: StringFilter[];
|
|
351
|
+
/**
|
|
352
|
+
* The date and time the instance was launched.
|
|
353
|
+
* @maxLength `20`
|
|
354
|
+
*/
|
|
355
|
+
ResourceAwsEc2InstanceLaunchedAt?: DateFilter[];
|
|
356
|
+
/**
|
|
357
|
+
* The identifier of the subnet that the instance was launched in.
|
|
358
|
+
* @maxLength `20`
|
|
359
|
+
*/
|
|
360
|
+
ResourceAwsEc2InstanceSubnetId?: StringFilter[];
|
|
361
|
+
/**
|
|
362
|
+
* The instance type of the instance.
|
|
363
|
+
* @maxLength `20`
|
|
364
|
+
*/
|
|
365
|
+
ResourceAwsEc2InstanceType?: StringFilter[];
|
|
366
|
+
/**
|
|
367
|
+
* The identifier of the VPC that the instance was launched in.
|
|
368
|
+
* @maxLength `20`
|
|
369
|
+
*/
|
|
370
|
+
ResourceAwsEc2InstanceVpcId?: StringFilter[];
|
|
371
|
+
/**
|
|
372
|
+
* The creation date/time of the IAM access key related to a finding.
|
|
373
|
+
* @maxLength `20`
|
|
374
|
+
*/
|
|
375
|
+
ResourceAwsIamAccessKeyCreatedAt?: DateFilter[];
|
|
376
|
+
/**
|
|
377
|
+
* The name of the principal that is associated with an IAM access key.
|
|
378
|
+
* @maxLength `20`
|
|
379
|
+
*/
|
|
380
|
+
ResourceAwsIamAccessKeyPrincipalName?: StringFilter[];
|
|
381
|
+
/**
|
|
382
|
+
* The status of the IAM access key related to a finding.
|
|
383
|
+
* @maxLength `20`
|
|
384
|
+
*/
|
|
385
|
+
ResourceAwsIamAccessKeyStatus?: StringFilter[];
|
|
386
|
+
/**
|
|
387
|
+
* The name of an IAM user.
|
|
388
|
+
* @maxLength `20`
|
|
389
|
+
*/
|
|
390
|
+
ResourceAwsIamUserUserName?: StringFilter[];
|
|
391
|
+
/**
|
|
392
|
+
* The canonical user ID of the owner of the S3 bucket.
|
|
393
|
+
* @maxLength `20`
|
|
394
|
+
*/
|
|
395
|
+
ResourceAwsS3BucketOwnerId?: StringFilter[];
|
|
396
|
+
/**
|
|
397
|
+
* The display name of the owner of the S3 bucket.
|
|
398
|
+
* @maxLength `20`
|
|
399
|
+
*/
|
|
400
|
+
ResourceAwsS3BucketOwnerName?: StringFilter[];
|
|
401
|
+
/**
|
|
402
|
+
* The identifier of the image related to a finding.
|
|
403
|
+
* @maxLength `20`
|
|
404
|
+
*/
|
|
405
|
+
ResourceContainerImageId?: StringFilter[];
|
|
406
|
+
/**
|
|
407
|
+
* The name of the image related to a finding.
|
|
408
|
+
* @maxLength `20`
|
|
409
|
+
*/
|
|
410
|
+
ResourceContainerImageName?: StringFilter[];
|
|
411
|
+
/**
|
|
412
|
+
* A timestamp that identifies when the container was started.
|
|
413
|
+
* @maxLength `20`
|
|
414
|
+
*/
|
|
415
|
+
ResourceContainerLaunchedAt?: DateFilter[];
|
|
416
|
+
/**
|
|
417
|
+
* The name of the container related to a finding.
|
|
418
|
+
* @maxLength `20`
|
|
419
|
+
*/
|
|
420
|
+
ResourceContainerName?: StringFilter[];
|
|
421
|
+
/**
|
|
422
|
+
* The details of a resource that doesn't have a specific subfield for the resource type defined.
|
|
423
|
+
* @maxLength `20`
|
|
424
|
+
*/
|
|
425
|
+
ResourceDetailsOther?: MapFilter[];
|
|
426
|
+
/**
|
|
427
|
+
* The canonical identifier for the given resource type.
|
|
428
|
+
* @maxLength `20`
|
|
429
|
+
*/
|
|
430
|
+
ResourceId?: StringFilter[];
|
|
431
|
+
/**
|
|
432
|
+
* The canonical AWS partition name that the Region is assigned to.
|
|
433
|
+
* @maxLength `20`
|
|
434
|
+
*/
|
|
435
|
+
ResourcePartition?: StringFilter[];
|
|
436
|
+
/**
|
|
437
|
+
* The canonical AWS external Region name where this resource is located.
|
|
438
|
+
* @maxLength `20`
|
|
439
|
+
*/
|
|
440
|
+
ResourceRegion?: StringFilter[];
|
|
441
|
+
/**
|
|
442
|
+
* A list of AWS tags associated with a resource at the time the finding was processed.
|
|
443
|
+
* @maxLength `20`
|
|
444
|
+
*/
|
|
445
|
+
ResourceTags?: MapFilter[];
|
|
446
|
+
/**
|
|
447
|
+
* Specifies the type of the resource that details are provided for.
|
|
448
|
+
* @maxLength `20`
|
|
449
|
+
*/
|
|
450
|
+
ResourceType?: StringFilter[];
|
|
451
|
+
/**
|
|
452
|
+
* Indicates whether or not sample findings are included in the filter results.
|
|
453
|
+
* @maxLength `20`
|
|
454
|
+
*/
|
|
455
|
+
Sample?: BooleanFilter[];
|
|
456
|
+
/**
|
|
457
|
+
* The label of a finding's severity.
|
|
458
|
+
* @maxLength `20`
|
|
459
|
+
*/
|
|
460
|
+
SeverityLabel?: StringFilter[];
|
|
461
|
+
/**
|
|
462
|
+
* A URL that links to a page about the current finding in the security findings provider's solution.
|
|
463
|
+
* @maxLength `20`
|
|
464
|
+
*/
|
|
465
|
+
SourceUrl?: StringFilter[];
|
|
466
|
+
/**
|
|
467
|
+
* The category of a threat intelligence indicator.
|
|
468
|
+
* @maxLength `20`
|
|
469
|
+
*/
|
|
470
|
+
ThreatIntelIndicatorCategory?: StringFilter[];
|
|
471
|
+
/**
|
|
472
|
+
* A timestamp that identifies the last observation of a threat intelligence indicator.
|
|
473
|
+
* @maxLength `20`
|
|
474
|
+
*/
|
|
475
|
+
ThreatIntelIndicatorLastObservedAt?: DateFilter[];
|
|
476
|
+
/**
|
|
477
|
+
* The source of the threat intelligence.
|
|
478
|
+
* @maxLength `20`
|
|
479
|
+
*/
|
|
480
|
+
ThreatIntelIndicatorSource?: StringFilter[];
|
|
481
|
+
/**
|
|
482
|
+
* The URL for more details from the source of the threat intelligence.
|
|
483
|
+
* @maxLength `20`
|
|
484
|
+
*/
|
|
485
|
+
ThreatIntelIndicatorSourceUrl?: StringFilter[];
|
|
486
|
+
/**
|
|
487
|
+
* The type of a threat intelligence indicator.
|
|
488
|
+
* @maxLength `20`
|
|
489
|
+
*/
|
|
490
|
+
ThreatIntelIndicatorType?: StringFilter[];
|
|
491
|
+
/**
|
|
492
|
+
* The value of a threat intelligence indicator.
|
|
493
|
+
* @maxLength `20`
|
|
494
|
+
*/
|
|
495
|
+
ThreatIntelIndicatorValue?: StringFilter[];
|
|
496
|
+
/**
|
|
497
|
+
* A finding's title.
|
|
498
|
+
* @maxLength `20`
|
|
499
|
+
*/
|
|
500
|
+
Title?: StringFilter[];
|
|
501
|
+
/**
|
|
502
|
+
* A finding type in the format of namespace/category/classifier that classifies a finding.
|
|
503
|
+
* @maxLength `20`
|
|
504
|
+
*/
|
|
505
|
+
Type?: StringFilter[];
|
|
506
|
+
/**
|
|
507
|
+
* An ISO8601-formatted timestamp that indicates when the security findings provider last updated the finding record.
|
|
508
|
+
* @maxLength `20`
|
|
509
|
+
*/
|
|
510
|
+
UpdatedAt?: DateFilter[];
|
|
511
|
+
/**
|
|
512
|
+
* A list of name/value string pairs associated with the finding.
|
|
513
|
+
* @maxLength `20`
|
|
514
|
+
*/
|
|
515
|
+
UserDefinedFields?: MapFilter[];
|
|
516
|
+
/**
|
|
517
|
+
* The veracity of a finding.
|
|
518
|
+
* @maxLength `20`
|
|
519
|
+
*/
|
|
520
|
+
VerificationState?: StringFilter[];
|
|
521
|
+
/**
|
|
522
|
+
* Indicates whether a software vulnerability in your environment has a known exploit.
|
|
523
|
+
* @maxLength `20`
|
|
524
|
+
*/
|
|
525
|
+
VulnerabilitiesExploitAvailable?: StringFilter[];
|
|
526
|
+
/**
|
|
527
|
+
* Indicates whether a vulnerability is fixed in a newer version of the affected software packages.
|
|
528
|
+
* @maxLength `20`
|
|
529
|
+
*/
|
|
530
|
+
VulnerabilitiesFixAvailable?: StringFilter[];
|
|
531
|
+
/**
|
|
532
|
+
* The workflow state of a finding.
|
|
533
|
+
* @maxLength `20`
|
|
534
|
+
*/
|
|
535
|
+
WorkflowState?: StringFilter[];
|
|
536
|
+
/**
|
|
537
|
+
* The status of the investigation into a finding.
|
|
538
|
+
* @maxLength `20`
|
|
539
|
+
*/
|
|
540
|
+
WorkflowStatus?: StringFilter[];
|
|
541
|
+
};
|
|
542
|
+
/**
|
|
543
|
+
* Type definition for `AWS::SecurityHub::Insight.BooleanFilter`.
|
|
544
|
+
* Boolean filter for querying findings.
|
|
545
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-insight-booleanfilter.html}
|
|
546
|
+
*/
|
|
547
|
+
export type BooleanFilter = {
|
|
548
|
+
/**
|
|
549
|
+
* The value of the boolean.
|
|
550
|
+
*/
|
|
551
|
+
Value: boolean;
|
|
552
|
+
};
|
|
553
|
+
/**
|
|
554
|
+
* Type definition for `AWS::SecurityHub::Insight.DateFilter`.
|
|
555
|
+
* A date filter for querying findings.
|
|
556
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-insight-datefilter.html}
|
|
557
|
+
*/
|
|
558
|
+
export type DateFilter = {
|
|
559
|
+
/**
|
|
560
|
+
* A date range for the date filter.
|
|
561
|
+
*/
|
|
562
|
+
DateRange?: DateRange;
|
|
563
|
+
/**
|
|
564
|
+
* The date and time, in UTC and ISO 8601 format.
|
|
565
|
+
* @pattern `^(\d\d\d\d)-([0][1-9]|[1][0-2])-([0][1-9]|[1-2](\d)|[3][0-1])[T](?:([0-1](\d)|[2][0-3]):[0-5](\d):[0-5](\d)|23:59:60)(?:\.(\d)+)?([Z]|[+-](\d\d)(:?(\d\d))?)$`
|
|
566
|
+
*/
|
|
567
|
+
End?: string;
|
|
568
|
+
/**
|
|
569
|
+
* The date and time, in UTC and ISO 8601 format.
|
|
570
|
+
* @pattern `^(\d\d\d\d)-([0][1-9]|[1][0-2])-([0][1-9]|[1-2](\d)|[3][0-1])[T](?:([0-1](\d)|[2][0-3]):[0-5](\d):[0-5](\d)|23:59:60)(?:\.(\d)+)?([Z]|[+-](\d\d)(:?(\d\d))?)$`
|
|
571
|
+
*/
|
|
572
|
+
Start?: string;
|
|
573
|
+
};
|
|
574
|
+
/**
|
|
575
|
+
* Type definition for `AWS::SecurityHub::Insight.DateRange`.
|
|
576
|
+
* A date range for the date filter.
|
|
577
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-insight-daterange.html}
|
|
578
|
+
*/
|
|
579
|
+
export type DateRange = {
|
|
580
|
+
/**
|
|
581
|
+
* A date range unit for the date filter.
|
|
582
|
+
*/
|
|
583
|
+
Unit: "DAYS";
|
|
584
|
+
/**
|
|
585
|
+
* A date range value for the date filter.
|
|
586
|
+
*/
|
|
587
|
+
Value: number;
|
|
588
|
+
};
|
|
589
|
+
/**
|
|
590
|
+
* Type definition for `AWS::SecurityHub::Insight.IpFilter`.
|
|
591
|
+
* The IP filter for querying findings.
|
|
592
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-insight-ipfilter.html}
|
|
593
|
+
*/
|
|
594
|
+
export type IpFilter = {
|
|
595
|
+
/**
|
|
596
|
+
* A finding's CIDR value.
|
|
597
|
+
* @minLength `1`
|
|
598
|
+
*/
|
|
599
|
+
Cidr?: string;
|
|
600
|
+
};
|
|
601
|
+
/**
|
|
602
|
+
* Type definition for `AWS::SecurityHub::Insight.MapFilter`.
|
|
603
|
+
* A map filter for filtering AWS Security Hub findings.
|
|
604
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-insight-mapfilter.html}
|
|
605
|
+
*/
|
|
606
|
+
export type MapFilter = {
|
|
607
|
+
/**
|
|
608
|
+
* The condition to apply to the key value when filtering Security Hub findings with a map filter.
|
|
609
|
+
*/
|
|
610
|
+
Comparison: "EQUALS" | "NOT_EQUALS";
|
|
611
|
+
/**
|
|
612
|
+
* Non-empty string definition.
|
|
613
|
+
* @minLength `1`
|
|
614
|
+
*/
|
|
615
|
+
Key: string;
|
|
616
|
+
/**
|
|
617
|
+
* Non-empty string definition.
|
|
618
|
+
* @minLength `1`
|
|
619
|
+
*/
|
|
620
|
+
Value: string;
|
|
621
|
+
};
|
|
622
|
+
/**
|
|
623
|
+
* Type definition for `AWS::SecurityHub::Insight.NumberFilter`.
|
|
624
|
+
* A number filter for querying findings.
|
|
625
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-insight-numberfilter.html}
|
|
626
|
+
*/
|
|
627
|
+
export type NumberFilter = {
|
|
628
|
+
/**
|
|
629
|
+
* The equal-to condition to be applied to a single field when querying for findings.
|
|
630
|
+
*/
|
|
631
|
+
Eq?: number;
|
|
632
|
+
/**
|
|
633
|
+
* The greater-than-equal condition to be applied to a single field when querying for findings.
|
|
634
|
+
*/
|
|
635
|
+
Gte?: number;
|
|
636
|
+
/**
|
|
637
|
+
* The less-than-equal condition to be applied to a single field when querying for findings.
|
|
638
|
+
*/
|
|
639
|
+
Lte?: number;
|
|
640
|
+
};
|
|
641
|
+
/**
|
|
642
|
+
* Type definition for `AWS::SecurityHub::Insight.StringFilter`.
|
|
643
|
+
* A string filter for filtering AWS Security Hub findings.
|
|
644
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-insight-stringfilter.html}
|
|
645
|
+
*/
|
|
646
|
+
export type StringFilter = {
|
|
647
|
+
/**
|
|
648
|
+
* The condition to apply to a string value when filtering Security Hub findings.
|
|
649
|
+
*/
|
|
650
|
+
Comparison: StringFilterComparison;
|
|
651
|
+
/**
|
|
652
|
+
* Non-empty string definition.
|
|
653
|
+
* @minLength `1`
|
|
654
|
+
*/
|
|
655
|
+
Value: string;
|
|
656
|
+
};
|
|
657
|
+
/**
|
|
658
|
+
* Type definition for `AWS::SecurityHub::Insight.StringFilterComparison`.
|
|
659
|
+
* The condition to apply to a string value when filtering Security Hub findings.
|
|
660
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-insight-stringfiltercomparison.html}
|
|
661
|
+
*/
|
|
662
|
+
export type StringFilterComparison = "EQUALS" | "PREFIX" | "NOT_EQUALS" | "PREFIX_NOT_EQUALS";
|
|
663
|
+
/**
|
|
664
|
+
* The AWS::SecurityHub::Insight resource represents the AWS Security Hub Insight in your account. An AWS Security Hub insight is a collection of related findings.
|
|
665
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-insight.html}
|
|
666
|
+
*/
|
|
667
|
+
export declare class SecurityHubInsight extends $Resource<"AWS::SecurityHub::Insight", SecurityHubInsightProperties, SecurityHubInsightAttributes> {
|
|
668
|
+
static readonly Type = "AWS::SecurityHub::Insight";
|
|
669
|
+
constructor(logicalId: string, properties: SecurityHubInsightProperties, options?: $ResourceOptions);
|
|
670
|
+
}
|
|
671
|
+
//# sourceMappingURL=AWS-SecurityHub-Insight.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
|
+
/**
|
|
3
|
+
* The AWS::SecurityHub::Insight resource represents the AWS Security Hub Insight in your account. An AWS Security Hub insight is a collection of related findings.
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-insight.html}
|
|
5
|
+
*/
|
|
6
|
+
export class SecurityHubInsight extends $Resource {
|
|
7
|
+
static Type = "AWS::SecurityHub::Insight";
|
|
8
|
+
constructor(logicalId, properties, options) {
|
|
9
|
+
super(logicalId, SecurityHubInsight.Type, properties, options);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AWS-SecurityHub-Insight.js.map
|