@aws-sdk/client-inspector2 3.935.0 → 3.939.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 (69) hide show
  1. package/dist-cjs/index.js +546 -0
  2. package/dist-es/models/enums.js +475 -0
  3. package/dist-es/models/models_0.js +1 -423
  4. package/dist-es/models/models_1.js +1 -52
  5. package/dist-types/commands/GetDelegatedAdminAccountCommand.d.ts +1 -1
  6. package/dist-types/commands/GetEc2DeepInspectionConfigurationCommand.d.ts +1 -1
  7. package/dist-types/commands/GetEncryptionKeyCommand.d.ts +1 -1
  8. package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +1 -1
  9. package/dist-types/commands/GetMemberCommand.d.ts +1 -1
  10. package/dist-types/commands/GetSbomExportCommand.d.ts +1 -1
  11. package/dist-types/commands/ListAccountPermissionsCommand.d.ts +1 -1
  12. package/dist-types/commands/ListCisScanConfigurationsCommand.d.ts +1 -1
  13. package/dist-types/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +1 -1
  14. package/dist-types/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +1 -1
  15. package/dist-types/commands/ListCisScansCommand.d.ts +1 -1
  16. package/dist-types/commands/ListCodeSecurityIntegrationsCommand.d.ts +1 -1
  17. package/dist-types/commands/ListCodeSecurityScanConfigurationAssociationsCommand.d.ts +1 -1
  18. package/dist-types/commands/ListCodeSecurityScanConfigurationsCommand.d.ts +1 -1
  19. package/dist-types/commands/ListCoverageCommand.d.ts +1 -1
  20. package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +1 -1
  21. package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +1 -1
  22. package/dist-types/commands/ListFiltersCommand.d.ts +1 -1
  23. package/dist-types/commands/ListFindingAggregationsCommand.d.ts +1 -1
  24. package/dist-types/commands/ListFindingsCommand.d.ts +1 -1
  25. package/dist-types/commands/ListMembersCommand.d.ts +1 -1
  26. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  27. package/dist-types/commands/ListUsageTotalsCommand.d.ts +1 -1
  28. package/dist-types/commands/ResetEncryptionKeyCommand.d.ts +1 -1
  29. package/dist-types/commands/SearchVulnerabilitiesCommand.d.ts +1 -1
  30. package/dist-types/commands/SendCisSessionHealthCommand.d.ts +1 -1
  31. package/dist-types/commands/SendCisSessionTelemetryCommand.d.ts +1 -1
  32. package/dist-types/commands/StartCisSessionCommand.d.ts +2 -1
  33. package/dist-types/models/enums.d.ts +1187 -144
  34. package/dist-types/models/errors.d.ts +2 -1
  35. package/dist-types/models/models_0.d.ts +1366 -945
  36. package/dist-types/models/models_1.d.ts +2 -1466
  37. package/dist-types/ts3.4/commands/GetDelegatedAdminAccountCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/commands/GetEc2DeepInspectionConfigurationCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/GetEncryptionKeyCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/GetFindingsReportStatusCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/GetMemberCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/GetSbomExportCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/ListAccountPermissionsCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/ListCisScanConfigurationsCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/ListCisScansCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/ListCodeSecurityIntegrationsCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/ListCodeSecurityScanConfigurationAssociationsCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/ListCodeSecurityScanConfigurationsCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/ListCoverageCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/ListCoverageStatisticsCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/ListDelegatedAdminAccountsCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/ListFiltersCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/ListFindingAggregationsCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/ListUsageTotalsCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/ResetEncryptionKeyCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/SearchVulnerabilitiesCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/SendCisSessionHealthCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/SendCisSessionTelemetryCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/StartCisSessionCommand.d.ts +2 -4
  65. package/dist-types/ts3.4/models/enums.d.ts +588 -0
  66. package/dist-types/ts3.4/models/errors.d.ts +2 -4
  67. package/dist-types/ts3.4/models/models_0.d.ts +383 -528
  68. package/dist-types/ts3.4/models/models_1.d.ts +4 -419
  69. package/package.json +12 -12
