@aws-sdk/client-inspector2 3.934.0 → 3.936.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist-cjs/index.js +170 -714
  2. package/dist-es/index.js +2 -1
  3. package/dist-es/models/enums.js +169 -0
  4. package/dist-es/models/errors.js +115 -0
  5. package/dist-es/models/models_0.js +66 -268
  6. package/dist-es/models/models_1.js +0 -80
  7. package/dist-es/schemas/schemas_0.js +1 -1
  8. package/dist-types/commands/GetCisScanReportCommand.d.ts +1 -1
  9. package/dist-types/commands/GetCisScanResultDetailsCommand.d.ts +1 -1
  10. package/dist-types/commands/GetClustersForImageCommand.d.ts +1 -1
  11. package/dist-types/commands/GetCodeSecurityIntegrationCommand.d.ts +1 -1
  12. package/dist-types/commands/GetCodeSecurityScanCommand.d.ts +1 -1
  13. package/dist-types/commands/GetCodeSecurityScanConfigurationCommand.d.ts +1 -1
  14. package/dist-types/commands/GetConfigurationCommand.d.ts +1 -1
  15. package/dist-types/commands/ListAccountPermissionsCommand.d.ts +4 -1
  16. package/dist-types/index.d.ts +4 -1
  17. package/dist-types/models/enums.d.ts +441 -0
  18. package/dist-types/models/errors.d.ts +144 -0
  19. package/dist-types/models/models_0.d.ts +992 -545
  20. package/dist-types/models/models_1.d.ts +2 -1026
  21. package/dist-types/ts3.4/commands/GetCisScanReportCommand.d.ts +1 -1
  22. package/dist-types/ts3.4/commands/GetCisScanResultDetailsCommand.d.ts +1 -1
  23. package/dist-types/ts3.4/commands/GetClustersForImageCommand.d.ts +1 -1
  24. package/dist-types/ts3.4/commands/GetCodeSecurityIntegrationCommand.d.ts +1 -1
  25. package/dist-types/ts3.4/commands/GetCodeSecurityScanCommand.d.ts +1 -1
  26. package/dist-types/ts3.4/commands/GetCodeSecurityScanConfigurationCommand.d.ts +1 -1
  27. package/dist-types/ts3.4/commands/GetConfigurationCommand.d.ts +1 -1
  28. package/dist-types/ts3.4/index.d.ts +4 -1
  29. package/dist-types/ts3.4/models/enums.d.ts +232 -0
  30. package/dist-types/ts3.4/models/errors.d.ts +71 -0
  31. package/dist-types/ts3.4/models/models_0.d.ts +298 -277
  32. package/dist-types/ts3.4/models/models_1.d.ts +17 -314
  33. package/package.json +19 -19
  34. package/dist-es/models/index.js +0 -2
  35. package/dist-types/models/index.d.ts +0 -2
  36. package/dist-types/ts3.4/models/index.d.ts +0 -2
