@aws-sdk/client-inspector2 3.168.0 → 3.170.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 (58) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-types/ts3.4/Inspector2.d.ts +586 -165
  3. package/dist-types/ts3.4/Inspector2Client.d.ts +321 -105
  4. package/dist-types/ts3.4/commands/AssociateMemberCommand.d.ts +37 -17
  5. package/dist-types/ts3.4/commands/BatchGetAccountStatusCommand.d.ts +41 -17
  6. package/dist-types/ts3.4/commands/BatchGetFreeTrialInfoCommand.d.ts +41 -17
  7. package/dist-types/ts3.4/commands/CancelFindingsReportCommand.d.ts +41 -17
  8. package/dist-types/ts3.4/commands/CreateFilterCommand.d.ts +34 -17
  9. package/dist-types/ts3.4/commands/CreateFindingsReportCommand.d.ts +41 -17
  10. package/dist-types/ts3.4/commands/DeleteFilterCommand.d.ts +34 -17
  11. package/dist-types/ts3.4/commands/DescribeOrganizationConfigurationCommand.d.ts +41 -17
  12. package/dist-types/ts3.4/commands/DisableCommand.d.ts +34 -17
  13. package/dist-types/ts3.4/commands/DisableDelegatedAdminAccountCommand.d.ts +41 -17
  14. package/dist-types/ts3.4/commands/DisassociateMemberCommand.d.ts +38 -17
  15. package/dist-types/ts3.4/commands/EnableCommand.d.ts +32 -17
  16. package/dist-types/ts3.4/commands/EnableDelegatedAdminAccountCommand.d.ts +41 -17
  17. package/dist-types/ts3.4/commands/GetConfigurationCommand.d.ts +37 -17
  18. package/dist-types/ts3.4/commands/GetDelegatedAdminAccountCommand.d.ts +41 -17
  19. package/dist-types/ts3.4/commands/GetFindingsReportStatusCommand.d.ts +41 -17
  20. package/dist-types/ts3.4/commands/GetMemberCommand.d.ts +34 -17
  21. package/dist-types/ts3.4/commands/ListAccountPermissionsCommand.d.ts +41 -17
  22. package/dist-types/ts3.4/commands/ListCoverageCommand.d.ts +34 -17
  23. package/dist-types/ts3.4/commands/ListCoverageStatisticsCommand.d.ts +41 -17
  24. package/dist-types/ts3.4/commands/ListDelegatedAdminAccountsCommand.d.ts +41 -17
  25. package/dist-types/ts3.4/commands/ListFiltersCommand.d.ts +34 -17
  26. package/dist-types/ts3.4/commands/ListFindingAggregationsCommand.d.ts +41 -17
  27. package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +34 -17
  28. package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +34 -17
  29. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -17
  30. package/dist-types/ts3.4/commands/ListUsageTotalsCommand.d.ts +37 -17
  31. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -17
  32. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +37 -17
  33. package/dist-types/ts3.4/commands/UpdateConfigurationCommand.d.ts +38 -17
  34. package/dist-types/ts3.4/commands/UpdateFilterCommand.d.ts +34 -17
  35. package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +41 -17
  36. package/dist-types/ts3.4/commands/index.d.ts +32 -32
  37. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  38. package/dist-types/ts3.4/index.d.ts +6 -6
  39. package/dist-types/ts3.4/models/Inspector2ServiceException.d.ts +8 -6
  40. package/dist-types/ts3.4/models/index.d.ts +1 -1
  41. package/dist-types/ts3.4/models/models_0.d.ts +2317 -2195
  42. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -6
  43. package/dist-types/ts3.4/pagination/ListAccountPermissionsPaginator.d.ts +11 -4
  44. package/dist-types/ts3.4/pagination/ListCoveragePaginator.d.ts +11 -4
  45. package/dist-types/ts3.4/pagination/ListCoverageStatisticsPaginator.d.ts +11 -4
  46. package/dist-types/ts3.4/pagination/ListDelegatedAdminAccountsPaginator.d.ts +11 -4
  47. package/dist-types/ts3.4/pagination/ListFiltersPaginator.d.ts +11 -4
  48. package/dist-types/ts3.4/pagination/ListFindingAggregationsPaginator.d.ts +11 -4
  49. package/dist-types/ts3.4/pagination/ListFindingsPaginator.d.ts +11 -4
  50. package/dist-types/ts3.4/pagination/ListMembersPaginator.d.ts +11 -4
  51. package/dist-types/ts3.4/pagination/ListUsageTotalsPaginator.d.ts +11 -4
  52. package/dist-types/ts3.4/pagination/index.d.ts +10 -10
  53. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +389 -98
  54. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +66 -38
  55. package/dist-types/ts3.4/runtimeConfig.d.ts +66 -38
  56. package/dist-types/ts3.4/runtimeConfig.native.d.ts +67 -37
  57. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -11
  58. package/package.json +34 -34
