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