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