@@ -1,2195 +1,2317 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
- import { Inspector2ServiceException as __BaseException } from "./Inspector2ServiceException";
3
-
4
- export declare class AccessDeniedException extends __BaseException {
5
- readonly name: "AccessDeniedException";
6
- readonly $fault: "client";
7
-
8
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
9
- }
10
- export declare enum Status {
11
- DISABLED = "DISABLED",
12
- DISABLING = "DISABLING",
13
- ENABLED = "ENABLED",
14
- ENABLING = "ENABLING",
15
- SUSPENDED = "SUSPENDED",
16
- SUSPENDING = "SUSPENDING"
17
- }
18
-
19
- export interface ResourceStatus {
20
-
21
- ec2: Status | string | undefined;
22
-
23
- ecr: Status | string | undefined;
24
- }
25
-
26
- export interface Account {
27
-
28
- accountId: string | undefined;
29
-
30
- status: Status | string | undefined;
31
-
32
- resourceStatus: ResourceStatus | undefined;
33
- }
34
- export declare enum AggregationFindingType {
35
- NETWORK_REACHABILITY = "NETWORK_REACHABILITY",
36
- PACKAGE_VULNERABILITY = "PACKAGE_VULNERABILITY"
37
- }
38
- export declare enum AggregationResourceType {
39
- AWS_EC2_INSTANCE = "AWS_EC2_INSTANCE",
40
- AWS_ECR_CONTAINER_IMAGE = "AWS_ECR_CONTAINER_IMAGE"
41
- }
42
- export declare enum AccountSortBy {
43
- ALL = "ALL",
44
- CRITICAL = "CRITICAL",
45
- HIGH = "HIGH"
46
- }
47
- export declare enum SortOrder {
48
- ASC = "ASC",
49
- DESC = "DESC"
50
- }
51
-
52
- export interface AccountAggregation {
53
-
54
- findingType?: AggregationFindingType | string;
55
-
56
- resourceType?: AggregationResourceType | string;
57
-
58
- sortOrder?: SortOrder | string;
59
-
60
- sortBy?: AccountSortBy | string;
61
- }
62
-
63
- export interface SeverityCounts {
64
-
65
- all?: number;
66
-
67
- medium?: number;
68
-
69
- high?: number;
70
-
71
- critical?: number;
72
- }
73
-
74
- export interface AccountAggregationResponse {
75
-
76
- accountId?: string;
77
-
78
- severityCounts?: SeverityCounts;
79
- }
80
- export declare enum ErrorCode {
81
- ACCESS_DENIED = "ACCESS_DENIED",
82
- ACCOUNT_IS_ISOLATED = "ACCOUNT_IS_ISOLATED",
83
- ALREADY_ENABLED = "ALREADY_ENABLED",
84
- DISABLE_IN_PROGRESS = "DISABLE_IN_PROGRESS",
85
- DISASSOCIATE_ALL_MEMBERS = "DISASSOCIATE_ALL_MEMBERS",
86
- ENABLE_IN_PROGRESS = "ENABLE_IN_PROGRESS",
87
- EVENTBRIDGE_THROTTLED = "EVENTBRIDGE_THROTTLED",
88
- EVENTBRIDGE_UNAVAILABLE = "EVENTBRIDGE_UNAVAILABLE",
89
- INTERNAL_ERROR = "INTERNAL_ERROR",
90
- RESOURCE_NOT_FOUND = "RESOURCE_NOT_FOUND",
91
- RESOURCE_SCAN_NOT_DISABLED = "RESOURCE_SCAN_NOT_DISABLED",
92
- SSM_THROTTLED = "SSM_THROTTLED",
93
- SSM_UNAVAILABLE = "SSM_UNAVAILABLE",
94
- SUSPEND_IN_PROGRESS = "SUSPEND_IN_PROGRESS"
95
- }
96
-
97
- export interface State {
98
-
99
- status: Status | string | undefined;
100
-
101
- errorCode: ErrorCode | string | undefined;
102
-
103
- errorMessage: string | undefined;
104
- }
105
-
106
- export interface ResourceState {
107
-
108
- ec2: State | undefined;
109
-
110
- ecr: State | undefined;
111
- }
112
-
113
- export interface AccountState {
114
-
115
- accountId: string | undefined;
116
-
117
- state: State | undefined;
118
-
119
- resourceState: ResourceState | undefined;
120
- }
121
- export declare enum StringComparison {
122
- EQUALS = "EQUALS",
123
- NOT_EQUALS = "NOT_EQUALS",
124
- PREFIX = "PREFIX"
125
- }
126
-
127
- export interface StringFilter {
128
-
129
- comparison: StringComparison | string | undefined;
130
-
131
- value: string | undefined;
132
- }
133
- export declare enum AmiSortBy {
134
- AFFECTED_INSTANCES = "AFFECTED_INSTANCES",
135
- ALL = "ALL",
136
- CRITICAL = "CRITICAL",
137
- HIGH = "HIGH"
138
- }
139
-
140
- export interface AmiAggregation {
141
-
142
- amis?: StringFilter[];
143
-
144
- sortOrder?: SortOrder | string;
145
-
146
- sortBy?: AmiSortBy | string;
147
- }
148
- export declare enum AwsEcrContainerSortBy {
149
- ALL = "ALL",
150
- CRITICAL = "CRITICAL",
151
- HIGH = "HIGH"
152
- }
153
-
154
- export interface AwsEcrContainerAggregation {
155
-
156
- resourceIds?: StringFilter[];
157
-
158
- imageShas?: StringFilter[];
159
-
160
- repositories?: StringFilter[];
161
-
162
- architectures?: StringFilter[];
163
-
164
- imageTags?: StringFilter[];
165
-
166
- sortOrder?: SortOrder | string;
167
-
168
- sortBy?: AwsEcrContainerSortBy | string;
169
- }
170
- export declare enum MapComparison {
171
- EQUALS = "EQUALS"
172
- }
173
-
174
- export interface MapFilter {
175
-
176
- comparison: MapComparison | string | undefined;
177
-
178
- key: string | undefined;
179
-
180
- value?: string;
181
- }
182
- export declare enum Ec2InstanceSortBy {
183
- ALL = "ALL",
184
- CRITICAL = "CRITICAL",
185
- HIGH = "HIGH",
186
- NETWORK_FINDINGS = "NETWORK_FINDINGS"
187
- }
188
-
189
- export interface Ec2InstanceAggregation {
190
-
191
- amis?: StringFilter[];
192
-
193
- operatingSystems?: StringFilter[];
194
-
195
- instanceIds?: StringFilter[];
196
-
197
- instanceTags?: MapFilter[];
198
-
199
- sortOrder?: SortOrder | string;
200
-
201
- sortBy?: Ec2InstanceSortBy | string;
202
- }
203
- export declare enum FindingTypeSortBy {
204
- ALL = "ALL",
205
- CRITICAL = "CRITICAL",
206
- HIGH = "HIGH"
207
- }
208
-
209
- export interface FindingTypeAggregation {
210
-
211
- findingType?: AggregationFindingType | string;
212
-
213
- resourceType?: AggregationResourceType | string;
214
-
215
- sortOrder?: SortOrder | string;
216
-
217
- sortBy?: FindingTypeSortBy | string;
218
- }
219
- export declare enum ImageLayerSortBy {
220
- ALL = "ALL",
221
- CRITICAL = "CRITICAL",
222
- HIGH = "HIGH"
223
- }
224
-
225
- export interface ImageLayerAggregation {
226
-
227
- repositories?: StringFilter[];
228
-
229
- resourceIds?: StringFilter[];
230
-
231
- layerHashes?: StringFilter[];
232
-
233
- sortOrder?: SortOrder | string;
234
-
235
- sortBy?: ImageLayerSortBy | string;
236
- }
237
- export declare enum PackageSortBy {
238
- ALL = "ALL",
239
- CRITICAL = "CRITICAL",
240
- HIGH = "HIGH"
241
- }
242
-
243
- export interface PackageAggregation {
244
-
245
- packageNames?: StringFilter[];
246
-
247
- sortOrder?: SortOrder | string;
248
-
249
- sortBy?: PackageSortBy | string;
250
- }
251
- export declare enum RepositorySortBy {
252
- AFFECTED_IMAGES = "AFFECTED_IMAGES",
253
- ALL = "ALL",
254
- CRITICAL = "CRITICAL",
255
- HIGH = "HIGH"
256
- }
257
-
258
- export interface RepositoryAggregation {
259
-
260
- repositories?: StringFilter[];
261
-
262
- sortOrder?: SortOrder | string;
263
-
264
- sortBy?: RepositorySortBy | string;
265
- }
266
- export declare enum TitleSortBy {
267
- ALL = "ALL",
268
- CRITICAL = "CRITICAL",
269
- HIGH = "HIGH"
270
- }
271
-
272
- export interface TitleAggregation {
273
-
274
- titles?: StringFilter[];
275
-
276
- vulnerabilityIds?: StringFilter[];
277
-
278
- resourceType?: AggregationResourceType | string;
279
-
280
- sortOrder?: SortOrder | string;
281
-
282
- sortBy?: TitleSortBy | string;
283
- }
284
-
285
- export declare type AggregationRequest = AggregationRequest.AccountAggregationMember | AggregationRequest.AmiAggregationMember | AggregationRequest.AwsEcrContainerAggregationMember | AggregationRequest.Ec2InstanceAggregationMember | AggregationRequest.FindingTypeAggregationMember | AggregationRequest.ImageLayerAggregationMember | AggregationRequest.PackageAggregationMember | AggregationRequest.RepositoryAggregationMember | AggregationRequest.TitleAggregationMember | AggregationRequest.$UnknownMember;
286
- export declare namespace AggregationRequest {
287
-
288
- interface AccountAggregationMember {
289
- accountAggregation: AccountAggregation;
290
- amiAggregation?: never;
291
- awsEcrContainerAggregation?: never;
292
- ec2InstanceAggregation?: never;
293
- findingTypeAggregation?: never;
294
- imageLayerAggregation?: never;
295
- packageAggregation?: never;
296
- repositoryAggregation?: never;
297
- titleAggregation?: never;
298
- $unknown?: never;
299
- }
300
-
301
- interface AmiAggregationMember {
302
- accountAggregation?: never;
303
- amiAggregation: AmiAggregation;
304
- awsEcrContainerAggregation?: never;
305
- ec2InstanceAggregation?: never;
306
- findingTypeAggregation?: never;
307
- imageLayerAggregation?: never;
308
- packageAggregation?: never;
309
- repositoryAggregation?: never;
310
- titleAggregation?: never;
311
- $unknown?: never;
312
- }
313
-
314
- interface AwsEcrContainerAggregationMember {
315
- accountAggregation?: never;
316
- amiAggregation?: never;
317
- awsEcrContainerAggregation: AwsEcrContainerAggregation;
318
- ec2InstanceAggregation?: never;
319
- findingTypeAggregation?: never;
320
- imageLayerAggregation?: never;
321
- packageAggregation?: never;
322
- repositoryAggregation?: never;
323
- titleAggregation?: never;
324
- $unknown?: never;
325
- }
326
-
327
- interface Ec2InstanceAggregationMember {
328
- accountAggregation?: never;
329
- amiAggregation?: never;
330
- awsEcrContainerAggregation?: never;
331
- ec2InstanceAggregation: Ec2InstanceAggregation;
332
- findingTypeAggregation?: never;
333
- imageLayerAggregation?: never;
334
- packageAggregation?: never;
335
- repositoryAggregation?: never;
336
- titleAggregation?: never;
337
- $unknown?: never;
338
- }
339
-
340
- interface FindingTypeAggregationMember {
341
- accountAggregation?: never;
342
- amiAggregation?: never;
343
- awsEcrContainerAggregation?: never;
344
- ec2InstanceAggregation?: never;
345
- findingTypeAggregation: FindingTypeAggregation;
346
- imageLayerAggregation?: never;
347
- packageAggregation?: never;
348
- repositoryAggregation?: never;
349
- titleAggregation?: never;
350
- $unknown?: never;
351
- }
352
-
353
- interface ImageLayerAggregationMember {
354
- accountAggregation?: never;
355
- amiAggregation?: never;
356
- awsEcrContainerAggregation?: never;
357
- ec2InstanceAggregation?: never;
358
- findingTypeAggregation?: never;
359
- imageLayerAggregation: ImageLayerAggregation;
360
- packageAggregation?: never;
361
- repositoryAggregation?: never;
362
- titleAggregation?: never;
363
- $unknown?: never;
364
- }
365
-
366
- interface PackageAggregationMember {
367
- accountAggregation?: never;
368
- amiAggregation?: never;
369
- awsEcrContainerAggregation?: never;
370
- ec2InstanceAggregation?: never;
371
- findingTypeAggregation?: never;
372
- imageLayerAggregation?: never;
373
- packageAggregation: PackageAggregation;
374
- repositoryAggregation?: never;
375
- titleAggregation?: never;
376
- $unknown?: never;
377
- }
378
-
379
- interface RepositoryAggregationMember {
380
- accountAggregation?: never;
381
- amiAggregation?: never;
382
- awsEcrContainerAggregation?: never;
383
- ec2InstanceAggregation?: never;
384
- findingTypeAggregation?: never;
385
- imageLayerAggregation?: never;
386
- packageAggregation?: never;
387
- repositoryAggregation: RepositoryAggregation;
388
- titleAggregation?: never;
389
- $unknown?: never;
390
- }
391
-
392
- interface TitleAggregationMember {
393
- accountAggregation?: never;
394
- amiAggregation?: never;
395
- awsEcrContainerAggregation?: never;
396
- ec2InstanceAggregation?: never;
397
- findingTypeAggregation?: never;
398
- imageLayerAggregation?: never;
399
- packageAggregation?: never;
400
- repositoryAggregation?: never;
401
- titleAggregation: TitleAggregation;
402
- $unknown?: never;
403
- }
404
- interface $UnknownMember {
405
- accountAggregation?: never;
406
- amiAggregation?: never;
407
- awsEcrContainerAggregation?: never;
408
- ec2InstanceAggregation?: never;
409
- findingTypeAggregation?: never;
410
- imageLayerAggregation?: never;
411
- packageAggregation?: never;
412
- repositoryAggregation?: never;
413
- titleAggregation?: never;
414
- $unknown: [
415
- string,
416
- any
417
- ];
418
- }
419
- interface Visitor<T> {
420
- accountAggregation: (value: AccountAggregation) => T;
421
- amiAggregation: (value: AmiAggregation) => T;
422
- awsEcrContainerAggregation: (value: AwsEcrContainerAggregation) => T;
423
- ec2InstanceAggregation: (value: Ec2InstanceAggregation) => T;
424
- findingTypeAggregation: (value: FindingTypeAggregation) => T;
425
- imageLayerAggregation: (value: ImageLayerAggregation) => T;
426
- packageAggregation: (value: PackageAggregation) => T;
427
- repositoryAggregation: (value: RepositoryAggregation) => T;
428
- titleAggregation: (value: TitleAggregation) => T;
429
- _: (name: string, value: any) => T;
430
- }
431
- const visit: <T>(value: AggregationRequest, visitor: Visitor<T>) => T;
432
- }
433
-
434
- export interface AmiAggregationResponse {
435
-
436
- ami: string | undefined;
437
-
438
- accountId?: string;
439
-
440
- severityCounts?: SeverityCounts;
441
-
442
- affectedInstances?: number;
443
- }
444
-
445
- export interface AwsEcrContainerAggregationResponse {
446
-
447
- resourceId: string | undefined;
448
-
449
- imageSha?: string;
450
-
451
- repository?: string;
452
-
453
- architecture?: string;
454
-
455
- imageTags?: string[];
456
-
457
- accountId?: string;
458
-
459
- severityCounts?: SeverityCounts;
460
- }
461
-
462
- export interface Ec2InstanceAggregationResponse {
463
-
464
- instanceId: string | undefined;
465
-
466
- ami?: string;
467
-
468
- operatingSystem?: string;
469
-
470
- instanceTags?: Record<string, string>;
471
-
472
- accountId?: string;
473
-
474
- severityCounts?: SeverityCounts;
475
-
476
- networkFindings?: number;
477
- }
478
-
479
- export interface FindingTypeAggregationResponse {
480
-
481
- accountId?: string;
482
-
483
- severityCounts?: SeverityCounts;
484
- }
485
-
486
- export interface ImageLayerAggregationResponse {
487
-
488
- repository: string | undefined;
489
-
490
- resourceId: string | undefined;
491
-
492
- layerHash: string | undefined;
493
-
494
- accountId: string | undefined;
495
-
496
- severityCounts?: SeverityCounts;
497
- }
498
-
499
- export interface PackageAggregationResponse {
500
-
501
- packageName: string | undefined;
502
-
503
- accountId?: string;
504
-
505
- severityCounts?: SeverityCounts;
506
- }
507
-
508
- export interface RepositoryAggregationResponse {
509
-
510
- repository: string | undefined;
511
-
512
- accountId?: string;
513
-
514
- severityCounts?: SeverityCounts;
515
-
516
- affectedImages?: number;
517
- }
518
-
519
- export interface TitleAggregationResponse {
520
-
521
- title: string | undefined;
522
-
523
- vulnerabilityId?: string;
524
-
525
- accountId?: string;
526
-
527
- severityCounts?: SeverityCounts;
528
- }
529
-
530
- export declare type AggregationResponse = AggregationResponse.AccountAggregationMember | AggregationResponse.AmiAggregationMember | AggregationResponse.AwsEcrContainerAggregationMember | AggregationResponse.Ec2InstanceAggregationMember | AggregationResponse.FindingTypeAggregationMember | AggregationResponse.ImageLayerAggregationMember | AggregationResponse.PackageAggregationMember | AggregationResponse.RepositoryAggregationMember | AggregationResponse.TitleAggregationMember | AggregationResponse.$UnknownMember;
531
- export declare namespace AggregationResponse {
532
-
533
- interface AccountAggregationMember {
534
- accountAggregation: AccountAggregationResponse;
535
- amiAggregation?: never;
536
- awsEcrContainerAggregation?: never;
537
- ec2InstanceAggregation?: never;
538
- findingTypeAggregation?: never;
539
- imageLayerAggregation?: never;
540
- packageAggregation?: never;
541
- repositoryAggregation?: never;
542
- titleAggregation?: never;
543
- $unknown?: never;
544
- }
545
-
546
- interface AmiAggregationMember {
547
- accountAggregation?: never;
548
- amiAggregation: AmiAggregationResponse;
549
- awsEcrContainerAggregation?: never;
550
- ec2InstanceAggregation?: never;
551
- findingTypeAggregation?: never;
552
- imageLayerAggregation?: never;
553
- packageAggregation?: never;
554
- repositoryAggregation?: never;
555
- titleAggregation?: never;
556
- $unknown?: never;
557
- }
558
-
559
- interface AwsEcrContainerAggregationMember {
560
- accountAggregation?: never;
561
- amiAggregation?: never;
562
- awsEcrContainerAggregation: AwsEcrContainerAggregationResponse;
563
- ec2InstanceAggregation?: never;
564
- findingTypeAggregation?: never;
565
- imageLayerAggregation?: never;
566
- packageAggregation?: never;
567
- repositoryAggregation?: never;
568
- titleAggregation?: never;
569
- $unknown?: never;
570
- }
571
-
572
- interface Ec2InstanceAggregationMember {
573
- accountAggregation?: never;
574
- amiAggregation?: never;
575
- awsEcrContainerAggregation?: never;
576
- ec2InstanceAggregation: Ec2InstanceAggregationResponse;
577
- findingTypeAggregation?: never;
578
- imageLayerAggregation?: never;
579
- packageAggregation?: never;
580
- repositoryAggregation?: never;
581
- titleAggregation?: never;
582
- $unknown?: never;
583
- }
584
-
585
- interface FindingTypeAggregationMember {
586
- accountAggregation?: never;
587
- amiAggregation?: never;
588
- awsEcrContainerAggregation?: never;
589
- ec2InstanceAggregation?: never;
590
- findingTypeAggregation: FindingTypeAggregationResponse;
591
- imageLayerAggregation?: never;
592
- packageAggregation?: never;
593
- repositoryAggregation?: never;
594
- titleAggregation?: never;
595
- $unknown?: never;
596
- }
597
-
598
- interface ImageLayerAggregationMember {
599
- accountAggregation?: never;
600
- amiAggregation?: never;
601
- awsEcrContainerAggregation?: never;
602
- ec2InstanceAggregation?: never;
603
- findingTypeAggregation?: never;
604
- imageLayerAggregation: ImageLayerAggregationResponse;
605
- packageAggregation?: never;
606
- repositoryAggregation?: never;
607
- titleAggregation?: never;
608
- $unknown?: never;
609
- }
610
-
611
- interface PackageAggregationMember {
612
- accountAggregation?: never;
613
- amiAggregation?: never;
614
- awsEcrContainerAggregation?: never;
615
- ec2InstanceAggregation?: never;
616
- findingTypeAggregation?: never;
617
- imageLayerAggregation?: never;
618
- packageAggregation: PackageAggregationResponse;
619
- repositoryAggregation?: never;
620
- titleAggregation?: never;
621
- $unknown?: never;
622
- }
623
-
624
- interface RepositoryAggregationMember {
625
- accountAggregation?: never;
626
- amiAggregation?: never;
627
- awsEcrContainerAggregation?: never;
628
- ec2InstanceAggregation?: never;
629
- findingTypeAggregation?: never;
630
- imageLayerAggregation?: never;
631
- packageAggregation?: never;
632
- repositoryAggregation: RepositoryAggregationResponse;
633
- titleAggregation?: never;
634
- $unknown?: never;
635
- }
636
-
637
- interface TitleAggregationMember {
638
- accountAggregation?: never;
639
- amiAggregation?: never;
640
- awsEcrContainerAggregation?: never;
641
- ec2InstanceAggregation?: never;
642
- findingTypeAggregation?: never;
643
- imageLayerAggregation?: never;
644
- packageAggregation?: never;
645
- repositoryAggregation?: never;
646
- titleAggregation: TitleAggregationResponse;
647
- $unknown?: never;
648
- }
649
- interface $UnknownMember {
650
- accountAggregation?: never;
651
- amiAggregation?: never;
652
- awsEcrContainerAggregation?: never;
653
- ec2InstanceAggregation?: never;
654
- findingTypeAggregation?: never;
655
- imageLayerAggregation?: never;
656
- packageAggregation?: never;
657
- repositoryAggregation?: never;
658
- titleAggregation?: never;
659
- $unknown: [
660
- string,
661
- any
662
- ];
663
- }
664
- interface Visitor<T> {
665
- accountAggregation: (value: AccountAggregationResponse) => T;
666
- amiAggregation: (value: AmiAggregationResponse) => T;
667
- awsEcrContainerAggregation: (value: AwsEcrContainerAggregationResponse) => T;
668
- ec2InstanceAggregation: (value: Ec2InstanceAggregationResponse) => T;
669
- findingTypeAggregation: (value: FindingTypeAggregationResponse) => T;
670
- imageLayerAggregation: (value: ImageLayerAggregationResponse) => T;
671
- packageAggregation: (value: PackageAggregationResponse) => T;
672
- repositoryAggregation: (value: RepositoryAggregationResponse) => T;
673
- titleAggregation: (value: TitleAggregationResponse) => T;
674
- _: (name: string, value: any) => T;
675
- }
676
- const visit: <T>(value: AggregationResponse, visitor: Visitor<T>) => T;
677
- }
678
- export declare enum AggregationType {
679
- ACCOUNT = "ACCOUNT",
680
- AMI = "AMI",
681
- AWS_EC2_INSTANCE = "AWS_EC2_INSTANCE",
682
- AWS_ECR_CONTAINER = "AWS_ECR_CONTAINER",
683
- FINDING_TYPE = "FINDING_TYPE",
684
- IMAGE_LAYER = "IMAGE_LAYER",
685
- PACKAGE = "PACKAGE",
686
- REPOSITORY = "REPOSITORY",
687
- TITLE = "TITLE"
688
- }
689
- export interface AssociateMemberRequest {
690
-
691
- accountId: string | undefined;
692
- }
693
- export interface AssociateMemberResponse {
694
-
695
- accountId: string | undefined;
696
- }
697
-
698
- export declare class InternalServerException extends __BaseException {
699
- readonly name: "InternalServerException";
700
- readonly $fault: "server";
701
- $retryable: {};
702
-
703
- retryAfterSeconds?: number;
704
-
705
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
706
- }
707
-
708
- export declare class ThrottlingException extends __BaseException {
709
- readonly name: "ThrottlingException";
710
- readonly $fault: "client";
711
-
712
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
713
- }
714
-
715
- export interface ValidationExceptionField {
716
-
717
- name: string | undefined;
718
-
719
- message: string | undefined;
720
- }
721
- export declare enum ValidationExceptionReason {
722
- CANNOT_PARSE = "CANNOT_PARSE",
723
- FIELD_VALIDATION_FAILED = "FIELD_VALIDATION_FAILED",
724
- OTHER = "OTHER"
725
- }
726
-
727
- export declare class ValidationException extends __BaseException {
728
- readonly name: "ValidationException";
729
- readonly $fault: "client";
730
-
731
- reason: ValidationExceptionReason | string | undefined;
732
-
733
- fields?: ValidationExceptionField[];
734
-
735
- constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
736
- }
737
-
738
- export interface AutoEnable {
739
-
740
- ec2: boolean | undefined;
741
-
742
- ecr: boolean | undefined;
743
- }
744
-
745
- export interface AwsEc2InstanceDetails {
746
-
747
- type?: string;
748
-
749
- imageId?: string;
750
-
751
- ipV4Addresses?: string[];
752
-
753
- ipV6Addresses?: string[];
754
-
755
- keyName?: string;
756
-
757
- iamInstanceProfileArn?: string;
758
-
759
- vpcId?: string;
760
-
761
- subnetId?: string;
762
-
763
- launchedAt?: Date;
764
-
765
- platform?: string;
766
- }
767
-
768
- export interface AwsEcrContainerImageDetails {
769
-
770
- repositoryName: string | undefined;
771
-
772
- imageTags?: string[];
773
-
774
- pushedAt?: Date;
775
-
776
- author?: string;
777
-
778
- architecture?: string;
779
-
780
- imageHash: string | undefined;
781
-
782
- registry: string | undefined;
783
-
784
- platform?: string;
785
- }
786
-
787
- export declare class BadRequestException extends __BaseException {
788
- readonly name: "BadRequestException";
789
- readonly $fault: "client";
790
-
791
- constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
792
- }
793
- export interface BatchGetAccountStatusRequest {
794
-
795
- accountIds?: string[];
796
- }
797
-
798
- export interface FailedAccount {
799
-
800
- accountId: string | undefined;
801
-
802
- status?: Status | string;
803
-
804
- resourceStatus?: ResourceStatus;
805
-
806
- errorCode: ErrorCode | string | undefined;
807
-
808
- errorMessage: string | undefined;
809
- }
810
- export interface BatchGetAccountStatusResponse {
811
-
812
- accounts: AccountState[] | undefined;
813
-
814
- failedAccounts?: FailedAccount[];
815
- }
816
-
817
- export declare class ResourceNotFoundException extends __BaseException {
818
- readonly name: "ResourceNotFoundException";
819
- readonly $fault: "client";
820
-
821
- constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
822
- }
823
- export interface BatchGetFreeTrialInfoRequest {
824
-
825
- accountIds: string[] | undefined;
826
- }
827
- export declare enum FreeTrialStatus {
828
- ACTIVE = "ACTIVE",
829
- INACTIVE = "INACTIVE"
830
- }
831
- export declare enum FreeTrialType {
832
- EC2 = "EC2",
833
- ECR = "ECR"
834
- }
835
-
836
- export interface FreeTrialInfo {
837
-
838
- type: FreeTrialType | string | undefined;
839
-
840
- start: Date | undefined;
841
-
842
- end: Date | undefined;
843
-
844
- status: FreeTrialStatus | string | undefined;
845
- }
846
-
847
- export interface FreeTrialAccountInfo {
848
-
849
- accountId: string | undefined;
850
-
851
- freeTrialInfo: FreeTrialInfo[] | undefined;
852
- }
853
- export declare enum FreeTrialInfoErrorCode {
854
- ACCESS_DENIED = "ACCESS_DENIED",
855
- INTERNAL_ERROR = "INTERNAL_ERROR"
856
- }
857
-
858
- export interface FreeTrialInfoError {
859
-
860
- accountId: string | undefined;
861
-
862
- code: FreeTrialInfoErrorCode | string | undefined;
863
-
864
- message: string | undefined;
865
- }
866
- export interface BatchGetFreeTrialInfoResponse {
867
-
868
- accounts: FreeTrialAccountInfo[] | undefined;
869
-
870
- failedAccounts: FreeTrialInfoError[] | undefined;
871
- }
872
- export interface CancelFindingsReportRequest {
873
-
874
- reportId: string | undefined;
875
- }
876
- export interface CancelFindingsReportResponse {
877
-
878
- reportId: string | undefined;
879
- }
880
-
881
- export declare class ConflictException extends __BaseException {
882
- readonly name: "ConflictException";
883
- readonly $fault: "client";
884
-
885
- resourceId: string | undefined;
886
-
887
- resourceType: string | undefined;
888
-
889
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
890
- }
891
- export declare enum GroupKey {
892
- ACCOUNT_ID = "ACCOUNT_ID",
893
- ECR_REPOSITORY_NAME = "ECR_REPOSITORY_NAME",
894
- RESOURCE_TYPE = "RESOURCE_TYPE",
895
- SCAN_STATUS_CODE = "SCAN_STATUS_CODE",
896
- SCAN_STATUS_REASON = "SCAN_STATUS_REASON"
897
- }
898
-
899
- export interface Counts {
900
-
901
- count?: number;
902
-
903
- groupKey?: GroupKey | string;
904
- }
905
- export declare enum CoverageStringComparison {
906
- EQUALS = "EQUALS",
907
- NOT_EQUALS = "NOT_EQUALS"
908
- }
909
-
910
- export interface CoverageStringFilter {
911
-
912
- comparison: CoverageStringComparison | string | undefined;
913
-
914
- value: string | undefined;
915
- }
916
- export declare enum CoverageMapComparison {
917
- EQUALS = "EQUALS"
918
- }
919
-
920
- export interface CoverageMapFilter {
921
-
922
- comparison: CoverageMapComparison | string | undefined;
923
-
924
- key: string | undefined;
925
-
926
- value?: string;
927
- }
928
-
929
- export interface CoverageFilterCriteria {
930
-
931
- scanStatusCode?: CoverageStringFilter[];
932
-
933
- scanStatusReason?: CoverageStringFilter[];
934
-
935
- accountId?: CoverageStringFilter[];
936
-
937
- resourceId?: CoverageStringFilter[];
938
-
939
- resourceType?: CoverageStringFilter[];
940
-
941
- scanType?: CoverageStringFilter[];
942
-
943
- ecrRepositoryName?: CoverageStringFilter[];
944
-
945
- ecrImageTags?: CoverageStringFilter[];
946
-
947
- ec2InstanceTags?: CoverageMapFilter[];
948
- }
949
- export declare enum CoverageResourceType {
950
- AWS_EC2_INSTANCE = "AWS_EC2_INSTANCE",
951
- AWS_ECR_CONTAINER_IMAGE = "AWS_ECR_CONTAINER_IMAGE",
952
- AWS_ECR_REPOSITORY = "AWS_ECR_REPOSITORY"
953
- }
954
- export declare enum Ec2Platform {
955
- LINUX = "LINUX",
956
- UNKNOWN = "UNKNOWN",
957
- WINDOWS = "WINDOWS"
958
- }
959
-
960
- export interface Ec2Metadata {
961
-
962
- tags?: Record<string, string>;
963
-
964
- amiId?: string;
965
-
966
- platform?: Ec2Platform | string;
967
- }
968
-
969
- export interface EcrContainerImageMetadata {
970
-
971
- tags?: string[];
972
- }
973
- export declare enum EcrScanFrequency {
974
- CONTINUOUS_SCAN = "CONTINUOUS_SCAN",
975
- MANUAL = "MANUAL",
976
- SCAN_ON_PUSH = "SCAN_ON_PUSH"
977
- }
978
-
979
- export interface EcrRepositoryMetadata {
980
-
981
- name?: string;
982
-
983
- scanFrequency?: EcrScanFrequency | string;
984
- }
985
-
986
- export interface ResourceScanMetadata {
987
-
988
- ecrRepository?: EcrRepositoryMetadata;
989
-
990
- ecrImage?: EcrContainerImageMetadata;
991
-
992
- ec2?: Ec2Metadata;
993
- }
994
- export declare enum ScanStatusReason {
995
- ACCESS_DENIED = "ACCESS_DENIED",
996
- EC2_INSTANCE_STOPPED = "EC2_INSTANCE_STOPPED",
997
- IMAGE_SIZE_EXCEEDED = "IMAGE_SIZE_EXCEEDED",
998
- INTERNAL_ERROR = "INTERNAL_ERROR",
999
- NO_INVENTORY = "NO_INVENTORY",
1000
- NO_RESOURCES_FOUND = "NO_RESOURCES_FOUND",
1001
- PENDING_DISABLE = "PENDING_DISABLE",
1002
- PENDING_INITIAL_SCAN = "PENDING_INITIAL_SCAN",
1003
- RESOURCE_TERMINATED = "RESOURCE_TERMINATED",
1004
- SCAN_ELIGIBILITY_EXPIRED = "SCAN_ELIGIBILITY_EXPIRED",
1005
- SCAN_FREQUENCY_MANUAL = "SCAN_FREQUENCY_MANUAL",
1006
- SCAN_FREQUENCY_SCAN_ON_PUSH = "SCAN_FREQUENCY_SCAN_ON_PUSH",
1007
- STALE_INVENTORY = "STALE_INVENTORY",
1008
- SUCCESSFUL = "SUCCESSFUL",
1009
- UNMANAGED_EC2_INSTANCE = "UNMANAGED_EC2_INSTANCE",
1010
- UNSUPPORTED_OS = "UNSUPPORTED_OS"
1011
- }
1012
- export declare enum ScanStatusCode {
1013
- ACTIVE = "ACTIVE",
1014
- INACTIVE = "INACTIVE"
1015
- }
1016
-
1017
- export interface ScanStatus {
1018
-
1019
- statusCode: ScanStatusCode | string | undefined;
1020
-
1021
- reason: ScanStatusReason | string | undefined;
1022
- }
1023
- export declare enum ScanType {
1024
- NETWORK = "NETWORK",
1025
- PACKAGE = "PACKAGE"
1026
- }
1027
-
1028
- export interface CoveredResource {
1029
-
1030
- resourceType: CoverageResourceType | string | undefined;
1031
-
1032
- resourceId: string | undefined;
1033
-
1034
- accountId: string | undefined;
1035
-
1036
- scanType: ScanType | string | undefined;
1037
-
1038
- scanStatus?: ScanStatus;
1039
-
1040
- resourceMetadata?: ResourceScanMetadata;
1041
- }
1042
- export declare enum FilterAction {
1043
- NONE = "NONE",
1044
- SUPPRESS = "SUPPRESS"
1045
- }
1046
-
1047
- export interface DateFilter {
1048
-
1049
- startInclusive?: Date;
1050
-
1051
- endInclusive?: Date;
1052
- }
1053
-
1054
- export interface NumberFilter {
1055
-
1056
- upperInclusive?: number;
1057
-
1058
- lowerInclusive?: number;
1059
- }
1060
-
1061
- export interface PortRangeFilter {
1062
-
1063
- beginInclusive?: number;
1064
-
1065
- endInclusive?: number;
1066
- }
1067
-
1068
- export interface PackageFilter {
1069
-
1070
- name?: StringFilter;
1071
-
1072
- version?: StringFilter;
1073
-
1074
- epoch?: NumberFilter;
1075
-
1076
- release?: StringFilter;
1077
-
1078
- architecture?: StringFilter;
1079
-
1080
- sourceLayerHash?: StringFilter;
1081
- }
1082
-
1083
- export interface FilterCriteria {
1084
-
1085
- findingArn?: StringFilter[];
1086
-
1087
- awsAccountId?: StringFilter[];
1088
-
1089
- findingType?: StringFilter[];
1090
-
1091
- severity?: StringFilter[];
1092
-
1093
- firstObservedAt?: DateFilter[];
1094
-
1095
- lastObservedAt?: DateFilter[];
1096
-
1097
- updatedAt?: DateFilter[];
1098
-
1099
- findingStatus?: StringFilter[];
1100
-
1101
- title?: StringFilter[];
1102
-
1103
- inspectorScore?: NumberFilter[];
1104
-
1105
- resourceType?: StringFilter[];
1106
-
1107
- resourceId?: StringFilter[];
1108
-
1109
- resourceTags?: MapFilter[];
1110
-
1111
- ec2InstanceImageId?: StringFilter[];
1112
-
1113
- ec2InstanceVpcId?: StringFilter[];
1114
-
1115
- ec2InstanceSubnetId?: StringFilter[];
1116
-
1117
- ecrImagePushedAt?: DateFilter[];
1118
-
1119
- ecrImageArchitecture?: StringFilter[];
1120
-
1121
- ecrImageRegistry?: StringFilter[];
1122
-
1123
- ecrImageRepositoryName?: StringFilter[];
1124
-
1125
- ecrImageTags?: StringFilter[];
1126
-
1127
- ecrImageHash?: StringFilter[];
1128
-
1129
- portRange?: PortRangeFilter[];
1130
-
1131
- networkProtocol?: StringFilter[];
1132
-
1133
- componentId?: StringFilter[];
1134
-
1135
- componentType?: StringFilter[];
1136
-
1137
- vulnerabilityId?: StringFilter[];
1138
-
1139
- vulnerabilitySource?: StringFilter[];
1140
-
1141
- vendorSeverity?: StringFilter[];
1142
-
1143
- vulnerablePackages?: PackageFilter[];
1144
-
1145
- relatedVulnerabilities?: StringFilter[];
1146
-
1147
- fixAvailable?: StringFilter[];
1148
- }
1149
- export interface CreateFilterRequest {
1150
-
1151
- action: FilterAction | string | undefined;
1152
-
1153
- description?: string;
1154
-
1155
- filterCriteria: FilterCriteria | undefined;
1156
-
1157
- name: string | undefined;
1158
-
1159
- tags?: Record<string, string>;
1160
-
1161
- reason?: string;
1162
- }
1163
- export interface CreateFilterResponse {
1164
-
1165
- arn: string | undefined;
1166
- }
1167
-
1168
- export declare class ServiceQuotaExceededException extends __BaseException {
1169
- readonly name: "ServiceQuotaExceededException";
1170
- readonly $fault: "client";
1171
-
1172
- resourceId: string | undefined;
1173
-
1174
- constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
1175
- }
1176
- export declare enum ReportFormat {
1177
- CSV = "CSV",
1178
- JSON = "JSON"
1179
- }
1180
-
1181
- export interface Destination {
1182
-
1183
- bucketName: string | undefined;
1184
-
1185
- keyPrefix?: string;
1186
-
1187
- kmsKeyArn: string | undefined;
1188
- }
1189
- export interface CreateFindingsReportRequest {
1190
-
1191
- filterCriteria?: FilterCriteria;
1192
-
1193
- reportFormat: ReportFormat | string | undefined;
1194
-
1195
- s3Destination: Destination | undefined;
1196
- }
1197
- export interface CreateFindingsReportResponse {
1198
-
1199
- reportId?: string;
1200
- }
1201
- export declare enum Currency {
1202
- USD = "USD"
1203
- }
1204
-
1205
- export interface CvssScore {
1206
-
1207
- baseScore: number | undefined;
1208
-
1209
- scoringVector: string | undefined;
1210
-
1211
- version: string | undefined;
1212
-
1213
- source: string | undefined;
1214
- }
1215
-
1216
- export interface CvssScoreAdjustment {
1217
-
1218
- metric: string | undefined;
1219
-
1220
- reason: string | undefined;
1221
- }
1222
-
1223
- export interface CvssScoreDetails {
1224
-
1225
- scoreSource: string | undefined;
1226
-
1227
- cvssSource?: string;
1228
-
1229
- version: string | undefined;
1230
-
1231
- score: number | undefined;
1232
-
1233
- scoringVector: string | undefined;
1234
-
1235
- adjustments?: CvssScoreAdjustment[];
1236
- }
1237
- export declare enum RelationshipStatus {
1238
- ACCOUNT_SUSPENDED = "ACCOUNT_SUSPENDED",
1239
- CANNOT_CREATE_DETECTOR_IN_ORG_MASTER = "CANNOT_CREATE_DETECTOR_IN_ORG_MASTER",
1240
- CREATED = "CREATED",
1241
- DELETED = "DELETED",
1242
- DISABLED = "DISABLED",
1243
- EMAIL_VERIFICATION_FAILED = "EMAIL_VERIFICATION_FAILED",
1244
- EMAIL_VERIFICATION_IN_PROGRESS = "EMAIL_VERIFICATION_IN_PROGRESS",
1245
- ENABLED = "ENABLED",
1246
- INVITED = "INVITED",
1247
- REGION_DISABLED = "REGION_DISABLED",
1248
- REMOVED = "REMOVED",
1249
- RESIGNED = "RESIGNED"
1250
- }
1251
-
1252
- export interface DelegatedAdmin {
1253
-
1254
- accountId?: string;
1255
-
1256
- relationshipStatus?: RelationshipStatus | string;
1257
- }
1258
- export declare enum DelegatedAdminStatus {
1259
- DISABLE_IN_PROGRESS = "DISABLE_IN_PROGRESS",
1260
- ENABLED = "ENABLED"
1261
- }
1262
-
1263
- export interface DelegatedAdminAccount {
1264
-
1265
- accountId?: string;
1266
-
1267
- status?: DelegatedAdminStatus | string;
1268
- }
1269
- export interface DeleteFilterRequest {
1270
-
1271
- arn: string | undefined;
1272
- }
1273
- export interface DeleteFilterResponse {
1274
-
1275
- arn: string | undefined;
1276
- }
1277
- export interface DescribeOrganizationConfigurationRequest {
1278
- }
1279
- export interface DescribeOrganizationConfigurationResponse {
1280
-
1281
- autoEnable?: AutoEnable;
1282
-
1283
- maxAccountLimitReached?: boolean;
1284
- }
1285
- export declare enum ResourceScanType {
1286
- EC2 = "EC2",
1287
- ECR = "ECR"
1288
- }
1289
- export interface DisableRequest {
1290
-
1291
- accountIds?: string[];
1292
-
1293
- resourceTypes?: (ResourceScanType | string)[];
1294
- }
1295
- export interface DisableResponse {
1296
-
1297
- accounts: Account[] | undefined;
1298
-
1299
- failedAccounts?: FailedAccount[];
1300
- }
1301
- export interface DisableDelegatedAdminAccountRequest {
1302
-
1303
- delegatedAdminAccountId: string | undefined;
1304
- }
1305
- export interface DisableDelegatedAdminAccountResponse {
1306
-
1307
- delegatedAdminAccountId: string | undefined;
1308
- }
1309
- export interface DisassociateMemberRequest {
1310
-
1311
- accountId: string | undefined;
1312
- }
1313
- export interface DisassociateMemberResponse {
1314
-
1315
- accountId: string | undefined;
1316
- }
1317
- export declare enum EcrRescanDuration {
1318
- DAYS_180 = "DAYS_180",
1319
- DAYS_30 = "DAYS_30",
1320
- LIFETIME = "LIFETIME"
1321
- }
1322
-
1323
- export interface EcrConfiguration {
1324
-
1325
- rescanDuration: EcrRescanDuration | string | undefined;
1326
- }
1327
- export declare enum EcrRescanDurationStatus {
1328
- FAILED = "FAILED",
1329
- PENDING = "PENDING",
1330
- SUCCESS = "SUCCESS"
1331
- }
1332
-
1333
- export interface EcrRescanDurationState {
1334
-
1335
- rescanDuration?: EcrRescanDuration | string;
1336
-
1337
- status?: EcrRescanDurationStatus | string;
1338
-
1339
- updatedAt?: Date;
1340
- }
1341
-
1342
- export interface EcrConfigurationState {
1343
-
1344
- rescanDurationState?: EcrRescanDurationState;
1345
- }
1346
- export interface EnableRequest {
1347
-
1348
- accountIds?: string[];
1349
-
1350
- resourceTypes: (ResourceScanType | string)[] | undefined;
1351
-
1352
- clientToken?: string;
1353
- }
1354
- export interface EnableResponse {
1355
-
1356
- accounts: Account[] | undefined;
1357
-
1358
- failedAccounts?: FailedAccount[];
1359
- }
1360
- export interface EnableDelegatedAdminAccountRequest {
1361
-
1362
- delegatedAdminAccountId: string | undefined;
1363
-
1364
- clientToken?: string;
1365
- }
1366
- export interface EnableDelegatedAdminAccountResponse {
1367
-
1368
- delegatedAdminAccountId: string | undefined;
1369
- }
1370
- export declare enum ExternalReportStatus {
1371
- CANCELLED = "CANCELLED",
1372
- FAILED = "FAILED",
1373
- IN_PROGRESS = "IN_PROGRESS",
1374
- SUCCEEDED = "SUCCEEDED"
1375
- }
1376
-
1377
- export interface Filter {
1378
-
1379
- arn: string | undefined;
1380
-
1381
- ownerId: string | undefined;
1382
-
1383
- name: string | undefined;
1384
-
1385
- criteria: FilterCriteria | undefined;
1386
-
1387
- action: FilterAction | string | undefined;
1388
-
1389
- createdAt: Date | undefined;
1390
-
1391
- updatedAt: Date | undefined;
1392
-
1393
- description?: string;
1394
-
1395
- reason?: string;
1396
-
1397
- tags?: Record<string, string>;
1398
- }
1399
- export declare enum FixAvailable {
1400
- NO = "NO",
1401
- PARTIAL = "PARTIAL",
1402
- YES = "YES"
1403
- }
1404
-
1405
- export interface InspectorScoreDetails {
1406
-
1407
- adjustedCvss?: CvssScoreDetails;
1408
- }
1409
-
1410
- export interface Step {
1411
-
1412
- componentId: string | undefined;
1413
-
1414
- componentType: string | undefined;
1415
- }
1416
-
1417
- export interface NetworkPath {
1418
-
1419
- steps?: Step[];
1420
- }
1421
-
1422
- export interface PortRange {
1423
-
1424
- begin: number | undefined;
1425
-
1426
- end: number | undefined;
1427
- }
1428
- export declare enum NetworkProtocol {
1429
- TCP = "TCP",
1430
- UDP = "UDP"
1431
- }
1432
-
1433
- export interface NetworkReachabilityDetails {
1434
-
1435
- openPortRange: PortRange | undefined;
1436
-
1437
- protocol: NetworkProtocol | string | undefined;
1438
-
1439
- networkPath: NetworkPath | undefined;
1440
- }
1441
- export declare enum PackageManager {
1442
- BUNDLER = "BUNDLER",
1443
- CARGO = "CARGO",
1444
- COMPOSER = "COMPOSER",
1445
- GOBINARY = "GOBINARY",
1446
- GOMOD = "GOMOD",
1447
- JAR = "JAR",
1448
- NODEPKG = "NODEPKG",
1449
- NPM = "NPM",
1450
- NUGET = "NUGET",
1451
- OS = "OS",
1452
- PIP = "PIP",
1453
- PIPENV = "PIPENV",
1454
- POETRY = "POETRY",
1455
- POM = "POM",
1456
- PYTHONPKG = "PYTHONPKG",
1457
- YARN = "YARN"
1458
- }
1459
-
1460
- export interface VulnerablePackage {
1461
-
1462
- name: string | undefined;
1463
-
1464
- version: string | undefined;
1465
-
1466
- sourceLayerHash?: string;
1467
-
1468
- epoch?: number;
1469
-
1470
- release?: string;
1471
-
1472
- arch?: string;
1473
-
1474
- packageManager?: PackageManager | string;
1475
-
1476
- filePath?: string;
1477
-
1478
- fixedInVersion?: string;
1479
-
1480
- remediation?: string;
1481
- }
1482
-
1483
- export interface PackageVulnerabilityDetails {
1484
-
1485
- vulnerabilityId: string | undefined;
1486
-
1487
- vulnerablePackages?: VulnerablePackage[];
1488
-
1489
- source: string | undefined;
1490
-
1491
- cvss?: CvssScore[];
1492
-
1493
- relatedVulnerabilities?: string[];
1494
-
1495
- sourceUrl?: string;
1496
-
1497
- vendorSeverity?: string;
1498
-
1499
- vendorCreatedAt?: Date;
1500
-
1501
- vendorUpdatedAt?: Date;
1502
-
1503
- referenceUrls?: string[];
1504
- }
1505
-
1506
- export interface Recommendation {
1507
-
1508
- text?: string;
1509
-
1510
- Url?: string;
1511
- }
1512
-
1513
- export interface Remediation {
1514
-
1515
- recommendation?: Recommendation;
1516
- }
1517
-
1518
- export interface ResourceDetails {
1519
-
1520
- awsEc2Instance?: AwsEc2InstanceDetails;
1521
-
1522
- awsEcrContainerImage?: AwsEcrContainerImageDetails;
1523
- }
1524
- export declare enum ResourceType {
1525
- AWS_EC2_INSTANCE = "AWS_EC2_INSTANCE",
1526
- AWS_ECR_CONTAINER_IMAGE = "AWS_ECR_CONTAINER_IMAGE",
1527
- AWS_ECR_REPOSITORY = "AWS_ECR_REPOSITORY"
1528
- }
1529
-
1530
- export interface Resource {
1531
-
1532
- type: ResourceType | string | undefined;
1533
-
1534
- id: string | undefined;
1535
-
1536
- partition?: string;
1537
-
1538
- region?: string;
1539
-
1540
- tags?: Record<string, string>;
1541
-
1542
- details?: ResourceDetails;
1543
- }
1544
- export declare enum Severity {
1545
- CRITICAL = "CRITICAL",
1546
- HIGH = "HIGH",
1547
- INFORMATIONAL = "INFORMATIONAL",
1548
- LOW = "LOW",
1549
- MEDIUM = "MEDIUM",
1550
- UNTRIAGED = "UNTRIAGED"
1551
- }
1552
- export declare enum FindingStatus {
1553
- ACTIVE = "ACTIVE",
1554
- CLOSED = "CLOSED",
1555
- SUPPRESSED = "SUPPRESSED"
1556
- }
1557
- export declare enum FindingType {
1558
- NETWORK_REACHABILITY = "NETWORK_REACHABILITY",
1559
- PACKAGE_VULNERABILITY = "PACKAGE_VULNERABILITY"
1560
- }
1561
-
1562
- export interface Finding {
1563
-
1564
- findingArn: string | undefined;
1565
-
1566
- awsAccountId: string | undefined;
1567
-
1568
- type: FindingType | string | undefined;
1569
-
1570
- description: string | undefined;
1571
-
1572
- title?: string;
1573
-
1574
- remediation: Remediation | undefined;
1575
-
1576
- severity: Severity | string | undefined;
1577
-
1578
- firstObservedAt: Date | undefined;
1579
-
1580
- lastObservedAt: Date | undefined;
1581
-
1582
- updatedAt?: Date;
1583
-
1584
- status: FindingStatus | string | undefined;
1585
-
1586
- resources: Resource[] | undefined;
1587
-
1588
- inspectorScore?: number;
1589
-
1590
- inspectorScoreDetails?: InspectorScoreDetails;
1591
-
1592
- networkReachabilityDetails?: NetworkReachabilityDetails;
1593
-
1594
- packageVulnerabilityDetails?: PackageVulnerabilityDetails;
1595
-
1596
- fixAvailable?: FixAvailable | string;
1597
- }
1598
- export interface GetConfigurationRequest {
1599
- }
1600
- export interface GetConfigurationResponse {
1601
-
1602
- ecrConfiguration?: EcrConfigurationState;
1603
- }
1604
- export interface GetDelegatedAdminAccountRequest {
1605
- }
1606
- export interface GetDelegatedAdminAccountResponse {
1607
-
1608
- delegatedAdmin?: DelegatedAdmin;
1609
- }
1610
- export interface GetFindingsReportStatusRequest {
1611
-
1612
- reportId?: string;
1613
- }
1614
- export declare enum ReportingErrorCode {
1615
- BUCKET_NOT_FOUND = "BUCKET_NOT_FOUND",
1616
- INCOMPATIBLE_BUCKET_REGION = "INCOMPATIBLE_BUCKET_REGION",
1617
- INTERNAL_ERROR = "INTERNAL_ERROR",
1618
- INVALID_PERMISSIONS = "INVALID_PERMISSIONS",
1619
- MALFORMED_KMS_KEY = "MALFORMED_KMS_KEY",
1620
- NO_FINDINGS_FOUND = "NO_FINDINGS_FOUND"
1621
- }
1622
- export interface GetFindingsReportStatusResponse {
1623
-
1624
- reportId?: string;
1625
-
1626
- status?: ExternalReportStatus | string;
1627
-
1628
- errorCode?: ReportingErrorCode | string;
1629
-
1630
- errorMessage?: string;
1631
-
1632
- destination?: Destination;
1633
-
1634
- filterCriteria?: FilterCriteria;
1635
- }
1636
- export interface GetMemberRequest {
1637
-
1638
- accountId: string | undefined;
1639
- }
1640
-
1641
- export interface Member {
1642
-
1643
- accountId?: string;
1644
-
1645
- relationshipStatus?: RelationshipStatus | string;
1646
-
1647
- delegatedAdminAccountId?: string;
1648
-
1649
- updatedAt?: Date;
1650
- }
1651
- export interface GetMemberResponse {
1652
-
1653
- member?: Member;
1654
- }
1655
- export declare enum Service {
1656
- EC2 = "EC2",
1657
- ECR = "ECR"
1658
- }
1659
- export interface ListAccountPermissionsRequest {
1660
-
1661
- service?: Service | string;
1662
-
1663
- maxResults?: number;
1664
-
1665
- nextToken?: string;
1666
- }
1667
- export declare enum Operation {
1668
- DISABLE_REPOSITORY = "DISABLE_REPOSITORY",
1669
- DISABLE_SCANNING = "DISABLE_SCANNING",
1670
- ENABLE_REPOSITORY = "ENABLE_REPOSITORY",
1671
- ENABLE_SCANNING = "ENABLE_SCANNING"
1672
- }
1673
-
1674
- export interface Permission {
1675
-
1676
- service: Service | string | undefined;
1677
-
1678
- operation: Operation | string | undefined;
1679
- }
1680
- export interface ListAccountPermissionsResponse {
1681
-
1682
- permissions: Permission[] | undefined;
1683
-
1684
- nextToken?: string;
1685
- }
1686
- export interface ListCoverageRequest {
1687
-
1688
- maxResults?: number;
1689
-
1690
- nextToken?: string;
1691
-
1692
- filterCriteria?: CoverageFilterCriteria;
1693
- }
1694
- export interface ListCoverageResponse {
1695
-
1696
- nextToken?: string;
1697
-
1698
- coveredResources?: CoveredResource[];
1699
- }
1700
- export interface ListCoverageStatisticsRequest {
1701
-
1702
- filterCriteria?: CoverageFilterCriteria;
1703
-
1704
- groupBy?: GroupKey | string;
1705
-
1706
- nextToken?: string;
1707
- }
1708
- export interface ListCoverageStatisticsResponse {
1709
-
1710
- countsByGroup?: Counts[];
1711
-
1712
- totalCounts: number | undefined;
1713
-
1714
- nextToken?: string;
1715
- }
1716
- export interface ListDelegatedAdminAccountsRequest {
1717
-
1718
- maxResults?: number;
1719
-
1720
- nextToken?: string;
1721
- }
1722
- export interface ListDelegatedAdminAccountsResponse {
1723
-
1724
- delegatedAdminAccounts?: DelegatedAdminAccount[];
1725
-
1726
- nextToken?: string;
1727
- }
1728
- export interface ListFiltersRequest {
1729
-
1730
- arns?: string[];
1731
-
1732
- action?: FilterAction | string;
1733
-
1734
- nextToken?: string;
1735
-
1736
- maxResults?: number;
1737
- }
1738
- export interface ListFiltersResponse {
1739
-
1740
- filters: Filter[] | undefined;
1741
-
1742
- nextToken?: string;
1743
- }
1744
- export interface ListFindingAggregationsRequest {
1745
-
1746
- aggregationType: AggregationType | string | undefined;
1747
-
1748
- nextToken?: string;
1749
-
1750
- maxResults?: number;
1751
-
1752
- accountIds?: StringFilter[];
1753
-
1754
- aggregationRequest?: AggregationRequest;
1755
- }
1756
- export interface ListFindingAggregationsResponse {
1757
-
1758
- aggregationType: AggregationType | string | undefined;
1759
-
1760
- responses?: AggregationResponse[];
1761
-
1762
- nextToken?: string;
1763
- }
1764
- export declare enum SortField {
1765
- AWS_ACCOUNT_ID = "AWS_ACCOUNT_ID",
1766
- COMPONENT_TYPE = "COMPONENT_TYPE",
1767
- ECR_IMAGE_PUSHED_AT = "ECR_IMAGE_PUSHED_AT",
1768
- ECR_IMAGE_REGISTRY = "ECR_IMAGE_REGISTRY",
1769
- ECR_IMAGE_REPOSITORY_NAME = "ECR_IMAGE_REPOSITORY_NAME",
1770
- FINDING_STATUS = "FINDING_STATUS",
1771
- FINDING_TYPE = "FINDING_TYPE",
1772
- FIRST_OBSERVED_AT = "FIRST_OBSERVED_AT",
1773
- INSPECTOR_SCORE = "INSPECTOR_SCORE",
1774
- LAST_OBSERVED_AT = "LAST_OBSERVED_AT",
1775
- NETWORK_PROTOCOL = "NETWORK_PROTOCOL",
1776
- RESOURCE_TYPE = "RESOURCE_TYPE",
1777
- SEVERITY = "SEVERITY",
1778
- VENDOR_SEVERITY = "VENDOR_SEVERITY",
1779
- VULNERABILITY_ID = "VULNERABILITY_ID",
1780
- VULNERABILITY_SOURCE = "VULNERABILITY_SOURCE"
1781
- }
1782
-
1783
- export interface SortCriteria {
1784
-
1785
- field: SortField | string | undefined;
1786
-
1787
- sortOrder: SortOrder | string | undefined;
1788
- }
1789
- export interface ListFindingsRequest {
1790
-
1791
- maxResults?: number;
1792
-
1793
- nextToken?: string;
1794
-
1795
- filterCriteria?: FilterCriteria;
1796
-
1797
- sortCriteria?: SortCriteria;
1798
- }
1799
- export interface ListFindingsResponse {
1800
-
1801
- nextToken?: string;
1802
-
1803
- findings?: Finding[];
1804
- }
1805
- export interface ListMembersRequest {
1806
-
1807
- onlyAssociated?: boolean;
1808
-
1809
- maxResults?: number;
1810
-
1811
- nextToken?: string;
1812
- }
1813
- export interface ListMembersResponse {
1814
-
1815
- members?: Member[];
1816
-
1817
- nextToken?: string;
1818
- }
1819
- export interface ListTagsForResourceRequest {
1820
-
1821
- resourceArn: string | undefined;
1822
- }
1823
- export interface ListTagsForResourceResponse {
1824
-
1825
- tags?: Record<string, string>;
1826
- }
1827
- export interface ListUsageTotalsRequest {
1828
-
1829
- maxResults?: number;
1830
-
1831
- nextToken?: string;
1832
-
1833
- accountIds?: string[];
1834
- }
1835
- export declare enum UsageType {
1836
- EC2_INSTANCE_HOURS = "EC2_INSTANCE_HOURS",
1837
- ECR_INITIAL_SCAN = "ECR_INITIAL_SCAN",
1838
- ECR_RESCAN = "ECR_RESCAN"
1839
- }
1840
-
1841
- export interface Usage {
1842
-
1843
- type?: UsageType | string;
1844
-
1845
- total?: number;
1846
-
1847
- estimatedMonthlyCost?: number;
1848
-
1849
- currency?: Currency | string;
1850
- }
1851
-
1852
- export interface UsageTotal {
1853
-
1854
- accountId?: string;
1855
-
1856
- usage?: Usage[];
1857
- }
1858
- export interface ListUsageTotalsResponse {
1859
-
1860
- nextToken?: string;
1861
-
1862
- totals?: UsageTotal[];
1863
- }
1864
- export interface TagResourceRequest {
1865
-
1866
- resourceArn: string | undefined;
1867
-
1868
- tags: Record<string, string> | undefined;
1869
- }
1870
- export interface TagResourceResponse {
1871
- }
1872
- export interface UntagResourceRequest {
1873
-
1874
- resourceArn: string | undefined;
1875
-
1876
- tagKeys: string[] | undefined;
1877
- }
1878
- export interface UntagResourceResponse {
1879
- }
1880
- export interface UpdateConfigurationRequest {
1881
-
1882
- ecrConfiguration: EcrConfiguration | undefined;
1883
- }
1884
- export interface UpdateConfigurationResponse {
1885
- }
1886
- export interface UpdateFilterRequest {
1887
-
1888
- action?: FilterAction | string;
1889
-
1890
- description?: string;
1891
-
1892
- filterCriteria?: FilterCriteria;
1893
-
1894
- name?: string;
1895
-
1896
- filterArn: string | undefined;
1897
-
1898
- reason?: string;
1899
- }
1900
- export interface UpdateFilterResponse {
1901
-
1902
- arn: string | undefined;
1903
- }
1904
- export interface UpdateOrganizationConfigurationRequest {
1905
-
1906
- autoEnable: AutoEnable | undefined;
1907
- }
1908
- export interface UpdateOrganizationConfigurationResponse {
1909
-
1910
- autoEnable: AutoEnable | undefined;
1911
- }
1912
-
1913
- export declare const ResourceStatusFilterSensitiveLog: (obj: ResourceStatus) => any;
1914
-
1915
- export declare const AccountFilterSensitiveLog: (obj: Account) => any;
1916
-
1917
- export declare const AccountAggregationFilterSensitiveLog: (obj: AccountAggregation) => any;
1918
-
1919
- export declare const SeverityCountsFilterSensitiveLog: (obj: SeverityCounts) => any;
1920
-
1921
- export declare const AccountAggregationResponseFilterSensitiveLog: (obj: AccountAggregationResponse) => any;
1922
-
1923
- export declare const StateFilterSensitiveLog: (obj: State) => any;
1924
-
1925
- export declare const ResourceStateFilterSensitiveLog: (obj: ResourceState) => any;
1926
-
1927
- export declare const AccountStateFilterSensitiveLog: (obj: AccountState) => any;
1928
-
1929
- export declare const StringFilterFilterSensitiveLog: (obj: StringFilter) => any;
1930
-
1931
- export declare const AmiAggregationFilterSensitiveLog: (obj: AmiAggregation) => any;
1932
-
1933
- export declare const AwsEcrContainerAggregationFilterSensitiveLog: (obj: AwsEcrContainerAggregation) => any;
1934
-
1935
- export declare const MapFilterFilterSensitiveLog: (obj: MapFilter) => any;
1936
-
1937
- export declare const Ec2InstanceAggregationFilterSensitiveLog: (obj: Ec2InstanceAggregation) => any;
1938
-
1939
- export declare const FindingTypeAggregationFilterSensitiveLog: (obj: FindingTypeAggregation) => any;
1940
-
1941
- export declare const ImageLayerAggregationFilterSensitiveLog: (obj: ImageLayerAggregation) => any;
1942
-
1943
- export declare const PackageAggregationFilterSensitiveLog: (obj: PackageAggregation) => any;
1944
-
1945
- export declare const RepositoryAggregationFilterSensitiveLog: (obj: RepositoryAggregation) => any;
1946
-
1947
- export declare const TitleAggregationFilterSensitiveLog: (obj: TitleAggregation) => any;
1948
-
1949
- export declare const AggregationRequestFilterSensitiveLog: (obj: AggregationRequest) => any;
1950
-
1951
- export declare const AmiAggregationResponseFilterSensitiveLog: (obj: AmiAggregationResponse) => any;
1952
-
1953
- export declare const AwsEcrContainerAggregationResponseFilterSensitiveLog: (obj: AwsEcrContainerAggregationResponse) => any;
1954
-
1955
- export declare const Ec2InstanceAggregationResponseFilterSensitiveLog: (obj: Ec2InstanceAggregationResponse) => any;
1956
-
1957
- export declare const FindingTypeAggregationResponseFilterSensitiveLog: (obj: FindingTypeAggregationResponse) => any;
1958
-
1959
- export declare const ImageLayerAggregationResponseFilterSensitiveLog: (obj: ImageLayerAggregationResponse) => any;
1960
-
1961
- export declare const PackageAggregationResponseFilterSensitiveLog: (obj: PackageAggregationResponse) => any;
1962
-
1963
- export declare const RepositoryAggregationResponseFilterSensitiveLog: (obj: RepositoryAggregationResponse) => any;
1964
-
1965
- export declare const TitleAggregationResponseFilterSensitiveLog: (obj: TitleAggregationResponse) => any;
1966
-
1967
- export declare const AggregationResponseFilterSensitiveLog: (obj: AggregationResponse) => any;
1968
-
1969
- export declare const AssociateMemberRequestFilterSensitiveLog: (obj: AssociateMemberRequest) => any;
1970
-
1971
- export declare const AssociateMemberResponseFilterSensitiveLog: (obj: AssociateMemberResponse) => any;
1972
-
1973
- export declare const ValidationExceptionFieldFilterSensitiveLog: (obj: ValidationExceptionField) => any;
1974
-
1975
- export declare const AutoEnableFilterSensitiveLog: (obj: AutoEnable) => any;
1976
-
1977
- export declare const AwsEc2InstanceDetailsFilterSensitiveLog: (obj: AwsEc2InstanceDetails) => any;
1978
-
1979
- export declare const AwsEcrContainerImageDetailsFilterSensitiveLog: (obj: AwsEcrContainerImageDetails) => any;
1980
-
1981
- export declare const BatchGetAccountStatusRequestFilterSensitiveLog: (obj: BatchGetAccountStatusRequest) => any;
1982
-
1983
- export declare const FailedAccountFilterSensitiveLog: (obj: FailedAccount) => any;
1984
-
1985
- export declare const BatchGetAccountStatusResponseFilterSensitiveLog: (obj: BatchGetAccountStatusResponse) => any;
1986
-
1987
- export declare const BatchGetFreeTrialInfoRequestFilterSensitiveLog: (obj: BatchGetFreeTrialInfoRequest) => any;
1988
-
1989
- export declare const FreeTrialInfoFilterSensitiveLog: (obj: FreeTrialInfo) => any;
1990
-
1991
- export declare const FreeTrialAccountInfoFilterSensitiveLog: (obj: FreeTrialAccountInfo) => any;
1992
-
1993
- export declare const FreeTrialInfoErrorFilterSensitiveLog: (obj: FreeTrialInfoError) => any;
1994
-
1995
- export declare const BatchGetFreeTrialInfoResponseFilterSensitiveLog: (obj: BatchGetFreeTrialInfoResponse) => any;
1996
-
1997
- export declare const CancelFindingsReportRequestFilterSensitiveLog: (obj: CancelFindingsReportRequest) => any;
1998
-
1999
- export declare const CancelFindingsReportResponseFilterSensitiveLog: (obj: CancelFindingsReportResponse) => any;
2000
-
2001
- export declare const CountsFilterSensitiveLog: (obj: Counts) => any;
2002
-
2003
- export declare const CoverageStringFilterFilterSensitiveLog: (obj: CoverageStringFilter) => any;
2004
-
2005
- export declare const CoverageMapFilterFilterSensitiveLog: (obj: CoverageMapFilter) => any;
2006
-
2007
- export declare const CoverageFilterCriteriaFilterSensitiveLog: (obj: CoverageFilterCriteria) => any;
2008
-
2009
- export declare const Ec2MetadataFilterSensitiveLog: (obj: Ec2Metadata) => any;
2010
-
2011
- export declare const EcrContainerImageMetadataFilterSensitiveLog: (obj: EcrContainerImageMetadata) => any;
2012
-
2013
- export declare const EcrRepositoryMetadataFilterSensitiveLog: (obj: EcrRepositoryMetadata) => any;
2014
-
2015
- export declare const ResourceScanMetadataFilterSensitiveLog: (obj: ResourceScanMetadata) => any;
2016
-
2017
- export declare const ScanStatusFilterSensitiveLog: (obj: ScanStatus) => any;
2018
-
2019
- export declare const CoveredResourceFilterSensitiveLog: (obj: CoveredResource) => any;
2020
-
2021
- export declare const DateFilterFilterSensitiveLog: (obj: DateFilter) => any;
2022
-
2023
- export declare const NumberFilterFilterSensitiveLog: (obj: NumberFilter) => any;
2024
-
2025
- export declare const PortRangeFilterFilterSensitiveLog: (obj: PortRangeFilter) => any;
2026
-
2027
- export declare const PackageFilterFilterSensitiveLog: (obj: PackageFilter) => any;
2028
-
2029
- export declare const FilterCriteriaFilterSensitiveLog: (obj: FilterCriteria) => any;
2030
-
2031
- export declare const CreateFilterRequestFilterSensitiveLog: (obj: CreateFilterRequest) => any;
2032
-
2033
- export declare const CreateFilterResponseFilterSensitiveLog: (obj: CreateFilterResponse) => any;
2034
-
2035
- export declare const DestinationFilterSensitiveLog: (obj: Destination) => any;
2036
-
2037
- export declare const CreateFindingsReportRequestFilterSensitiveLog: (obj: CreateFindingsReportRequest) => any;
2038
-
2039
- export declare const CreateFindingsReportResponseFilterSensitiveLog: (obj: CreateFindingsReportResponse) => any;
2040
-
2041
- export declare const CvssScoreFilterSensitiveLog: (obj: CvssScore) => any;
2042
-
2043
- export declare const CvssScoreAdjustmentFilterSensitiveLog: (obj: CvssScoreAdjustment) => any;
2044
-
2045
- export declare const CvssScoreDetailsFilterSensitiveLog: (obj: CvssScoreDetails) => any;
2046
-
2047
- export declare const DelegatedAdminFilterSensitiveLog: (obj: DelegatedAdmin) => any;
2048
-
2049
- export declare const DelegatedAdminAccountFilterSensitiveLog: (obj: DelegatedAdminAccount) => any;
2050
-
2051
- export declare const DeleteFilterRequestFilterSensitiveLog: (obj: DeleteFilterRequest) => any;
2052
-
2053
- export declare const DeleteFilterResponseFilterSensitiveLog: (obj: DeleteFilterResponse) => any;
2054
-
2055
- export declare const DescribeOrganizationConfigurationRequestFilterSensitiveLog: (obj: DescribeOrganizationConfigurationRequest) => any;
2056
-
2057
- export declare const DescribeOrganizationConfigurationResponseFilterSensitiveLog: (obj: DescribeOrganizationConfigurationResponse) => any;
2058
-
2059
- export declare const DisableRequestFilterSensitiveLog: (obj: DisableRequest) => any;
2060
-
2061
- export declare const DisableResponseFilterSensitiveLog: (obj: DisableResponse) => any;
2062
-
2063
- export declare const DisableDelegatedAdminAccountRequestFilterSensitiveLog: (obj: DisableDelegatedAdminAccountRequest) => any;
2064
-
2065
- export declare const DisableDelegatedAdminAccountResponseFilterSensitiveLog: (obj: DisableDelegatedAdminAccountResponse) => any;
2066
-
2067
- export declare const DisassociateMemberRequestFilterSensitiveLog: (obj: DisassociateMemberRequest) => any;
2068
-
2069
- export declare const DisassociateMemberResponseFilterSensitiveLog: (obj: DisassociateMemberResponse) => any;
2070
-
2071
- export declare const EcrConfigurationFilterSensitiveLog: (obj: EcrConfiguration) => any;
2072
-
2073
- export declare const EcrRescanDurationStateFilterSensitiveLog: (obj: EcrRescanDurationState) => any;
2074
-
2075
- export declare const EcrConfigurationStateFilterSensitiveLog: (obj: EcrConfigurationState) => any;
2076
-
2077
- export declare const EnableRequestFilterSensitiveLog: (obj: EnableRequest) => any;
2078
-
2079
- export declare const EnableResponseFilterSensitiveLog: (obj: EnableResponse) => any;
2080
-
2081
- export declare const EnableDelegatedAdminAccountRequestFilterSensitiveLog: (obj: EnableDelegatedAdminAccountRequest) => any;
2082
-
2083
- export declare const EnableDelegatedAdminAccountResponseFilterSensitiveLog: (obj: EnableDelegatedAdminAccountResponse) => any;
2084
-
2085
- export declare const FilterFilterSensitiveLog: (obj: Filter) => any;
2086
-
2087
- export declare const InspectorScoreDetailsFilterSensitiveLog: (obj: InspectorScoreDetails) => any;
2088
-
2089
- export declare const StepFilterSensitiveLog: (obj: Step) => any;
2090
-
2091
- export declare const NetworkPathFilterSensitiveLog: (obj: NetworkPath) => any;
2092
-
2093
- export declare const PortRangeFilterSensitiveLog: (obj: PortRange) => any;
2094
-
2095
- export declare const NetworkReachabilityDetailsFilterSensitiveLog: (obj: NetworkReachabilityDetails) => any;
2096
-
2097
- export declare const VulnerablePackageFilterSensitiveLog: (obj: VulnerablePackage) => any;
2098
-
2099
- export declare const PackageVulnerabilityDetailsFilterSensitiveLog: (obj: PackageVulnerabilityDetails) => any;
2100
-
2101
- export declare const RecommendationFilterSensitiveLog: (obj: Recommendation) => any;
2102
-
2103
- export declare const RemediationFilterSensitiveLog: (obj: Remediation) => any;
2104
-
2105
- export declare const ResourceDetailsFilterSensitiveLog: (obj: ResourceDetails) => any;
2106
-
2107
- export declare const ResourceFilterSensitiveLog: (obj: Resource) => any;
2108
-
2109
- export declare const FindingFilterSensitiveLog: (obj: Finding) => any;
2110
-
2111
- export declare const GetConfigurationRequestFilterSensitiveLog: (obj: GetConfigurationRequest) => any;
2112
-
2113
- export declare const GetConfigurationResponseFilterSensitiveLog: (obj: GetConfigurationResponse) => any;
2114
-
2115
- export declare const GetDelegatedAdminAccountRequestFilterSensitiveLog: (obj: GetDelegatedAdminAccountRequest) => any;
2116
-
2117
- export declare const GetDelegatedAdminAccountResponseFilterSensitiveLog: (obj: GetDelegatedAdminAccountResponse) => any;
2118
-
2119
- export declare const GetFindingsReportStatusRequestFilterSensitiveLog: (obj: GetFindingsReportStatusRequest) => any;
2120
-
2121
- export declare const GetFindingsReportStatusResponseFilterSensitiveLog: (obj: GetFindingsReportStatusResponse) => any;
2122
-
2123
- export declare const GetMemberRequestFilterSensitiveLog: (obj: GetMemberRequest) => any;
2124
-
2125
- export declare const MemberFilterSensitiveLog: (obj: Member) => any;
2126
-
2127
- export declare const GetMemberResponseFilterSensitiveLog: (obj: GetMemberResponse) => any;
2128
-
2129
- export declare const ListAccountPermissionsRequestFilterSensitiveLog: (obj: ListAccountPermissionsRequest) => any;
2130
-
2131
- export declare const PermissionFilterSensitiveLog: (obj: Permission) => any;
2132
-
2133
- export declare const ListAccountPermissionsResponseFilterSensitiveLog: (obj: ListAccountPermissionsResponse) => any;
2134
-
2135
- export declare const ListCoverageRequestFilterSensitiveLog: (obj: ListCoverageRequest) => any;
2136
-
2137
- export declare const ListCoverageResponseFilterSensitiveLog: (obj: ListCoverageResponse) => any;
2138
-
2139
- export declare const ListCoverageStatisticsRequestFilterSensitiveLog: (obj: ListCoverageStatisticsRequest) => any;
2140
-
2141
- export declare const ListCoverageStatisticsResponseFilterSensitiveLog: (obj: ListCoverageStatisticsResponse) => any;
2142
-
2143
- export declare const ListDelegatedAdminAccountsRequestFilterSensitiveLog: (obj: ListDelegatedAdminAccountsRequest) => any;
2144
-
2145
- export declare const ListDelegatedAdminAccountsResponseFilterSensitiveLog: (obj: ListDelegatedAdminAccountsResponse) => any;
2146
-
2147
- export declare const ListFiltersRequestFilterSensitiveLog: (obj: ListFiltersRequest) => any;
2148
-
2149
- export declare const ListFiltersResponseFilterSensitiveLog: (obj: ListFiltersResponse) => any;
2150
-
2151
- export declare const ListFindingAggregationsRequestFilterSensitiveLog: (obj: ListFindingAggregationsRequest) => any;
2152
-
2153
- export declare const ListFindingAggregationsResponseFilterSensitiveLog: (obj: ListFindingAggregationsResponse) => any;
2154
-
2155
- export declare const SortCriteriaFilterSensitiveLog: (obj: SortCriteria) => any;
2156
-
2157
- export declare const ListFindingsRequestFilterSensitiveLog: (obj: ListFindingsRequest) => any;
2158
-
2159
- export declare const ListFindingsResponseFilterSensitiveLog: (obj: ListFindingsResponse) => any;
2160
-
2161
- export declare const ListMembersRequestFilterSensitiveLog: (obj: ListMembersRequest) => any;
2162
-
2163
- export declare const ListMembersResponseFilterSensitiveLog: (obj: ListMembersResponse) => any;
2164
-
2165
- export declare const ListTagsForResourceRequestFilterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
2166
-
2167
- export declare const ListTagsForResourceResponseFilterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
2168
-
2169
- export declare const ListUsageTotalsRequestFilterSensitiveLog: (obj: ListUsageTotalsRequest) => any;
2170
-
2171
- export declare const UsageFilterSensitiveLog: (obj: Usage) => any;
2172
-
2173
- export declare const UsageTotalFilterSensitiveLog: (obj: UsageTotal) => any;
2174
-
2175
- export declare const ListUsageTotalsResponseFilterSensitiveLog: (obj: ListUsageTotalsResponse) => any;
2176
-
2177
- export declare const TagResourceRequestFilterSensitiveLog: (obj: TagResourceRequest) => any;
2178
-
2179
- export declare const TagResourceResponseFilterSensitiveLog: (obj: TagResourceResponse) => any;
2180
-
2181
- export declare const UntagResourceRequestFilterSensitiveLog: (obj: UntagResourceRequest) => any;
2182
-
2183
- export declare const UntagResourceResponseFilterSensitiveLog: (obj: UntagResourceResponse) => any;
2184
-
2185
- export declare const UpdateConfigurationRequestFilterSensitiveLog: (obj: UpdateConfigurationRequest) => any;
2186
-
2187
- export declare const UpdateConfigurationResponseFilterSensitiveLog: (obj: UpdateConfigurationResponse) => any;
2188
-
2189
- export declare const UpdateFilterRequestFilterSensitiveLog: (obj: UpdateFilterRequest) => any;
2190
-
2191
- export declare const UpdateFilterResponseFilterSensitiveLog: (obj: UpdateFilterResponse) => any;
2192
-
2193
- export declare const UpdateOrganizationConfigurationRequestFilterSensitiveLog: (obj: UpdateOrganizationConfigurationRequest) => any;
2194
-
2195
- export declare const UpdateOrganizationConfigurationResponseFilterSensitiveLog: (obj: UpdateOrganizationConfigurationResponse) => any;
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { Inspector2ServiceException as __BaseException } from "./Inspector2ServiceException";
3
+
4
+ export declare class AccessDeniedException extends __BaseException {
5
+ readonly name: "AccessDeniedException";
6
+ readonly $fault: "client";
7
+
8
+ constructor(
9
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
10
+ );
11
+ }
12
+ export declare enum Status {
13
+ DISABLED = "DISABLED",
14
+ DISABLING = "DISABLING",
15
+ ENABLED = "ENABLED",
16
+ ENABLING = "ENABLING",
17
+ SUSPENDED = "SUSPENDED",
18
+ SUSPENDING = "SUSPENDING",
19
+ }
20
+
21
+ export interface ResourceStatus {
22
+ ec2: Status | string | undefined;
23
+
24
+ ecr: Status | string | undefined;
25
+ }
26
+
27
+ export interface Account {
28
+ accountId: string | undefined;
29
+
30
+ status: Status | string | undefined;
31
+
32
+ resourceStatus: ResourceStatus | undefined;
33
+ }
34
+ export declare enum AggregationFindingType {
35
+ NETWORK_REACHABILITY = "NETWORK_REACHABILITY",
36
+ PACKAGE_VULNERABILITY = "PACKAGE_VULNERABILITY",
37
+ }
38
+ export declare enum AggregationResourceType {
39
+ AWS_EC2_INSTANCE = "AWS_EC2_INSTANCE",
40
+ AWS_ECR_CONTAINER_IMAGE = "AWS_ECR_CONTAINER_IMAGE",
41
+ }
42
+ export declare enum AccountSortBy {
43
+ ALL = "ALL",
44
+ CRITICAL = "CRITICAL",
45
+ HIGH = "HIGH",
46
+ }
47
+ export declare enum SortOrder {
48
+ ASC = "ASC",
49
+ DESC = "DESC",
50
+ }
51
+
52
+ export interface AccountAggregation {
53
+ findingType?: AggregationFindingType | string;
54
+
55
+ resourceType?: AggregationResourceType | string;
56
+
57
+ sortOrder?: SortOrder | string;
58
+
59
+ sortBy?: AccountSortBy | string;
60
+ }
61
+
62
+ export interface SeverityCounts {
63
+ all?: number;
64
+
65
+ medium?: number;
66
+
67
+ high?: number;
68
+
69
+ critical?: number;
70
+ }
71
+
72
+ export interface AccountAggregationResponse {
73
+ accountId?: string;
74
+
75
+ severityCounts?: SeverityCounts;
76
+ }
77
+ export declare enum ErrorCode {
78
+ ACCESS_DENIED = "ACCESS_DENIED",
79
+ ACCOUNT_IS_ISOLATED = "ACCOUNT_IS_ISOLATED",
80
+ ALREADY_ENABLED = "ALREADY_ENABLED",
81
+ DISABLE_IN_PROGRESS = "DISABLE_IN_PROGRESS",
82
+ DISASSOCIATE_ALL_MEMBERS = "DISASSOCIATE_ALL_MEMBERS",
83
+ ENABLE_IN_PROGRESS = "ENABLE_IN_PROGRESS",
84
+ EVENTBRIDGE_THROTTLED = "EVENTBRIDGE_THROTTLED",
85
+ EVENTBRIDGE_UNAVAILABLE = "EVENTBRIDGE_UNAVAILABLE",
86
+ INTERNAL_ERROR = "INTERNAL_ERROR",
87
+ RESOURCE_NOT_FOUND = "RESOURCE_NOT_FOUND",
88
+ RESOURCE_SCAN_NOT_DISABLED = "RESOURCE_SCAN_NOT_DISABLED",
89
+ SSM_THROTTLED = "SSM_THROTTLED",
90
+ SSM_UNAVAILABLE = "SSM_UNAVAILABLE",
91
+ SUSPEND_IN_PROGRESS = "SUSPEND_IN_PROGRESS",
92
+ }
93
+
94
+ export interface State {
95
+ status: Status | string | undefined;
96
+
97
+ errorCode: ErrorCode | string | undefined;
98
+
99
+ errorMessage: string | undefined;
100
+ }
101
+
102
+ export interface ResourceState {
103
+ ec2: State | undefined;
104
+
105
+ ecr: State | undefined;
106
+ }
107
+
108
+ export interface AccountState {
109
+ accountId: string | undefined;
110
+
111
+ state: State | undefined;
112
+
113
+ resourceState: ResourceState | undefined;
114
+ }
115
+ export declare enum StringComparison {
116
+ EQUALS = "EQUALS",
117
+ NOT_EQUALS = "NOT_EQUALS",
118
+ PREFIX = "PREFIX",
119
+ }
120
+
121
+ export interface StringFilter {
122
+ comparison: StringComparison | string | undefined;
123
+
124
+ value: string | undefined;
125
+ }
126
+ export declare enum AmiSortBy {
127
+ AFFECTED_INSTANCES = "AFFECTED_INSTANCES",
128
+ ALL = "ALL",
129
+ CRITICAL = "CRITICAL",
130
+ HIGH = "HIGH",
131
+ }
132
+
133
+ export interface AmiAggregation {
134
+ amis?: StringFilter[];
135
+
136
+ sortOrder?: SortOrder | string;
137
+
138
+ sortBy?: AmiSortBy | string;
139
+ }
140
+ export declare enum AwsEcrContainerSortBy {
141
+ ALL = "ALL",
142
+ CRITICAL = "CRITICAL",
143
+ HIGH = "HIGH",
144
+ }
145
+
146
+ export interface AwsEcrContainerAggregation {
147
+ resourceIds?: StringFilter[];
148
+
149
+ imageShas?: StringFilter[];
150
+
151
+ repositories?: StringFilter[];
152
+
153
+ architectures?: StringFilter[];
154
+
155
+ imageTags?: StringFilter[];
156
+
157
+ sortOrder?: SortOrder | string;
158
+
159
+ sortBy?: AwsEcrContainerSortBy | string;
160
+ }
161
+ export declare enum MapComparison {
162
+ EQUALS = "EQUALS",
163
+ }
164
+
165
+ export interface MapFilter {
166
+ comparison: MapComparison | string | undefined;
167
+
168
+ key: string | undefined;
169
+
170
+ value?: string;
171
+ }
172
+ export declare enum Ec2InstanceSortBy {
173
+ ALL = "ALL",
174
+ CRITICAL = "CRITICAL",
175
+ HIGH = "HIGH",
176
+ NETWORK_FINDINGS = "NETWORK_FINDINGS",
177
+ }
178
+
179
+ export interface Ec2InstanceAggregation {
180
+ amis?: StringFilter[];
181
+
182
+ operatingSystems?: StringFilter[];
183
+
184
+ instanceIds?: StringFilter[];
185
+
186
+ instanceTags?: MapFilter[];
187
+
188
+ sortOrder?: SortOrder | string;
189
+
190
+ sortBy?: Ec2InstanceSortBy | string;
191
+ }
192
+ export declare enum FindingTypeSortBy {
193
+ ALL = "ALL",
194
+ CRITICAL = "CRITICAL",
195
+ HIGH = "HIGH",
196
+ }
197
+
198
+ export interface FindingTypeAggregation {
199
+ findingType?: AggregationFindingType | string;
200
+
201
+ resourceType?: AggregationResourceType | string;
202
+
203
+ sortOrder?: SortOrder | string;
204
+
205
+ sortBy?: FindingTypeSortBy | string;
206
+ }
207
+ export declare enum ImageLayerSortBy {
208
+ ALL = "ALL",
209
+ CRITICAL = "CRITICAL",
210
+ HIGH = "HIGH",
211
+ }
212
+
213
+ export interface ImageLayerAggregation {
214
+ repositories?: StringFilter[];
215
+
216
+ resourceIds?: StringFilter[];
217
+
218
+ layerHashes?: StringFilter[];
219
+
220
+ sortOrder?: SortOrder | string;
221
+
222
+ sortBy?: ImageLayerSortBy | string;
223
+ }
224
+ export declare enum PackageSortBy {
225
+ ALL = "ALL",
226
+ CRITICAL = "CRITICAL",
227
+ HIGH = "HIGH",
228
+ }
229
+
230
+ export interface PackageAggregation {
231
+ packageNames?: StringFilter[];
232
+
233
+ sortOrder?: SortOrder | string;
234
+
235
+ sortBy?: PackageSortBy | string;
236
+ }
237
+ export declare enum RepositorySortBy {
238
+ AFFECTED_IMAGES = "AFFECTED_IMAGES",
239
+ ALL = "ALL",
240
+ CRITICAL = "CRITICAL",
241
+ HIGH = "HIGH",
242
+ }
243
+
244
+ export interface RepositoryAggregation {
245
+ repositories?: StringFilter[];
246
+
247
+ sortOrder?: SortOrder | string;
248
+
249
+ sortBy?: RepositorySortBy | string;
250
+ }
251
+ export declare enum TitleSortBy {
252
+ ALL = "ALL",
253
+ CRITICAL = "CRITICAL",
254
+ HIGH = "HIGH",
255
+ }
256
+
257
+ export interface TitleAggregation {
258
+ titles?: StringFilter[];
259
+
260
+ vulnerabilityIds?: StringFilter[];
261
+
262
+ resourceType?: AggregationResourceType | string;
263
+
264
+ sortOrder?: SortOrder | string;
265
+
266
+ sortBy?: TitleSortBy | string;
267
+ }
268
+
269
+ export declare type AggregationRequest =
270
+ | AggregationRequest.AccountAggregationMember
271
+ | AggregationRequest.AmiAggregationMember
272
+ | AggregationRequest.AwsEcrContainerAggregationMember
273
+ | AggregationRequest.Ec2InstanceAggregationMember
274
+ | AggregationRequest.FindingTypeAggregationMember
275
+ | AggregationRequest.ImageLayerAggregationMember
276
+ | AggregationRequest.PackageAggregationMember
277
+ | AggregationRequest.RepositoryAggregationMember
278
+ | AggregationRequest.TitleAggregationMember
279
+ | AggregationRequest.$UnknownMember;
280
+ export declare namespace AggregationRequest {
281
+ interface AccountAggregationMember {
282
+ accountAggregation: AccountAggregation;
283
+ amiAggregation?: never;
284
+ awsEcrContainerAggregation?: never;
285
+ ec2InstanceAggregation?: never;
286
+ findingTypeAggregation?: never;
287
+ imageLayerAggregation?: never;
288
+ packageAggregation?: never;
289
+ repositoryAggregation?: never;
290
+ titleAggregation?: never;
291
+ $unknown?: never;
292
+ }
293
+
294
+ interface AmiAggregationMember {
295
+ accountAggregation?: never;
296
+ amiAggregation: AmiAggregation;
297
+ awsEcrContainerAggregation?: never;
298
+ ec2InstanceAggregation?: never;
299
+ findingTypeAggregation?: never;
300
+ imageLayerAggregation?: never;
301
+ packageAggregation?: never;
302
+ repositoryAggregation?: never;
303
+ titleAggregation?: never;
304
+ $unknown?: never;
305
+ }
306
+
307
+ interface AwsEcrContainerAggregationMember {
308
+ accountAggregation?: never;
309
+ amiAggregation?: never;
310
+ awsEcrContainerAggregation: AwsEcrContainerAggregation;
311
+ ec2InstanceAggregation?: never;
312
+ findingTypeAggregation?: never;
313
+ imageLayerAggregation?: never;
314
+ packageAggregation?: never;
315
+ repositoryAggregation?: never;
316
+ titleAggregation?: never;
317
+ $unknown?: never;
318
+ }
319
+
320
+ interface Ec2InstanceAggregationMember {
321
+ accountAggregation?: never;
322
+ amiAggregation?: never;
323
+ awsEcrContainerAggregation?: never;
324
+ ec2InstanceAggregation: Ec2InstanceAggregation;
325
+ findingTypeAggregation?: never;
326
+ imageLayerAggregation?: never;
327
+ packageAggregation?: never;
328
+ repositoryAggregation?: never;
329
+ titleAggregation?: never;
330
+ $unknown?: never;
331
+ }
332
+
333
+ interface FindingTypeAggregationMember {
334
+ accountAggregation?: never;
335
+ amiAggregation?: never;
336
+ awsEcrContainerAggregation?: never;
337
+ ec2InstanceAggregation?: never;
338
+ findingTypeAggregation: FindingTypeAggregation;
339
+ imageLayerAggregation?: never;
340
+ packageAggregation?: never;
341
+ repositoryAggregation?: never;
342
+ titleAggregation?: never;
343
+ $unknown?: never;
344
+ }
345
+
346
+ interface ImageLayerAggregationMember {
347
+ accountAggregation?: never;
348
+ amiAggregation?: never;
349
+ awsEcrContainerAggregation?: never;
350
+ ec2InstanceAggregation?: never;
351
+ findingTypeAggregation?: never;
352
+ imageLayerAggregation: ImageLayerAggregation;
353
+ packageAggregation?: never;
354
+ repositoryAggregation?: never;
355
+ titleAggregation?: never;
356
+ $unknown?: never;
357
+ }
358
+
359
+ interface PackageAggregationMember {
360
+ accountAggregation?: never;
361
+ amiAggregation?: never;
362
+ awsEcrContainerAggregation?: never;
363
+ ec2InstanceAggregation?: never;
364
+ findingTypeAggregation?: never;
365
+ imageLayerAggregation?: never;
366
+ packageAggregation: PackageAggregation;
367
+ repositoryAggregation?: never;
368
+ titleAggregation?: never;
369
+ $unknown?: never;
370
+ }
371
+
372
+ interface RepositoryAggregationMember {
373
+ accountAggregation?: never;
374
+ amiAggregation?: never;
375
+ awsEcrContainerAggregation?: never;
376
+ ec2InstanceAggregation?: never;
377
+ findingTypeAggregation?: never;
378
+ imageLayerAggregation?: never;
379
+ packageAggregation?: never;
380
+ repositoryAggregation: RepositoryAggregation;
381
+ titleAggregation?: never;
382
+ $unknown?: never;
383
+ }
384
+
385
+ interface TitleAggregationMember {
386
+ accountAggregation?: never;
387
+ amiAggregation?: never;
388
+ awsEcrContainerAggregation?: never;
389
+ ec2InstanceAggregation?: never;
390
+ findingTypeAggregation?: never;
391
+ imageLayerAggregation?: never;
392
+ packageAggregation?: never;
393
+ repositoryAggregation?: never;
394
+ titleAggregation: TitleAggregation;
395
+ $unknown?: never;
396
+ }
397
+ interface $UnknownMember {
398
+ accountAggregation?: never;
399
+ amiAggregation?: never;
400
+ awsEcrContainerAggregation?: never;
401
+ ec2InstanceAggregation?: never;
402
+ findingTypeAggregation?: never;
403
+ imageLayerAggregation?: never;
404
+ packageAggregation?: never;
405
+ repositoryAggregation?: never;
406
+ titleAggregation?: never;
407
+ $unknown: [string, any];
408
+ }
409
+ interface Visitor<T> {
410
+ accountAggregation: (value: AccountAggregation) => T;
411
+ amiAggregation: (value: AmiAggregation) => T;
412
+ awsEcrContainerAggregation: (value: AwsEcrContainerAggregation) => T;
413
+ ec2InstanceAggregation: (value: Ec2InstanceAggregation) => T;
414
+ findingTypeAggregation: (value: FindingTypeAggregation) => T;
415
+ imageLayerAggregation: (value: ImageLayerAggregation) => T;
416
+ packageAggregation: (value: PackageAggregation) => T;
417
+ repositoryAggregation: (value: RepositoryAggregation) => T;
418
+ titleAggregation: (value: TitleAggregation) => T;
419
+ _: (name: string, value: any) => T;
420
+ }
421
+ const visit: <T>(value: AggregationRequest, visitor: Visitor<T>) => T;
422
+ }
423
+
424
+ export interface AmiAggregationResponse {
425
+ ami: string | undefined;
426
+
427
+ accountId?: string;
428
+
429
+ severityCounts?: SeverityCounts;
430
+
431
+ affectedInstances?: number;
432
+ }
433
+
434
+ export interface AwsEcrContainerAggregationResponse {
435
+ resourceId: string | undefined;
436
+
437
+ imageSha?: string;
438
+
439
+ repository?: string;
440
+
441
+ architecture?: string;
442
+
443
+ imageTags?: string[];
444
+
445
+ accountId?: string;
446
+
447
+ severityCounts?: SeverityCounts;
448
+ }
449
+
450
+ export interface Ec2InstanceAggregationResponse {
451
+ instanceId: string | undefined;
452
+
453
+ ami?: string;
454
+
455
+ operatingSystem?: string;
456
+
457
+ instanceTags?: Record<string, string>;
458
+
459
+ accountId?: string;
460
+
461
+ severityCounts?: SeverityCounts;
462
+
463
+ networkFindings?: number;
464
+ }
465
+
466
+ export interface FindingTypeAggregationResponse {
467
+ accountId?: string;
468
+
469
+ severityCounts?: SeverityCounts;
470
+ }
471
+
472
+ export interface ImageLayerAggregationResponse {
473
+ repository: string | undefined;
474
+
475
+ resourceId: string | undefined;
476
+
477
+ layerHash: string | undefined;
478
+
479
+ accountId: string | undefined;
480
+
481
+ severityCounts?: SeverityCounts;
482
+ }
483
+
484
+ export interface PackageAggregationResponse {
485
+ packageName: string | undefined;
486
+
487
+ accountId?: string;
488
+
489
+ severityCounts?: SeverityCounts;
490
+ }
491
+
492
+ export interface RepositoryAggregationResponse {
493
+ repository: string | undefined;
494
+
495
+ accountId?: string;
496
+
497
+ severityCounts?: SeverityCounts;
498
+
499
+ affectedImages?: number;
500
+ }
501
+
502
+ export interface TitleAggregationResponse {
503
+ title: string | undefined;
504
+
505
+ vulnerabilityId?: string;
506
+
507
+ accountId?: string;
508
+
509
+ severityCounts?: SeverityCounts;
510
+ }
511
+
512
+ export declare type AggregationResponse =
513
+ | AggregationResponse.AccountAggregationMember
514
+ | AggregationResponse.AmiAggregationMember
515
+ | AggregationResponse.AwsEcrContainerAggregationMember
516
+ | AggregationResponse.Ec2InstanceAggregationMember
517
+ | AggregationResponse.FindingTypeAggregationMember
518
+ | AggregationResponse.ImageLayerAggregationMember
519
+ | AggregationResponse.PackageAggregationMember
520
+ | AggregationResponse.RepositoryAggregationMember
521
+ | AggregationResponse.TitleAggregationMember
522
+ | AggregationResponse.$UnknownMember;
523
+ export declare namespace AggregationResponse {
524
+ interface AccountAggregationMember {
525
+ accountAggregation: AccountAggregationResponse;
526
+ amiAggregation?: never;
527
+ awsEcrContainerAggregation?: never;
528
+ ec2InstanceAggregation?: never;
529
+ findingTypeAggregation?: never;
530
+ imageLayerAggregation?: never;
531
+ packageAggregation?: never;
532
+ repositoryAggregation?: never;
533
+ titleAggregation?: never;
534
+ $unknown?: never;
535
+ }
536
+
537
+ interface AmiAggregationMember {
538
+ accountAggregation?: never;
539
+ amiAggregation: AmiAggregationResponse;
540
+ awsEcrContainerAggregation?: never;
541
+ ec2InstanceAggregation?: never;
542
+ findingTypeAggregation?: never;
543
+ imageLayerAggregation?: never;
544
+ packageAggregation?: never;
545
+ repositoryAggregation?: never;
546
+ titleAggregation?: never;
547
+ $unknown?: never;
548
+ }
549
+
550
+ interface AwsEcrContainerAggregationMember {
551
+ accountAggregation?: never;
552
+ amiAggregation?: never;
553
+ awsEcrContainerAggregation: AwsEcrContainerAggregationResponse;
554
+ ec2InstanceAggregation?: never;
555
+ findingTypeAggregation?: never;
556
+ imageLayerAggregation?: never;
557
+ packageAggregation?: never;
558
+ repositoryAggregation?: never;
559
+ titleAggregation?: never;
560
+ $unknown?: never;
561
+ }
562
+
563
+ interface Ec2InstanceAggregationMember {
564
+ accountAggregation?: never;
565
+ amiAggregation?: never;
566
+ awsEcrContainerAggregation?: never;
567
+ ec2InstanceAggregation: Ec2InstanceAggregationResponse;
568
+ findingTypeAggregation?: never;
569
+ imageLayerAggregation?: never;
570
+ packageAggregation?: never;
571
+ repositoryAggregation?: never;
572
+ titleAggregation?: never;
573
+ $unknown?: never;
574
+ }
575
+
576
+ interface FindingTypeAggregationMember {
577
+ accountAggregation?: never;
578
+ amiAggregation?: never;
579
+ awsEcrContainerAggregation?: never;
580
+ ec2InstanceAggregation?: never;
581
+ findingTypeAggregation: FindingTypeAggregationResponse;
582
+ imageLayerAggregation?: never;
583
+ packageAggregation?: never;
584
+ repositoryAggregation?: never;
585
+ titleAggregation?: never;
586
+ $unknown?: never;
587
+ }
588
+
589
+ interface ImageLayerAggregationMember {
590
+ accountAggregation?: never;
591
+ amiAggregation?: never;
592
+ awsEcrContainerAggregation?: never;
593
+ ec2InstanceAggregation?: never;
594
+ findingTypeAggregation?: never;
595
+ imageLayerAggregation: ImageLayerAggregationResponse;
596
+ packageAggregation?: never;
597
+ repositoryAggregation?: never;
598
+ titleAggregation?: never;
599
+ $unknown?: never;
600
+ }
601
+
602
+ interface PackageAggregationMember {
603
+ accountAggregation?: never;
604
+ amiAggregation?: never;
605
+ awsEcrContainerAggregation?: never;
606
+ ec2InstanceAggregation?: never;
607
+ findingTypeAggregation?: never;
608
+ imageLayerAggregation?: never;
609
+ packageAggregation: PackageAggregationResponse;
610
+ repositoryAggregation?: never;
611
+ titleAggregation?: never;
612
+ $unknown?: never;
613
+ }
614
+
615
+ interface RepositoryAggregationMember {
616
+ accountAggregation?: never;
617
+ amiAggregation?: never;
618
+ awsEcrContainerAggregation?: never;
619
+ ec2InstanceAggregation?: never;
620
+ findingTypeAggregation?: never;
621
+ imageLayerAggregation?: never;
622
+ packageAggregation?: never;
623
+ repositoryAggregation: RepositoryAggregationResponse;
624
+ titleAggregation?: never;
625
+ $unknown?: never;
626
+ }
627
+
628
+ interface TitleAggregationMember {
629
+ accountAggregation?: never;
630
+ amiAggregation?: never;
631
+ awsEcrContainerAggregation?: never;
632
+ ec2InstanceAggregation?: never;
633
+ findingTypeAggregation?: never;
634
+ imageLayerAggregation?: never;
635
+ packageAggregation?: never;
636
+ repositoryAggregation?: never;
637
+ titleAggregation: TitleAggregationResponse;
638
+ $unknown?: never;
639
+ }
640
+ interface $UnknownMember {
641
+ accountAggregation?: never;
642
+ amiAggregation?: never;
643
+ awsEcrContainerAggregation?: never;
644
+ ec2InstanceAggregation?: never;
645
+ findingTypeAggregation?: never;
646
+ imageLayerAggregation?: never;
647
+ packageAggregation?: never;
648
+ repositoryAggregation?: never;
649
+ titleAggregation?: never;
650
+ $unknown: [string, any];
651
+ }
652
+ interface Visitor<T> {
653
+ accountAggregation: (value: AccountAggregationResponse) => T;
654
+ amiAggregation: (value: AmiAggregationResponse) => T;
655
+ awsEcrContainerAggregation: (
656
+ value: AwsEcrContainerAggregationResponse
657
+ ) => T;
658
+ ec2InstanceAggregation: (value: Ec2InstanceAggregationResponse) => T;
659
+ findingTypeAggregation: (value: FindingTypeAggregationResponse) => T;
660
+ imageLayerAggregation: (value: ImageLayerAggregationResponse) => T;
661
+ packageAggregation: (value: PackageAggregationResponse) => T;
662
+ repositoryAggregation: (value: RepositoryAggregationResponse) => T;
663
+ titleAggregation: (value: TitleAggregationResponse) => T;
664
+ _: (name: string, value: any) => T;
665
+ }
666
+ const visit: <T>(value: AggregationResponse, visitor: Visitor<T>) => T;
667
+ }
668
+ export declare enum AggregationType {
669
+ ACCOUNT = "ACCOUNT",
670
+ AMI = "AMI",
671
+ AWS_EC2_INSTANCE = "AWS_EC2_INSTANCE",
672
+ AWS_ECR_CONTAINER = "AWS_ECR_CONTAINER",
673
+ FINDING_TYPE = "FINDING_TYPE",
674
+ IMAGE_LAYER = "IMAGE_LAYER",
675
+ PACKAGE = "PACKAGE",
676
+ REPOSITORY = "REPOSITORY",
677
+ TITLE = "TITLE",
678
+ }
679
+ export interface AssociateMemberRequest {
680
+ accountId: string | undefined;
681
+ }
682
+ export interface AssociateMemberResponse {
683
+ accountId: string | undefined;
684
+ }
685
+
686
+ export declare class InternalServerException extends __BaseException {
687
+ readonly name: "InternalServerException";
688
+ readonly $fault: "server";
689
+ $retryable: {};
690
+
691
+ retryAfterSeconds?: number;
692
+
693
+ constructor(
694
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
695
+ );
696
+ }
697
+
698
+ export declare class ThrottlingException extends __BaseException {
699
+ readonly name: "ThrottlingException";
700
+ readonly $fault: "client";
701
+
702
+ constructor(
703
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
704
+ );
705
+ }
706
+
707
+ export interface ValidationExceptionField {
708
+ name: string | undefined;
709
+
710
+ message: string | undefined;
711
+ }
712
+ export declare enum ValidationExceptionReason {
713
+ CANNOT_PARSE = "CANNOT_PARSE",
714
+ FIELD_VALIDATION_FAILED = "FIELD_VALIDATION_FAILED",
715
+ OTHER = "OTHER",
716
+ }
717
+
718
+ export declare class ValidationException extends __BaseException {
719
+ readonly name: "ValidationException";
720
+ readonly $fault: "client";
721
+
722
+ reason: ValidationExceptionReason | string | undefined;
723
+
724
+ fields?: ValidationExceptionField[];
725
+
726
+ constructor(
727
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
728
+ );
729
+ }
730
+
731
+ export interface AutoEnable {
732
+ ec2: boolean | undefined;
733
+
734
+ ecr: boolean | undefined;
735
+ }
736
+
737
+ export interface AwsEc2InstanceDetails {
738
+ type?: string;
739
+
740
+ imageId?: string;
741
+
742
+ ipV4Addresses?: string[];
743
+
744
+ ipV6Addresses?: string[];
745
+
746
+ keyName?: string;
747
+
748
+ iamInstanceProfileArn?: string;
749
+
750
+ vpcId?: string;
751
+
752
+ subnetId?: string;
753
+
754
+ launchedAt?: Date;
755
+
756
+ platform?: string;
757
+ }
758
+
759
+ export interface AwsEcrContainerImageDetails {
760
+ repositoryName: string | undefined;
761
+
762
+ imageTags?: string[];
763
+
764
+ pushedAt?: Date;
765
+
766
+ author?: string;
767
+
768
+ architecture?: string;
769
+
770
+ imageHash: string | undefined;
771
+
772
+ registry: string | undefined;
773
+
774
+ platform?: string;
775
+ }
776
+
777
+ export declare class BadRequestException extends __BaseException {
778
+ readonly name: "BadRequestException";
779
+ readonly $fault: "client";
780
+
781
+ constructor(
782
+ opts: __ExceptionOptionType<BadRequestException, __BaseException>
783
+ );
784
+ }
785
+ export interface BatchGetAccountStatusRequest {
786
+ accountIds?: string[];
787
+ }
788
+
789
+ export interface FailedAccount {
790
+ accountId: string | undefined;
791
+
792
+ status?: Status | string;
793
+
794
+ resourceStatus?: ResourceStatus;
795
+
796
+ errorCode: ErrorCode | string | undefined;
797
+
798
+ errorMessage: string | undefined;
799
+ }
800
+ export interface BatchGetAccountStatusResponse {
801
+ accounts: AccountState[] | undefined;
802
+
803
+ failedAccounts?: FailedAccount[];
804
+ }
805
+
806
+ export declare class ResourceNotFoundException extends __BaseException {
807
+ readonly name: "ResourceNotFoundException";
808
+ readonly $fault: "client";
809
+
810
+ constructor(
811
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
812
+ );
813
+ }
814
+ export interface BatchGetFreeTrialInfoRequest {
815
+ accountIds: string[] | undefined;
816
+ }
817
+ export declare enum FreeTrialStatus {
818
+ ACTIVE = "ACTIVE",
819
+ INACTIVE = "INACTIVE",
820
+ }
821
+ export declare enum FreeTrialType {
822
+ EC2 = "EC2",
823
+ ECR = "ECR",
824
+ }
825
+
826
+ export interface FreeTrialInfo {
827
+ type: FreeTrialType | string | undefined;
828
+
829
+ start: Date | undefined;
830
+
831
+ end: Date | undefined;
832
+
833
+ status: FreeTrialStatus | string | undefined;
834
+ }
835
+
836
+ export interface FreeTrialAccountInfo {
837
+ accountId: string | undefined;
838
+
839
+ freeTrialInfo: FreeTrialInfo[] | undefined;
840
+ }
841
+ export declare enum FreeTrialInfoErrorCode {
842
+ ACCESS_DENIED = "ACCESS_DENIED",
843
+ INTERNAL_ERROR = "INTERNAL_ERROR",
844
+ }
845
+
846
+ export interface FreeTrialInfoError {
847
+ accountId: string | undefined;
848
+
849
+ code: FreeTrialInfoErrorCode | string | undefined;
850
+
851
+ message: string | undefined;
852
+ }
853
+ export interface BatchGetFreeTrialInfoResponse {
854
+ accounts: FreeTrialAccountInfo[] | undefined;
855
+
856
+ failedAccounts: FreeTrialInfoError[] | undefined;
857
+ }
858
+ export interface CancelFindingsReportRequest {
859
+ reportId: string | undefined;
860
+ }
861
+ export interface CancelFindingsReportResponse {
862
+ reportId: string | undefined;
863
+ }
864
+
865
+ export declare class ConflictException extends __BaseException {
866
+ readonly name: "ConflictException";
867
+ readonly $fault: "client";
868
+
869
+ resourceId: string | undefined;
870
+
871
+ resourceType: string | undefined;
872
+
873
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
874
+ }
875
+ export declare enum GroupKey {
876
+ ACCOUNT_ID = "ACCOUNT_ID",
877
+ ECR_REPOSITORY_NAME = "ECR_REPOSITORY_NAME",
878
+ RESOURCE_TYPE = "RESOURCE_TYPE",
879
+ SCAN_STATUS_CODE = "SCAN_STATUS_CODE",
880
+ SCAN_STATUS_REASON = "SCAN_STATUS_REASON",
881
+ }
882
+
883
+ export interface Counts {
884
+ count?: number;
885
+
886
+ groupKey?: GroupKey | string;
887
+ }
888
+ export declare enum CoverageStringComparison {
889
+ EQUALS = "EQUALS",
890
+ NOT_EQUALS = "NOT_EQUALS",
891
+ }
892
+
893
+ export interface CoverageStringFilter {
894
+ comparison: CoverageStringComparison | string | undefined;
895
+
896
+ value: string | undefined;
897
+ }
898
+ export declare enum CoverageMapComparison {
899
+ EQUALS = "EQUALS",
900
+ }
901
+
902
+ export interface CoverageMapFilter {
903
+ comparison: CoverageMapComparison | string | undefined;
904
+
905
+ key: string | undefined;
906
+
907
+ value?: string;
908
+ }
909
+
910
+ export interface CoverageFilterCriteria {
911
+ scanStatusCode?: CoverageStringFilter[];
912
+
913
+ scanStatusReason?: CoverageStringFilter[];
914
+
915
+ accountId?: CoverageStringFilter[];
916
+
917
+ resourceId?: CoverageStringFilter[];
918
+
919
+ resourceType?: CoverageStringFilter[];
920
+
921
+ scanType?: CoverageStringFilter[];
922
+
923
+ ecrRepositoryName?: CoverageStringFilter[];
924
+
925
+ ecrImageTags?: CoverageStringFilter[];
926
+
927
+ ec2InstanceTags?: CoverageMapFilter[];
928
+ }
929
+ export declare enum CoverageResourceType {
930
+ AWS_EC2_INSTANCE = "AWS_EC2_INSTANCE",
931
+ AWS_ECR_CONTAINER_IMAGE = "AWS_ECR_CONTAINER_IMAGE",
932
+ AWS_ECR_REPOSITORY = "AWS_ECR_REPOSITORY",
933
+ }
934
+ export declare enum Ec2Platform {
935
+ LINUX = "LINUX",
936
+ UNKNOWN = "UNKNOWN",
937
+ WINDOWS = "WINDOWS",
938
+ }
939
+
940
+ export interface Ec2Metadata {
941
+ tags?: Record<string, string>;
942
+
943
+ amiId?: string;
944
+
945
+ platform?: Ec2Platform | string;
946
+ }
947
+
948
+ export interface EcrContainerImageMetadata {
949
+ tags?: string[];
950
+ }
951
+ export declare enum EcrScanFrequency {
952
+ CONTINUOUS_SCAN = "CONTINUOUS_SCAN",
953
+ MANUAL = "MANUAL",
954
+ SCAN_ON_PUSH = "SCAN_ON_PUSH",
955
+ }
956
+
957
+ export interface EcrRepositoryMetadata {
958
+ name?: string;
959
+
960
+ scanFrequency?: EcrScanFrequency | string;
961
+ }
962
+
963
+ export interface ResourceScanMetadata {
964
+ ecrRepository?: EcrRepositoryMetadata;
965
+
966
+ ecrImage?: EcrContainerImageMetadata;
967
+
968
+ ec2?: Ec2Metadata;
969
+ }
970
+ export declare enum ScanStatusReason {
971
+ ACCESS_DENIED = "ACCESS_DENIED",
972
+ EC2_INSTANCE_STOPPED = "EC2_INSTANCE_STOPPED",
973
+ IMAGE_SIZE_EXCEEDED = "IMAGE_SIZE_EXCEEDED",
974
+ INTERNAL_ERROR = "INTERNAL_ERROR",
975
+ NO_INVENTORY = "NO_INVENTORY",
976
+ NO_RESOURCES_FOUND = "NO_RESOURCES_FOUND",
977
+ PENDING_DISABLE = "PENDING_DISABLE",
978
+ PENDING_INITIAL_SCAN = "PENDING_INITIAL_SCAN",
979
+ RESOURCE_TERMINATED = "RESOURCE_TERMINATED",
980
+ SCAN_ELIGIBILITY_EXPIRED = "SCAN_ELIGIBILITY_EXPIRED",
981
+ SCAN_FREQUENCY_MANUAL = "SCAN_FREQUENCY_MANUAL",
982
+ SCAN_FREQUENCY_SCAN_ON_PUSH = "SCAN_FREQUENCY_SCAN_ON_PUSH",
983
+ STALE_INVENTORY = "STALE_INVENTORY",
984
+ SUCCESSFUL = "SUCCESSFUL",
985
+ UNMANAGED_EC2_INSTANCE = "UNMANAGED_EC2_INSTANCE",
986
+ UNSUPPORTED_OS = "UNSUPPORTED_OS",
987
+ }
988
+ export declare enum ScanStatusCode {
989
+ ACTIVE = "ACTIVE",
990
+ INACTIVE = "INACTIVE",
991
+ }
992
+
993
+ export interface ScanStatus {
994
+ statusCode: ScanStatusCode | string | undefined;
995
+
996
+ reason: ScanStatusReason | string | undefined;
997
+ }
998
+ export declare enum ScanType {
999
+ NETWORK = "NETWORK",
1000
+ PACKAGE = "PACKAGE",
1001
+ }
1002
+
1003
+ export interface CoveredResource {
1004
+ resourceType: CoverageResourceType | string | undefined;
1005
+
1006
+ resourceId: string | undefined;
1007
+
1008
+ accountId: string | undefined;
1009
+
1010
+ scanType: ScanType | string | undefined;
1011
+
1012
+ scanStatus?: ScanStatus;
1013
+
1014
+ resourceMetadata?: ResourceScanMetadata;
1015
+ }
1016
+ export declare enum FilterAction {
1017
+ NONE = "NONE",
1018
+ SUPPRESS = "SUPPRESS",
1019
+ }
1020
+
1021
+ export interface DateFilter {
1022
+ startInclusive?: Date;
1023
+
1024
+ endInclusive?: Date;
1025
+ }
1026
+
1027
+ export interface NumberFilter {
1028
+ upperInclusive?: number;
1029
+
1030
+ lowerInclusive?: number;
1031
+ }
1032
+
1033
+ export interface PortRangeFilter {
1034
+ beginInclusive?: number;
1035
+
1036
+ endInclusive?: number;
1037
+ }
1038
+
1039
+ export interface PackageFilter {
1040
+ name?: StringFilter;
1041
+
1042
+ version?: StringFilter;
1043
+
1044
+ epoch?: NumberFilter;
1045
+
1046
+ release?: StringFilter;
1047
+
1048
+ architecture?: StringFilter;
1049
+
1050
+ sourceLayerHash?: StringFilter;
1051
+ }
1052
+
1053
+ export interface FilterCriteria {
1054
+ findingArn?: StringFilter[];
1055
+
1056
+ awsAccountId?: StringFilter[];
1057
+
1058
+ findingType?: StringFilter[];
1059
+
1060
+ severity?: StringFilter[];
1061
+
1062
+ firstObservedAt?: DateFilter[];
1063
+
1064
+ lastObservedAt?: DateFilter[];
1065
+
1066
+ updatedAt?: DateFilter[];
1067
+
1068
+ findingStatus?: StringFilter[];
1069
+
1070
+ title?: StringFilter[];
1071
+
1072
+ inspectorScore?: NumberFilter[];
1073
+
1074
+ resourceType?: StringFilter[];
1075
+
1076
+ resourceId?: StringFilter[];
1077
+
1078
+ resourceTags?: MapFilter[];
1079
+
1080
+ ec2InstanceImageId?: StringFilter[];
1081
+
1082
+ ec2InstanceVpcId?: StringFilter[];
1083
+
1084
+ ec2InstanceSubnetId?: StringFilter[];
1085
+
1086
+ ecrImagePushedAt?: DateFilter[];
1087
+
1088
+ ecrImageArchitecture?: StringFilter[];
1089
+
1090
+ ecrImageRegistry?: StringFilter[];
1091
+
1092
+ ecrImageRepositoryName?: StringFilter[];
1093
+
1094
+ ecrImageTags?: StringFilter[];
1095
+
1096
+ ecrImageHash?: StringFilter[];
1097
+
1098
+ portRange?: PortRangeFilter[];
1099
+
1100
+ networkProtocol?: StringFilter[];
1101
+
1102
+ componentId?: StringFilter[];
1103
+
1104
+ componentType?: StringFilter[];
1105
+
1106
+ vulnerabilityId?: StringFilter[];
1107
+
1108
+ vulnerabilitySource?: StringFilter[];
1109
+
1110
+ vendorSeverity?: StringFilter[];
1111
+
1112
+ vulnerablePackages?: PackageFilter[];
1113
+
1114
+ relatedVulnerabilities?: StringFilter[];
1115
+
1116
+ fixAvailable?: StringFilter[];
1117
+ }
1118
+ export interface CreateFilterRequest {
1119
+ action: FilterAction | string | undefined;
1120
+
1121
+ description?: string;
1122
+
1123
+ filterCriteria: FilterCriteria | undefined;
1124
+
1125
+ name: string | undefined;
1126
+
1127
+ tags?: Record<string, string>;
1128
+
1129
+ reason?: string;
1130
+ }
1131
+ export interface CreateFilterResponse {
1132
+ arn: string | undefined;
1133
+ }
1134
+
1135
+ export declare class ServiceQuotaExceededException extends __BaseException {
1136
+ readonly name: "ServiceQuotaExceededException";
1137
+ readonly $fault: "client";
1138
+
1139
+ resourceId: string | undefined;
1140
+
1141
+ constructor(
1142
+ opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
1143
+ );
1144
+ }
1145
+ export declare enum ReportFormat {
1146
+ CSV = "CSV",
1147
+ JSON = "JSON",
1148
+ }
1149
+
1150
+ export interface Destination {
1151
+ bucketName: string | undefined;
1152
+
1153
+ keyPrefix?: string;
1154
+
1155
+ kmsKeyArn: string | undefined;
1156
+ }
1157
+ export interface CreateFindingsReportRequest {
1158
+ filterCriteria?: FilterCriteria;
1159
+
1160
+ reportFormat: ReportFormat | string | undefined;
1161
+
1162
+ s3Destination: Destination | undefined;
1163
+ }
1164
+ export interface CreateFindingsReportResponse {
1165
+ reportId?: string;
1166
+ }
1167
+ export declare enum Currency {
1168
+ USD = "USD",
1169
+ }
1170
+
1171
+ export interface CvssScore {
1172
+ baseScore: number | undefined;
1173
+
1174
+ scoringVector: string | undefined;
1175
+
1176
+ version: string | undefined;
1177
+
1178
+ source: string | undefined;
1179
+ }
1180
+
1181
+ export interface CvssScoreAdjustment {
1182
+ metric: string | undefined;
1183
+
1184
+ reason: string | undefined;
1185
+ }
1186
+
1187
+ export interface CvssScoreDetails {
1188
+ scoreSource: string | undefined;
1189
+
1190
+ cvssSource?: string;
1191
+
1192
+ version: string | undefined;
1193
+
1194
+ score: number | undefined;
1195
+
1196
+ scoringVector: string | undefined;
1197
+
1198
+ adjustments?: CvssScoreAdjustment[];
1199
+ }
1200
+ export declare enum RelationshipStatus {
1201
+ ACCOUNT_SUSPENDED = "ACCOUNT_SUSPENDED",
1202
+ CANNOT_CREATE_DETECTOR_IN_ORG_MASTER = "CANNOT_CREATE_DETECTOR_IN_ORG_MASTER",
1203
+ CREATED = "CREATED",
1204
+ DELETED = "DELETED",
1205
+ DISABLED = "DISABLED",
1206
+ EMAIL_VERIFICATION_FAILED = "EMAIL_VERIFICATION_FAILED",
1207
+ EMAIL_VERIFICATION_IN_PROGRESS = "EMAIL_VERIFICATION_IN_PROGRESS",
1208
+ ENABLED = "ENABLED",
1209
+ INVITED = "INVITED",
1210
+ REGION_DISABLED = "REGION_DISABLED",
1211
+ REMOVED = "REMOVED",
1212
+ RESIGNED = "RESIGNED",
1213
+ }
1214
+
1215
+ export interface DelegatedAdmin {
1216
+ accountId?: string;
1217
+
1218
+ relationshipStatus?: RelationshipStatus | string;
1219
+ }
1220
+ export declare enum DelegatedAdminStatus {
1221
+ DISABLE_IN_PROGRESS = "DISABLE_IN_PROGRESS",
1222
+ ENABLED = "ENABLED",
1223
+ }
1224
+
1225
+ export interface DelegatedAdminAccount {
1226
+ accountId?: string;
1227
+
1228
+ status?: DelegatedAdminStatus | string;
1229
+ }
1230
+ export interface DeleteFilterRequest {
1231
+ arn: string | undefined;
1232
+ }
1233
+ export interface DeleteFilterResponse {
1234
+ arn: string | undefined;
1235
+ }
1236
+ export interface DescribeOrganizationConfigurationRequest {}
1237
+ export interface DescribeOrganizationConfigurationResponse {
1238
+ autoEnable?: AutoEnable;
1239
+
1240
+ maxAccountLimitReached?: boolean;
1241
+ }
1242
+ export declare enum ResourceScanType {
1243
+ EC2 = "EC2",
1244
+ ECR = "ECR",
1245
+ }
1246
+ export interface DisableRequest {
1247
+ accountIds?: string[];
1248
+
1249
+ resourceTypes?: (ResourceScanType | string)[];
1250
+ }
1251
+ export interface DisableResponse {
1252
+ accounts: Account[] | undefined;
1253
+
1254
+ failedAccounts?: FailedAccount[];
1255
+ }
1256
+ export interface DisableDelegatedAdminAccountRequest {
1257
+ delegatedAdminAccountId: string | undefined;
1258
+ }
1259
+ export interface DisableDelegatedAdminAccountResponse {
1260
+ delegatedAdminAccountId: string | undefined;
1261
+ }
1262
+ export interface DisassociateMemberRequest {
1263
+ accountId: string | undefined;
1264
+ }
1265
+ export interface DisassociateMemberResponse {
1266
+ accountId: string | undefined;
1267
+ }
1268
+ export declare enum EcrRescanDuration {
1269
+ DAYS_180 = "DAYS_180",
1270
+ DAYS_30 = "DAYS_30",
1271
+ LIFETIME = "LIFETIME",
1272
+ }
1273
+
1274
+ export interface EcrConfiguration {
1275
+ rescanDuration: EcrRescanDuration | string | undefined;
1276
+ }
1277
+ export declare enum EcrRescanDurationStatus {
1278
+ FAILED = "FAILED",
1279
+ PENDING = "PENDING",
1280
+ SUCCESS = "SUCCESS",
1281
+ }
1282
+
1283
+ export interface EcrRescanDurationState {
1284
+ rescanDuration?: EcrRescanDuration | string;
1285
+
1286
+ status?: EcrRescanDurationStatus | string;
1287
+
1288
+ updatedAt?: Date;
1289
+ }
1290
+
1291
+ export interface EcrConfigurationState {
1292
+ rescanDurationState?: EcrRescanDurationState;
1293
+ }
1294
+ export interface EnableRequest {
1295
+ accountIds?: string[];
1296
+
1297
+ resourceTypes: (ResourceScanType | string)[] | undefined;
1298
+
1299
+ clientToken?: string;
1300
+ }
1301
+ export interface EnableResponse {
1302
+ accounts: Account[] | undefined;
1303
+
1304
+ failedAccounts?: FailedAccount[];
1305
+ }
1306
+ export interface EnableDelegatedAdminAccountRequest {
1307
+ delegatedAdminAccountId: string | undefined;
1308
+
1309
+ clientToken?: string;
1310
+ }
1311
+ export interface EnableDelegatedAdminAccountResponse {
1312
+ delegatedAdminAccountId: string | undefined;
1313
+ }
1314
+ export declare enum ExternalReportStatus {
1315
+ CANCELLED = "CANCELLED",
1316
+ FAILED = "FAILED",
1317
+ IN_PROGRESS = "IN_PROGRESS",
1318
+ SUCCEEDED = "SUCCEEDED",
1319
+ }
1320
+
1321
+ export interface Filter {
1322
+ arn: string | undefined;
1323
+
1324
+ ownerId: string | undefined;
1325
+
1326
+ name: string | undefined;
1327
+
1328
+ criteria: FilterCriteria | undefined;
1329
+
1330
+ action: FilterAction | string | undefined;
1331
+
1332
+ createdAt: Date | undefined;
1333
+
1334
+ updatedAt: Date | undefined;
1335
+
1336
+ description?: string;
1337
+
1338
+ reason?: string;
1339
+
1340
+ tags?: Record<string, string>;
1341
+ }
1342
+ export declare enum FixAvailable {
1343
+ NO = "NO",
1344
+ PARTIAL = "PARTIAL",
1345
+ YES = "YES",
1346
+ }
1347
+
1348
+ export interface InspectorScoreDetails {
1349
+ adjustedCvss?: CvssScoreDetails;
1350
+ }
1351
+
1352
+ export interface Step {
1353
+ componentId: string | undefined;
1354
+
1355
+ componentType: string | undefined;
1356
+ }
1357
+
1358
+ export interface NetworkPath {
1359
+ steps?: Step[];
1360
+ }
1361
+
1362
+ export interface PortRange {
1363
+ begin: number | undefined;
1364
+
1365
+ end: number | undefined;
1366
+ }
1367
+ export declare enum NetworkProtocol {
1368
+ TCP = "TCP",
1369
+ UDP = "UDP",
1370
+ }
1371
+
1372
+ export interface NetworkReachabilityDetails {
1373
+ openPortRange: PortRange | undefined;
1374
+
1375
+ protocol: NetworkProtocol | string | undefined;
1376
+
1377
+ networkPath: NetworkPath | undefined;
1378
+ }
1379
+ export declare enum PackageManager {
1380
+ BUNDLER = "BUNDLER",
1381
+ CARGO = "CARGO",
1382
+ COMPOSER = "COMPOSER",
1383
+ GOBINARY = "GOBINARY",
1384
+ GOMOD = "GOMOD",
1385
+ JAR = "JAR",
1386
+ NODEPKG = "NODEPKG",
1387
+ NPM = "NPM",
1388
+ NUGET = "NUGET",
1389
+ OS = "OS",
1390
+ PIP = "PIP",
1391
+ PIPENV = "PIPENV",
1392
+ POETRY = "POETRY",
1393
+ POM = "POM",
1394
+ PYTHONPKG = "PYTHONPKG",
1395
+ YARN = "YARN",
1396
+ }
1397
+
1398
+ export interface VulnerablePackage {
1399
+ name: string | undefined;
1400
+
1401
+ version: string | undefined;
1402
+
1403
+ sourceLayerHash?: string;
1404
+
1405
+ epoch?: number;
1406
+
1407
+ release?: string;
1408
+
1409
+ arch?: string;
1410
+
1411
+ packageManager?: PackageManager | string;
1412
+
1413
+ filePath?: string;
1414
+
1415
+ fixedInVersion?: string;
1416
+
1417
+ remediation?: string;
1418
+ }
1419
+
1420
+ export interface PackageVulnerabilityDetails {
1421
+ vulnerabilityId: string | undefined;
1422
+
1423
+ vulnerablePackages?: VulnerablePackage[];
1424
+
1425
+ source: string | undefined;
1426
+
1427
+ cvss?: CvssScore[];
1428
+
1429
+ relatedVulnerabilities?: string[];
1430
+
1431
+ sourceUrl?: string;
1432
+
1433
+ vendorSeverity?: string;
1434
+
1435
+ vendorCreatedAt?: Date;
1436
+
1437
+ vendorUpdatedAt?: Date;
1438
+
1439
+ referenceUrls?: string[];
1440
+ }
1441
+
1442
+ export interface Recommendation {
1443
+ text?: string;
1444
+
1445
+ Url?: string;
1446
+ }
1447
+
1448
+ export interface Remediation {
1449
+ recommendation?: Recommendation;
1450
+ }
1451
+
1452
+ export interface ResourceDetails {
1453
+ awsEc2Instance?: AwsEc2InstanceDetails;
1454
+
1455
+ awsEcrContainerImage?: AwsEcrContainerImageDetails;
1456
+ }
1457
+ export declare enum ResourceType {
1458
+ AWS_EC2_INSTANCE = "AWS_EC2_INSTANCE",
1459
+ AWS_ECR_CONTAINER_IMAGE = "AWS_ECR_CONTAINER_IMAGE",
1460
+ AWS_ECR_REPOSITORY = "AWS_ECR_REPOSITORY",
1461
+ }
1462
+
1463
+ export interface Resource {
1464
+ type: ResourceType | string | undefined;
1465
+
1466
+ id: string | undefined;
1467
+
1468
+ partition?: string;
1469
+
1470
+ region?: string;
1471
+
1472
+ tags?: Record<string, string>;
1473
+
1474
+ details?: ResourceDetails;
1475
+ }
1476
+ export declare enum Severity {
1477
+ CRITICAL = "CRITICAL",
1478
+ HIGH = "HIGH",
1479
+ INFORMATIONAL = "INFORMATIONAL",
1480
+ LOW = "LOW",
1481
+ MEDIUM = "MEDIUM",
1482
+ UNTRIAGED = "UNTRIAGED",
1483
+ }
1484
+ export declare enum FindingStatus {
1485
+ ACTIVE = "ACTIVE",
1486
+ CLOSED = "CLOSED",
1487
+ SUPPRESSED = "SUPPRESSED",
1488
+ }
1489
+ export declare enum FindingType {
1490
+ NETWORK_REACHABILITY = "NETWORK_REACHABILITY",
1491
+ PACKAGE_VULNERABILITY = "PACKAGE_VULNERABILITY",
1492
+ }
1493
+
1494
+ export interface Finding {
1495
+ findingArn: string | undefined;
1496
+
1497
+ awsAccountId: string | undefined;
1498
+
1499
+ type: FindingType | string | undefined;
1500
+
1501
+ description: string | undefined;
1502
+
1503
+ title?: string;
1504
+
1505
+ remediation: Remediation | undefined;
1506
+
1507
+ severity: Severity | string | undefined;
1508
+
1509
+ firstObservedAt: Date | undefined;
1510
+
1511
+ lastObservedAt: Date | undefined;
1512
+
1513
+ updatedAt?: Date;
1514
+
1515
+ status: FindingStatus | string | undefined;
1516
+
1517
+ resources: Resource[] | undefined;
1518
+
1519
+ inspectorScore?: number;
1520
+
1521
+ inspectorScoreDetails?: InspectorScoreDetails;
1522
+
1523
+ networkReachabilityDetails?: NetworkReachabilityDetails;
1524
+
1525
+ packageVulnerabilityDetails?: PackageVulnerabilityDetails;
1526
+
1527
+ fixAvailable?: FixAvailable | string;
1528
+ }
1529
+ export interface GetConfigurationRequest {}
1530
+ export interface GetConfigurationResponse {
1531
+ ecrConfiguration?: EcrConfigurationState;
1532
+ }
1533
+ export interface GetDelegatedAdminAccountRequest {}
1534
+ export interface GetDelegatedAdminAccountResponse {
1535
+ delegatedAdmin?: DelegatedAdmin;
1536
+ }
1537
+ export interface GetFindingsReportStatusRequest {
1538
+ reportId?: string;
1539
+ }
1540
+ export declare enum ReportingErrorCode {
1541
+ BUCKET_NOT_FOUND = "BUCKET_NOT_FOUND",
1542
+ INCOMPATIBLE_BUCKET_REGION = "INCOMPATIBLE_BUCKET_REGION",
1543
+ INTERNAL_ERROR = "INTERNAL_ERROR",
1544
+ INVALID_PERMISSIONS = "INVALID_PERMISSIONS",
1545
+ MALFORMED_KMS_KEY = "MALFORMED_KMS_KEY",
1546
+ NO_FINDINGS_FOUND = "NO_FINDINGS_FOUND",
1547
+ }
1548
+ export interface GetFindingsReportStatusResponse {
1549
+ reportId?: string;
1550
+
1551
+ status?: ExternalReportStatus | string;
1552
+
1553
+ errorCode?: ReportingErrorCode | string;
1554
+
1555
+ errorMessage?: string;
1556
+
1557
+ destination?: Destination;
1558
+
1559
+ filterCriteria?: FilterCriteria;
1560
+ }
1561
+ export interface GetMemberRequest {
1562
+ accountId: string | undefined;
1563
+ }
1564
+
1565
+ export interface Member {
1566
+ accountId?: string;
1567
+
1568
+ relationshipStatus?: RelationshipStatus | string;
1569
+
1570
+ delegatedAdminAccountId?: string;
1571
+
1572
+ updatedAt?: Date;
1573
+ }
1574
+ export interface GetMemberResponse {
1575
+ member?: Member;
1576
+ }
1577
+ export declare enum Service {
1578
+ EC2 = "EC2",
1579
+ ECR = "ECR",
1580
+ }
1581
+ export interface ListAccountPermissionsRequest {
1582
+ service?: Service | string;
1583
+
1584
+ maxResults?: number;
1585
+
1586
+ nextToken?: string;
1587
+ }
1588
+ export declare enum Operation {
1589
+ DISABLE_REPOSITORY = "DISABLE_REPOSITORY",
1590
+ DISABLE_SCANNING = "DISABLE_SCANNING",
1591
+ ENABLE_REPOSITORY = "ENABLE_REPOSITORY",
1592
+ ENABLE_SCANNING = "ENABLE_SCANNING",
1593
+ }
1594
+
1595
+ export interface Permission {
1596
+ service: Service | string | undefined;
1597
+
1598
+ operation: Operation | string | undefined;
1599
+ }
1600
+ export interface ListAccountPermissionsResponse {
1601
+ permissions: Permission[] | undefined;
1602
+
1603
+ nextToken?: string;
1604
+ }
1605
+ export interface ListCoverageRequest {
1606
+ maxResults?: number;
1607
+
1608
+ nextToken?: string;
1609
+
1610
+ filterCriteria?: CoverageFilterCriteria;
1611
+ }
1612
+ export interface ListCoverageResponse {
1613
+ nextToken?: string;
1614
+
1615
+ coveredResources?: CoveredResource[];
1616
+ }
1617
+ export interface ListCoverageStatisticsRequest {
1618
+ filterCriteria?: CoverageFilterCriteria;
1619
+
1620
+ groupBy?: GroupKey | string;
1621
+
1622
+ nextToken?: string;
1623
+ }
1624
+ export interface ListCoverageStatisticsResponse {
1625
+ countsByGroup?: Counts[];
1626
+
1627
+ totalCounts: number | undefined;
1628
+
1629
+ nextToken?: string;
1630
+ }
1631
+ export interface ListDelegatedAdminAccountsRequest {
1632
+ maxResults?: number;
1633
+
1634
+ nextToken?: string;
1635
+ }
1636
+ export interface ListDelegatedAdminAccountsResponse {
1637
+ delegatedAdminAccounts?: DelegatedAdminAccount[];
1638
+
1639
+ nextToken?: string;
1640
+ }
1641
+ export interface ListFiltersRequest {
1642
+ arns?: string[];
1643
+
1644
+ action?: FilterAction | string;
1645
+
1646
+ nextToken?: string;
1647
+
1648
+ maxResults?: number;
1649
+ }
1650
+ export interface ListFiltersResponse {
1651
+ filters: Filter[] | undefined;
1652
+
1653
+ nextToken?: string;
1654
+ }
1655
+ export interface ListFindingAggregationsRequest {
1656
+ aggregationType: AggregationType | string | undefined;
1657
+
1658
+ nextToken?: string;
1659
+
1660
+ maxResults?: number;
1661
+
1662
+ accountIds?: StringFilter[];
1663
+
1664
+ aggregationRequest?: AggregationRequest;
1665
+ }
1666
+ export interface ListFindingAggregationsResponse {
1667
+ aggregationType: AggregationType | string | undefined;
1668
+
1669
+ responses?: AggregationResponse[];
1670
+
1671
+ nextToken?: string;
1672
+ }
1673
+ export declare enum SortField {
1674
+ AWS_ACCOUNT_ID = "AWS_ACCOUNT_ID",
1675
+ COMPONENT_TYPE = "COMPONENT_TYPE",
1676
+ ECR_IMAGE_PUSHED_AT = "ECR_IMAGE_PUSHED_AT",
1677
+ ECR_IMAGE_REGISTRY = "ECR_IMAGE_REGISTRY",
1678
+ ECR_IMAGE_REPOSITORY_NAME = "ECR_IMAGE_REPOSITORY_NAME",
1679
+ FINDING_STATUS = "FINDING_STATUS",
1680
+ FINDING_TYPE = "FINDING_TYPE",
1681
+ FIRST_OBSERVED_AT = "FIRST_OBSERVED_AT",
1682
+ INSPECTOR_SCORE = "INSPECTOR_SCORE",
1683
+ LAST_OBSERVED_AT = "LAST_OBSERVED_AT",
1684
+ NETWORK_PROTOCOL = "NETWORK_PROTOCOL",
1685
+ RESOURCE_TYPE = "RESOURCE_TYPE",
1686
+ SEVERITY = "SEVERITY",
1687
+ VENDOR_SEVERITY = "VENDOR_SEVERITY",
1688
+ VULNERABILITY_ID = "VULNERABILITY_ID",
1689
+ VULNERABILITY_SOURCE = "VULNERABILITY_SOURCE",
1690
+ }
1691
+
1692
+ export interface SortCriteria {
1693
+ field: SortField | string | undefined;
1694
+
1695
+ sortOrder: SortOrder | string | undefined;
1696
+ }
1697
+ export interface ListFindingsRequest {
1698
+ maxResults?: number;
1699
+
1700
+ nextToken?: string;
1701
+
1702
+ filterCriteria?: FilterCriteria;
1703
+
1704
+ sortCriteria?: SortCriteria;
1705
+ }
1706
+ export interface ListFindingsResponse {
1707
+ nextToken?: string;
1708
+
1709
+ findings?: Finding[];
1710
+ }
1711
+ export interface ListMembersRequest {
1712
+ onlyAssociated?: boolean;
1713
+
1714
+ maxResults?: number;
1715
+
1716
+ nextToken?: string;
1717
+ }
1718
+ export interface ListMembersResponse {
1719
+ members?: Member[];
1720
+
1721
+ nextToken?: string;
1722
+ }
1723
+ export interface ListTagsForResourceRequest {
1724
+ resourceArn: string | undefined;
1725
+ }
1726
+ export interface ListTagsForResourceResponse {
1727
+ tags?: Record<string, string>;
1728
+ }
1729
+ export interface ListUsageTotalsRequest {
1730
+ maxResults?: number;
1731
+
1732
+ nextToken?: string;
1733
+
1734
+ accountIds?: string[];
1735
+ }
1736
+ export declare enum UsageType {
1737
+ EC2_INSTANCE_HOURS = "EC2_INSTANCE_HOURS",
1738
+ ECR_INITIAL_SCAN = "ECR_INITIAL_SCAN",
1739
+ ECR_RESCAN = "ECR_RESCAN",
1740
+ }
1741
+
1742
+ export interface Usage {
1743
+ type?: UsageType | string;
1744
+
1745
+ total?: number;
1746
+
1747
+ estimatedMonthlyCost?: number;
1748
+
1749
+ currency?: Currency | string;
1750
+ }
1751
+
1752
+ export interface UsageTotal {
1753
+ accountId?: string;
1754
+
1755
+ usage?: Usage[];
1756
+ }
1757
+ export interface ListUsageTotalsResponse {
1758
+ nextToken?: string;
1759
+
1760
+ totals?: UsageTotal[];
1761
+ }
1762
+ export interface TagResourceRequest {
1763
+ resourceArn: string | undefined;
1764
+
1765
+ tags: Record<string, string> | undefined;
1766
+ }
1767
+ export interface TagResourceResponse {}
1768
+ export interface UntagResourceRequest {
1769
+ resourceArn: string | undefined;
1770
+
1771
+ tagKeys: string[] | undefined;
1772
+ }
1773
+ export interface UntagResourceResponse {}
1774
+ export interface UpdateConfigurationRequest {
1775
+ ecrConfiguration: EcrConfiguration | undefined;
1776
+ }
1777
+ export interface UpdateConfigurationResponse {}
1778
+ export interface UpdateFilterRequest {
1779
+ action?: FilterAction | string;
1780
+
1781
+ description?: string;
1782
+
1783
+ filterCriteria?: FilterCriteria;
1784
+
1785
+ name?: string;
1786
+
1787
+ filterArn: string | undefined;
1788
+
1789
+ reason?: string;
1790
+ }
1791
+ export interface UpdateFilterResponse {
1792
+ arn: string | undefined;
1793
+ }
1794
+ export interface UpdateOrganizationConfigurationRequest {
1795
+ autoEnable: AutoEnable | undefined;
1796
+ }
1797
+ export interface UpdateOrganizationConfigurationResponse {
1798
+ autoEnable: AutoEnable | undefined;
1799
+ }
1800
+
1801
+ export declare const ResourceStatusFilterSensitiveLog: (
1802
+ obj: ResourceStatus
1803
+ ) => any;
1804
+
1805
+ export declare const AccountFilterSensitiveLog: (obj: Account) => any;
1806
+
1807
+ export declare const AccountAggregationFilterSensitiveLog: (
1808
+ obj: AccountAggregation
1809
+ ) => any;
1810
+
1811
+ export declare const SeverityCountsFilterSensitiveLog: (
1812
+ obj: SeverityCounts
1813
+ ) => any;
1814
+
1815
+ export declare const AccountAggregationResponseFilterSensitiveLog: (
1816
+ obj: AccountAggregationResponse
1817
+ ) => any;
1818
+
1819
+ export declare const StateFilterSensitiveLog: (obj: State) => any;
1820
+
1821
+ export declare const ResourceStateFilterSensitiveLog: (
1822
+ obj: ResourceState
1823
+ ) => any;
1824
+
1825
+ export declare const AccountStateFilterSensitiveLog: (obj: AccountState) => any;
1826
+
1827
+ export declare const StringFilterFilterSensitiveLog: (obj: StringFilter) => any;
1828
+
1829
+ export declare const AmiAggregationFilterSensitiveLog: (
1830
+ obj: AmiAggregation
1831
+ ) => any;
1832
+
1833
+ export declare const AwsEcrContainerAggregationFilterSensitiveLog: (
1834
+ obj: AwsEcrContainerAggregation
1835
+ ) => any;
1836
+
1837
+ export declare const MapFilterFilterSensitiveLog: (obj: MapFilter) => any;
1838
+
1839
+ export declare const Ec2InstanceAggregationFilterSensitiveLog: (
1840
+ obj: Ec2InstanceAggregation
1841
+ ) => any;
1842
+
1843
+ export declare const FindingTypeAggregationFilterSensitiveLog: (
1844
+ obj: FindingTypeAggregation
1845
+ ) => any;
1846
+
1847
+ export declare const ImageLayerAggregationFilterSensitiveLog: (
1848
+ obj: ImageLayerAggregation
1849
+ ) => any;
1850
+
1851
+ export declare const PackageAggregationFilterSensitiveLog: (
1852
+ obj: PackageAggregation
1853
+ ) => any;
1854
+
1855
+ export declare const RepositoryAggregationFilterSensitiveLog: (
1856
+ obj: RepositoryAggregation
1857
+ ) => any;
1858
+
1859
+ export declare const TitleAggregationFilterSensitiveLog: (
1860
+ obj: TitleAggregation
1861
+ ) => any;
1862
+
1863
+ export declare const AggregationRequestFilterSensitiveLog: (
1864
+ obj: AggregationRequest
1865
+ ) => any;
1866
+
1867
+ export declare const AmiAggregationResponseFilterSensitiveLog: (
1868
+ obj: AmiAggregationResponse
1869
+ ) => any;
1870
+
1871
+ export declare const AwsEcrContainerAggregationResponseFilterSensitiveLog: (
1872
+ obj: AwsEcrContainerAggregationResponse
1873
+ ) => any;
1874
+
1875
+ export declare const Ec2InstanceAggregationResponseFilterSensitiveLog: (
1876
+ obj: Ec2InstanceAggregationResponse
1877
+ ) => any;
1878
+
1879
+ export declare const FindingTypeAggregationResponseFilterSensitiveLog: (
1880
+ obj: FindingTypeAggregationResponse
1881
+ ) => any;
1882
+
1883
+ export declare const ImageLayerAggregationResponseFilterSensitiveLog: (
1884
+ obj: ImageLayerAggregationResponse
1885
+ ) => any;
1886
+
1887
+ export declare const PackageAggregationResponseFilterSensitiveLog: (
1888
+ obj: PackageAggregationResponse
1889
+ ) => any;
1890
+
1891
+ export declare const RepositoryAggregationResponseFilterSensitiveLog: (
1892
+ obj: RepositoryAggregationResponse
1893
+ ) => any;
1894
+
1895
+ export declare const TitleAggregationResponseFilterSensitiveLog: (
1896
+ obj: TitleAggregationResponse
1897
+ ) => any;
1898
+
1899
+ export declare const AggregationResponseFilterSensitiveLog: (
1900
+ obj: AggregationResponse
1901
+ ) => any;
1902
+
1903
+ export declare const AssociateMemberRequestFilterSensitiveLog: (
1904
+ obj: AssociateMemberRequest
1905
+ ) => any;
1906
+
1907
+ export declare const AssociateMemberResponseFilterSensitiveLog: (
1908
+ obj: AssociateMemberResponse
1909
+ ) => any;
1910
+
1911
+ export declare const ValidationExceptionFieldFilterSensitiveLog: (
1912
+ obj: ValidationExceptionField
1913
+ ) => any;
1914
+
1915
+ export declare const AutoEnableFilterSensitiveLog: (obj: AutoEnable) => any;
1916
+
1917
+ export declare const AwsEc2InstanceDetailsFilterSensitiveLog: (
1918
+ obj: AwsEc2InstanceDetails
1919
+ ) => any;
1920
+
1921
+ export declare const AwsEcrContainerImageDetailsFilterSensitiveLog: (
1922
+ obj: AwsEcrContainerImageDetails
1923
+ ) => any;
1924
+
1925
+ export declare const BatchGetAccountStatusRequestFilterSensitiveLog: (
1926
+ obj: BatchGetAccountStatusRequest
1927
+ ) => any;
1928
+
1929
+ export declare const FailedAccountFilterSensitiveLog: (
1930
+ obj: FailedAccount
1931
+ ) => any;
1932
+
1933
+ export declare const BatchGetAccountStatusResponseFilterSensitiveLog: (
1934
+ obj: BatchGetAccountStatusResponse
1935
+ ) => any;
1936
+
1937
+ export declare const BatchGetFreeTrialInfoRequestFilterSensitiveLog: (
1938
+ obj: BatchGetFreeTrialInfoRequest
1939
+ ) => any;
1940
+
1941
+ export declare const FreeTrialInfoFilterSensitiveLog: (
1942
+ obj: FreeTrialInfo
1943
+ ) => any;
1944
+
1945
+ export declare const FreeTrialAccountInfoFilterSensitiveLog: (
1946
+ obj: FreeTrialAccountInfo
1947
+ ) => any;
1948
+
1949
+ export declare const FreeTrialInfoErrorFilterSensitiveLog: (
1950
+ obj: FreeTrialInfoError
1951
+ ) => any;
1952
+
1953
+ export declare const BatchGetFreeTrialInfoResponseFilterSensitiveLog: (
1954
+ obj: BatchGetFreeTrialInfoResponse
1955
+ ) => any;
1956
+
1957
+ export declare const CancelFindingsReportRequestFilterSensitiveLog: (
1958
+ obj: CancelFindingsReportRequest
1959
+ ) => any;
1960
+
1961
+ export declare const CancelFindingsReportResponseFilterSensitiveLog: (
1962
+ obj: CancelFindingsReportResponse
1963
+ ) => any;
1964
+
1965
+ export declare const CountsFilterSensitiveLog: (obj: Counts) => any;
1966
+
1967
+ export declare const CoverageStringFilterFilterSensitiveLog: (
1968
+ obj: CoverageStringFilter
1969
+ ) => any;
1970
+
1971
+ export declare const CoverageMapFilterFilterSensitiveLog: (
1972
+ obj: CoverageMapFilter
1973
+ ) => any;
1974
+
1975
+ export declare const CoverageFilterCriteriaFilterSensitiveLog: (
1976
+ obj: CoverageFilterCriteria
1977
+ ) => any;
1978
+
1979
+ export declare const Ec2MetadataFilterSensitiveLog: (obj: Ec2Metadata) => any;
1980
+
1981
+ export declare const EcrContainerImageMetadataFilterSensitiveLog: (
1982
+ obj: EcrContainerImageMetadata
1983
+ ) => any;
1984
+
1985
+ export declare const EcrRepositoryMetadataFilterSensitiveLog: (
1986
+ obj: EcrRepositoryMetadata
1987
+ ) => any;
1988
+
1989
+ export declare const ResourceScanMetadataFilterSensitiveLog: (
1990
+ obj: ResourceScanMetadata
1991
+ ) => any;
1992
+
1993
+ export declare const ScanStatusFilterSensitiveLog: (obj: ScanStatus) => any;
1994
+
1995
+ export declare const CoveredResourceFilterSensitiveLog: (
1996
+ obj: CoveredResource
1997
+ ) => any;
1998
+
1999
+ export declare const DateFilterFilterSensitiveLog: (obj: DateFilter) => any;
2000
+
2001
+ export declare const NumberFilterFilterSensitiveLog: (obj: NumberFilter) => any;
2002
+
2003
+ export declare const PortRangeFilterFilterSensitiveLog: (
2004
+ obj: PortRangeFilter
2005
+ ) => any;
2006
+
2007
+ export declare const PackageFilterFilterSensitiveLog: (
2008
+ obj: PackageFilter
2009
+ ) => any;
2010
+
2011
+ export declare const FilterCriteriaFilterSensitiveLog: (
2012
+ obj: FilterCriteria
2013
+ ) => any;
2014
+
2015
+ export declare const CreateFilterRequestFilterSensitiveLog: (
2016
+ obj: CreateFilterRequest
2017
+ ) => any;
2018
+
2019
+ export declare const CreateFilterResponseFilterSensitiveLog: (
2020
+ obj: CreateFilterResponse
2021
+ ) => any;
2022
+
2023
+ export declare const DestinationFilterSensitiveLog: (obj: Destination) => any;
2024
+
2025
+ export declare const CreateFindingsReportRequestFilterSensitiveLog: (
2026
+ obj: CreateFindingsReportRequest
2027
+ ) => any;
2028
+
2029
+ export declare const CreateFindingsReportResponseFilterSensitiveLog: (
2030
+ obj: CreateFindingsReportResponse
2031
+ ) => any;
2032
+
2033
+ export declare const CvssScoreFilterSensitiveLog: (obj: CvssScore) => any;
2034
+
2035
+ export declare const CvssScoreAdjustmentFilterSensitiveLog: (
2036
+ obj: CvssScoreAdjustment
2037
+ ) => any;
2038
+
2039
+ export declare const CvssScoreDetailsFilterSensitiveLog: (
2040
+ obj: CvssScoreDetails
2041
+ ) => any;
2042
+
2043
+ export declare const DelegatedAdminFilterSensitiveLog: (
2044
+ obj: DelegatedAdmin
2045
+ ) => any;
2046
+
2047
+ export declare const DelegatedAdminAccountFilterSensitiveLog: (
2048
+ obj: DelegatedAdminAccount
2049
+ ) => any;
2050
+
2051
+ export declare const DeleteFilterRequestFilterSensitiveLog: (
2052
+ obj: DeleteFilterRequest
2053
+ ) => any;
2054
+
2055
+ export declare const DeleteFilterResponseFilterSensitiveLog: (
2056
+ obj: DeleteFilterResponse
2057
+ ) => any;
2058
+
2059
+ export declare const DescribeOrganizationConfigurationRequestFilterSensitiveLog: (
2060
+ obj: DescribeOrganizationConfigurationRequest
2061
+ ) => any;
2062
+
2063
+ export declare const DescribeOrganizationConfigurationResponseFilterSensitiveLog: (
2064
+ obj: DescribeOrganizationConfigurationResponse
2065
+ ) => any;
2066
+
2067
+ export declare const DisableRequestFilterSensitiveLog: (
2068
+ obj: DisableRequest
2069
+ ) => any;
2070
+
2071
+ export declare const DisableResponseFilterSensitiveLog: (
2072
+ obj: DisableResponse
2073
+ ) => any;
2074
+
2075
+ export declare const DisableDelegatedAdminAccountRequestFilterSensitiveLog: (
2076
+ obj: DisableDelegatedAdminAccountRequest
2077
+ ) => any;
2078
+
2079
+ export declare const DisableDelegatedAdminAccountResponseFilterSensitiveLog: (
2080
+ obj: DisableDelegatedAdminAccountResponse
2081
+ ) => any;
2082
+
2083
+ export declare const DisassociateMemberRequestFilterSensitiveLog: (
2084
+ obj: DisassociateMemberRequest
2085
+ ) => any;
2086
+
2087
+ export declare const DisassociateMemberResponseFilterSensitiveLog: (
2088
+ obj: DisassociateMemberResponse
2089
+ ) => any;
2090
+
2091
+ export declare const EcrConfigurationFilterSensitiveLog: (
2092
+ obj: EcrConfiguration
2093
+ ) => any;
2094
+
2095
+ export declare const EcrRescanDurationStateFilterSensitiveLog: (
2096
+ obj: EcrRescanDurationState
2097
+ ) => any;
2098
+
2099
+ export declare const EcrConfigurationStateFilterSensitiveLog: (
2100
+ obj: EcrConfigurationState
2101
+ ) => any;
2102
+
2103
+ export declare const EnableRequestFilterSensitiveLog: (
2104
+ obj: EnableRequest
2105
+ ) => any;
2106
+
2107
+ export declare const EnableResponseFilterSensitiveLog: (
2108
+ obj: EnableResponse
2109
+ ) => any;
2110
+
2111
+ export declare const EnableDelegatedAdminAccountRequestFilterSensitiveLog: (
2112
+ obj: EnableDelegatedAdminAccountRequest
2113
+ ) => any;
2114
+
2115
+ export declare const EnableDelegatedAdminAccountResponseFilterSensitiveLog: (
2116
+ obj: EnableDelegatedAdminAccountResponse
2117
+ ) => any;
2118
+
2119
+ export declare const FilterFilterSensitiveLog: (obj: Filter) => any;
2120
+
2121
+ export declare const InspectorScoreDetailsFilterSensitiveLog: (
2122
+ obj: InspectorScoreDetails
2123
+ ) => any;
2124
+
2125
+ export declare const StepFilterSensitiveLog: (obj: Step) => any;
2126
+
2127
+ export declare const NetworkPathFilterSensitiveLog: (obj: NetworkPath) => any;
2128
+
2129
+ export declare const PortRangeFilterSensitiveLog: (obj: PortRange) => any;
2130
+
2131
+ export declare const NetworkReachabilityDetailsFilterSensitiveLog: (
2132
+ obj: NetworkReachabilityDetails
2133
+ ) => any;
2134
+
2135
+ export declare const VulnerablePackageFilterSensitiveLog: (
2136
+ obj: VulnerablePackage
2137
+ ) => any;
2138
+
2139
+ export declare const PackageVulnerabilityDetailsFilterSensitiveLog: (
2140
+ obj: PackageVulnerabilityDetails
2141
+ ) => any;
2142
+
2143
+ export declare const RecommendationFilterSensitiveLog: (
2144
+ obj: Recommendation
2145
+ ) => any;
2146
+
2147
+ export declare const RemediationFilterSensitiveLog: (obj: Remediation) => any;
2148
+
2149
+ export declare const ResourceDetailsFilterSensitiveLog: (
2150
+ obj: ResourceDetails
2151
+ ) => any;
2152
+
2153
+ export declare const ResourceFilterSensitiveLog: (obj: Resource) => any;
2154
+
2155
+ export declare const FindingFilterSensitiveLog: (obj: Finding) => any;
2156
+
2157
+ export declare const GetConfigurationRequestFilterSensitiveLog: (
2158
+ obj: GetConfigurationRequest
2159
+ ) => any;
2160
+
2161
+ export declare const GetConfigurationResponseFilterSensitiveLog: (
2162
+ obj: GetConfigurationResponse
2163
+ ) => any;
2164
+
2165
+ export declare const GetDelegatedAdminAccountRequestFilterSensitiveLog: (
2166
+ obj: GetDelegatedAdminAccountRequest
2167
+ ) => any;
2168
+
2169
+ export declare const GetDelegatedAdminAccountResponseFilterSensitiveLog: (
2170
+ obj: GetDelegatedAdminAccountResponse
2171
+ ) => any;
2172
+
2173
+ export declare const GetFindingsReportStatusRequestFilterSensitiveLog: (
2174
+ obj: GetFindingsReportStatusRequest
2175
+ ) => any;
2176
+
2177
+ export declare const GetFindingsReportStatusResponseFilterSensitiveLog: (
2178
+ obj: GetFindingsReportStatusResponse
2179
+ ) => any;
2180
+
2181
+ export declare const GetMemberRequestFilterSensitiveLog: (
2182
+ obj: GetMemberRequest
2183
+ ) => any;
2184
+
2185
+ export declare const MemberFilterSensitiveLog: (obj: Member) => any;
2186
+
2187
+ export declare const GetMemberResponseFilterSensitiveLog: (
2188
+ obj: GetMemberResponse
2189
+ ) => any;
2190
+
2191
+ export declare const ListAccountPermissionsRequestFilterSensitiveLog: (
2192
+ obj: ListAccountPermissionsRequest
2193
+ ) => any;
2194
+
2195
+ export declare const PermissionFilterSensitiveLog: (obj: Permission) => any;
2196
+
2197
+ export declare const ListAccountPermissionsResponseFilterSensitiveLog: (
2198
+ obj: ListAccountPermissionsResponse
2199
+ ) => any;
2200
+
2201
+ export declare const ListCoverageRequestFilterSensitiveLog: (
2202
+ obj: ListCoverageRequest
2203
+ ) => any;
2204
+
2205
+ export declare const ListCoverageResponseFilterSensitiveLog: (
2206
+ obj: ListCoverageResponse
2207
+ ) => any;
2208
+
2209
+ export declare const ListCoverageStatisticsRequestFilterSensitiveLog: (
2210
+ obj: ListCoverageStatisticsRequest
2211
+ ) => any;
2212
+
2213
+ export declare const ListCoverageStatisticsResponseFilterSensitiveLog: (
2214
+ obj: ListCoverageStatisticsResponse
2215
+ ) => any;
2216
+
2217
+ export declare const ListDelegatedAdminAccountsRequestFilterSensitiveLog: (
2218
+ obj: ListDelegatedAdminAccountsRequest
2219
+ ) => any;
2220
+
2221
+ export declare const ListDelegatedAdminAccountsResponseFilterSensitiveLog: (
2222
+ obj: ListDelegatedAdminAccountsResponse
2223
+ ) => any;
2224
+
2225
+ export declare const ListFiltersRequestFilterSensitiveLog: (
2226
+ obj: ListFiltersRequest
2227
+ ) => any;
2228
+
2229
+ export declare const ListFiltersResponseFilterSensitiveLog: (
2230
+ obj: ListFiltersResponse
2231
+ ) => any;
2232
+
2233
+ export declare const ListFindingAggregationsRequestFilterSensitiveLog: (
2234
+ obj: ListFindingAggregationsRequest
2235
+ ) => any;
2236
+
2237
+ export declare const ListFindingAggregationsResponseFilterSensitiveLog: (
2238
+ obj: ListFindingAggregationsResponse
2239
+ ) => any;
2240
+
2241
+ export declare const SortCriteriaFilterSensitiveLog: (obj: SortCriteria) => any;
2242
+
2243
+ export declare const ListFindingsRequestFilterSensitiveLog: (
2244
+ obj: ListFindingsRequest
2245
+ ) => any;
2246
+
2247
+ export declare const ListFindingsResponseFilterSensitiveLog: (
2248
+ obj: ListFindingsResponse
2249
+ ) => any;
2250
+
2251
+ export declare const ListMembersRequestFilterSensitiveLog: (
2252
+ obj: ListMembersRequest
2253
+ ) => any;
2254
+
2255
+ export declare const ListMembersResponseFilterSensitiveLog: (
2256
+ obj: ListMembersResponse
2257
+ ) => any;
2258
+
2259
+ export declare const ListTagsForResourceRequestFilterSensitiveLog: (
2260
+ obj: ListTagsForResourceRequest
2261
+ ) => any;
2262
+
2263
+ export declare const ListTagsForResourceResponseFilterSensitiveLog: (
2264
+ obj: ListTagsForResourceResponse
2265
+ ) => any;
2266
+
2267
+ export declare const ListUsageTotalsRequestFilterSensitiveLog: (
2268
+ obj: ListUsageTotalsRequest
2269
+ ) => any;
2270
+
2271
+ export declare const UsageFilterSensitiveLog: (obj: Usage) => any;
2272
+
2273
+ export declare const UsageTotalFilterSensitiveLog: (obj: UsageTotal) => any;
2274
+
2275
+ export declare const ListUsageTotalsResponseFilterSensitiveLog: (
2276
+ obj: ListUsageTotalsResponse
2277
+ ) => any;
2278
+
2279
+ export declare const TagResourceRequestFilterSensitiveLog: (
2280
+ obj: TagResourceRequest
2281
+ ) => any;
2282
+
2283
+ export declare const TagResourceResponseFilterSensitiveLog: (
2284
+ obj: TagResourceResponse
2285
+ ) => any;
2286
+
2287
+ export declare const UntagResourceRequestFilterSensitiveLog: (
2288
+ obj: UntagResourceRequest
2289
+ ) => any;
2290
+
2291
+ export declare const UntagResourceResponseFilterSensitiveLog: (
2292
+ obj: UntagResourceResponse
2293
+ ) => any;
2294
+
2295
+ export declare const UpdateConfigurationRequestFilterSensitiveLog: (
2296
+ obj: UpdateConfigurationRequest
2297
+ ) => any;
2298
+
2299
+ export declare const UpdateConfigurationResponseFilterSensitiveLog: (
2300
+ obj: UpdateConfigurationResponse
2301
+ ) => any;
2302
+
2303
+ export declare const UpdateFilterRequestFilterSensitiveLog: (
2304
+ obj: UpdateFilterRequest
2305
+ ) => any;
2306
+
2307
+ export declare const UpdateFilterResponseFilterSensitiveLog: (
2308
+ obj: UpdateFilterResponse
2309
+ ) => any;
2310
+
2311
+ export declare const UpdateOrganizationConfigurationRequestFilterSensitiveLog: (
2312
+ obj: UpdateOrganizationConfigurationRequest
2313
+ ) => any;
2314
+
2315
+ export declare const UpdateOrganizationConfigurationResponseFilterSensitiveLog: (
2316
+ obj: UpdateOrganizationConfigurationResponse
2317
+ ) => any;