@@ -1,1469 +1,5 @@
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";
3
- /**
4
- * @public
5
- */
6
- export interface GetDelegatedAdminAccountRequest {
7
- }
8
- /**
9
- * @public
10
- */
11
- export interface GetDelegatedAdminAccountResponse {
12
- /**
13
- * <p>The Amazon Web Services account ID of the Amazon Inspector delegated administrator.</p>
14
- * @public
15
- */
16
- delegatedAdmin?: DelegatedAdmin | undefined;
17
- }
18
- /**
19
- * @public
20
- */
21
- export interface GetEc2DeepInspectionConfigurationRequest {
22
- }
23
- /**
24
- * @public
25
- */
26
- export interface GetEc2DeepInspectionConfigurationResponse {
27
- /**
28
- * <p>The Amazon Inspector deep inspection custom paths for your account.</p>
29
- * @public
30
- */
31
- packagePaths?: string[] | undefined;
32
- /**
33
- * <p>The Amazon Inspector deep inspection custom paths for your organization.</p>
34
- * @public
35
- */
36
- orgPackagePaths?: string[] | undefined;
37
- /**
38
- * <p>The activation status of Amazon Inspector deep inspection in your account.</p>
39
- * @public
40
- */
41
- status?: Ec2DeepInspectionStatus | undefined;
42
- /**
43
- * <p>An error message explaining why Amazon Inspector deep inspection configurations could not be
44
- * retrieved for your account.</p>
45
- * @public
46
- */
47
- errorMessage?: string | undefined;
48
- }
49
- /**
50
- * @public
51
- */
52
- export interface GetEncryptionKeyRequest {
53
- /**
54
- * <p>The scan type the key encrypts.</p>
55
- * @public
56
- */
57
- scanType: ScanType | undefined;
58
- /**
59
- * <p>The resource type the key encrypts.</p>
60
- * @public
61
- */
62
- resourceType: ResourceType | undefined;
63
- }
64
- /**
65
- * @public
66
- */
67
- export interface GetEncryptionKeyResponse {
68
- /**
69
- * <p>A kms key ID.</p>
70
- * @public
71
- */
72
- kmsKeyId: string | undefined;
73
- }
74
- /**
75
- * @public
76
- */
77
- export interface GetFindingsReportStatusRequest {
78
- /**
79
- * <p>The ID of the report to retrieve the status of.</p>
80
- * @public
81
- */
82
- reportId?: string | undefined;
83
- }
84
- /**
85
- * @public
86
- * @enum
87
- */
88
- export declare const ReportingErrorCode: {
89
- readonly BUCKET_NOT_FOUND: "BUCKET_NOT_FOUND";
90
- readonly INCOMPATIBLE_BUCKET_REGION: "INCOMPATIBLE_BUCKET_REGION";
91
- readonly INTERNAL_ERROR: "INTERNAL_ERROR";
92
- readonly INVALID_PERMISSIONS: "INVALID_PERMISSIONS";
93
- readonly MALFORMED_KMS_KEY: "MALFORMED_KMS_KEY";
94
- readonly NO_FINDINGS_FOUND: "NO_FINDINGS_FOUND";
95
- };
96
- /**
97
- * @public
98
- */
99
- export type ReportingErrorCode = (typeof ReportingErrorCode)[keyof typeof ReportingErrorCode];
100
- /**
101
- * @public
102
- */
103
- export interface GetFindingsReportStatusResponse {
104
- /**
105
- * <p>The ID of the report.</p>
106
- * @public
107
- */
108
- reportId?: string | undefined;
109
- /**
110
- * <p>The status of the report.</p>
111
- * @public
112
- */
113
- status?: ExternalReportStatus | undefined;
114
- /**
115
- * <p>The error code of the report.</p>
116
- * @public
117
- */
118
- errorCode?: ReportingErrorCode | undefined;
119
- /**
120
- * <p>The error message of the report.</p>
121
- * @public
122
- */
123
- errorMessage?: string | undefined;
124
- /**
125
- * <p>The destination of the report.</p>
126
- * @public
127
- */
128
- destination?: Destination | undefined;
129
- /**
130
- * <p>The filter criteria associated with the report.</p>
131
- * @public
132
- */
133
- filterCriteria?: FilterCriteria | undefined;
134
- }
135
- /**
136
- * @public
137
- */
138
- export interface GetMemberRequest {
139
- /**
140
- * <p>The Amazon Web Services account ID of the member account to retrieve information on.</p>
141
- * @public
142
- */
143
- accountId: string | undefined;
144
- }
145
- /**
146
- * <p>Details on a member account in your organization.</p>
147
- * @public
148
- */
149
- export interface Member {
150
- /**
151
- * <p>The Amazon Web Services account ID of the member account.</p>
152
- * @public
153
- */
154
- accountId?: string | undefined;
155
- /**
156
- * <p>The status of the member account.</p>
157
- * @public
158
- */
159
- relationshipStatus?: RelationshipStatus | undefined;
160
- /**
161
- * <p>The Amazon Web Services account ID of the Amazon Inspector delegated administrator for this member
162
- * account.</p>
163
- * @public
164
- */
165
- delegatedAdminAccountId?: string | undefined;
166
- /**
167
- * <p>A timestamp showing when the status of this member was last updated.</p>
168
- * @public
169
- */
170
- updatedAt?: Date | undefined;
171
- }
172
- /**
173
- * @public
174
- */
175
- export interface GetMemberResponse {
176
- /**
177
- * <p>Details of the retrieved member account.</p>
178
- * @public
179
- */
180
- member?: Member | undefined;
181
- }
182
- /**
183
- * @public
184
- */
185
- export interface GetSbomExportRequest {
186
- /**
187
- * <p>The report ID of the SBOM export to get details for.</p>
188
- * @public
189
- */
190
- reportId: string | undefined;
191
- }
192
- /**
193
- * @public
194
- */
195
- export interface GetSbomExportResponse {
196
- /**
197
- * <p>The report ID of the software bill of materials (SBOM) report.</p>
198
- * @public
199
- */
200
- reportId?: string | undefined;
201
- /**
202
- * <p>The format of the software bill of materials (SBOM) report.</p>
203
- * @public
204
- */
205
- format?: SbomReportFormat | undefined;
206
- /**
207
- * <p>The status of the software bill of materials (SBOM) report.</p>
208
- * @public
209
- */
210
- status?: ExternalReportStatus | undefined;
211
- /**
212
- * <p>An error code.</p>
213
- * @public
214
- */
215
- errorCode?: ReportingErrorCode | undefined;
216
- /**
217
- * <p>An error message.</p>
218
- * @public
219
- */
220
- errorMessage?: string | undefined;
221
- /**
222
- * <p>Contains details of the Amazon S3 bucket and KMS key used to export findings</p>
223
- * @public
224
- */
225
- s3Destination?: Destination | undefined;
226
- /**
227
- * <p>Contains details about the resource filter criteria used for the software bill of
228
- * materials (SBOM) report.</p>
229
- * @public
230
- */
231
- filterCriteria?: ResourceFilterCriteria | undefined;
232
- }
233
- /**
234
- * @public
235
- * @enum
236
- */
237
- export declare const Service: {
238
- readonly EC2: "EC2";
239
- readonly ECR: "ECR";
240
- readonly LAMBDA: "LAMBDA";
241
- };
242
- /**
243
- * @public
244
- */
245
- export type Service = (typeof Service)[keyof typeof Service];
246
- /**
247
- * @public
248
- */
249
- export interface ListAccountPermissionsRequest {
250
- /**
251
- * <p>The service scan type to check permissions for.</p>
252
- * @public
253
- */
254
- service?: Service | undefined;
255
- /**
256
- * <p>The maximum number of results the response can return. If your request would return more
257
- * than the maximum the response will return a <code>nextToken</code> value, use this value
258
- * when you call the action again to get the remaining results.</p>
259
- * @public
260
- */
261
- maxResults?: number | undefined;
262
- /**
263
- * <p>A token to use for paginating results that are returned in the response. Set the value
264
- * of this parameter to null for the first request to a list action. If your response returns
265
- * more than the <code>maxResults</code> maximum value it will also return a
266
- * <code>nextToken</code> value. For subsequent calls, use the NextToken value returned
267
- * from the previous request to continue listing results after the first page.</p>
268
- * @public
269
- */
270
- nextToken?: string | undefined;
271
- }
272
- /**
273
- * @public
274
- * @enum
275
- */
276
- export declare const Operation: {
277
- readonly DISABLE_REPOSITORY: "DISABLE_REPOSITORY";
278
- readonly DISABLE_SCANNING: "DISABLE_SCANNING";
279
- readonly ENABLE_REPOSITORY: "ENABLE_REPOSITORY";
280
- readonly ENABLE_SCANNING: "ENABLE_SCANNING";
281
- };
282
- /**
283
- * @public
284
- */
285
- export type Operation = (typeof Operation)[keyof typeof Operation];
286
- /**
287
- * <p>Contains information on the permissions an account has within Amazon Inspector.</p>
288
- * @public
289
- */
290
- export interface Permission {
291
- /**
292
- * <p>The services that the permissions allow an account to perform the given operations
293
- * for.</p>
294
- * @public
295
- */
296
- service: Service | undefined;
297
- /**
298
- * <p>The operations that can be performed with the given permissions.</p>
299
- * @public
300
- */
301
- operation: Operation | undefined;
302
- }
303
- /**
304
- * @public
305
- */
306
- export interface ListAccountPermissionsResponse {
307
- /**
308
- * <p>Contains details on the permissions an account has to configure Amazon Inspector.</p>
309
- * @public
310
- */
311
- permissions: Permission[] | undefined;
312
- /**
313
- * <p>A token to use for paginating results that are returned in the response. Set the value
314
- * of this parameter to null for the first request to a list action. For subsequent calls, use
315
- * the <code>NextToken</code> value returned from the previous request to continue listing
316
- * results after the first page.</p>
317
- * @public
318
- */
319
- nextToken?: string | undefined;
320
- }
321
- /**
322
- * <p>A list of CIS scan configurations filter criteria.</p>
323
- * @public
324
- */
325
- export interface ListCisScanConfigurationsFilterCriteria {
326
- /**
327
- * <p>The list of scan name filters.</p>
328
- * @public
329
- */
330
- scanNameFilters?: CisStringFilter[] | undefined;
331
- /**
332
- * <p>The list of target resource tag filters.</p>
333
- * @public
334
- */
335
- targetResourceTagFilters?: TagFilter[] | undefined;
336
- /**
337
- * <p>The list of scan configuration ARN filters.</p>
338
- * @public
339
- */
340
- scanConfigurationArnFilters?: CisStringFilter[] | undefined;
341
- }
342
- /**
343
- * @public
344
- */
345
- export interface ListCisScanConfigurationsRequest {
346
- /**
347
- * <p>The CIS scan configuration filter criteria.</p>
348
- * @public
349
- */
350
- filterCriteria?: ListCisScanConfigurationsFilterCriteria | undefined;
351
- /**
352
- * <p>The CIS scan configuration sort by order.</p>
353
- * @public
354
- */
355
- sortBy?: CisScanConfigurationsSortBy | undefined;
356
- /**
357
- * <p>The CIS scan configuration sort order order.</p>
358
- * @public
359
- */
360
- sortOrder?: CisSortOrder | undefined;
361
- /**
362
- * <p>The pagination token from a previous request that's used to retrieve the next page of
363
- * results.</p>
364
- * @public
365
- */
366
- nextToken?: string | undefined;
367
- /**
368
- * <p>The maximum number of CIS scan configurations to be returned in a single page of
369
- * results.</p>
370
- * @public
371
- */
372
- maxResults?: number | undefined;
373
- }
374
- /**
375
- * @public
376
- */
377
- export interface ListCisScanConfigurationsResponse {
378
- /**
379
- * <p>The CIS scan configuration scan configurations.</p>
380
- * @public
381
- */
382
- scanConfigurations?: CisScanConfiguration[] | undefined;
383
- /**
384
- * <p>The pagination token from a previous request that's used to retrieve the next page of
385
- * results.</p>
386
- * @public
387
- */
388
- nextToken?: string | undefined;
389
- }
390
- /**
391
- * @public
392
- */
393
- export interface ListCisScanResultsAggregatedByChecksRequest {
394
- /**
395
- * <p>The scan ARN.</p>
396
- * @public
397
- */
398
- scanArn: string | undefined;
399
- /**
400
- * <p>The filter criteria.</p>
401
- * @public
402
- */
403
- filterCriteria?: CisScanResultsAggregatedByChecksFilterCriteria | undefined;
404
- /**
405
- * <p>The sort by order.</p>
406
- * @public
407
- */
408
- sortBy?: CisScanResultsAggregatedByChecksSortBy | undefined;
409
- /**
410
- * <p>The sort order.</p>
411
- * @public
412
- */
413
- sortOrder?: CisSortOrder | undefined;
414
- /**
415
- * <p>The pagination token from a previous request that's used to retrieve the next page of
416
- * results.</p>
417
- * @public
418
- */
419
- nextToken?: string | undefined;
420
- /**
421
- * <p>The maximum number of scan results aggregated by checks to be returned in a single page
422
- * of results.</p>
423
- * @public
424
- */
425
- maxResults?: number | undefined;
426
- }
427
- /**
428
- * @public
429
- */
430
- export interface ListCisScanResultsAggregatedByChecksResponse {
431
- /**
432
- * <p>The check aggregations.</p>
433
- * @public
434
- */
435
- checkAggregations?: CisCheckAggregation[] | undefined;
436
- /**
437
- * <p>The pagination token from a previous request that's used to retrieve the next page of
438
- * results.</p>
439
- * @public
440
- */
441
- nextToken?: string | undefined;
442
- }
443
- /**
444
- * @public
445
- */
446
- export interface ListCisScanResultsAggregatedByTargetResourceRequest {
447
- /**
448
- * <p>The scan ARN.</p>
449
- * @public
450
- */
451
- scanArn: string | undefined;
452
- /**
453
- * <p>The filter criteria.</p>
454
- * @public
455
- */
456
- filterCriteria?: CisScanResultsAggregatedByTargetResourceFilterCriteria | undefined;
457
- /**
458
- * <p>The sort by order.</p>
459
- * @public
460
- */
461
- sortBy?: CisScanResultsAggregatedByTargetResourceSortBy | undefined;
462
- /**
463
- * <p>The sort order.</p>
464
- * @public
465
- */
466
- sortOrder?: CisSortOrder | undefined;
467
- /**
468
- * <p>The pagination token from a previous request that's used to retrieve the next page of
469
- * results.</p>
470
- * @public
471
- */
472
- nextToken?: string | undefined;
473
- /**
474
- * <p>The maximum number of scan results aggregated by a target resource to be returned in a
475
- * single page of results.</p>
476
- * @public
477
- */
478
- maxResults?: number | undefined;
479
- }
480
- /**
481
- * @public
482
- */
483
- export interface ListCisScanResultsAggregatedByTargetResourceResponse {
484
- /**
485
- * <p>The resource aggregations.</p>
486
- * @public
487
- */
488
- targetResourceAggregations?: CisTargetResourceAggregation[] | undefined;
489
- /**
490
- * <p>The pagination token from a previous request that's used to retrieve the next page of
491
- * results.</p>
492
- * @public
493
- */
494
- nextToken?: string | undefined;
495
- }
496
- /**
497
- * <p>A list of CIS scans filter criteria.</p>
498
- * @public
499
- */
500
- export interface ListCisScansFilterCriteria {
501
- /**
502
- * <p>The list of scan name filters.</p>
503
- * @public
504
- */
505
- scanNameFilters?: CisStringFilter[] | undefined;
506
- /**
507
- * <p>The list of target resource tag filters.</p>
508
- * @public
509
- */
510
- targetResourceTagFilters?: TagFilter[] | undefined;
511
- /**
512
- * <p>The list of target resource ID filters.</p>
513
- * @public
514
- */
515
- targetResourceIdFilters?: CisStringFilter[] | undefined;
516
- /**
517
- * <p>The list of scan status filters.</p>
518
- * @public
519
- */
520
- scanStatusFilters?: CisScanStatusFilter[] | undefined;
521
- /**
522
- * <p>The list of scan at filters.</p>
523
- * @public
524
- */
525
- scanAtFilters?: CisDateFilter[] | undefined;
526
- /**
527
- * <p>The list of scan configuration ARN filters.</p>
528
- * @public
529
- */
530
- scanConfigurationArnFilters?: CisStringFilter[] | undefined;
531
- /**
532
- * <p>The list of scan ARN filters.</p>
533
- * @public
534
- */
535
- scanArnFilters?: CisStringFilter[] | undefined;
536
- /**
537
- * <p>The list of scheduled by filters.</p>
538
- * @public
539
- */
540
- scheduledByFilters?: CisStringFilter[] | undefined;
541
- /**
542
- * <p>The list of failed checks filters.</p>
543
- * @public
544
- */
545
- failedChecksFilters?: CisNumberFilter[] | undefined;
546
- /**
547
- * <p>The list of target account ID filters.</p>
548
- * @public
549
- */
550
- targetAccountIdFilters?: CisStringFilter[] | undefined;
551
- }
552
- /**
553
- * @public
554
- */
555
- export interface ListCisScansRequest {
556
- /**
557
- * <p>The CIS scan filter criteria.</p>
558
- * @public
559
- */
560
- filterCriteria?: ListCisScansFilterCriteria | undefined;
561
- /**
562
- * <p>The detail applied to the CIS scan.</p>
563
- * @public
564
- */
565
- detailLevel?: ListCisScansDetailLevel | undefined;
566
- /**
567
- * <p>The CIS scans sort by order.</p>
568
- * @public
569
- */
570
- sortBy?: ListCisScansSortBy | undefined;
571
- /**
572
- * <p>The CIS scans sort order.</p>
573
- * @public
574
- */
575
- sortOrder?: CisSortOrder | undefined;
576
- /**
577
- * <p>The pagination token from a previous request that's used to retrieve the next page of
578
- * results.</p>
579
- * @public
580
- */
581
- nextToken?: string | undefined;
582
- /**
583
- * <p>The maximum number of results to be returned.</p>
584
- * @public
585
- */
586
- maxResults?: number | undefined;
587
- }
588
- /**
589
- * @public
590
- */
591
- export interface ListCisScansResponse {
592
- /**
593
- * <p>The CIS scans.</p>
594
- * @public
595
- */
596
- scans?: CisScan[] | undefined;
597
- /**
598
- * <p>The pagination token from a previous request that's used to retrieve the next page of
599
- * results.</p>
600
- * @public
601
- */
602
- nextToken?: string | undefined;
603
- }
604
- /**
605
- * @public
606
- */
607
- export interface ListCodeSecurityIntegrationsRequest {
608
- /**
609
- * <p>A token to use for paginating results that are returned in the response. Set the value
610
- * of this parameter to null for the first request. For subsequent calls, use the NextToken
611
- * value returned from the previous request to continue listing results after the first
612
- * page.</p>
613
- * @public
614
- */
615
- nextToken?: string | undefined;
616
- /**
617
- * <p>The maximum number of results to return in a single call.</p>
618
- * @public
619
- */
620
- maxResults?: number | undefined;
621
- }
622
- /**
623
- * @public
624
- */
625
- export interface ListCodeSecurityIntegrationsResponse {
626
- /**
627
- * <p>A list of code security integration summaries.</p>
628
- * @public
629
- */
630
- integrations?: CodeSecurityIntegrationSummary[] | undefined;
631
- /**
632
- * <p>A token to use for paginating results that are returned in the response. Set the value
633
- * of this parameter to null for the first request. For subsequent calls, use the NextToken
634
- * value returned from the previous request to continue listing results after the first
635
- * page.</p>
636
- * @public
637
- */
638
- nextToken?: string | undefined;
639
- }
640
- /**
641
- * @public
642
- */
643
- export interface ListCodeSecurityScanConfigurationAssociationsRequest {
644
- /**
645
- * <p>The Amazon Resource Name (ARN) of the scan configuration to list associations
646
- * for.</p>
647
- * @public
648
- */
649
- scanConfigurationArn: string | undefined;
650
- /**
651
- * <p>A token to use for paginating results that are returned in the response. Set the value
652
- * of this parameter to null for the first request to a list action. For subsequent calls, use
653
- * the <code>NextToken</code> value returned from the previous request to continue listing
654
- * results after the first page.</p>
655
- * @public
656
- */
657
- nextToken?: string | undefined;
658
- /**
659
- * <p>The maximum number of results to return in the response. If your request would return
660
- * more than the maximum the response will return a <code>nextToken</code> value, use this
661
- * value when you call the action again to get the remaining results.</p>
662
- * @public
663
- */
664
- maxResults?: number | undefined;
665
- }
666
- /**
667
- * @public
668
- */
669
- export interface ListCodeSecurityScanConfigurationAssociationsResponse {
670
- /**
671
- * <p>A list of associations between code repositories and scan configurations.</p>
672
- * @public
673
- */
674
- associations?: CodeSecurityScanConfigurationAssociationSummary[] | undefined;
675
- /**
676
- * <p>A token to use for paginating results that are returned in the response. Set the value
677
- * of this parameter to null for the first request to a list action. For subsequent calls, use
678
- * the <code>NextToken</code> value returned from the previous request to continue listing
679
- * results after the first page.</p>
680
- * @public
681
- */
682
- nextToken?: string | undefined;
683
- }
684
- /**
685
- * @public
686
- */
687
- export interface ListCodeSecurityScanConfigurationsRequest {
688
- /**
689
- * <p>A token to use for paginating results that are returned in the response. Set the value
690
- * of this parameter to null for the first request. For subsequent calls, use the NextToken
691
- * value returned from the previous request to continue listing results after the first
692
- * page.</p>
693
- * @public
694
- */
695
- nextToken?: string | undefined;
696
- /**
697
- * <p>The maximum number of results to return in a single call.</p>
698
- * @public
699
- */
700
- maxResults?: number | undefined;
701
- }
702
- /**
703
- * @public
704
- */
705
- export interface ListCodeSecurityScanConfigurationsResponse {
706
- /**
707
- * <p>A list of code security scan configuration summaries.</p>
708
- * @public
709
- */
710
- configurations?: CodeSecurityScanConfigurationSummary[] | undefined;
711
- /**
712
- * <p>A token to use for paginating results that are returned in the response. Set the value
713
- * of this parameter to null for the first request. For subsequent calls, use the NextToken
714
- * value returned from the previous request to continue listing results after the first
715
- * page.</p>
716
- * @public
717
- */
718
- nextToken?: string | undefined;
719
- }
720
- /**
721
- * @public
722
- */
723
- export interface ListCoverageRequest {
724
- /**
725
- * <p>The maximum number of results the response can return. If your request would return more
726
- * than the maximum the response will return a <code>nextToken</code> value, use this value
727
- * when you call the action again to get the remaining results.</p>
728
- * @public
729
- */
730
- maxResults?: number | undefined;
731
- /**
732
- * <p>A token to use for paginating results that are returned in the response. Set the value
733
- * of this parameter to null for the first request to a list action. If your response returns
734
- * more than the <code>maxResults</code> maximum value it will also return a
735
- * <code>nextToken</code> value. For subsequent calls, use the <code>nextToken</code> value
736
- * returned from the previous request to continue listing results after the first page.</p>
737
- * @public
738
- */
739
- nextToken?: string | undefined;
740
- /**
741
- * <p>An object that contains details on the filters to apply to the coverage data for your
742
- * environment.</p>
743
- * @public
744
- */
745
- filterCriteria?: CoverageFilterCriteria | undefined;
746
- }
747
- /**
748
- * @public
749
- */
750
- export interface ListCoverageResponse {
751
- /**
752
- * <p>A token to use for paginating results that are returned in the response. Set the value
753
- * of this parameter to null for the first request to a list action. For subsequent calls, use
754
- * the <code>NextToken</code> value returned from the previous request to continue listing
755
- * results after the first page.</p>
756
- * @public
757
- */
758
- nextToken?: string | undefined;
759
- /**
760
- * <p>An object that contains details on the covered resources in your environment.</p>
761
- * @public
762
- */
763
- coveredResources?: CoveredResource[] | undefined;
764
- }
765
- /**
766
- * @public
767
- */
768
- export interface ListCoverageStatisticsRequest {
769
- /**
770
- * <p>An object that contains details on the filters to apply to the coverage data for your
771
- * environment.</p>
772
- * @public
773
- */
774
- filterCriteria?: CoverageFilterCriteria | undefined;
775
- /**
776
- * <p>The value to group the results by.</p>
777
- * @public
778
- */
779
- groupBy?: GroupKey | undefined;
780
- /**
781
- * <p>A token to use for paginating results that are returned in the response. Set the value
782
- * of this parameter to null for the first request to a list action. For subsequent calls, use
783
- * the <code>NextToken</code> value returned from the previous request to continue listing
784
- * results after the first page.</p>
785
- * @public
786
- */
787
- nextToken?: string | undefined;
788
- }
789
- /**
790
- * @public
791
- */
792
- export interface ListCoverageStatisticsResponse {
793
- /**
794
- * <p>An array with the number for each group.</p>
795
- * @public
796
- */
797
- countsByGroup?: Counts[] | undefined;
798
- /**
799
- * <p>The total number for all groups.</p>
800
- * @public
801
- */
802
- totalCounts: number | undefined;
803
- /**
804
- * <p>A token to use for paginating results that are returned in the response. Set the value
805
- * of this parameter to null for the first request to a list action. For subsequent calls, use
806
- * the <code>NextToken</code> value returned from the previous request to continue listing
807
- * results after the first page.</p>
808
- * @public
809
- */
810
- nextToken?: string | undefined;
811
- }
812
- /**
813
- * @public
814
- */
815
- export interface ListDelegatedAdminAccountsRequest {
816
- /**
817
- * <p>The maximum number of results the response can return. If your request would return more
818
- * than the maximum the response will return a <code>nextToken</code> value, use this value
819
- * when you call the action again to get the remaining results.</p>
820
- * @public
821
- */
822
- maxResults?: number | undefined;
823
- /**
824
- * <p>A token to use for paginating results that are returned in the response. Set the value
825
- * of this parameter to null for the first request to a list action. If your response returns
826
- * more than the <code>maxResults</code> maximum value it will also return a
827
- * <code>nextToken</code> value. For subsequent calls, use the <code>nextToken</code> value
828
- * returned from the previous request to continue listing results after the first page.</p>
829
- * @public
830
- */
831
- nextToken?: string | undefined;
832
- }
833
- /**
834
- * @public
835
- */
836
- export interface ListDelegatedAdminAccountsResponse {
837
- /**
838
- * <p>Details of the Amazon Inspector delegated administrator of your organization.</p>
839
- * @public
840
- */
841
- delegatedAdminAccounts?: DelegatedAdminAccount[] | undefined;
842
- /**
843
- * <p>A token to use for paginating results that are returned in the response. Set the value
844
- * of this parameter to null for the first request to a list action. For subsequent calls, use
845
- * the <code>NextToken</code> value returned from the previous request to continue listing
846
- * results after the first page.</p>
847
- * @public
848
- */
849
- nextToken?: string | undefined;
850
- }
851
- /**
852
- * @public
853
- */
854
- export interface ListFiltersRequest {
855
- /**
856
- * <p>The Amazon resource number (ARN) of the filter.</p>
857
- * @public
858
- */
859
- arns?: string[] | undefined;
860
- /**
861
- * <p>The action the filter applies to matched findings.</p>
862
- * @public
863
- */
864
- action?: FilterAction | undefined;
865
- /**
866
- * <p>A token to use for paginating results that are returned in the response. Set the value
867
- * of this parameter to null for the first request to a list action. If your response returns
868
- * more than the <code>maxResults</code> maximum value it will also return a
869
- * <code>nextToken</code> value. For subsequent calls, use the <code>nextToken</code> value
870
- * returned from the previous request to continue listing results after the first page.</p>
871
- * @public
872
- */
873
- nextToken?: string | undefined;
874
- /**
875
- * <p>The maximum number of results the response can return. If your request would return more
876
- * than the maximum the response will return a <code>nextToken</code> value, use this value
877
- * when you call the action again to get the remaining results.</p>
878
- * @public
879
- */
880
- maxResults?: number | undefined;
881
- }
882
- /**
883
- * @public
884
- */
885
- export interface ListFiltersResponse {
886
- /**
887
- * <p>Contains details on the filters associated with your account.</p>
888
- * @public
889
- */
890
- filters: Filter[] | undefined;
891
- /**
892
- * <p>A token to use for paginating results that are returned in the response. Set the value
893
- * of this parameter to null for the first request to a list action. For subsequent calls, use
894
- * the <code>NextToken</code> value returned from the previous request to continue listing
895
- * results after the first page.</p>
896
- * @public
897
- */
898
- nextToken?: string | undefined;
899
- }
900
- /**
901
- * @public
902
- */
903
- export interface ListFindingAggregationsRequest {
904
- /**
905
- * <p>The type of the aggregation request.</p>
906
- * @public
907
- */
908
- aggregationType: AggregationType | undefined;
909
- /**
910
- * <p>A token to use for paginating results that are returned in the response. Set the value
911
- * of this parameter to null for the first request to a list action. If your response returns
912
- * more than the <code>maxResults</code> maximum value it will also return a
913
- * <code>nextToken</code> value. For subsequent calls, use the <code>nextToken</code> value
914
- * returned from the previous request to continue listing results after the first page.</p>
915
- * @public
916
- */
917
- nextToken?: string | undefined;
918
- /**
919
- * <p>The maximum number of results the response can return. If your request would return more
920
- * than the maximum the response will return a <code>nextToken</code> value, use this value
921
- * when you call the action again to get the remaining results.</p>
922
- * @public
923
- */
924
- maxResults?: number | undefined;
925
- /**
926
- * <p>The Amazon Web Services account IDs to retrieve finding aggregation data for.</p>
927
- * @public
928
- */
929
- accountIds?: StringFilter[] | undefined;
930
- /**
931
- * <p>Details of the aggregation request that is used to filter your aggregation
932
- * results.</p>
933
- * @public
934
- */
935
- aggregationRequest?: AggregationRequest | undefined;
936
- }
937
- /**
938
- * @public
939
- */
940
- export interface ListFindingAggregationsResponse {
941
- /**
942
- * <p>The type of aggregation to perform.</p>
943
- * @public
944
- */
945
- aggregationType: AggregationType | undefined;
946
- /**
947
- * <p>Objects that contain the results of an aggregation operation.</p>
948
- * @public
949
- */
950
- responses?: AggregationResponse[] | undefined;
951
- /**
952
- * <p>A token to use for paginating results that are returned in the response. Set the value
953
- * of this parameter to null for the first request to a list action. For subsequent calls, use
954
- * the <code>NextToken</code> value returned from the previous request to continue listing
955
- * results after the first page.</p>
956
- * @public
957
- */
958
- nextToken?: string | undefined;
959
- }
960
- /**
961
- * @public
962
- * @enum
963
- */
964
- export declare const SortField: {
965
- readonly AWS_ACCOUNT_ID: "AWS_ACCOUNT_ID";
966
- readonly COMPONENT_TYPE: "COMPONENT_TYPE";
967
- readonly ECR_IMAGE_PUSHED_AT: "ECR_IMAGE_PUSHED_AT";
968
- readonly ECR_IMAGE_REGISTRY: "ECR_IMAGE_REGISTRY";
969
- readonly ECR_IMAGE_REPOSITORY_NAME: "ECR_IMAGE_REPOSITORY_NAME";
970
- readonly EPSS_SCORE: "EPSS_SCORE";
971
- readonly FINDING_STATUS: "FINDING_STATUS";
972
- readonly FINDING_TYPE: "FINDING_TYPE";
973
- readonly FIRST_OBSERVED_AT: "FIRST_OBSERVED_AT";
974
- readonly INSPECTOR_SCORE: "INSPECTOR_SCORE";
975
- readonly LAST_OBSERVED_AT: "LAST_OBSERVED_AT";
976
- readonly NETWORK_PROTOCOL: "NETWORK_PROTOCOL";
977
- readonly RESOURCE_TYPE: "RESOURCE_TYPE";
978
- readonly SEVERITY: "SEVERITY";
979
- readonly VENDOR_SEVERITY: "VENDOR_SEVERITY";
980
- readonly VULNERABILITY_ID: "VULNERABILITY_ID";
981
- readonly VULNERABILITY_SOURCE: "VULNERABILITY_SOURCE";
982
- };
983
- /**
984
- * @public
985
- */
986
- export type SortField = (typeof SortField)[keyof typeof SortField];
987
- /**
988
- * <p>Details about the criteria used to sort finding results.</p>
989
- * @public
990
- */
991
- export interface SortCriteria {
992
- /**
993
- * <p>The finding detail field by which results are sorted.</p>
994
- * @public
995
- */
996
- field: SortField | undefined;
997
- /**
998
- * <p>The order by which findings are sorted.</p>
999
- * @public
1000
- */
1001
- sortOrder: SortOrder | undefined;
1002
- }
1003
- /**
1004
- * @public
1005
- */
1006
- export interface ListFindingsRequest {
1007
- /**
1008
- * <p>The maximum number of results the response can return. If your request would return more
1009
- * than the maximum the response will return a <code>nextToken</code> value, use this value
1010
- * when you call the action again to get the remaining results.</p>
1011
- * @public
1012
- */
1013
- maxResults?: number | undefined;
1014
- /**
1015
- * <p>A token to use for paginating results that are returned in the response. Set the value
1016
- * of this parameter to null for the first request to a list action. If your response returns
1017
- * more than the <code>maxResults</code> maximum value it will also return a
1018
- * <code>nextToken</code> value. For subsequent calls, use the <code>nextToken</code> value
1019
- * returned from the previous request to continue listing results after the first page.</p>
1020
- * @public
1021
- */
1022
- nextToken?: string | undefined;
1023
- /**
1024
- * <p>Details on the filters to apply to your finding results.</p>
1025
- * @public
1026
- */
1027
- filterCriteria?: FilterCriteria | undefined;
1028
- /**
1029
- * <p>Details on the sort criteria to apply to your finding results.</p>
1030
- * @public
1031
- */
1032
- sortCriteria?: SortCriteria | undefined;
1033
- }
1034
- /**
1035
- * @public
1036
- */
1037
- export interface ListFindingsResponse {
1038
- /**
1039
- * <p>A token to use for paginating results that are returned in the response. Set the value
1040
- * of this parameter to null for the first request to a list action. For subsequent calls, use
1041
- * the <code>NextToken</code> value returned from the previous request to continue listing
1042
- * results after the first page.</p>
1043
- * @public
1044
- */
1045
- nextToken?: string | undefined;
1046
- /**
1047
- * <p>Contains details on the findings in your environment.</p>
1048
- * @public
1049
- */
1050
- findings?: Finding[] | undefined;
1051
- }
1052
- /**
1053
- * @public
1054
- */
1055
- export interface ListMembersRequest {
1056
- /**
1057
- * <p>Specifies whether to list only currently associated members if <code>True</code> or to
1058
- * list all members within the organization if <code>False</code>.</p>
1059
- * @public
1060
- */
1061
- onlyAssociated?: boolean | undefined;
1062
- /**
1063
- * <p>The maximum number of results the response can return. If your request would return more
1064
- * than the maximum the response will return a <code>nextToken</code> value, use this value
1065
- * when you call the action again to get the remaining results.</p>
1066
- * @public
1067
- */
1068
- maxResults?: number | undefined;
1069
- /**
1070
- * <p>A token to use for paginating results that are returned in the response. Set the value
1071
- * of this parameter to null for the first request to a list action. If your response returns
1072
- * more than the <code>maxResults</code> maximum value it will also return a
1073
- * <code>nextToken</code> value. For subsequent calls, use the <code>nextToken</code> value
1074
- * returned from the previous request to continue listing results after the first page.</p>
1075
- * @public
1076
- */
1077
- nextToken?: string | undefined;
1078
- }
1079
- /**
1080
- * @public
1081
- */
1082
- export interface ListMembersResponse {
1083
- /**
1084
- * <p>An object that contains details for each member account.</p>
1085
- * @public
1086
- */
1087
- members?: Member[] | undefined;
1088
- /**
1089
- * <p>The pagination parameter to be used on the next list operation to retrieve more
1090
- * items.</p>
1091
- * @public
1092
- */
1093
- nextToken?: string | undefined;
1094
- }
1095
- /**
1096
- * @public
1097
- */
1098
- export interface ListTagsForResourceRequest {
1099
- /**
1100
- * <p>The Amazon resource number (ARN) of the resource to list tags of.</p>
1101
- * @public
1102
- */
1103
- resourceArn: string | undefined;
1104
- }
1105
- /**
1106
- * @public
1107
- */
1108
- export interface ListTagsForResourceResponse {
1109
- /**
1110
- * <p>The tags associated with the resource.</p>
1111
- * @public
1112
- */
1113
- tags?: Record<string, string> | undefined;
1114
- }
1115
- /**
1116
- * @public
1117
- */
1118
- export interface ListUsageTotalsRequest {
1119
- /**
1120
- * <p>The maximum number of results the response can return. If your request would return more
1121
- * than the maximum the response will return a <code>nextToken</code> value, use this value
1122
- * when you call the action again to get the remaining results.</p>
1123
- * @public
1124
- */
1125
- maxResults?: number | undefined;
1126
- /**
1127
- * <p>A token to use for paginating results that are returned in the response. Set the value
1128
- * of this parameter to null for the first request to a list action. If your response returns
1129
- * more than the <code>maxResults</code> maximum value it will also return a
1130
- * <code>nextToken</code> value. For subsequent calls, use the <code>nextToken</code> value
1131
- * returned from the previous request to continue listing results after the first page.</p>
1132
- * @public
1133
- */
1134
- nextToken?: string | undefined;
1135
- /**
1136
- * <p>The Amazon Web Services account IDs to retrieve usage totals for.</p>
1137
- * @public
1138
- */
1139
- accountIds?: string[] | undefined;
1140
- }
1141
- /**
1142
- * @public
1143
- * @enum
1144
- */
1145
- export declare const UsageType: {
1146
- readonly CODE_REPOSITORY_IAC: "CODE_REPOSITORY_IAC";
1147
- readonly CODE_REPOSITORY_SAST: "CODE_REPOSITORY_SAST";
1148
- readonly CODE_REPOSITORY_SCA: "CODE_REPOSITORY_SCA";
1149
- readonly EC2_AGENTLESS_INSTANCE_HOURS: "EC2_AGENTLESS_INSTANCE_HOURS";
1150
- readonly EC2_INSTANCE_HOURS: "EC2_INSTANCE_HOURS";
1151
- readonly ECR_INITIAL_SCAN: "ECR_INITIAL_SCAN";
1152
- readonly ECR_RESCAN: "ECR_RESCAN";
1153
- readonly LAMBDA_FUNCTION_CODE_HOURS: "LAMBDA_FUNCTION_CODE_HOURS";
1154
- readonly LAMBDA_FUNCTION_HOURS: "LAMBDA_FUNCTION_HOURS";
1155
- };
1156
- /**
1157
- * @public
1158
- */
1159
- export type UsageType = (typeof UsageType)[keyof typeof UsageType];
1160
- /**
1161
- * <p>Contains usage information about the cost of Amazon Inspector operation.</p>
1162
- * @public
1163
- */
1164
- export interface Usage {
1165
- /**
1166
- * <p>The type scan.</p>
1167
- * @public
1168
- */
1169
- type?: UsageType | undefined;
1170
- /**
1171
- * <p>The total of usage.</p>
1172
- * @public
1173
- */
1174
- total?: number | undefined;
1175
- /**
1176
- * <p>The estimated monthly cost of Amazon Inspector.</p>
1177
- * @public
1178
- */
1179
- estimatedMonthlyCost?: number | undefined;
1180
- /**
1181
- * <p>The currency type used when calculating usage data.</p>
1182
- * @public
1183
- */
1184
- currency?: Currency | undefined;
1185
- }
1186
- /**
1187
- * <p>The total of usage for an account ID.</p>
1188
- * @public
1189
- */
1190
- export interface UsageTotal {
1191
- /**
1192
- * <p>The account ID of the account that usage data was retrieved for.</p>
1193
- * @public
1194
- */
1195
- accountId?: string | undefined;
1196
- /**
1197
- * <p>An object representing the total usage for an account.</p>
1198
- * @public
1199
- */
1200
- usage?: Usage[] | undefined;
1201
- }
1202
- /**
1203
- * @public
1204
- */
1205
- export interface ListUsageTotalsResponse {
1206
- /**
1207
- * <p>The pagination parameter to be used on the next list operation to retrieve more
1208
- * items.</p>
1209
- * @public
1210
- */
1211
- nextToken?: string | undefined;
1212
- /**
1213
- * <p>An object with details on the total usage for the requested account.</p>
1214
- * @public
1215
- */
1216
- totals?: UsageTotal[] | undefined;
1217
- }
1218
- /**
1219
- * @public
1220
- */
1221
- export interface ResetEncryptionKeyRequest {
1222
- /**
1223
- * <p>The scan type the key encrypts.</p>
1224
- * @public
1225
- */
1226
- scanType: ScanType | undefined;
1227
- /**
1228
- * <p>The resource type the key encrypts.</p>
1229
- * @public
1230
- */
1231
- resourceType: ResourceType | undefined;
1232
- }
1233
- /**
1234
- * @public
1235
- */
1236
- export interface ResetEncryptionKeyResponse {
1237
- }
1238
- /**
1239
- * <p>Details on the criteria used to define the filter for a vulnerability search. </p>
1240
- * @public
1241
- */
1242
- export interface SearchVulnerabilitiesFilterCriteria {
1243
- /**
1244
- * <p>The IDs for specific vulnerabilities.</p>
1245
- * @public
1246
- */
1247
- vulnerabilityIds: string[] | undefined;
1248
- }
1249
- /**
1250
- * @public
1251
- */
1252
- export interface SearchVulnerabilitiesRequest {
1253
- /**
1254
- * <p>The criteria used to filter the results of a vulnerability search.</p>
1255
- * @public
1256
- */
1257
- filterCriteria: SearchVulnerabilitiesFilterCriteria | undefined;
1258
- /**
1259
- * <p>A token to use for paginating results that are returned in the response. Set the value
1260
- * of this parameter to null for the first request to a list action. For subsequent calls, use
1261
- * the <code>NextToken</code> value returned from the previous request to continue listing
1262
- * results after the first page.</p>
1263
- * @public
1264
- */
1265
- nextToken?: string | undefined;
1266
- }
1267
- /**
1268
- * @public
1269
- * @enum
1270
- */
1271
- export declare const VulnerabilitySource: {
1272
- readonly NVD: "NVD";
1273
- };
1274
- /**
1275
- * @public
1276
- */
1277
- export type VulnerabilitySource = (typeof VulnerabilitySource)[keyof typeof VulnerabilitySource];
1278
- /**
1279
- * <p>Contains details about a specific vulnerability Amazon Inspector can detect.</p>
1280
- * @public
1281
- */
1282
- export interface Vulnerability {
1283
- /**
1284
- * <p>The ID for the specific vulnerability.</p>
1285
- * @public
1286
- */
1287
- id: string | undefined;
1288
- /**
1289
- * <p>The Common Weakness Enumeration (CWE) associated with the vulnerability.</p>
1290
- * @public
1291
- */
1292
- cwes?: string[] | undefined;
1293
- /**
1294
- * <p>An object that contains the Cybersecurity and Infrastructure Security Agency (CISA)
1295
- * details for the vulnerability.</p>
1296
- * @public
1297
- */
1298
- cisaData?: CisaData | undefined;
1299
- /**
1300
- * <p>The source of the vulnerability information. Possible results are <code>RHEL</code>,
1301
- * <code>AMAZON_CVE</code>, <code>DEBIAN</code> or <code>NVD</code>.</p>
1302
- * @public
1303
- */
1304
- source?: VulnerabilitySource | undefined;
1305
- /**
1306
- * <p>A description of the vulnerability.</p>
1307
- * @public
1308
- */
1309
- description?: string | undefined;
1310
- /**
1311
- * <p>An object that contains information about the Amazon Web Services Threat Intel Group
1312
- * (ATIG) details for the vulnerability.</p>
1313
- * @public
1314
- */
1315
- atigData?: AtigData | undefined;
1316
- /**
1317
- * <p>The severity assigned by the vendor.</p>
1318
- * @public
1319
- */
1320
- vendorSeverity?: string | undefined;
1321
- /**
1322
- * <p>An object that contains the Common Vulnerability Scoring System (CVSS) Version 4 details for the vulnerability.</p>
1323
- * @public
1324
- */
1325
- cvss4?: Cvss4 | undefined;
1326
- /**
1327
- * <p>An object that contains the Common Vulnerability Scoring System (CVSS) Version 3 details
1328
- * for the vulnerability.</p>
1329
- * @public
1330
- */
1331
- cvss3?: Cvss3 | undefined;
1332
- /**
1333
- * <p>A list of related vulnerabilities.</p>
1334
- * @public
1335
- */
1336
- relatedVulnerabilities?: string[] | undefined;
1337
- /**
1338
- * <p>An object that contains the Common Vulnerability Scoring System (CVSS) Version 2 details
1339
- * for the vulnerability.</p>
1340
- * @public
1341
- */
1342
- cvss2?: Cvss2 | undefined;
1343
- /**
1344
- * <p>The date and time when the vendor created this vulnerability.</p>
1345
- * @public
1346
- */
1347
- vendorCreatedAt?: Date | undefined;
1348
- /**
1349
- * <p>The date and time when the vendor last updated this vulnerability.</p>
1350
- * @public
1351
- */
1352
- vendorUpdatedAt?: Date | undefined;
1353
- /**
1354
- * <p>A link to the official source material for this vulnerability.</p>
1355
- * @public
1356
- */
1357
- sourceUrl?: string | undefined;
1358
- /**
1359
- * <p>Links to various resources with more information on this vulnerability. </p>
1360
- * @public
1361
- */
1362
- referenceUrls?: string[] | undefined;
1363
- /**
1364
- * <p>An object that contains details on when the exploit was observed.</p>
1365
- * @public
1366
- */
1367
- exploitObserved?: ExploitObserved | undefined;
1368
- /**
1369
- * <p>Platforms that the vulnerability can be detected on.</p>
1370
- * @public
1371
- */
1372
- detectionPlatforms?: string[] | undefined;
1373
- /**
1374
- * <p>An object that contains the Exploit Prediction Scoring System (EPSS) score for a
1375
- * vulnerability.</p>
1376
- * @public
1377
- */
1378
- epss?: Epss | undefined;
1379
- }
1380
- /**
1381
- * @public
1382
- */
1383
- export interface SearchVulnerabilitiesResponse {
1384
- /**
1385
- * <p>Details about the listed vulnerability.</p>
1386
- * @public
1387
- */
1388
- vulnerabilities: Vulnerability[] | undefined;
1389
- /**
1390
- * <p>The pagination parameter to be used on the next list operation to retrieve more
1391
- * items.</p>
1392
- * @public
1393
- */
1394
- nextToken?: string | undefined;
1395
- }
1396
- /**
1397
- * @public
1398
- */
1399
- export interface SendCisSessionHealthRequest {
1400
- /**
1401
- * <p>A unique identifier for the scan job.</p>
1402
- * @public
1403
- */
1404
- scanJobId: string | undefined;
1405
- /**
1406
- * <p>The unique token that identifies the CIS session.</p>
1407
- * @public
1408
- */
1409
- sessionToken: string | undefined;
1410
- }
1411
- /**
1412
- * @public
1413
- */
1414
- export interface SendCisSessionHealthResponse {
1415
- }
1416
- /**
1417
- * @public
1418
- */
1419
- export interface SendCisSessionTelemetryRequest {
1420
- /**
1421
- * <p>A unique identifier for the scan job.</p>
1422
- * @public
1423
- */
1424
- scanJobId: string | undefined;
1425
- /**
1426
- * <p>The unique token that identifies the CIS session.</p>
1427
- * @public
1428
- */
1429
- sessionToken: string | undefined;
1430
- /**
1431
- * <p>The CIS session telemetry messages.</p>
1432
- * @public
1433
- */
1434
- messages: CisSessionMessage[] | undefined;
1435
- }
1436
- /**
1437
- * @public
1438
- */
1439
- export interface SendCisSessionTelemetryResponse {
1440
- }
1441
- /**
1442
- * <p>The start CIS session message.</p>
1443
- * @public
1444
- */
1445
- export interface StartCisSessionMessage {
1446
- /**
1447
- * <p>The unique token that identifies the CIS session.</p>
1448
- * @public
1449
- */
1450
- sessionToken: string | undefined;
1451
- }
1452
- /**
1453
- * @public
1454
- */
1455
- export interface StartCisSessionRequest {
1456
- /**
1457
- * <p>A unique identifier for the scan job.</p>
1458
- * @public
1459
- */
1460
- scanJobId: string | undefined;
1461
- /**
1462
- * <p>The start CIS session message.</p>
1463
- * @public
1464
- */
1465
- message: StartCisSessionMessage | undefined;
1466
- }
1
+ import { CisSecurityLevel, CodeScanStatus, Ec2DeepInspectionStatus, FilterAction, IntegrationStatus, ResourceType, ScanType, StopCisSessionStatus } from "./enums";
2
+ import { AutoEnable, CodeSecurityResource, CodeSecurityScanConfiguration, ComputePlatform, Ec2Configuration, EcrConfiguration, FilterCriteria, Schedule } from "./models_0";
1467
3
  /**
1468
4
  * @public
1469
5
  */