@@ -1,989 +1,5 @@
1
- import { AggregationRequest, AggregationResponse, AggregationType, AtigData, AutoEnable, AwsEc2InstanceDetails, AwsEcrContainerImageDetails, AwsLambdaFunctionDetails, CisaData, CisCheckAggregation, CisDateFilter, CisNumberFilter, CisReportFormat, CisReportStatus, CisScan, CisScanConfiguration, CisScanConfigurationsSortBy, CisScanResultDetails, CisScanResultDetailsFilterCriteria, CisScanResultDetailsSortBy, CisScanResultsAggregatedByChecksFilterCriteria, CisScanResultsAggregatedByChecksSortBy, CisScanResultsAggregatedByTargetResourceFilterCriteria, CisScanResultsAggregatedByTargetResourceSortBy, CisScanStatusFilter, CisSecurityLevel, CisSessionMessage, CisSortOrder, CisStringFilter, CisTargetResourceAggregation, ClusterForImageFilterCriteria, ClusterInformation, CodeRepositoryDetails, CodeScanStatus, CodeSecurityIntegrationSummary, CodeSecurityResource, CodeSecurityScanConfiguration, CodeSecurityScanConfigurationAssociationSummary, CodeSecurityScanConfigurationSummary, CodeVulnerabilityDetails, ComputePlatform, ConfigurationLevel, Counts, CoverageFilterCriteria, CoveredResource, Currency, Cvss2, Cvss3, Cvss4, CvssScore, CvssScoreDetails, DelegatedAdmin, DelegatedAdminAccount, Destination, Ec2Configuration, Ec2ConfigurationState, Ec2DeepInspectionStatus, EcrConfiguration, EcrConfigurationState, ExploitObserved, FilterAction, FilterCriteria, GroupKey, IntegrationStatus, IntegrationType, RelationshipStatus, ResourceFilterCriteria, SbomReportFormat, ScanType, Schedule, ScopeSettings, SortOrder, StringFilter, TagFilter } from "./models_0";
2
- /**
3
- * <p>Details about the Exploit Prediction Scoring System (EPSS) score.</p>
4
- * @public
5
- */
6
- export interface Epss {
7
- /**
8
- * <p>The Exploit Prediction Scoring System (EPSS) score.</p>
9
- * @public
10
- */
11
- score?: number | undefined;
12
- }
13
- /**
14
- * <p>Details about the Exploit Prediction Scoring System (EPSS) score for a finding.</p>
15
- * @public
16
- */
17
- export interface EpssDetails {
18
- /**
19
- * <p>The EPSS score.</p>
20
- * @public
21
- */
22
- score?: number | undefined;
23
- }
24
- /**
25
- * <p>The details of an exploit available for a finding discovered in your environment.</p>
26
- * @public
27
- */
28
- export interface ExploitabilityDetails {
29
- /**
30
- * <p>The date and time of the last exploit associated with a finding discovered in your
31
- * environment.</p>
32
- * @public
33
- */
34
- lastKnownExploitAt?: Date | undefined;
35
- }
36
- /**
37
- * @public
38
- * @enum
39
- */
40
- export declare const ExploitAvailable: {
41
- readonly NO: "NO";
42
- readonly YES: "YES";
43
- };
44
- /**
45
- * @public
46
- */
47
- export type ExploitAvailable = (typeof ExploitAvailable)[keyof typeof ExploitAvailable];
48
- /**
49
- * @public
50
- * @enum
51
- */
52
- export declare const ExternalReportStatus: {
53
- readonly CANCELLED: "CANCELLED";
54
- readonly FAILED: "FAILED";
55
- readonly IN_PROGRESS: "IN_PROGRESS";
56
- readonly SUCCEEDED: "SUCCEEDED";
57
- };
58
- /**
59
- * @public
60
- */
61
- export type ExternalReportStatus = (typeof ExternalReportStatus)[keyof typeof ExternalReportStatus];
62
- /**
63
- * <p>Details about a filter.</p>
64
- * @public
65
- */
66
- export interface Filter {
67
- /**
68
- * <p>The Amazon Resource Number (ARN) associated with this filter.</p>
69
- * @public
70
- */
71
- arn: string | undefined;
72
- /**
73
- * <p>The Amazon Web Services account ID of the account that created the filter.</p>
74
- * @public
75
- */
76
- ownerId: string | undefined;
77
- /**
78
- * <p>The name of the filter.</p>
79
- * @public
80
- */
81
- name: string | undefined;
82
- /**
83
- * <p>Details on the filter criteria associated with this filter.</p>
84
- * @public
85
- */
86
- criteria: FilterCriteria | undefined;
87
- /**
88
- * <p>The action that is to be applied to the findings that match the filter.</p>
89
- * @public
90
- */
91
- action: FilterAction | undefined;
92
- /**
93
- * <p>The date and time this filter was created at.</p>
94
- * @public
95
- */
96
- createdAt: Date | undefined;
97
- /**
98
- * <p>The date and time the filter was last updated at.</p>
99
- * @public
100
- */
101
- updatedAt: Date | undefined;
102
- /**
103
- * <p>A description of the filter.</p>
104
- * @public
105
- */
106
- description?: string | undefined;
107
- /**
108
- * <p>The reason for the filter.</p>
109
- * @public
110
- */
111
- reason?: string | undefined;
112
- /**
113
- * <p>The tags attached to the filter.</p>
114
- * @public
115
- */
116
- tags?: Record<string, string> | undefined;
117
- }
118
- /**
119
- * @public
120
- * @enum
121
- */
122
- export declare const FixAvailable: {
123
- readonly NO: "NO";
124
- readonly PARTIAL: "PARTIAL";
125
- readonly YES: "YES";
126
- };
127
- /**
128
- * @public
129
- */
130
- export type FixAvailable = (typeof FixAvailable)[keyof typeof FixAvailable];
131
- /**
132
- * <p>Information about the Amazon Inspector score given to a finding.</p>
133
- * @public
134
- */
135
- export interface InspectorScoreDetails {
136
- /**
137
- * <p>An object that contains details about the CVSS score given to a finding.</p>
138
- * @public
139
- */
140
- adjustedCvss?: CvssScoreDetails | undefined;
141
- }
142
- /**
143
- * <p>Details about the step associated with a finding.</p>
144
- * @public
145
- */
146
- export interface Step {
147
- /**
148
- * <p>The component ID.</p>
149
- * @public
150
- */
151
- componentId: string | undefined;
152
- /**
153
- * <p>The component type.</p>
154
- * @public
155
- */
156
- componentType: string | undefined;
157
- /**
158
- * <p>The component ARN. The ARN can be null and is not displayed in the Amazon Web Services
159
- * console.</p>
160
- * @public
161
- */
162
- componentArn?: string | undefined;
163
- }
164
- /**
165
- * <p>Information on the network path associated with a finding.</p>
166
- * @public
167
- */
168
- export interface NetworkPath {
169
- /**
170
- * <p>The details on the steps in the network path.</p>
171
- * @public
172
- */
173
- steps?: Step[] | undefined;
174
- }
175
- /**
176
- * <p>Details about the port range associated with a finding.</p>
177
- * @public
178
- */
179
- export interface PortRange {
180
- /**
181
- * <p>The beginning port in a port range.</p>
182
- * @public
183
- */
184
- begin: number | undefined;
185
- /**
186
- * <p>The ending port in a port range.</p>
187
- * @public
188
- */
189
- end: number | undefined;
190
- }
191
- /**
192
- * @public
193
- * @enum
194
- */
195
- export declare const NetworkProtocol: {
196
- readonly TCP: "TCP";
197
- readonly UDP: "UDP";
198
- };
199
- /**
200
- * @public
201
- */
202
- export type NetworkProtocol = (typeof NetworkProtocol)[keyof typeof NetworkProtocol];
203
- /**
204
- * <p>Contains the details of a network reachability finding.</p>
205
- * @public
206
- */
207
- export interface NetworkReachabilityDetails {
208
- /**
209
- * <p>An object that contains details about the open port range associated with a
210
- * finding.</p>
211
- * @public
212
- */
213
- openPortRange: PortRange | undefined;
214
- /**
215
- * <p>The protocol associated with a finding.</p>
216
- * @public
217
- */
218
- protocol: NetworkProtocol | undefined;
219
- /**
220
- * <p>An object that contains details about a network path associated with a finding.</p>
221
- * @public
222
- */
223
- networkPath: NetworkPath | undefined;
224
- }
225
- /**
226
- * @public
227
- * @enum
228
- */
229
- export declare const PackageManager: {
230
- readonly BUNDLER: "BUNDLER";
231
- readonly CARGO: "CARGO";
232
- readonly COMPOSER: "COMPOSER";
233
- readonly DOTNET_CORE: "DOTNET_CORE";
234
- readonly GEMSPEC: "GEMSPEC";
235
- readonly GOBINARY: "GOBINARY";
236
- readonly GOMOD: "GOMOD";
237
- readonly JAR: "JAR";
238
- readonly NODEPKG: "NODEPKG";
239
- readonly NPM: "NPM";
240
- readonly NUGET: "NUGET";
241
- readonly OS: "OS";
242
- readonly PIP: "PIP";
243
- readonly PIPENV: "PIPENV";
244
- readonly POETRY: "POETRY";
245
- readonly POM: "POM";
246
- readonly PYTHONPKG: "PYTHONPKG";
247
- readonly YARN: "YARN";
248
- };
249
- /**
250
- * @public
251
- */
252
- export type PackageManager = (typeof PackageManager)[keyof typeof PackageManager];
253
- /**
254
- * <p>Information on the vulnerable package identified by a finding.</p>
255
- * @public
256
- */
257
- export interface VulnerablePackage {
258
- /**
259
- * <p>The name of the vulnerable package.</p>
260
- * @public
261
- */
262
- name: string | undefined;
263
- /**
264
- * <p>The version of the vulnerable package.</p>
265
- * @public
266
- */
267
- version: string | undefined;
268
- /**
269
- * <p>The source layer hash of the vulnerable package.</p>
270
- * @public
271
- */
272
- sourceLayerHash?: string | undefined;
273
- /**
274
- * <p>The epoch of the vulnerable package.</p>
275
- * @public
276
- */
277
- epoch?: number | undefined;
278
- /**
279
- * <p>The release of the vulnerable package.</p>
280
- * @public
281
- */
282
- release?: string | undefined;
283
- /**
284
- * <p>The architecture of the vulnerable package.</p>
285
- * @public
286
- */
287
- arch?: string | undefined;
288
- /**
289
- * <p>The package manager of the vulnerable package.</p>
290
- * @public
291
- */
292
- packageManager?: PackageManager | undefined;
293
- /**
294
- * <p>The file path of the vulnerable package.</p>
295
- * @public
296
- */
297
- filePath?: string | undefined;
298
- /**
299
- * <p>The version of the package that contains the vulnerability fix.</p>
300
- * @public
301
- */
302
- fixedInVersion?: string | undefined;
303
- /**
304
- * <p>The code to run in your environment to update packages with a fix available.</p>
305
- * @public
306
- */
307
- remediation?: string | undefined;
308
- /**
309
- * <p>The Amazon Resource Number (ARN) of the Amazon Web Services Lambda function affected by a
310
- * finding.</p>
311
- * @public
312
- */
313
- sourceLambdaLayerArn?: string | undefined;
314
- }
315
- /**
316
- * <p>Information about a package vulnerability finding.</p>
317
- * @public
318
- */
319
- export interface PackageVulnerabilityDetails {
320
- /**
321
- * <p>The ID given to this vulnerability.</p>
322
- * @public
323
- */
324
- vulnerabilityId: string | undefined;
325
- /**
326
- * <p>The packages impacted by this vulnerability.</p>
327
- * @public
328
- */
329
- vulnerablePackages?: VulnerablePackage[] | undefined;
330
- /**
331
- * <p>The source of the vulnerability information.</p>
332
- * @public
333
- */
334
- source: string | undefined;
335
- /**
336
- * <p>An object that contains details about the CVSS score of a finding.</p>
337
- * @public
338
- */
339
- cvss?: CvssScore[] | undefined;
340
- /**
341
- * <p>One or more vulnerabilities related to the one identified in this finding.</p>
342
- * @public
343
- */
344
- relatedVulnerabilities?: string[] | undefined;
345
- /**
346
- * <p>A URL to the source of the vulnerability information.</p>
347
- * @public
348
- */
349
- sourceUrl?: string | undefined;
350
- /**
351
- * <p>The severity the vendor has given to this vulnerability type.</p>
352
- * @public
353
- */
354
- vendorSeverity?: string | undefined;
355
- /**
356
- * <p>The date and time that this vulnerability was first added to the vendor's
357
- * database.</p>
358
- * @public
359
- */
360
- vendorCreatedAt?: Date | undefined;
361
- /**
362
- * <p>The date and time the vendor last updated this vulnerability in their database.</p>
363
- * @public
364
- */
365
- vendorUpdatedAt?: Date | undefined;
366
- /**
367
- * <p>One or more URLs that contain details about this vulnerability type.</p>
368
- * @public
369
- */
370
- referenceUrls?: string[] | undefined;
371
- }
372
- /**
373
- * <p>Details about the recommended course of action to remediate the finding.</p>
374
- * @public
375
- */
376
- export interface Recommendation {
377
- /**
378
- * <p>The recommended course of action to remediate the finding.</p>
379
- * @public
380
- */
381
- text?: string | undefined;
382
- /**
383
- * <p>The URL address to the CVE remediation recommendations.</p>
384
- * @public
385
- */
386
- Url?: string | undefined;
387
- }
388
- /**
389
- * <p>Information on how to remediate a finding.</p>
390
- * @public
391
- */
392
- export interface Remediation {
393
- /**
394
- * <p>An object that contains information about the recommended course of action to remediate
395
- * the finding.</p>
396
- * @public
397
- */
398
- recommendation?: Recommendation | undefined;
399
- }
400
- /**
401
- * <p>Contains details about the resource involved in the finding.</p>
402
- * @public
403
- */
404
- export interface ResourceDetails {
405
- /**
406
- * <p>An object that contains details about the Amazon EC2 instance involved in the finding.</p>
407
- * @public
408
- */
409
- awsEc2Instance?: AwsEc2InstanceDetails | undefined;
410
- /**
411
- * <p>An object that contains details about the Amazon ECR container image involved in the
412
- * finding.</p>
413
- * @public
414
- */
415
- awsEcrContainerImage?: AwsEcrContainerImageDetails | undefined;
416
- /**
417
- * <p>A summary of the information about an Amazon Web Services Lambda function affected by a
418
- * finding.</p>
419
- * @public
420
- */
421
- awsLambdaFunction?: AwsLambdaFunctionDetails | undefined;
422
- /**
423
- * <p>Contains details about a code repository resource associated with a finding.</p>
424
- * @public
425
- */
426
- codeRepository?: CodeRepositoryDetails | undefined;
427
- }
428
- /**
429
- * @public
430
- * @enum
431
- */
432
- export declare const ResourceType: {
433
- readonly AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE";
434
- readonly AWS_ECR_CONTAINER_IMAGE: "AWS_ECR_CONTAINER_IMAGE";
435
- readonly AWS_ECR_REPOSITORY: "AWS_ECR_REPOSITORY";
436
- readonly AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION";
437
- readonly CODE_REPOSITORY: "CODE_REPOSITORY";
438
- };
439
- /**
440
- * @public
441
- */
442
- export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
443
- /**
444
- * <p>Details about the resource involved in a finding.</p>
445
- * @public
446
- */
447
- export interface Resource {
448
- /**
449
- * <p>The type of resource.</p>
450
- * @public
451
- */
452
- type: ResourceType | undefined;
453
- /**
454
- * <p>The ID of the resource.</p>
455
- * @public
456
- */
457
- id: string | undefined;
458
- /**
459
- * <p>The partition of the resource.</p>
460
- * @public
461
- */
462
- partition?: string | undefined;
463
- /**
464
- * <p>The Amazon Web Services Region the impacted resource is located in.</p>
465
- * @public
466
- */
467
- region?: string | undefined;
468
- /**
469
- * <p>The tags attached to the resource.</p>
470
- * @public
471
- */
472
- tags?: Record<string, string> | undefined;
473
- /**
474
- * <p>An object that contains details about the resource involved in a finding.</p>
475
- * @public
476
- */
477
- details?: ResourceDetails | undefined;
478
- }
479
- /**
480
- * @public
481
- * @enum
482
- */
483
- export declare const Severity: {
484
- readonly CRITICAL: "CRITICAL";
485
- readonly HIGH: "HIGH";
486
- readonly INFORMATIONAL: "INFORMATIONAL";
487
- readonly LOW: "LOW";
488
- readonly MEDIUM: "MEDIUM";
489
- readonly UNTRIAGED: "UNTRIAGED";
490
- };
491
- /**
492
- * @public
493
- */
494
- export type Severity = (typeof Severity)[keyof typeof Severity];
495
- /**
496
- * @public
497
- * @enum
498
- */
499
- export declare const FindingStatus: {
500
- readonly ACTIVE: "ACTIVE";
501
- readonly CLOSED: "CLOSED";
502
- readonly SUPPRESSED: "SUPPRESSED";
503
- };
504
- /**
505
- * @public
506
- */
507
- export type FindingStatus = (typeof FindingStatus)[keyof typeof FindingStatus];
508
- /**
509
- * @public
510
- * @enum
511
- */
512
- export declare const FindingType: {
513
- readonly CODE_VULNERABILITY: "CODE_VULNERABILITY";
514
- readonly NETWORK_REACHABILITY: "NETWORK_REACHABILITY";
515
- readonly PACKAGE_VULNERABILITY: "PACKAGE_VULNERABILITY";
516
- };
517
- /**
518
- * @public
519
- */
520
- export type FindingType = (typeof FindingType)[keyof typeof FindingType];
521
- /**
522
- * <p>Details about an Amazon Inspector finding.</p>
523
- * @public
524
- */
525
- export interface Finding {
526
- /**
527
- * <p>The Amazon Resource Number (ARN) of the finding.</p>
528
- * @public
529
- */
530
- findingArn: string | undefined;
531
- /**
532
- * <p>The Amazon Web Services account ID associated with the finding.</p>
533
- * @public
534
- */
535
- awsAccountId: string | undefined;
536
- /**
537
- * <p>The type of the finding. The <code>type</code> value determines the valid values for
538
- * <code>resource</code> in your request. For more information, see <a href="https://docs.aws.amazon.com/inspector/latest/user/findings-types.html">Finding
539
- * types</a> in the Amazon Inspector user guide.</p>
540
- * @public
541
- */
542
- type: FindingType | undefined;
543
- /**
544
- * <p>The description of the finding.</p>
545
- * @public
546
- */
547
- description: string | undefined;
548
- /**
549
- * <p>The title of the finding.</p>
550
- * @public
551
- */
552
- title?: string | undefined;
553
- /**
554
- * <p>An object that contains the details about how to remediate a finding.</p>
555
- * @public
556
- */
557
- remediation: Remediation | undefined;
558
- /**
559
- * <p>The severity of the finding. <code>UNTRIAGED</code> applies to
560
- * <code>PACKAGE_VULNERABILITY</code> type findings that the vendor has not assigned a
561
- * severity yet. For more information, see <a href="https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-severity.html">Severity levels for findings</a> in the Amazon Inspector user guide.</p>
562
- * @public
563
- */
564
- severity: Severity | undefined;
565
- /**
566
- * <p>The date and time that the finding was first observed.</p>
567
- * @public
568
- */
569
- firstObservedAt: Date | undefined;
570
- /**
571
- * <p> The date and time the finding was last observed. This timestamp for this field remains
572
- * unchanged until a finding is updated. </p>
573
- * @public
574
- */
575
- lastObservedAt: Date | undefined;
576
- /**
577
- * <p>The date and time the finding was last updated at.</p>
578
- * @public
579
- */
580
- updatedAt?: Date | undefined;
581
- /**
582
- * <p>The status of the finding.</p>
583
- * @public
584
- */
585
- status: FindingStatus | undefined;
586
- /**
587
- * <p>Contains information on the resources involved in a finding. The <code>resource</code>
588
- * value determines the valid values for <code>type</code> in your request. For more
589
- * information, see <a href="https://docs.aws.amazon.com/inspector/latest/user/findings-types.html">Finding
590
- * types</a> in the Amazon Inspector user guide.</p>
591
- * @public
592
- */
593
- resources: Resource[] | undefined;
594
- /**
595
- * <p>The Amazon Inspector score given to the finding.</p>
596
- * @public
597
- */
598
- inspectorScore?: number | undefined;
599
- /**
600
- * <p>An object that contains details of the Amazon Inspector score.</p>
601
- * @public
602
- */
603
- inspectorScoreDetails?: InspectorScoreDetails | undefined;
604
- /**
605
- * <p>An object that contains the details of a network reachability finding.</p>
606
- * @public
607
- */
608
- networkReachabilityDetails?: NetworkReachabilityDetails | undefined;
609
- /**
610
- * <p>An object that contains the details of a package vulnerability finding.</p>
611
- * @public
612
- */
613
- packageVulnerabilityDetails?: PackageVulnerabilityDetails | undefined;
614
- /**
615
- * <p>Details on whether a fix is available through a version update. This value can be
616
- * <code>YES</code>, <code>NO</code>, or <code>PARTIAL</code>. A <code>PARTIAL</code> fix
617
- * means that some, but not all, of the packages identified in the finding have fixes
618
- * available through updated versions.</p>
619
- * @public
620
- */
621
- fixAvailable?: FixAvailable | undefined;
622
- /**
623
- * <p>If a finding discovered in your environment has an exploit available.</p>
624
- * @public
625
- */
626
- exploitAvailable?: ExploitAvailable | undefined;
627
- /**
628
- * <p>The details of an exploit available for a finding discovered in your environment.</p>
629
- * @public
630
- */
631
- exploitabilityDetails?: ExploitabilityDetails | undefined;
632
- /**
633
- * <p>Details about the code vulnerability identified in a Lambda function used to filter
634
- * findings.</p>
635
- * @public
636
- */
637
- codeVulnerabilityDetails?: CodeVulnerabilityDetails | undefined;
638
- /**
639
- * <p>The finding's EPSS score.</p>
640
- * @public
641
- */
642
- epss?: EpssDetails | undefined;
643
- }
644
- /**
645
- * @public
646
- */
647
- export interface GetCisScanReportRequest {
648
- /**
649
- * <p>The scan ARN.</p>
650
- * @public
651
- */
652
- scanArn: string | undefined;
653
- /**
654
- * <p>The target accounts.</p>
655
- * @public
656
- */
657
- targetAccounts?: string[] | undefined;
658
- /**
659
- * <p> The format of the report. Valid values are <code>PDF</code> and <code>CSV</code>. If no
660
- * value is specified, the report format defaults to <code>PDF</code>. </p>
661
- * @public
662
- */
663
- reportFormat?: CisReportFormat | undefined;
664
- }
665
- /**
666
- * @public
667
- */
668
- export interface GetCisScanReportResponse {
669
- /**
670
- * <p> The URL where a PDF or CSV of the CIS scan report can be downloaded. </p>
671
- * @public
672
- */
673
- url?: string | undefined;
674
- /**
675
- * <p>The status.</p>
676
- * @public
677
- */
678
- status?: CisReportStatus | undefined;
679
- }
680
- /**
681
- * @public
682
- */
683
- export interface GetCisScanResultDetailsRequest {
684
- /**
685
- * <p>The scan ARN.</p>
686
- * @public
687
- */
688
- scanArn: string | undefined;
689
- /**
690
- * <p>The target resource ID.</p>
691
- * @public
692
- */
693
- targetResourceId: string | undefined;
694
- /**
695
- * <p>The account ID.</p>
696
- * @public
697
- */
698
- accountId: string | undefined;
699
- /**
700
- * <p>The filter criteria.</p>
701
- * @public
702
- */
703
- filterCriteria?: CisScanResultDetailsFilterCriteria | undefined;
704
- /**
705
- * <p>The sort by order.</p>
706
- * @public
707
- */
708
- sortBy?: CisScanResultDetailsSortBy | undefined;
709
- /**
710
- * <p>The sort order.</p>
711
- * @public
712
- */
713
- sortOrder?: CisSortOrder | undefined;
714
- /**
715
- * <p>The pagination token from a previous request that's used to retrieve the next page of
716
- * results.</p>
717
- * @public
718
- */
719
- nextToken?: string | undefined;
720
- /**
721
- * <p>The maximum number of CIS scan result details to be returned in a single page of
722
- * results.</p>
723
- * @public
724
- */
725
- maxResults?: number | undefined;
726
- }
727
- /**
728
- * @public
729
- */
730
- export interface GetCisScanResultDetailsResponse {
731
- /**
732
- * <p>The scan result details.</p>
733
- * @public
734
- */
735
- scanResultDetails?: CisScanResultDetails[] | undefined;
736
- /**
737
- * <p>The pagination token from a previous request that's used to retrieve the next page of
738
- * results.</p>
739
- * @public
740
- */
741
- nextToken?: string | undefined;
742
- }
743
- /**
744
- * @public
745
- */
746
- export interface GetClustersForImageRequest {
747
- /**
748
- * <p>The resource Id for the Amazon ECR image.</p>
749
- * @public
750
- */
751
- filter: ClusterForImageFilterCriteria | undefined;
752
- /**
753
- * <p>The maximum number of results to be returned in a single page of results.</p>
754
- * @public
755
- */
756
- maxResults?: number | undefined;
757
- /**
758
- * <p>The pagination token from a previous request used to retrieve the next page of
759
- * results.</p>
760
- * @public
761
- */
762
- nextToken?: string | undefined;
763
- }
764
- /**
765
- * @public
766
- */
767
- export interface GetClustersForImageResponse {
768
- /**
769
- * <p>A unit of work inside of a cluster, which can include metadata about the cluster.</p>
770
- * @public
771
- */
772
- cluster: ClusterInformation[] | undefined;
773
- /**
774
- * <p>The pagination token from a previous request used to retrieve the next page of
775
- * results.</p>
776
- * @public
777
- */
778
- nextToken?: string | undefined;
779
- }
780
- /**
781
- * @public
782
- */
783
- export interface GetCodeSecurityIntegrationRequest {
784
- /**
785
- * <p>The Amazon Resource Name (ARN) of the code security integration to retrieve.</p>
786
- * @public
787
- */
788
- integrationArn: string | undefined;
789
- /**
790
- * <p>The tags associated with the code security integration.</p>
791
- * @public
792
- */
793
- tags?: Record<string, string> | undefined;
794
- }
795
- /**
796
- * @public
797
- */
798
- export interface GetCodeSecurityIntegrationResponse {
799
- /**
800
- * <p>The Amazon Resource Name (ARN) of the code security integration.</p>
801
- * @public
802
- */
803
- integrationArn: string | undefined;
804
- /**
805
- * <p>The name of the code security integration.</p>
806
- * @public
807
- */
808
- name: string | undefined;
809
- /**
810
- * <p>The type of repository provider for the integration.</p>
811
- * @public
812
- */
813
- type: IntegrationType | undefined;
814
- /**
815
- * <p>The current status of the code security integration.</p>
816
- * @public
817
- */
818
- status: IntegrationStatus | undefined;
819
- /**
820
- * <p>The reason for the current status of the code security integration.</p>
821
- * @public
822
- */
823
- statusReason: string | undefined;
824
- /**
825
- * <p>The timestamp when the code security integration was created.</p>
826
- * @public
827
- */
828
- createdOn: Date | undefined;
829
- /**
830
- * <p>The timestamp when the code security integration was last updated.</p>
831
- * @public
832
- */
833
- lastUpdateOn: Date | undefined;
834
- /**
835
- * <p>The tags associated with the code security integration.</p>
836
- * @public
837
- */
838
- tags?: Record<string, string> | undefined;
839
- /**
840
- * <p>The URL used to authorize the integration with the repository provider. This is only
841
- * returned if reauthorization is required to fix a connection issue. Otherwise, it is
842
- * null.</p>
843
- * @public
844
- */
845
- authorizationUrl?: string | undefined;
846
- }
847
- /**
848
- * @public
849
- */
850
- export interface GetCodeSecurityScanRequest {
851
- /**
852
- * <p>The resource identifier for the code repository that was scanned.</p>
853
- * @public
854
- */
855
- resource: CodeSecurityResource | undefined;
856
- /**
857
- * <p>The unique identifier of the scan to retrieve.</p>
858
- * @public
859
- */
860
- scanId: string | undefined;
861
- }
862
- /**
863
- * @public
864
- */
865
- export interface GetCodeSecurityScanResponse {
866
- /**
867
- * <p>The unique identifier of the scan.</p>
868
- * @public
869
- */
870
- scanId?: string | undefined;
871
- /**
872
- * <p>The resource identifier for the code repository that was scanned.</p>
873
- * @public
874
- */
875
- resource?: CodeSecurityResource | undefined;
876
- /**
877
- * <p>The Amazon Web Services account ID associated with the scan.</p>
878
- * @public
879
- */
880
- accountId?: string | undefined;
881
- /**
882
- * <p>The current status of the scan.</p>
883
- * @public
884
- */
885
- status?: CodeScanStatus | undefined;
886
- /**
887
- * <p>The reason for the current status of the scan.</p>
888
- * @public
889
- */
890
- statusReason?: string | undefined;
891
- /**
892
- * <p>The timestamp when the scan was created.</p>
893
- * @public
894
- */
895
- createdAt?: Date | undefined;
896
- /**
897
- * <p>The timestamp when the scan was last updated.</p>
898
- * @public
899
- */
900
- updatedAt?: Date | undefined;
901
- /**
902
- * <p>The identifier of the last commit that was scanned. This is only returned if the scan
903
- * was successful or skipped.</p>
904
- * @public
905
- */
906
- lastCommitId?: string | undefined;
907
- }
908
- /**
909
- * @public
910
- */
911
- export interface GetCodeSecurityScanConfigurationRequest {
912
- /**
913
- * <p>The Amazon Resource Name (ARN) of the scan configuration to retrieve.</p>
914
- * @public
915
- */
916
- scanConfigurationArn: string | undefined;
917
- }
918
- /**
919
- * @public
920
- */
921
- export interface GetCodeSecurityScanConfigurationResponse {
922
- /**
923
- * <p>The Amazon Resource Name (ARN) of the scan configuration.</p>
924
- * @public
925
- */
926
- scanConfigurationArn?: string | undefined;
927
- /**
928
- * <p>The name of the scan configuration.</p>
929
- * @public
930
- */
931
- name?: string | undefined;
932
- /**
933
- * <p>The configuration settings for the code security scan.</p>
934
- * @public
935
- */
936
- configuration?: CodeSecurityScanConfiguration | undefined;
937
- /**
938
- * <p>The security level for the scan configuration.</p>
939
- * @public
940
- */
941
- level?: ConfigurationLevel | undefined;
942
- /**
943
- * <p>The scope settings that define which repositories will be scanned. If the
944
- * <code>ScopeSetting</code> parameter is <code>ALL</code> the scan configuration applies
945
- * to all existing and future projects imported into Amazon Inspector.</p>
946
- * @public
947
- */
948
- scopeSettings?: ScopeSettings | undefined;
949
- /**
950
- * <p>The timestamp when the scan configuration was created.</p>
951
- * @public
952
- */
953
- createdAt?: Date | undefined;
954
- /**
955
- * <p>The timestamp when the scan configuration was last updated.</p>
956
- * @public
957
- */
958
- lastUpdatedAt?: Date | undefined;
959
- /**
960
- * <p>The tags associated with the scan configuration.</p>
961
- * @public
962
- */
963
- tags?: Record<string, string> | undefined;
964
- }
965
- /**
966
- * @public
967
- */
968
- export interface GetConfigurationRequest {
969
- }
970
- /**
971
- * @public
972
- */
973
- export interface GetConfigurationResponse {
974
- /**
975
- * <p>Specifies how the ECR automated re-scan duration is currently configured for your
976
- * environment.</p>
977
- * @public
978
- */
979
- ecrConfiguration?: EcrConfigurationState | undefined;
980
- /**
981
- * <p>Specifies how the Amazon EC2 automated scan mode is currently configured for your
982
- * environment.</p>
983
- * @public
984
- */
985
- ec2Configuration?: Ec2ConfigurationState | undefined;
986
- }
1
+ import { CisScanConfigurationsSortBy, CisScanResultsAggregatedByChecksSortBy, CisScanResultsAggregatedByTargetResourceSortBy, CisSecurityLevel, CisSortOrder, CodeScanStatus, IntegrationStatus, ListCisScansDetailLevel, ListCisScansSortBy, StopCisSessionStatus } from "./enums";
2
+ import { AggregationRequest, AggregationResponse, AggregationType, AtigData, AutoEnable, CisaData, CisCheckAggregation, CisDateFilter, CisNumberFilter, CisScan, CisScanConfiguration, CisScanResultsAggregatedByChecksFilterCriteria, CisScanResultsAggregatedByTargetResourceFilterCriteria, CisScanStatusFilter, CisSessionMessage, CisStringFilter, CisTargetResourceAggregation, CodeSecurityIntegrationSummary, CodeSecurityResource, CodeSecurityScanConfiguration, CodeSecurityScanConfigurationAssociationSummary, CodeSecurityScanConfigurationSummary, ComputePlatform, Counts, CoverageFilterCriteria, CoveredResource, Currency, Cvss2, Cvss3, Cvss4, DelegatedAdmin, DelegatedAdminAccount, Destination, Ec2Configuration, Ec2DeepInspectionStatus, EcrConfiguration, Epss, ExploitObserved, ExternalReportStatus, Filter, FilterAction, FilterCriteria, Finding, GroupKey, RelationshipStatus, ResourceFilterCriteria, ResourceType, SbomReportFormat, ScanType, Schedule, SortOrder, StringFilter, TagFilter } from "./models_0";
987
3
  /**
988
4
  * @public
989
5
  */
@@ -1477,18 +493,6 @@ export interface ListCisScanResultsAggregatedByTargetResourceResponse {
1477
493
  */
1478
494
  nextToken?: string | undefined;
1479
495
  }
1480
- /**
1481
- * @public
1482
- * @enum
1483
- */
1484
- export declare const ListCisScansDetailLevel: {
1485
- readonly MEMBER: "MEMBER";
1486
- readonly ORGANIZATION: "ORGANIZATION";
1487
- };
1488
- /**
1489
- * @public
1490
- */
1491
- export type ListCisScansDetailLevel = (typeof ListCisScansDetailLevel)[keyof typeof ListCisScansDetailLevel];
1492
496
  /**
1493
497
  * <p>A list of CIS scans filter criteria.</p>
1494
498
  * @public
@@ -1545,20 +549,6 @@ export interface ListCisScansFilterCriteria {
1545
549
  */
1546
550
  targetAccountIdFilters?: CisStringFilter[] | undefined;
1547
551
  }
1548
- /**
1549
- * @public
1550
- * @enum
1551
- */
1552
- export declare const ListCisScansSortBy: {
1553
- readonly FAILED_CHECKS: "FAILED_CHECKS";
1554
- readonly SCAN_START_DATE: "SCAN_START_DATE";
1555
- readonly SCHEDULED_BY: "SCHEDULED_BY";
1556
- readonly STATUS: "STATUS";
1557
- };
1558
- /**
1559
- * @public
1560
- */
1561
- export type ListCisScansSortBy = (typeof ListCisScansSortBy)[keyof typeof ListCisScansSortBy];
1562
552
  /**
1563
553
  * @public
1564
554
  */
@@ -2556,20 +1546,6 @@ export interface StopCisMessageProgress {
2556
1546
  */
2557
1547
  errorChecks?: number | undefined;
2558
1548
  }
2559
- /**
2560
- * @public
2561
- * @enum
2562
- */
2563
- export declare const StopCisSessionStatus: {
2564
- readonly FAILED: "FAILED";
2565
- readonly INTERRUPTED: "INTERRUPTED";
2566
- readonly SUCCESS: "SUCCESS";
2567
- readonly UNSUPPORTED_OS: "UNSUPPORTED_OS";
2568
- };
2569
- /**
2570
- * @public
2571
- */
2572
- export type StopCisSessionStatus = (typeof StopCisSessionStatus)[keyof typeof StopCisSessionStatus];
2573
1549
  /**
2574
1550
  * <p>The stop CIS session message.</p>
2575
1551
  * @public