@aws-sdk/client-inspector2 3.296.0 → 3.297.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.
- package/dist-types/Inspector2.d.ts +33 -0
- package/dist-types/Inspector2Client.d.ts +24 -4
- package/dist-types/commands/AssociateMemberCommand.d.ts +16 -0
- package/dist-types/commands/BatchGetAccountStatusCommand.d.ts +16 -0
- package/dist-types/commands/BatchGetFreeTrialInfoCommand.d.ts +16 -0
- package/dist-types/commands/CancelFindingsReportCommand.d.ts +16 -0
- package/dist-types/commands/CreateFilterCommand.d.ts +16 -0
- package/dist-types/commands/CreateFindingsReportCommand.d.ts +16 -0
- package/dist-types/commands/DeleteFilterCommand.d.ts +16 -0
- package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/DisableCommand.d.ts +16 -0
- package/dist-types/commands/DisableDelegatedAdminAccountCommand.d.ts +16 -0
- package/dist-types/commands/DisassociateMemberCommand.d.ts +16 -0
- package/dist-types/commands/EnableCommand.d.ts +16 -0
- package/dist-types/commands/EnableDelegatedAdminAccountCommand.d.ts +16 -0
- package/dist-types/commands/GetConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/GetDelegatedAdminAccountCommand.d.ts +16 -0
- package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +16 -0
- package/dist-types/commands/GetMemberCommand.d.ts +16 -0
- package/dist-types/commands/ListAccountPermissionsCommand.d.ts +16 -0
- package/dist-types/commands/ListCoverageCommand.d.ts +16 -0
- package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +16 -0
- package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +16 -0
- package/dist-types/commands/ListFiltersCommand.d.ts +16 -0
- package/dist-types/commands/ListFindingAggregationsCommand.d.ts +16 -0
- package/dist-types/commands/ListFindingsCommand.d.ts +16 -0
- package/dist-types/commands/ListMembersCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/ListUsageTotalsCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateConfigurationCommand.d.ts +16 -0
- package/dist-types/commands/UpdateFilterCommand.d.ts +16 -0
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +16 -0
- package/dist-types/models/Inspector2ServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +463 -0
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListAccountPermissionsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListCoveragePaginator.d.ts +3 -0
- package/dist-types/pagination/ListCoverageStatisticsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListDelegatedAdminAccountsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListFiltersPaginator.d.ts +3 -0
- package/dist-types/pagination/ListFindingAggregationsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListFindingsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListMembersPaginator.d.ts +3 -0
- package/dist-types/pagination/ListUsageTotalsPaginator.d.ts +3 -0
- package/package.json +3 -3
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { Inspector2ServiceException as __BaseException } from "./Inspector2ServiceException";
|
|
3
3
|
/**
|
|
4
|
+
* @public
|
|
4
5
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
5
6
|
*/
|
|
6
7
|
export declare class AccessDeniedException extends __BaseException {
|
|
@@ -11,6 +12,9 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
11
12
|
*/
|
|
12
13
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
13
14
|
}
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
14
18
|
export declare enum Status {
|
|
15
19
|
DISABLED = "DISABLED",
|
|
16
20
|
DISABLING = "DISABLING",
|
|
@@ -20,6 +24,7 @@ export declare enum Status {
|
|
|
20
24
|
SUSPENDING = "SUSPENDING"
|
|
21
25
|
}
|
|
22
26
|
/**
|
|
27
|
+
* @public
|
|
23
28
|
* <p>Details the status of Amazon Inspector for each resource type Amazon Inspector scans.</p>
|
|
24
29
|
*/
|
|
25
30
|
export interface ResourceStatus {
|
|
@@ -37,6 +42,7 @@ export interface ResourceStatus {
|
|
|
37
42
|
lambda?: Status | string;
|
|
38
43
|
}
|
|
39
44
|
/**
|
|
45
|
+
* @public
|
|
40
46
|
* <p>An Amazon Web Services account within your environment that Amazon Inspector has been enabled for.</p>
|
|
41
47
|
*/
|
|
42
48
|
export interface Account {
|
|
@@ -53,25 +59,38 @@ export interface Account {
|
|
|
53
59
|
*/
|
|
54
60
|
resourceStatus: ResourceStatus | undefined;
|
|
55
61
|
}
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
56
65
|
export declare enum AggregationFindingType {
|
|
57
66
|
NETWORK_REACHABILITY = "NETWORK_REACHABILITY",
|
|
58
67
|
PACKAGE_VULNERABILITY = "PACKAGE_VULNERABILITY"
|
|
59
68
|
}
|
|
69
|
+
/**
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
60
72
|
export declare enum AggregationResourceType {
|
|
61
73
|
AWS_EC2_INSTANCE = "AWS_EC2_INSTANCE",
|
|
62
74
|
AWS_ECR_CONTAINER_IMAGE = "AWS_ECR_CONTAINER_IMAGE",
|
|
63
75
|
AWS_LAMBDA_FUNCTION = "AWS_LAMBDA_FUNCTION"
|
|
64
76
|
}
|
|
77
|
+
/**
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
65
80
|
export declare enum AccountSortBy {
|
|
66
81
|
ALL = "ALL",
|
|
67
82
|
CRITICAL = "CRITICAL",
|
|
68
83
|
HIGH = "HIGH"
|
|
69
84
|
}
|
|
85
|
+
/**
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
70
88
|
export declare enum SortOrder {
|
|
71
89
|
ASC = "ASC",
|
|
72
90
|
DESC = "DESC"
|
|
73
91
|
}
|
|
74
92
|
/**
|
|
93
|
+
* @public
|
|
75
94
|
* <p>An object that contains details about an aggregation response based on
|
|
76
95
|
* Amazon Web Services accounts.</p>
|
|
77
96
|
*/
|
|
@@ -94,6 +113,7 @@ export interface AccountAggregation {
|
|
|
94
113
|
sortBy?: AccountSortBy | string;
|
|
95
114
|
}
|
|
96
115
|
/**
|
|
116
|
+
* @public
|
|
97
117
|
* <p>An object that contains the counts of aggregated finding per severity.</p>
|
|
98
118
|
*/
|
|
99
119
|
export interface SeverityCounts {
|
|
@@ -115,6 +135,7 @@ export interface SeverityCounts {
|
|
|
115
135
|
critical?: number;
|
|
116
136
|
}
|
|
117
137
|
/**
|
|
138
|
+
* @public
|
|
118
139
|
* <p>An aggregation of findings by Amazon Web Services account ID.</p>
|
|
119
140
|
*/
|
|
120
141
|
export interface AccountAggregationResponse {
|
|
@@ -127,6 +148,9 @@ export interface AccountAggregationResponse {
|
|
|
127
148
|
*/
|
|
128
149
|
severityCounts?: SeverityCounts;
|
|
129
150
|
}
|
|
151
|
+
/**
|
|
152
|
+
* @public
|
|
153
|
+
*/
|
|
130
154
|
export declare enum ErrorCode {
|
|
131
155
|
ACCESS_DENIED = "ACCESS_DENIED",
|
|
132
156
|
ACCOUNT_IS_ISOLATED = "ACCOUNT_IS_ISOLATED",
|
|
@@ -144,6 +168,7 @@ export declare enum ErrorCode {
|
|
|
144
168
|
SUSPEND_IN_PROGRESS = "SUSPEND_IN_PROGRESS"
|
|
145
169
|
}
|
|
146
170
|
/**
|
|
171
|
+
* @public
|
|
147
172
|
* <p>An object that described the state of Amazon Inspector scans for an account.</p>
|
|
148
173
|
*/
|
|
149
174
|
export interface State {
|
|
@@ -161,6 +186,7 @@ export interface State {
|
|
|
161
186
|
errorMessage: string | undefined;
|
|
162
187
|
}
|
|
163
188
|
/**
|
|
189
|
+
* @public
|
|
164
190
|
* <p>Details the state of Amazon Inspector for each resource type Amazon Inspector scans.</p>
|
|
165
191
|
*/
|
|
166
192
|
export interface ResourceState {
|
|
@@ -178,6 +204,7 @@ export interface ResourceState {
|
|
|
178
204
|
lambda?: State;
|
|
179
205
|
}
|
|
180
206
|
/**
|
|
207
|
+
* @public
|
|
181
208
|
* <p>An object with details the status of an Amazon Web Services account within your Amazon Inspector environment.</p>
|
|
182
209
|
*/
|
|
183
210
|
export interface AccountState {
|
|
@@ -194,12 +221,16 @@ export interface AccountState {
|
|
|
194
221
|
*/
|
|
195
222
|
resourceState: ResourceState | undefined;
|
|
196
223
|
}
|
|
224
|
+
/**
|
|
225
|
+
* @public
|
|
226
|
+
*/
|
|
197
227
|
export declare enum StringComparison {
|
|
198
228
|
EQUALS = "EQUALS",
|
|
199
229
|
NOT_EQUALS = "NOT_EQUALS",
|
|
200
230
|
PREFIX = "PREFIX"
|
|
201
231
|
}
|
|
202
232
|
/**
|
|
233
|
+
* @public
|
|
203
234
|
* <p>An object that describes the details of a string filter.</p>
|
|
204
235
|
*/
|
|
205
236
|
export interface StringFilter {
|
|
@@ -212,6 +243,9 @@ export interface StringFilter {
|
|
|
212
243
|
*/
|
|
213
244
|
value: string | undefined;
|
|
214
245
|
}
|
|
246
|
+
/**
|
|
247
|
+
* @public
|
|
248
|
+
*/
|
|
215
249
|
export declare enum AmiSortBy {
|
|
216
250
|
AFFECTED_INSTANCES = "AFFECTED_INSTANCES",
|
|
217
251
|
ALL = "ALL",
|
|
@@ -219,6 +253,7 @@ export declare enum AmiSortBy {
|
|
|
219
253
|
HIGH = "HIGH"
|
|
220
254
|
}
|
|
221
255
|
/**
|
|
256
|
+
* @public
|
|
222
257
|
* <p>The details that define an aggregation based on Amazon machine images (AMIs).</p>
|
|
223
258
|
*/
|
|
224
259
|
export interface AmiAggregation {
|
|
@@ -235,12 +270,16 @@ export interface AmiAggregation {
|
|
|
235
270
|
*/
|
|
236
271
|
sortBy?: AmiSortBy | string;
|
|
237
272
|
}
|
|
273
|
+
/**
|
|
274
|
+
* @public
|
|
275
|
+
*/
|
|
238
276
|
export declare enum AwsEcrContainerSortBy {
|
|
239
277
|
ALL = "ALL",
|
|
240
278
|
CRITICAL = "CRITICAL",
|
|
241
279
|
HIGH = "HIGH"
|
|
242
280
|
}
|
|
243
281
|
/**
|
|
282
|
+
* @public
|
|
244
283
|
* <p>An aggregation of information about Amazon ECR containers.</p>
|
|
245
284
|
*/
|
|
246
285
|
export interface AwsEcrContainerAggregation {
|
|
@@ -273,10 +312,14 @@ export interface AwsEcrContainerAggregation {
|
|
|
273
312
|
*/
|
|
274
313
|
sortBy?: AwsEcrContainerSortBy | string;
|
|
275
314
|
}
|
|
315
|
+
/**
|
|
316
|
+
* @public
|
|
317
|
+
*/
|
|
276
318
|
export declare enum MapComparison {
|
|
277
319
|
EQUALS = "EQUALS"
|
|
278
320
|
}
|
|
279
321
|
/**
|
|
322
|
+
* @public
|
|
280
323
|
* <p>An object that describes details of a map filter.</p>
|
|
281
324
|
*/
|
|
282
325
|
export interface MapFilter {
|
|
@@ -293,6 +336,9 @@ export interface MapFilter {
|
|
|
293
336
|
*/
|
|
294
337
|
value?: string;
|
|
295
338
|
}
|
|
339
|
+
/**
|
|
340
|
+
* @public
|
|
341
|
+
*/
|
|
296
342
|
export declare enum Ec2InstanceSortBy {
|
|
297
343
|
ALL = "ALL",
|
|
298
344
|
CRITICAL = "CRITICAL",
|
|
@@ -300,6 +346,7 @@ export declare enum Ec2InstanceSortBy {
|
|
|
300
346
|
NETWORK_FINDINGS = "NETWORK_FINDINGS"
|
|
301
347
|
}
|
|
302
348
|
/**
|
|
349
|
+
* @public
|
|
303
350
|
* <p>The details that define an aggregation based on Amazon EC2 instances.</p>
|
|
304
351
|
*/
|
|
305
352
|
export interface Ec2InstanceAggregation {
|
|
@@ -330,12 +377,16 @@ export interface Ec2InstanceAggregation {
|
|
|
330
377
|
*/
|
|
331
378
|
sortBy?: Ec2InstanceSortBy | string;
|
|
332
379
|
}
|
|
380
|
+
/**
|
|
381
|
+
* @public
|
|
382
|
+
*/
|
|
333
383
|
export declare enum FindingTypeSortBy {
|
|
334
384
|
ALL = "ALL",
|
|
335
385
|
CRITICAL = "CRITICAL",
|
|
336
386
|
HIGH = "HIGH"
|
|
337
387
|
}
|
|
338
388
|
/**
|
|
389
|
+
* @public
|
|
339
390
|
* <p>The details that define an aggregation based on finding type.</p>
|
|
340
391
|
*/
|
|
341
392
|
export interface FindingTypeAggregation {
|
|
@@ -356,12 +407,16 @@ export interface FindingTypeAggregation {
|
|
|
356
407
|
*/
|
|
357
408
|
sortBy?: FindingTypeSortBy | string;
|
|
358
409
|
}
|
|
410
|
+
/**
|
|
411
|
+
* @public
|
|
412
|
+
*/
|
|
359
413
|
export declare enum ImageLayerSortBy {
|
|
360
414
|
ALL = "ALL",
|
|
361
415
|
CRITICAL = "CRITICAL",
|
|
362
416
|
HIGH = "HIGH"
|
|
363
417
|
}
|
|
364
418
|
/**
|
|
419
|
+
* @public
|
|
365
420
|
* <p>The details that define an aggregation based on container image layers.</p>
|
|
366
421
|
*/
|
|
367
422
|
export interface ImageLayerAggregation {
|
|
@@ -386,12 +441,16 @@ export interface ImageLayerAggregation {
|
|
|
386
441
|
*/
|
|
387
442
|
sortBy?: ImageLayerSortBy | string;
|
|
388
443
|
}
|
|
444
|
+
/**
|
|
445
|
+
* @public
|
|
446
|
+
*/
|
|
389
447
|
export declare enum LambdaFunctionSortBy {
|
|
390
448
|
ALL = "ALL",
|
|
391
449
|
CRITICAL = "CRITICAL",
|
|
392
450
|
HIGH = "HIGH"
|
|
393
451
|
}
|
|
394
452
|
/**
|
|
453
|
+
* @public
|
|
395
454
|
* <p>The details that define a findings aggregation based on AWS Lambda functions.</p>
|
|
396
455
|
*/
|
|
397
456
|
export interface LambdaFunctionAggregation {
|
|
@@ -420,12 +479,16 @@ export interface LambdaFunctionAggregation {
|
|
|
420
479
|
*/
|
|
421
480
|
sortBy?: LambdaFunctionSortBy | string;
|
|
422
481
|
}
|
|
482
|
+
/**
|
|
483
|
+
* @public
|
|
484
|
+
*/
|
|
423
485
|
export declare enum LambdaLayerSortBy {
|
|
424
486
|
ALL = "ALL",
|
|
425
487
|
CRITICAL = "CRITICAL",
|
|
426
488
|
HIGH = "HIGH"
|
|
427
489
|
}
|
|
428
490
|
/**
|
|
491
|
+
* @public
|
|
429
492
|
* <p>The details that define a findings aggregation based on an AWS Lambda function's layers.</p>
|
|
430
493
|
*/
|
|
431
494
|
export interface LambdaLayerAggregation {
|
|
@@ -451,12 +514,16 @@ export interface LambdaLayerAggregation {
|
|
|
451
514
|
*/
|
|
452
515
|
sortBy?: LambdaLayerSortBy | string;
|
|
453
516
|
}
|
|
517
|
+
/**
|
|
518
|
+
* @public
|
|
519
|
+
*/
|
|
454
520
|
export declare enum PackageSortBy {
|
|
455
521
|
ALL = "ALL",
|
|
456
522
|
CRITICAL = "CRITICAL",
|
|
457
523
|
HIGH = "HIGH"
|
|
458
524
|
}
|
|
459
525
|
/**
|
|
526
|
+
* @public
|
|
460
527
|
* <p>The details that define an aggregation based on operating system package type.</p>
|
|
461
528
|
*/
|
|
462
529
|
export interface PackageAggregation {
|
|
@@ -473,6 +540,9 @@ export interface PackageAggregation {
|
|
|
473
540
|
*/
|
|
474
541
|
sortBy?: PackageSortBy | string;
|
|
475
542
|
}
|
|
543
|
+
/**
|
|
544
|
+
* @public
|
|
545
|
+
*/
|
|
476
546
|
export declare enum RepositorySortBy {
|
|
477
547
|
AFFECTED_IMAGES = "AFFECTED_IMAGES",
|
|
478
548
|
ALL = "ALL",
|
|
@@ -480,6 +550,7 @@ export declare enum RepositorySortBy {
|
|
|
480
550
|
HIGH = "HIGH"
|
|
481
551
|
}
|
|
482
552
|
/**
|
|
553
|
+
* @public
|
|
483
554
|
* <p>The details that define an aggregation based on repository.</p>
|
|
484
555
|
*/
|
|
485
556
|
export interface RepositoryAggregation {
|
|
@@ -496,12 +567,16 @@ export interface RepositoryAggregation {
|
|
|
496
567
|
*/
|
|
497
568
|
sortBy?: RepositorySortBy | string;
|
|
498
569
|
}
|
|
570
|
+
/**
|
|
571
|
+
* @public
|
|
572
|
+
*/
|
|
499
573
|
export declare enum TitleSortBy {
|
|
500
574
|
ALL = "ALL",
|
|
501
575
|
CRITICAL = "CRITICAL",
|
|
502
576
|
HIGH = "HIGH"
|
|
503
577
|
}
|
|
504
578
|
/**
|
|
579
|
+
* @public
|
|
505
580
|
* <p>The details that define an aggregation based on finding title.</p>
|
|
506
581
|
*/
|
|
507
582
|
export interface TitleAggregation {
|
|
@@ -527,9 +602,13 @@ export interface TitleAggregation {
|
|
|
527
602
|
sortBy?: TitleSortBy | string;
|
|
528
603
|
}
|
|
529
604
|
/**
|
|
605
|
+
* @public
|
|
530
606
|
* <p>Contains details about an aggregation request.</p>
|
|
531
607
|
*/
|
|
532
608
|
export type AggregationRequest = AggregationRequest.AccountAggregationMember | AggregationRequest.AmiAggregationMember | AggregationRequest.AwsEcrContainerAggregationMember | AggregationRequest.Ec2InstanceAggregationMember | AggregationRequest.FindingTypeAggregationMember | AggregationRequest.ImageLayerAggregationMember | AggregationRequest.LambdaFunctionAggregationMember | AggregationRequest.LambdaLayerAggregationMember | AggregationRequest.PackageAggregationMember | AggregationRequest.RepositoryAggregationMember | AggregationRequest.TitleAggregationMember | AggregationRequest.$UnknownMember;
|
|
609
|
+
/**
|
|
610
|
+
* @public
|
|
611
|
+
*/
|
|
533
612
|
export declare namespace AggregationRequest {
|
|
534
613
|
/**
|
|
535
614
|
* <p>An object that contains details about an aggregation request based on Amazon Web Services account
|
|
@@ -755,6 +834,7 @@ export declare namespace AggregationRequest {
|
|
|
755
834
|
const visit: <T>(value: AggregationRequest, visitor: Visitor<T>) => T;
|
|
756
835
|
}
|
|
757
836
|
/**
|
|
837
|
+
* @public
|
|
758
838
|
* <p>A response that contains the results of a finding aggregation by AMI.</p>
|
|
759
839
|
*/
|
|
760
840
|
export interface AmiAggregationResponse {
|
|
@@ -776,6 +856,7 @@ export interface AmiAggregationResponse {
|
|
|
776
856
|
affectedInstances?: number;
|
|
777
857
|
}
|
|
778
858
|
/**
|
|
859
|
+
* @public
|
|
779
860
|
* <p>An aggregation of information about Amazon ECR containers.</p>
|
|
780
861
|
*/
|
|
781
862
|
export interface AwsEcrContainerAggregationResponse {
|
|
@@ -809,6 +890,7 @@ export interface AwsEcrContainerAggregationResponse {
|
|
|
809
890
|
severityCounts?: SeverityCounts;
|
|
810
891
|
}
|
|
811
892
|
/**
|
|
893
|
+
* @public
|
|
812
894
|
* <p>A response that contains the results of a finding aggregation by Amazon EC2 instance.</p>
|
|
813
895
|
*/
|
|
814
896
|
export interface Ec2InstanceAggregationResponse {
|
|
@@ -842,6 +924,7 @@ export interface Ec2InstanceAggregationResponse {
|
|
|
842
924
|
networkFindings?: number;
|
|
843
925
|
}
|
|
844
926
|
/**
|
|
927
|
+
* @public
|
|
845
928
|
* <p>A response that contains the results of a finding type aggregation.</p>
|
|
846
929
|
*/
|
|
847
930
|
export interface FindingTypeAggregationResponse {
|
|
@@ -855,6 +938,7 @@ export interface FindingTypeAggregationResponse {
|
|
|
855
938
|
severityCounts?: SeverityCounts;
|
|
856
939
|
}
|
|
857
940
|
/**
|
|
941
|
+
* @public
|
|
858
942
|
* <p>A response that contains the results of a finding aggregation by image layer.</p>
|
|
859
943
|
*/
|
|
860
944
|
export interface ImageLayerAggregationResponse {
|
|
@@ -880,6 +964,7 @@ export interface ImageLayerAggregationResponse {
|
|
|
880
964
|
severityCounts?: SeverityCounts;
|
|
881
965
|
}
|
|
882
966
|
/**
|
|
967
|
+
* @public
|
|
883
968
|
* <p>A response that contains the results of an AWS Lambda function finding aggregation.</p>
|
|
884
969
|
*/
|
|
885
970
|
export interface LambdaFunctionAggregationResponse {
|
|
@@ -914,6 +999,7 @@ export interface LambdaFunctionAggregationResponse {
|
|
|
914
999
|
lastModifiedAt?: Date;
|
|
915
1000
|
}
|
|
916
1001
|
/**
|
|
1002
|
+
* @public
|
|
917
1003
|
* <p>A response that contains the results of an AWS Lambda function layer finding aggregation.</p>
|
|
918
1004
|
*/
|
|
919
1005
|
export interface LambdaLayerAggregationResponse {
|
|
@@ -939,6 +1025,7 @@ export interface LambdaLayerAggregationResponse {
|
|
|
939
1025
|
severityCounts?: SeverityCounts;
|
|
940
1026
|
}
|
|
941
1027
|
/**
|
|
1028
|
+
* @public
|
|
942
1029
|
* <p>A response that contains the results of a finding aggregation by image layer.</p>
|
|
943
1030
|
*/
|
|
944
1031
|
export interface PackageAggregationResponse {
|
|
@@ -956,6 +1043,7 @@ export interface PackageAggregationResponse {
|
|
|
956
1043
|
severityCounts?: SeverityCounts;
|
|
957
1044
|
}
|
|
958
1045
|
/**
|
|
1046
|
+
* @public
|
|
959
1047
|
* <p>A response that contains details on the results of a finding aggregation by repository.</p>
|
|
960
1048
|
*/
|
|
961
1049
|
export interface RepositoryAggregationResponse {
|
|
@@ -977,6 +1065,7 @@ export interface RepositoryAggregationResponse {
|
|
|
977
1065
|
affectedImages?: number;
|
|
978
1066
|
}
|
|
979
1067
|
/**
|
|
1068
|
+
* @public
|
|
980
1069
|
* <p>A response that contains details on the results of a finding aggregation by title.</p>
|
|
981
1070
|
*/
|
|
982
1071
|
export interface TitleAggregationResponse {
|
|
@@ -998,9 +1087,13 @@ export interface TitleAggregationResponse {
|
|
|
998
1087
|
severityCounts?: SeverityCounts;
|
|
999
1088
|
}
|
|
1000
1089
|
/**
|
|
1090
|
+
* @public
|
|
1001
1091
|
* <p>A structure that contains details about the results of an aggregation type.</p>
|
|
1002
1092
|
*/
|
|
1003
1093
|
export type AggregationResponse = AggregationResponse.AccountAggregationMember | AggregationResponse.AmiAggregationMember | AggregationResponse.AwsEcrContainerAggregationMember | AggregationResponse.Ec2InstanceAggregationMember | AggregationResponse.FindingTypeAggregationMember | AggregationResponse.ImageLayerAggregationMember | AggregationResponse.LambdaFunctionAggregationMember | AggregationResponse.LambdaLayerAggregationMember | AggregationResponse.PackageAggregationMember | AggregationResponse.RepositoryAggregationMember | AggregationResponse.TitleAggregationMember | AggregationResponse.$UnknownMember;
|
|
1094
|
+
/**
|
|
1095
|
+
* @public
|
|
1096
|
+
*/
|
|
1004
1097
|
export declare namespace AggregationResponse {
|
|
1005
1098
|
/**
|
|
1006
1099
|
* <p>An object that contains details about an aggregation response based on Amazon Web Services account
|
|
@@ -1226,6 +1319,9 @@ export declare namespace AggregationResponse {
|
|
|
1226
1319
|
}
|
|
1227
1320
|
const visit: <T>(value: AggregationResponse, visitor: Visitor<T>) => T;
|
|
1228
1321
|
}
|
|
1322
|
+
/**
|
|
1323
|
+
* @public
|
|
1324
|
+
*/
|
|
1229
1325
|
export declare enum AggregationType {
|
|
1230
1326
|
ACCOUNT = "ACCOUNT",
|
|
1231
1327
|
AMI = "AMI",
|
|
@@ -1239,16 +1335,25 @@ export declare enum AggregationType {
|
|
|
1239
1335
|
REPOSITORY = "REPOSITORY",
|
|
1240
1336
|
TITLE = "TITLE"
|
|
1241
1337
|
}
|
|
1338
|
+
/**
|
|
1339
|
+
* @public
|
|
1340
|
+
*/
|
|
1242
1341
|
export declare enum Architecture {
|
|
1243
1342
|
ARM64 = "ARM64",
|
|
1244
1343
|
X86_64 = "X86_64"
|
|
1245
1344
|
}
|
|
1345
|
+
/**
|
|
1346
|
+
* @public
|
|
1347
|
+
*/
|
|
1246
1348
|
export interface AssociateMemberRequest {
|
|
1247
1349
|
/**
|
|
1248
1350
|
* <p>The Amazon Web Services account ID of the member account to be associated.</p>
|
|
1249
1351
|
*/
|
|
1250
1352
|
accountId: string | undefined;
|
|
1251
1353
|
}
|
|
1354
|
+
/**
|
|
1355
|
+
* @public
|
|
1356
|
+
*/
|
|
1252
1357
|
export interface AssociateMemberResponse {
|
|
1253
1358
|
/**
|
|
1254
1359
|
* <p>The Amazon Web Services account ID of the successfully associated member account.</p>
|
|
@@ -1256,6 +1361,7 @@ export interface AssociateMemberResponse {
|
|
|
1256
1361
|
accountId: string | undefined;
|
|
1257
1362
|
}
|
|
1258
1363
|
/**
|
|
1364
|
+
* @public
|
|
1259
1365
|
* <p>The request has failed due to an internal failure of the Amazon Inspector service.</p>
|
|
1260
1366
|
*/
|
|
1261
1367
|
export declare class InternalServerException extends __BaseException {
|
|
@@ -1272,6 +1378,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
1272
1378
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
1273
1379
|
}
|
|
1274
1380
|
/**
|
|
1381
|
+
* @public
|
|
1275
1382
|
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
1276
1383
|
*/
|
|
1277
1384
|
export declare class ThrottlingException extends __BaseException {
|
|
@@ -1290,6 +1397,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
1290
1397
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
1291
1398
|
}
|
|
1292
1399
|
/**
|
|
1400
|
+
* @public
|
|
1293
1401
|
* <p>An object that describes a validation exception.</p>
|
|
1294
1402
|
*/
|
|
1295
1403
|
export interface ValidationExceptionField {
|
|
@@ -1302,12 +1410,16 @@ export interface ValidationExceptionField {
|
|
|
1302
1410
|
*/
|
|
1303
1411
|
message: string | undefined;
|
|
1304
1412
|
}
|
|
1413
|
+
/**
|
|
1414
|
+
* @public
|
|
1415
|
+
*/
|
|
1305
1416
|
export declare enum ValidationExceptionReason {
|
|
1306
1417
|
CANNOT_PARSE = "CANNOT_PARSE",
|
|
1307
1418
|
FIELD_VALIDATION_FAILED = "FIELD_VALIDATION_FAILED",
|
|
1308
1419
|
OTHER = "OTHER"
|
|
1309
1420
|
}
|
|
1310
1421
|
/**
|
|
1422
|
+
* @public
|
|
1311
1423
|
* <p>The request has failed validation due to missing required fields or having invalid
|
|
1312
1424
|
* inputs.</p>
|
|
1313
1425
|
*/
|
|
@@ -1328,6 +1440,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
1328
1440
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
1329
1441
|
}
|
|
1330
1442
|
/**
|
|
1443
|
+
* @public
|
|
1331
1444
|
* <p>Represents which scan types are automatically enabled for new members of your Amazon Inspector organization.</p>
|
|
1332
1445
|
*/
|
|
1333
1446
|
export interface AutoEnable {
|
|
@@ -1348,6 +1461,7 @@ export interface AutoEnable {
|
|
|
1348
1461
|
lambda?: boolean;
|
|
1349
1462
|
}
|
|
1350
1463
|
/**
|
|
1464
|
+
* @public
|
|
1351
1465
|
* <p>Details of the Amazon EC2 instance involved in a finding.</p>
|
|
1352
1466
|
*/
|
|
1353
1467
|
export interface AwsEc2InstanceDetails {
|
|
@@ -1393,6 +1507,7 @@ export interface AwsEc2InstanceDetails {
|
|
|
1393
1507
|
platform?: string;
|
|
1394
1508
|
}
|
|
1395
1509
|
/**
|
|
1510
|
+
* @public
|
|
1396
1511
|
* <p>The image details of the Amazon ECR container image.</p>
|
|
1397
1512
|
*/
|
|
1398
1513
|
export interface AwsEcrContainerImageDetails {
|
|
@@ -1429,10 +1544,16 @@ export interface AwsEcrContainerImageDetails {
|
|
|
1429
1544
|
*/
|
|
1430
1545
|
platform?: string;
|
|
1431
1546
|
}
|
|
1547
|
+
/**
|
|
1548
|
+
* @public
|
|
1549
|
+
*/
|
|
1432
1550
|
export declare enum PackageType {
|
|
1433
1551
|
IMAGE = "IMAGE",
|
|
1434
1552
|
ZIP = "ZIP"
|
|
1435
1553
|
}
|
|
1554
|
+
/**
|
|
1555
|
+
* @public
|
|
1556
|
+
*/
|
|
1436
1557
|
export declare enum Runtime {
|
|
1437
1558
|
GO_1_X = "GO_1_X",
|
|
1438
1559
|
JAVA_11 = "JAVA_11",
|
|
@@ -1449,6 +1570,7 @@ export declare enum Runtime {
|
|
|
1449
1570
|
UNSUPPORTED = "UNSUPPORTED"
|
|
1450
1571
|
}
|
|
1451
1572
|
/**
|
|
1573
|
+
* @public
|
|
1452
1574
|
* <p>The VPC security groups and subnets that are attached to an AWS Lambda function. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html">VPC Settings</a>.</p>
|
|
1453
1575
|
*/
|
|
1454
1576
|
export interface LambdaVpcConfig {
|
|
@@ -1466,6 +1588,7 @@ export interface LambdaVpcConfig {
|
|
|
1466
1588
|
vpcId?: string;
|
|
1467
1589
|
}
|
|
1468
1590
|
/**
|
|
1591
|
+
* @public
|
|
1469
1592
|
* <p> A summary of information about the AWS Lambda function.</p>
|
|
1470
1593
|
*/
|
|
1471
1594
|
export interface AwsLambdaFunctionDetails {
|
|
@@ -1514,6 +1637,7 @@ export interface AwsLambdaFunctionDetails {
|
|
|
1514
1637
|
lastModifiedAt?: Date;
|
|
1515
1638
|
}
|
|
1516
1639
|
/**
|
|
1640
|
+
* @public
|
|
1517
1641
|
* <p>One or more tags submitted as part of the request is not valid.</p>
|
|
1518
1642
|
*/
|
|
1519
1643
|
export declare class BadRequestException extends __BaseException {
|
|
@@ -1524,6 +1648,9 @@ export declare class BadRequestException extends __BaseException {
|
|
|
1524
1648
|
*/
|
|
1525
1649
|
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
1526
1650
|
}
|
|
1651
|
+
/**
|
|
1652
|
+
* @public
|
|
1653
|
+
*/
|
|
1527
1654
|
export interface BatchGetAccountStatusRequest {
|
|
1528
1655
|
/**
|
|
1529
1656
|
* <p>The 12-digit Amazon Web Services account IDs of the accounts to retrieve Amazon Inspector status for.</p>
|
|
@@ -1531,6 +1658,7 @@ export interface BatchGetAccountStatusRequest {
|
|
|
1531
1658
|
accountIds?: string[];
|
|
1532
1659
|
}
|
|
1533
1660
|
/**
|
|
1661
|
+
* @public
|
|
1534
1662
|
* <p>An object with details on why an account failed to enable Amazon Inspector.</p>
|
|
1535
1663
|
*/
|
|
1536
1664
|
export interface FailedAccount {
|
|
@@ -1555,6 +1683,9 @@ export interface FailedAccount {
|
|
|
1555
1683
|
*/
|
|
1556
1684
|
errorMessage: string | undefined;
|
|
1557
1685
|
}
|
|
1686
|
+
/**
|
|
1687
|
+
* @public
|
|
1688
|
+
*/
|
|
1558
1689
|
export interface BatchGetAccountStatusResponse {
|
|
1559
1690
|
/**
|
|
1560
1691
|
* <p>An array of objects that provide details on the status of Amazon Inspector for each of the requested accounts.</p>
|
|
@@ -1566,6 +1697,7 @@ export interface BatchGetAccountStatusResponse {
|
|
|
1566
1697
|
failedAccounts?: FailedAccount[];
|
|
1567
1698
|
}
|
|
1568
1699
|
/**
|
|
1700
|
+
* @public
|
|
1569
1701
|
* <p>The operation tried to access an invalid resource. Make sure the resource is specified correctly.</p>
|
|
1570
1702
|
*/
|
|
1571
1703
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
@@ -1576,22 +1708,32 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
1576
1708
|
*/
|
|
1577
1709
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
1578
1710
|
}
|
|
1711
|
+
/**
|
|
1712
|
+
* @public
|
|
1713
|
+
*/
|
|
1579
1714
|
export interface BatchGetFreeTrialInfoRequest {
|
|
1580
1715
|
/**
|
|
1581
1716
|
* <p>The account IDs to get free trial status for.</p>
|
|
1582
1717
|
*/
|
|
1583
1718
|
accountIds: string[] | undefined;
|
|
1584
1719
|
}
|
|
1720
|
+
/**
|
|
1721
|
+
* @public
|
|
1722
|
+
*/
|
|
1585
1723
|
export declare enum FreeTrialStatus {
|
|
1586
1724
|
ACTIVE = "ACTIVE",
|
|
1587
1725
|
INACTIVE = "INACTIVE"
|
|
1588
1726
|
}
|
|
1727
|
+
/**
|
|
1728
|
+
* @public
|
|
1729
|
+
*/
|
|
1589
1730
|
export declare enum FreeTrialType {
|
|
1590
1731
|
EC2 = "EC2",
|
|
1591
1732
|
ECR = "ECR",
|
|
1592
1733
|
LAMBDA = "LAMBDA"
|
|
1593
1734
|
}
|
|
1594
1735
|
/**
|
|
1736
|
+
* @public
|
|
1595
1737
|
* <p>An object that contains information about the Amazon Inspector free trial for an account.</p>
|
|
1596
1738
|
*/
|
|
1597
1739
|
export interface FreeTrialInfo {
|
|
@@ -1613,6 +1755,7 @@ export interface FreeTrialInfo {
|
|
|
1613
1755
|
status: FreeTrialStatus | string | undefined;
|
|
1614
1756
|
}
|
|
1615
1757
|
/**
|
|
1758
|
+
* @public
|
|
1616
1759
|
* <p>Information about the Amazon Inspector free trial for an account.</p>
|
|
1617
1760
|
*/
|
|
1618
1761
|
export interface FreeTrialAccountInfo {
|
|
@@ -1625,11 +1768,15 @@ export interface FreeTrialAccountInfo {
|
|
|
1625
1768
|
*/
|
|
1626
1769
|
freeTrialInfo: FreeTrialInfo[] | undefined;
|
|
1627
1770
|
}
|
|
1771
|
+
/**
|
|
1772
|
+
* @public
|
|
1773
|
+
*/
|
|
1628
1774
|
export declare enum FreeTrialInfoErrorCode {
|
|
1629
1775
|
ACCESS_DENIED = "ACCESS_DENIED",
|
|
1630
1776
|
INTERNAL_ERROR = "INTERNAL_ERROR"
|
|
1631
1777
|
}
|
|
1632
1778
|
/**
|
|
1779
|
+
* @public
|
|
1633
1780
|
* <p>Information about an error received while accessing free trail data for an account.</p>
|
|
1634
1781
|
*/
|
|
1635
1782
|
export interface FreeTrialInfoError {
|
|
@@ -1646,6 +1793,9 @@ export interface FreeTrialInfoError {
|
|
|
1646
1793
|
*/
|
|
1647
1794
|
message: string | undefined;
|
|
1648
1795
|
}
|
|
1796
|
+
/**
|
|
1797
|
+
* @public
|
|
1798
|
+
*/
|
|
1649
1799
|
export interface BatchGetFreeTrialInfoResponse {
|
|
1650
1800
|
/**
|
|
1651
1801
|
* <p>An array of objects that provide Amazon Inspector free trial details for each of the requested accounts.
|
|
@@ -1657,12 +1807,18 @@ export interface BatchGetFreeTrialInfoResponse {
|
|
|
1657
1807
|
*/
|
|
1658
1808
|
failedAccounts: FreeTrialInfoError[] | undefined;
|
|
1659
1809
|
}
|
|
1810
|
+
/**
|
|
1811
|
+
* @public
|
|
1812
|
+
*/
|
|
1660
1813
|
export interface CancelFindingsReportRequest {
|
|
1661
1814
|
/**
|
|
1662
1815
|
* <p>The ID of the report to be canceled.</p>
|
|
1663
1816
|
*/
|
|
1664
1817
|
reportId: string | undefined;
|
|
1665
1818
|
}
|
|
1819
|
+
/**
|
|
1820
|
+
* @public
|
|
1821
|
+
*/
|
|
1666
1822
|
export interface CancelFindingsReportResponse {
|
|
1667
1823
|
/**
|
|
1668
1824
|
* <p>The ID of the canceled report.</p>
|
|
@@ -1670,6 +1826,7 @@ export interface CancelFindingsReportResponse {
|
|
|
1670
1826
|
reportId: string | undefined;
|
|
1671
1827
|
}
|
|
1672
1828
|
/**
|
|
1829
|
+
* @public
|
|
1673
1830
|
* <p>A conflict occurred.</p>
|
|
1674
1831
|
*/
|
|
1675
1832
|
export declare class ConflictException extends __BaseException {
|
|
@@ -1688,6 +1845,9 @@ export declare class ConflictException extends __BaseException {
|
|
|
1688
1845
|
*/
|
|
1689
1846
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
1690
1847
|
}
|
|
1848
|
+
/**
|
|
1849
|
+
* @public
|
|
1850
|
+
*/
|
|
1691
1851
|
export declare enum GroupKey {
|
|
1692
1852
|
ACCOUNT_ID = "ACCOUNT_ID",
|
|
1693
1853
|
ECR_REPOSITORY_NAME = "ECR_REPOSITORY_NAME",
|
|
@@ -1696,6 +1856,7 @@ export declare enum GroupKey {
|
|
|
1696
1856
|
SCAN_STATUS_REASON = "SCAN_STATUS_REASON"
|
|
1697
1857
|
}
|
|
1698
1858
|
/**
|
|
1859
|
+
* @public
|
|
1699
1860
|
* <p>a structure that contains information on the count of resources within a group.</p>
|
|
1700
1861
|
*/
|
|
1701
1862
|
export interface Counts {
|
|
@@ -1708,11 +1869,15 @@ export interface Counts {
|
|
|
1708
1869
|
*/
|
|
1709
1870
|
groupKey?: GroupKey | string;
|
|
1710
1871
|
}
|
|
1872
|
+
/**
|
|
1873
|
+
* @public
|
|
1874
|
+
*/
|
|
1711
1875
|
export declare enum CoverageStringComparison {
|
|
1712
1876
|
EQUALS = "EQUALS",
|
|
1713
1877
|
NOT_EQUALS = "NOT_EQUALS"
|
|
1714
1878
|
}
|
|
1715
1879
|
/**
|
|
1880
|
+
* @public
|
|
1716
1881
|
* <p>Contains details of a coverage string filter.</p>
|
|
1717
1882
|
*/
|
|
1718
1883
|
export interface CoverageStringFilter {
|
|
@@ -1725,10 +1890,14 @@ export interface CoverageStringFilter {
|
|
|
1725
1890
|
*/
|
|
1726
1891
|
value: string | undefined;
|
|
1727
1892
|
}
|
|
1893
|
+
/**
|
|
1894
|
+
* @public
|
|
1895
|
+
*/
|
|
1728
1896
|
export declare enum CoverageMapComparison {
|
|
1729
1897
|
EQUALS = "EQUALS"
|
|
1730
1898
|
}
|
|
1731
1899
|
/**
|
|
1900
|
+
* @public
|
|
1732
1901
|
* <p>Contains details of a coverage map filter.</p>
|
|
1733
1902
|
*/
|
|
1734
1903
|
export interface CoverageMapFilter {
|
|
@@ -1746,6 +1915,7 @@ export interface CoverageMapFilter {
|
|
|
1746
1915
|
value?: string;
|
|
1747
1916
|
}
|
|
1748
1917
|
/**
|
|
1918
|
+
* @public
|
|
1749
1919
|
* <p>A structure that identifies filter criteria for <code>GetCoverageStatistics</code>.</p>
|
|
1750
1920
|
*/
|
|
1751
1921
|
export interface CoverageFilterCriteria {
|
|
@@ -1798,18 +1968,25 @@ export interface CoverageFilterCriteria {
|
|
|
1798
1968
|
*/
|
|
1799
1969
|
lambdaFunctionRuntime?: CoverageStringFilter[];
|
|
1800
1970
|
}
|
|
1971
|
+
/**
|
|
1972
|
+
* @public
|
|
1973
|
+
*/
|
|
1801
1974
|
export declare enum CoverageResourceType {
|
|
1802
1975
|
AWS_EC2_INSTANCE = "AWS_EC2_INSTANCE",
|
|
1803
1976
|
AWS_ECR_CONTAINER_IMAGE = "AWS_ECR_CONTAINER_IMAGE",
|
|
1804
1977
|
AWS_ECR_REPOSITORY = "AWS_ECR_REPOSITORY",
|
|
1805
1978
|
AWS_LAMBDA_FUNCTION = "AWS_LAMBDA_FUNCTION"
|
|
1806
1979
|
}
|
|
1980
|
+
/**
|
|
1981
|
+
* @public
|
|
1982
|
+
*/
|
|
1807
1983
|
export declare enum Ec2Platform {
|
|
1808
1984
|
LINUX = "LINUX",
|
|
1809
1985
|
UNKNOWN = "UNKNOWN",
|
|
1810
1986
|
WINDOWS = "WINDOWS"
|
|
1811
1987
|
}
|
|
1812
1988
|
/**
|
|
1989
|
+
* @public
|
|
1813
1990
|
* <p>Meta data details of an Amazon EC2 instance.</p>
|
|
1814
1991
|
*/
|
|
1815
1992
|
export interface Ec2Metadata {
|
|
@@ -1827,6 +2004,7 @@ export interface Ec2Metadata {
|
|
|
1827
2004
|
platform?: Ec2Platform | string;
|
|
1828
2005
|
}
|
|
1829
2006
|
/**
|
|
2007
|
+
* @public
|
|
1830
2008
|
* <p>Information on the Amazon ECR image metadata associated with a finding.</p>
|
|
1831
2009
|
*/
|
|
1832
2010
|
export interface EcrContainerImageMetadata {
|
|
@@ -1835,12 +2013,16 @@ export interface EcrContainerImageMetadata {
|
|
|
1835
2013
|
*/
|
|
1836
2014
|
tags?: string[];
|
|
1837
2015
|
}
|
|
2016
|
+
/**
|
|
2017
|
+
* @public
|
|
2018
|
+
*/
|
|
1838
2019
|
export declare enum EcrScanFrequency {
|
|
1839
2020
|
CONTINUOUS_SCAN = "CONTINUOUS_SCAN",
|
|
1840
2021
|
MANUAL = "MANUAL",
|
|
1841
2022
|
SCAN_ON_PUSH = "SCAN_ON_PUSH"
|
|
1842
2023
|
}
|
|
1843
2024
|
/**
|
|
2025
|
+
* @public
|
|
1844
2026
|
* <p>Information on the Amazon ECR repository metadata associated with a finding.</p>
|
|
1845
2027
|
*/
|
|
1846
2028
|
export interface EcrRepositoryMetadata {
|
|
@@ -1854,6 +2036,7 @@ export interface EcrRepositoryMetadata {
|
|
|
1854
2036
|
scanFrequency?: EcrScanFrequency | string;
|
|
1855
2037
|
}
|
|
1856
2038
|
/**
|
|
2039
|
+
* @public
|
|
1857
2040
|
* <p>The AWS Lambda function metadata.</p>
|
|
1858
2041
|
*/
|
|
1859
2042
|
export interface LambdaFunctionMetadata {
|
|
@@ -1875,6 +2058,7 @@ export interface LambdaFunctionMetadata {
|
|
|
1875
2058
|
runtime?: Runtime | string;
|
|
1876
2059
|
}
|
|
1877
2060
|
/**
|
|
2061
|
+
* @public
|
|
1878
2062
|
* <p>An object that contains details about the metadata for an Amazon ECR resource.</p>
|
|
1879
2063
|
*/
|
|
1880
2064
|
export interface ResourceScanMetadata {
|
|
@@ -1895,6 +2079,9 @@ export interface ResourceScanMetadata {
|
|
|
1895
2079
|
*/
|
|
1896
2080
|
lambdaFunction?: LambdaFunctionMetadata;
|
|
1897
2081
|
}
|
|
2082
|
+
/**
|
|
2083
|
+
* @public
|
|
2084
|
+
*/
|
|
1898
2085
|
export declare enum ScanStatusReason {
|
|
1899
2086
|
ACCESS_DENIED = "ACCESS_DENIED",
|
|
1900
2087
|
EC2_INSTANCE_STOPPED = "EC2_INSTANCE_STOPPED",
|
|
@@ -1915,11 +2102,15 @@ export declare enum ScanStatusReason {
|
|
|
1915
2102
|
UNSUPPORTED_OS = "UNSUPPORTED_OS",
|
|
1916
2103
|
UNSUPPORTED_RUNTIME = "UNSUPPORTED_RUNTIME"
|
|
1917
2104
|
}
|
|
2105
|
+
/**
|
|
2106
|
+
* @public
|
|
2107
|
+
*/
|
|
1918
2108
|
export declare enum ScanStatusCode {
|
|
1919
2109
|
ACTIVE = "ACTIVE",
|
|
1920
2110
|
INACTIVE = "INACTIVE"
|
|
1921
2111
|
}
|
|
1922
2112
|
/**
|
|
2113
|
+
* @public
|
|
1923
2114
|
* <p>The status of the scan.</p>
|
|
1924
2115
|
*/
|
|
1925
2116
|
export interface ScanStatus {
|
|
@@ -1932,11 +2123,15 @@ export interface ScanStatus {
|
|
|
1932
2123
|
*/
|
|
1933
2124
|
reason: ScanStatusReason | string | undefined;
|
|
1934
2125
|
}
|
|
2126
|
+
/**
|
|
2127
|
+
* @public
|
|
2128
|
+
*/
|
|
1935
2129
|
export declare enum ScanType {
|
|
1936
2130
|
NETWORK = "NETWORK",
|
|
1937
2131
|
PACKAGE = "PACKAGE"
|
|
1938
2132
|
}
|
|
1939
2133
|
/**
|
|
2134
|
+
* @public
|
|
1940
2135
|
* <p>An object that contains details about a resource covered by Amazon Inspector.</p>
|
|
1941
2136
|
*/
|
|
1942
2137
|
export interface CoveredResource {
|
|
@@ -1965,11 +2160,15 @@ export interface CoveredResource {
|
|
|
1965
2160
|
*/
|
|
1966
2161
|
resourceMetadata?: ResourceScanMetadata;
|
|
1967
2162
|
}
|
|
2163
|
+
/**
|
|
2164
|
+
* @public
|
|
2165
|
+
*/
|
|
1968
2166
|
export declare enum FilterAction {
|
|
1969
2167
|
NONE = "NONE",
|
|
1970
2168
|
SUPPRESS = "SUPPRESS"
|
|
1971
2169
|
}
|
|
1972
2170
|
/**
|
|
2171
|
+
* @public
|
|
1973
2172
|
* <p>Contains details on the time range used to filter findings.</p>
|
|
1974
2173
|
*/
|
|
1975
2174
|
export interface DateFilter {
|
|
@@ -1983,6 +2182,7 @@ export interface DateFilter {
|
|
|
1983
2182
|
endInclusive?: Date;
|
|
1984
2183
|
}
|
|
1985
2184
|
/**
|
|
2185
|
+
* @public
|
|
1986
2186
|
* <p>An object that describes the details of a number filter.</p>
|
|
1987
2187
|
*/
|
|
1988
2188
|
export interface NumberFilter {
|
|
@@ -1996,6 +2196,7 @@ export interface NumberFilter {
|
|
|
1996
2196
|
lowerInclusive?: number;
|
|
1997
2197
|
}
|
|
1998
2198
|
/**
|
|
2199
|
+
* @public
|
|
1999
2200
|
* <p>An object that describes the details of a port range filter.</p>
|
|
2000
2201
|
*/
|
|
2001
2202
|
export interface PortRangeFilter {
|
|
@@ -2009,6 +2210,7 @@ export interface PortRangeFilter {
|
|
|
2009
2210
|
endInclusive?: number;
|
|
2010
2211
|
}
|
|
2011
2212
|
/**
|
|
2213
|
+
* @public
|
|
2012
2214
|
* <p>Contains information on the details of a package filter.</p>
|
|
2013
2215
|
*/
|
|
2014
2216
|
export interface PackageFilter {
|
|
@@ -2042,6 +2244,7 @@ export interface PackageFilter {
|
|
|
2042
2244
|
sourceLambdaLayerArn?: StringFilter;
|
|
2043
2245
|
}
|
|
2044
2246
|
/**
|
|
2247
|
+
* @public
|
|
2045
2248
|
* <p>Details on the criteria used to define the filter.</p>
|
|
2046
2249
|
*/
|
|
2047
2250
|
export interface FilterCriteria {
|
|
@@ -2200,6 +2403,9 @@ export interface FilterCriteria {
|
|
|
2200
2403
|
*/
|
|
2201
2404
|
exploitAvailable?: StringFilter[];
|
|
2202
2405
|
}
|
|
2406
|
+
/**
|
|
2407
|
+
* @public
|
|
2408
|
+
*/
|
|
2203
2409
|
export interface CreateFilterRequest {
|
|
2204
2410
|
/**
|
|
2205
2411
|
* <p>Defines the action that is to be applied to the findings that match the filter.</p>
|
|
@@ -2228,6 +2434,9 @@ export interface CreateFilterRequest {
|
|
|
2228
2434
|
*/
|
|
2229
2435
|
reason?: string;
|
|
2230
2436
|
}
|
|
2437
|
+
/**
|
|
2438
|
+
* @public
|
|
2439
|
+
*/
|
|
2231
2440
|
export interface CreateFilterResponse {
|
|
2232
2441
|
/**
|
|
2233
2442
|
* <p>The Amazon Resource Number (ARN) of the successfully created filter.</p>
|
|
@@ -2235,6 +2444,7 @@ export interface CreateFilterResponse {
|
|
|
2235
2444
|
arn: string | undefined;
|
|
2236
2445
|
}
|
|
2237
2446
|
/**
|
|
2447
|
+
* @public
|
|
2238
2448
|
* <p>You have exceeded your service quota. To perform the requested action, remove some of
|
|
2239
2449
|
* the relevant resources, or use Service Quotas to request a service quota increase.</p>
|
|
2240
2450
|
*/
|
|
@@ -2250,11 +2460,15 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
2250
2460
|
*/
|
|
2251
2461
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
2252
2462
|
}
|
|
2463
|
+
/**
|
|
2464
|
+
* @public
|
|
2465
|
+
*/
|
|
2253
2466
|
export declare enum ReportFormat {
|
|
2254
2467
|
CSV = "CSV",
|
|
2255
2468
|
JSON = "JSON"
|
|
2256
2469
|
}
|
|
2257
2470
|
/**
|
|
2471
|
+
* @public
|
|
2258
2472
|
* <p>Contains details of the Amazon S3 bucket and KMS key used to export findings.</p>
|
|
2259
2473
|
*/
|
|
2260
2474
|
export interface Destination {
|
|
@@ -2271,6 +2485,9 @@ export interface Destination {
|
|
|
2271
2485
|
*/
|
|
2272
2486
|
kmsKeyArn: string | undefined;
|
|
2273
2487
|
}
|
|
2488
|
+
/**
|
|
2489
|
+
* @public
|
|
2490
|
+
*/
|
|
2274
2491
|
export interface CreateFindingsReportRequest {
|
|
2275
2492
|
/**
|
|
2276
2493
|
* <p>The filter criteria to apply to the results of the finding report.</p>
|
|
@@ -2285,16 +2502,23 @@ export interface CreateFindingsReportRequest {
|
|
|
2285
2502
|
*/
|
|
2286
2503
|
s3Destination: Destination | undefined;
|
|
2287
2504
|
}
|
|
2505
|
+
/**
|
|
2506
|
+
* @public
|
|
2507
|
+
*/
|
|
2288
2508
|
export interface CreateFindingsReportResponse {
|
|
2289
2509
|
/**
|
|
2290
2510
|
* <p>The ID of the report.</p>
|
|
2291
2511
|
*/
|
|
2292
2512
|
reportId?: string;
|
|
2293
2513
|
}
|
|
2514
|
+
/**
|
|
2515
|
+
* @public
|
|
2516
|
+
*/
|
|
2294
2517
|
export declare enum Currency {
|
|
2295
2518
|
USD = "USD"
|
|
2296
2519
|
}
|
|
2297
2520
|
/**
|
|
2521
|
+
* @public
|
|
2298
2522
|
* <p>The CVSS score for a finding.</p>
|
|
2299
2523
|
*/
|
|
2300
2524
|
export interface CvssScore {
|
|
@@ -2316,6 +2540,7 @@ export interface CvssScore {
|
|
|
2316
2540
|
source: string | undefined;
|
|
2317
2541
|
}
|
|
2318
2542
|
/**
|
|
2543
|
+
* @public
|
|
2319
2544
|
* <p>Details on adjustments Amazon Inspector made to the CVSS score for a finding.</p>
|
|
2320
2545
|
*/
|
|
2321
2546
|
export interface CvssScoreAdjustment {
|
|
@@ -2329,6 +2554,7 @@ export interface CvssScoreAdjustment {
|
|
|
2329
2554
|
reason: string | undefined;
|
|
2330
2555
|
}
|
|
2331
2556
|
/**
|
|
2557
|
+
* @public
|
|
2332
2558
|
* <p>Information about the CVSS score.</p>
|
|
2333
2559
|
*/
|
|
2334
2560
|
export interface CvssScoreDetails {
|
|
@@ -2357,6 +2583,9 @@ export interface CvssScoreDetails {
|
|
|
2357
2583
|
*/
|
|
2358
2584
|
adjustments?: CvssScoreAdjustment[];
|
|
2359
2585
|
}
|
|
2586
|
+
/**
|
|
2587
|
+
* @public
|
|
2588
|
+
*/
|
|
2360
2589
|
export declare enum RelationshipStatus {
|
|
2361
2590
|
ACCOUNT_SUSPENDED = "ACCOUNT_SUSPENDED",
|
|
2362
2591
|
CANNOT_CREATE_DETECTOR_IN_ORG_MASTER = "CANNOT_CREATE_DETECTOR_IN_ORG_MASTER",
|
|
@@ -2372,6 +2601,7 @@ export declare enum RelationshipStatus {
|
|
|
2372
2601
|
RESIGNED = "RESIGNED"
|
|
2373
2602
|
}
|
|
2374
2603
|
/**
|
|
2604
|
+
* @public
|
|
2375
2605
|
* <p>Details of the Amazon Inspector delegated administrator for your organization.</p>
|
|
2376
2606
|
*/
|
|
2377
2607
|
export interface DelegatedAdmin {
|
|
@@ -2384,11 +2614,15 @@ export interface DelegatedAdmin {
|
|
|
2384
2614
|
*/
|
|
2385
2615
|
relationshipStatus?: RelationshipStatus | string;
|
|
2386
2616
|
}
|
|
2617
|
+
/**
|
|
2618
|
+
* @public
|
|
2619
|
+
*/
|
|
2387
2620
|
export declare enum DelegatedAdminStatus {
|
|
2388
2621
|
DISABLE_IN_PROGRESS = "DISABLE_IN_PROGRESS",
|
|
2389
2622
|
ENABLED = "ENABLED"
|
|
2390
2623
|
}
|
|
2391
2624
|
/**
|
|
2625
|
+
* @public
|
|
2392
2626
|
* <p>Details of the Amazon Inspector delegated administrator for your organization.</p>
|
|
2393
2627
|
*/
|
|
2394
2628
|
export interface DelegatedAdminAccount {
|
|
@@ -2401,20 +2635,32 @@ export interface DelegatedAdminAccount {
|
|
|
2401
2635
|
*/
|
|
2402
2636
|
status?: DelegatedAdminStatus | string;
|
|
2403
2637
|
}
|
|
2638
|
+
/**
|
|
2639
|
+
* @public
|
|
2640
|
+
*/
|
|
2404
2641
|
export interface DeleteFilterRequest {
|
|
2405
2642
|
/**
|
|
2406
2643
|
* <p>The Amazon Resource Number (ARN) of the filter to be deleted.</p>
|
|
2407
2644
|
*/
|
|
2408
2645
|
arn: string | undefined;
|
|
2409
2646
|
}
|
|
2647
|
+
/**
|
|
2648
|
+
* @public
|
|
2649
|
+
*/
|
|
2410
2650
|
export interface DeleteFilterResponse {
|
|
2411
2651
|
/**
|
|
2412
2652
|
* <p>The Amazon Resource Number (ARN) of the filter that has been deleted.</p>
|
|
2413
2653
|
*/
|
|
2414
2654
|
arn: string | undefined;
|
|
2415
2655
|
}
|
|
2656
|
+
/**
|
|
2657
|
+
* @public
|
|
2658
|
+
*/
|
|
2416
2659
|
export interface DescribeOrganizationConfigurationRequest {
|
|
2417
2660
|
}
|
|
2661
|
+
/**
|
|
2662
|
+
* @public
|
|
2663
|
+
*/
|
|
2418
2664
|
export interface DescribeOrganizationConfigurationResponse {
|
|
2419
2665
|
/**
|
|
2420
2666
|
* <p>The scan types are automatically enabled for new members of your organization.</p>
|
|
@@ -2425,11 +2671,17 @@ export interface DescribeOrganizationConfigurationResponse {
|
|
|
2425
2671
|
*/
|
|
2426
2672
|
maxAccountLimitReached?: boolean;
|
|
2427
2673
|
}
|
|
2674
|
+
/**
|
|
2675
|
+
* @public
|
|
2676
|
+
*/
|
|
2428
2677
|
export declare enum ResourceScanType {
|
|
2429
2678
|
EC2 = "EC2",
|
|
2430
2679
|
ECR = "ECR",
|
|
2431
2680
|
LAMBDA = "LAMBDA"
|
|
2432
2681
|
}
|
|
2682
|
+
/**
|
|
2683
|
+
* @public
|
|
2684
|
+
*/
|
|
2433
2685
|
export interface DisableRequest {
|
|
2434
2686
|
/**
|
|
2435
2687
|
* <p>An array of account IDs you want to disable Amazon Inspector scans for.</p>
|
|
@@ -2440,6 +2692,9 @@ export interface DisableRequest {
|
|
|
2440
2692
|
*/
|
|
2441
2693
|
resourceTypes?: (ResourceScanType | string)[];
|
|
2442
2694
|
}
|
|
2695
|
+
/**
|
|
2696
|
+
* @public
|
|
2697
|
+
*/
|
|
2443
2698
|
export interface DisableResponse {
|
|
2444
2699
|
/**
|
|
2445
2700
|
* <p>Information on the accounts that have had Amazon Inspector scans successfully disabled. Details are
|
|
@@ -2452,36 +2707,52 @@ export interface DisableResponse {
|
|
|
2452
2707
|
*/
|
|
2453
2708
|
failedAccounts?: FailedAccount[];
|
|
2454
2709
|
}
|
|
2710
|
+
/**
|
|
2711
|
+
* @public
|
|
2712
|
+
*/
|
|
2455
2713
|
export interface DisableDelegatedAdminAccountRequest {
|
|
2456
2714
|
/**
|
|
2457
2715
|
* <p>The Amazon Web Services account ID of the current Amazon Inspector delegated administrator.</p>
|
|
2458
2716
|
*/
|
|
2459
2717
|
delegatedAdminAccountId: string | undefined;
|
|
2460
2718
|
}
|
|
2719
|
+
/**
|
|
2720
|
+
* @public
|
|
2721
|
+
*/
|
|
2461
2722
|
export interface DisableDelegatedAdminAccountResponse {
|
|
2462
2723
|
/**
|
|
2463
2724
|
* <p>The Amazon Web Services account ID of the successfully disabled delegated administrator.</p>
|
|
2464
2725
|
*/
|
|
2465
2726
|
delegatedAdminAccountId: string | undefined;
|
|
2466
2727
|
}
|
|
2728
|
+
/**
|
|
2729
|
+
* @public
|
|
2730
|
+
*/
|
|
2467
2731
|
export interface DisassociateMemberRequest {
|
|
2468
2732
|
/**
|
|
2469
2733
|
* <p>The Amazon Web Services account ID of the member account to disassociate.</p>
|
|
2470
2734
|
*/
|
|
2471
2735
|
accountId: string | undefined;
|
|
2472
2736
|
}
|
|
2737
|
+
/**
|
|
2738
|
+
* @public
|
|
2739
|
+
*/
|
|
2473
2740
|
export interface DisassociateMemberResponse {
|
|
2474
2741
|
/**
|
|
2475
2742
|
* <p>The Amazon Web Services account ID of the successfully disassociated member.</p>
|
|
2476
2743
|
*/
|
|
2477
2744
|
accountId: string | undefined;
|
|
2478
2745
|
}
|
|
2746
|
+
/**
|
|
2747
|
+
* @public
|
|
2748
|
+
*/
|
|
2479
2749
|
export declare enum EcrRescanDuration {
|
|
2480
2750
|
DAYS_180 = "DAYS_180",
|
|
2481
2751
|
DAYS_30 = "DAYS_30",
|
|
2482
2752
|
LIFETIME = "LIFETIME"
|
|
2483
2753
|
}
|
|
2484
2754
|
/**
|
|
2755
|
+
* @public
|
|
2485
2756
|
* <p>Details about the ECR automated re-scan duration setting for your environment.</p>
|
|
2486
2757
|
*/
|
|
2487
2758
|
export interface EcrConfiguration {
|
|
@@ -2490,12 +2761,16 @@ export interface EcrConfiguration {
|
|
|
2490
2761
|
*/
|
|
2491
2762
|
rescanDuration: EcrRescanDuration | string | undefined;
|
|
2492
2763
|
}
|
|
2764
|
+
/**
|
|
2765
|
+
* @public
|
|
2766
|
+
*/
|
|
2493
2767
|
export declare enum EcrRescanDurationStatus {
|
|
2494
2768
|
FAILED = "FAILED",
|
|
2495
2769
|
PENDING = "PENDING",
|
|
2496
2770
|
SUCCESS = "SUCCESS"
|
|
2497
2771
|
}
|
|
2498
2772
|
/**
|
|
2773
|
+
* @public
|
|
2499
2774
|
* <p>Details about the state of any changes to the ECR automated re-scan duration setting.</p>
|
|
2500
2775
|
*/
|
|
2501
2776
|
export interface EcrRescanDurationState {
|
|
@@ -2513,6 +2788,7 @@ export interface EcrRescanDurationState {
|
|
|
2513
2788
|
updatedAt?: Date;
|
|
2514
2789
|
}
|
|
2515
2790
|
/**
|
|
2791
|
+
* @public
|
|
2516
2792
|
* <p>Details about the state of the ECR scans for your environment.</p>
|
|
2517
2793
|
*/
|
|
2518
2794
|
export interface EcrConfigurationState {
|
|
@@ -2521,6 +2797,9 @@ export interface EcrConfigurationState {
|
|
|
2521
2797
|
*/
|
|
2522
2798
|
rescanDurationState?: EcrRescanDurationState;
|
|
2523
2799
|
}
|
|
2800
|
+
/**
|
|
2801
|
+
* @public
|
|
2802
|
+
*/
|
|
2524
2803
|
export interface EnableRequest {
|
|
2525
2804
|
/**
|
|
2526
2805
|
* <p>A list of account IDs you want to enable Amazon Inspector scans for.</p>
|
|
@@ -2535,6 +2814,9 @@ export interface EnableRequest {
|
|
|
2535
2814
|
*/
|
|
2536
2815
|
clientToken?: string;
|
|
2537
2816
|
}
|
|
2817
|
+
/**
|
|
2818
|
+
* @public
|
|
2819
|
+
*/
|
|
2538
2820
|
export interface EnableResponse {
|
|
2539
2821
|
/**
|
|
2540
2822
|
* <p>Information on the accounts that have had Amazon Inspector scans successfully enabled. Details are
|
|
@@ -2547,6 +2829,9 @@ export interface EnableResponse {
|
|
|
2547
2829
|
*/
|
|
2548
2830
|
failedAccounts?: FailedAccount[];
|
|
2549
2831
|
}
|
|
2832
|
+
/**
|
|
2833
|
+
* @public
|
|
2834
|
+
*/
|
|
2550
2835
|
export interface EnableDelegatedAdminAccountRequest {
|
|
2551
2836
|
/**
|
|
2552
2837
|
* <p>The Amazon Web Services account ID of the Amazon Inspector delegated administrator.</p>
|
|
@@ -2557,6 +2842,9 @@ export interface EnableDelegatedAdminAccountRequest {
|
|
|
2557
2842
|
*/
|
|
2558
2843
|
clientToken?: string;
|
|
2559
2844
|
}
|
|
2845
|
+
/**
|
|
2846
|
+
* @public
|
|
2847
|
+
*/
|
|
2560
2848
|
export interface EnableDelegatedAdminAccountResponse {
|
|
2561
2849
|
/**
|
|
2562
2850
|
* <p>The Amazon Web Services account ID of the successfully Amazon Inspector delegated administrator.</p>
|
|
@@ -2564,6 +2852,7 @@ export interface EnableDelegatedAdminAccountResponse {
|
|
|
2564
2852
|
delegatedAdminAccountId: string | undefined;
|
|
2565
2853
|
}
|
|
2566
2854
|
/**
|
|
2855
|
+
* @public
|
|
2567
2856
|
* <p>The details of an exploit available for a finding discovered in your environment.</p>
|
|
2568
2857
|
*/
|
|
2569
2858
|
export interface ExploitabilityDetails {
|
|
@@ -2572,10 +2861,16 @@ export interface ExploitabilityDetails {
|
|
|
2572
2861
|
*/
|
|
2573
2862
|
lastKnownExploitAt?: Date;
|
|
2574
2863
|
}
|
|
2864
|
+
/**
|
|
2865
|
+
* @public
|
|
2866
|
+
*/
|
|
2575
2867
|
export declare enum ExploitAvailable {
|
|
2576
2868
|
NO = "NO",
|
|
2577
2869
|
YES = "YES"
|
|
2578
2870
|
}
|
|
2871
|
+
/**
|
|
2872
|
+
* @public
|
|
2873
|
+
*/
|
|
2579
2874
|
export declare enum ExternalReportStatus {
|
|
2580
2875
|
CANCELLED = "CANCELLED",
|
|
2581
2876
|
FAILED = "FAILED",
|
|
@@ -2583,6 +2878,7 @@ export declare enum ExternalReportStatus {
|
|
|
2583
2878
|
SUCCEEDED = "SUCCEEDED"
|
|
2584
2879
|
}
|
|
2585
2880
|
/**
|
|
2881
|
+
* @public
|
|
2586
2882
|
* <p>Details about a filter.</p>
|
|
2587
2883
|
*/
|
|
2588
2884
|
export interface Filter {
|
|
@@ -2627,12 +2923,16 @@ export interface Filter {
|
|
|
2627
2923
|
*/
|
|
2628
2924
|
tags?: Record<string, string>;
|
|
2629
2925
|
}
|
|
2926
|
+
/**
|
|
2927
|
+
* @public
|
|
2928
|
+
*/
|
|
2630
2929
|
export declare enum FixAvailable {
|
|
2631
2930
|
NO = "NO",
|
|
2632
2931
|
PARTIAL = "PARTIAL",
|
|
2633
2932
|
YES = "YES"
|
|
2634
2933
|
}
|
|
2635
2934
|
/**
|
|
2935
|
+
* @public
|
|
2636
2936
|
* <p>Information about the Amazon Inspector score given to a finding.</p>
|
|
2637
2937
|
*/
|
|
2638
2938
|
export interface InspectorScoreDetails {
|
|
@@ -2642,6 +2942,7 @@ export interface InspectorScoreDetails {
|
|
|
2642
2942
|
adjustedCvss?: CvssScoreDetails;
|
|
2643
2943
|
}
|
|
2644
2944
|
/**
|
|
2945
|
+
* @public
|
|
2645
2946
|
* <p>Details about the step associated with a finding.</p>
|
|
2646
2947
|
*/
|
|
2647
2948
|
export interface Step {
|
|
@@ -2655,6 +2956,7 @@ export interface Step {
|
|
|
2655
2956
|
componentType: string | undefined;
|
|
2656
2957
|
}
|
|
2657
2958
|
/**
|
|
2959
|
+
* @public
|
|
2658
2960
|
* <p>Information on the network path associated with a finding.</p>
|
|
2659
2961
|
*/
|
|
2660
2962
|
export interface NetworkPath {
|
|
@@ -2664,6 +2966,7 @@ export interface NetworkPath {
|
|
|
2664
2966
|
steps?: Step[];
|
|
2665
2967
|
}
|
|
2666
2968
|
/**
|
|
2969
|
+
* @public
|
|
2667
2970
|
* <p>Details about the port range associated with a finding.</p>
|
|
2668
2971
|
*/
|
|
2669
2972
|
export interface PortRange {
|
|
@@ -2676,11 +2979,15 @@ export interface PortRange {
|
|
|
2676
2979
|
*/
|
|
2677
2980
|
end: number | undefined;
|
|
2678
2981
|
}
|
|
2982
|
+
/**
|
|
2983
|
+
* @public
|
|
2984
|
+
*/
|
|
2679
2985
|
export declare enum NetworkProtocol {
|
|
2680
2986
|
TCP = "TCP",
|
|
2681
2987
|
UDP = "UDP"
|
|
2682
2988
|
}
|
|
2683
2989
|
/**
|
|
2990
|
+
* @public
|
|
2684
2991
|
* <p>Contains the details of a network reachability finding.</p>
|
|
2685
2992
|
*/
|
|
2686
2993
|
export interface NetworkReachabilityDetails {
|
|
@@ -2697,6 +3004,9 @@ export interface NetworkReachabilityDetails {
|
|
|
2697
3004
|
*/
|
|
2698
3005
|
networkPath: NetworkPath | undefined;
|
|
2699
3006
|
}
|
|
3007
|
+
/**
|
|
3008
|
+
* @public
|
|
3009
|
+
*/
|
|
2700
3010
|
export declare enum PackageManager {
|
|
2701
3011
|
BUNDLER = "BUNDLER",
|
|
2702
3012
|
CARGO = "CARGO",
|
|
@@ -2716,6 +3026,7 @@ export declare enum PackageManager {
|
|
|
2716
3026
|
YARN = "YARN"
|
|
2717
3027
|
}
|
|
2718
3028
|
/**
|
|
3029
|
+
* @public
|
|
2719
3030
|
* <p>Information on the vulnerable package identified by a finding.</p>
|
|
2720
3031
|
*/
|
|
2721
3032
|
export interface VulnerablePackage {
|
|
@@ -2765,6 +3076,7 @@ export interface VulnerablePackage {
|
|
|
2765
3076
|
sourceLambdaLayerArn?: string;
|
|
2766
3077
|
}
|
|
2767
3078
|
/**
|
|
3079
|
+
* @public
|
|
2768
3080
|
* <p>Information about a package vulnerability finding.</p>
|
|
2769
3081
|
*/
|
|
2770
3082
|
export interface PackageVulnerabilityDetails {
|
|
@@ -2810,6 +3122,7 @@ export interface PackageVulnerabilityDetails {
|
|
|
2810
3122
|
referenceUrls?: string[];
|
|
2811
3123
|
}
|
|
2812
3124
|
/**
|
|
3125
|
+
* @public
|
|
2813
3126
|
* <p>Details about the recommended course of action to remediate the finding.</p>
|
|
2814
3127
|
*/
|
|
2815
3128
|
export interface Recommendation {
|
|
@@ -2823,6 +3136,7 @@ export interface Recommendation {
|
|
|
2823
3136
|
Url?: string;
|
|
2824
3137
|
}
|
|
2825
3138
|
/**
|
|
3139
|
+
* @public
|
|
2826
3140
|
* <p>Information on how to remediate a finding.</p>
|
|
2827
3141
|
*/
|
|
2828
3142
|
export interface Remediation {
|
|
@@ -2832,6 +3146,7 @@ export interface Remediation {
|
|
|
2832
3146
|
recommendation?: Recommendation;
|
|
2833
3147
|
}
|
|
2834
3148
|
/**
|
|
3149
|
+
* @public
|
|
2835
3150
|
* <p>Contains details about the resource involved in the finding.</p>
|
|
2836
3151
|
*/
|
|
2837
3152
|
export interface ResourceDetails {
|
|
@@ -2848,6 +3163,9 @@ export interface ResourceDetails {
|
|
|
2848
3163
|
*/
|
|
2849
3164
|
awsLambdaFunction?: AwsLambdaFunctionDetails;
|
|
2850
3165
|
}
|
|
3166
|
+
/**
|
|
3167
|
+
* @public
|
|
3168
|
+
*/
|
|
2851
3169
|
export declare enum ResourceType {
|
|
2852
3170
|
AWS_EC2_INSTANCE = "AWS_EC2_INSTANCE",
|
|
2853
3171
|
AWS_ECR_CONTAINER_IMAGE = "AWS_ECR_CONTAINER_IMAGE",
|
|
@@ -2855,6 +3173,7 @@ export declare enum ResourceType {
|
|
|
2855
3173
|
AWS_LAMBDA_FUNCTION = "AWS_LAMBDA_FUNCTION"
|
|
2856
3174
|
}
|
|
2857
3175
|
/**
|
|
3176
|
+
* @public
|
|
2858
3177
|
* <p>Details about the resource involved in a finding.</p>
|
|
2859
3178
|
*/
|
|
2860
3179
|
export interface Resource {
|
|
@@ -2883,6 +3202,9 @@ export interface Resource {
|
|
|
2883
3202
|
*/
|
|
2884
3203
|
details?: ResourceDetails;
|
|
2885
3204
|
}
|
|
3205
|
+
/**
|
|
3206
|
+
* @public
|
|
3207
|
+
*/
|
|
2886
3208
|
export declare enum Severity {
|
|
2887
3209
|
CRITICAL = "CRITICAL",
|
|
2888
3210
|
HIGH = "HIGH",
|
|
@@ -2891,16 +3213,23 @@ export declare enum Severity {
|
|
|
2891
3213
|
MEDIUM = "MEDIUM",
|
|
2892
3214
|
UNTRIAGED = "UNTRIAGED"
|
|
2893
3215
|
}
|
|
3216
|
+
/**
|
|
3217
|
+
* @public
|
|
3218
|
+
*/
|
|
2894
3219
|
export declare enum FindingStatus {
|
|
2895
3220
|
ACTIVE = "ACTIVE",
|
|
2896
3221
|
CLOSED = "CLOSED",
|
|
2897
3222
|
SUPPRESSED = "SUPPRESSED"
|
|
2898
3223
|
}
|
|
3224
|
+
/**
|
|
3225
|
+
* @public
|
|
3226
|
+
*/
|
|
2899
3227
|
export declare enum FindingType {
|
|
2900
3228
|
NETWORK_REACHABILITY = "NETWORK_REACHABILITY",
|
|
2901
3229
|
PACKAGE_VULNERABILITY = "PACKAGE_VULNERABILITY"
|
|
2902
3230
|
}
|
|
2903
3231
|
/**
|
|
3232
|
+
* @public
|
|
2904
3233
|
* <p>Details about an Amazon Inspector finding.</p>
|
|
2905
3234
|
*/
|
|
2906
3235
|
export interface Finding {
|
|
@@ -2981,28 +3310,46 @@ export interface Finding {
|
|
|
2981
3310
|
*/
|
|
2982
3311
|
exploitabilityDetails?: ExploitabilityDetails;
|
|
2983
3312
|
}
|
|
3313
|
+
/**
|
|
3314
|
+
* @public
|
|
3315
|
+
*/
|
|
2984
3316
|
export interface GetConfigurationRequest {
|
|
2985
3317
|
}
|
|
3318
|
+
/**
|
|
3319
|
+
* @public
|
|
3320
|
+
*/
|
|
2986
3321
|
export interface GetConfigurationResponse {
|
|
2987
3322
|
/**
|
|
2988
3323
|
* <p>Specifies how the ECR automated re-scan duration is currently configured for your environment.</p>
|
|
2989
3324
|
*/
|
|
2990
3325
|
ecrConfiguration?: EcrConfigurationState;
|
|
2991
3326
|
}
|
|
3327
|
+
/**
|
|
3328
|
+
* @public
|
|
3329
|
+
*/
|
|
2992
3330
|
export interface GetDelegatedAdminAccountRequest {
|
|
2993
3331
|
}
|
|
3332
|
+
/**
|
|
3333
|
+
* @public
|
|
3334
|
+
*/
|
|
2994
3335
|
export interface GetDelegatedAdminAccountResponse {
|
|
2995
3336
|
/**
|
|
2996
3337
|
* <p>The Amazon Web Services account ID of the Amazon Inspector delegated administrator.</p>
|
|
2997
3338
|
*/
|
|
2998
3339
|
delegatedAdmin?: DelegatedAdmin;
|
|
2999
3340
|
}
|
|
3341
|
+
/**
|
|
3342
|
+
* @public
|
|
3343
|
+
*/
|
|
3000
3344
|
export interface GetFindingsReportStatusRequest {
|
|
3001
3345
|
/**
|
|
3002
3346
|
* <p>The ID of the report to retrieve the status of.</p>
|
|
3003
3347
|
*/
|
|
3004
3348
|
reportId?: string;
|
|
3005
3349
|
}
|
|
3350
|
+
/**
|
|
3351
|
+
* @public
|
|
3352
|
+
*/
|
|
3006
3353
|
export declare enum ReportingErrorCode {
|
|
3007
3354
|
BUCKET_NOT_FOUND = "BUCKET_NOT_FOUND",
|
|
3008
3355
|
INCOMPATIBLE_BUCKET_REGION = "INCOMPATIBLE_BUCKET_REGION",
|
|
@@ -3011,6 +3358,9 @@ export declare enum ReportingErrorCode {
|
|
|
3011
3358
|
MALFORMED_KMS_KEY = "MALFORMED_KMS_KEY",
|
|
3012
3359
|
NO_FINDINGS_FOUND = "NO_FINDINGS_FOUND"
|
|
3013
3360
|
}
|
|
3361
|
+
/**
|
|
3362
|
+
* @public
|
|
3363
|
+
*/
|
|
3014
3364
|
export interface GetFindingsReportStatusResponse {
|
|
3015
3365
|
/**
|
|
3016
3366
|
* <p>The ID of the report.</p>
|
|
@@ -3037,6 +3387,9 @@ export interface GetFindingsReportStatusResponse {
|
|
|
3037
3387
|
*/
|
|
3038
3388
|
filterCriteria?: FilterCriteria;
|
|
3039
3389
|
}
|
|
3390
|
+
/**
|
|
3391
|
+
* @public
|
|
3392
|
+
*/
|
|
3040
3393
|
export interface GetMemberRequest {
|
|
3041
3394
|
/**
|
|
3042
3395
|
* <p>The Amazon Web Services account ID of the member account to retrieve information on.</p>
|
|
@@ -3044,6 +3397,7 @@ export interface GetMemberRequest {
|
|
|
3044
3397
|
accountId: string | undefined;
|
|
3045
3398
|
}
|
|
3046
3399
|
/**
|
|
3400
|
+
* @public
|
|
3047
3401
|
* <p>Details on a member account in your organization.</p>
|
|
3048
3402
|
*/
|
|
3049
3403
|
export interface Member {
|
|
@@ -3064,17 +3418,26 @@ export interface Member {
|
|
|
3064
3418
|
*/
|
|
3065
3419
|
updatedAt?: Date;
|
|
3066
3420
|
}
|
|
3421
|
+
/**
|
|
3422
|
+
* @public
|
|
3423
|
+
*/
|
|
3067
3424
|
export interface GetMemberResponse {
|
|
3068
3425
|
/**
|
|
3069
3426
|
* <p>Details of the retrieved member account.</p>
|
|
3070
3427
|
*/
|
|
3071
3428
|
member?: Member;
|
|
3072
3429
|
}
|
|
3430
|
+
/**
|
|
3431
|
+
* @public
|
|
3432
|
+
*/
|
|
3073
3433
|
export declare enum Service {
|
|
3074
3434
|
EC2 = "EC2",
|
|
3075
3435
|
ECR = "ECR",
|
|
3076
3436
|
LAMBDA = "LAMBDA"
|
|
3077
3437
|
}
|
|
3438
|
+
/**
|
|
3439
|
+
* @public
|
|
3440
|
+
*/
|
|
3078
3441
|
export interface ListAccountPermissionsRequest {
|
|
3079
3442
|
/**
|
|
3080
3443
|
* <p>The service scan type to check permissions for.</p>
|
|
@@ -3092,6 +3455,9 @@ export interface ListAccountPermissionsRequest {
|
|
|
3092
3455
|
*/
|
|
3093
3456
|
nextToken?: string;
|
|
3094
3457
|
}
|
|
3458
|
+
/**
|
|
3459
|
+
* @public
|
|
3460
|
+
*/
|
|
3095
3461
|
export declare enum Operation {
|
|
3096
3462
|
DISABLE_REPOSITORY = "DISABLE_REPOSITORY",
|
|
3097
3463
|
DISABLE_SCANNING = "DISABLE_SCANNING",
|
|
@@ -3099,6 +3465,7 @@ export declare enum Operation {
|
|
|
3099
3465
|
ENABLE_SCANNING = "ENABLE_SCANNING"
|
|
3100
3466
|
}
|
|
3101
3467
|
/**
|
|
3468
|
+
* @public
|
|
3102
3469
|
* <p>Contains information on the permissions an account has within Amazon Inspector.</p>
|
|
3103
3470
|
*/
|
|
3104
3471
|
export interface Permission {
|
|
@@ -3111,6 +3478,9 @@ export interface Permission {
|
|
|
3111
3478
|
*/
|
|
3112
3479
|
operation: Operation | string | undefined;
|
|
3113
3480
|
}
|
|
3481
|
+
/**
|
|
3482
|
+
* @public
|
|
3483
|
+
*/
|
|
3114
3484
|
export interface ListAccountPermissionsResponse {
|
|
3115
3485
|
/**
|
|
3116
3486
|
* <p>Contains details on the permissions an account has to configure Amazon Inspector.</p>
|
|
@@ -3124,6 +3494,9 @@ export interface ListAccountPermissionsResponse {
|
|
|
3124
3494
|
*/
|
|
3125
3495
|
nextToken?: string;
|
|
3126
3496
|
}
|
|
3497
|
+
/**
|
|
3498
|
+
* @public
|
|
3499
|
+
*/
|
|
3127
3500
|
export interface ListCoverageRequest {
|
|
3128
3501
|
/**
|
|
3129
3502
|
* <p>The maximum number of results to return in the response.</p>
|
|
@@ -3142,6 +3515,9 @@ export interface ListCoverageRequest {
|
|
|
3142
3515
|
*/
|
|
3143
3516
|
filterCriteria?: CoverageFilterCriteria;
|
|
3144
3517
|
}
|
|
3518
|
+
/**
|
|
3519
|
+
* @public
|
|
3520
|
+
*/
|
|
3145
3521
|
export interface ListCoverageResponse {
|
|
3146
3522
|
/**
|
|
3147
3523
|
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
@@ -3155,6 +3531,9 @@ export interface ListCoverageResponse {
|
|
|
3155
3531
|
*/
|
|
3156
3532
|
coveredResources?: CoveredResource[];
|
|
3157
3533
|
}
|
|
3534
|
+
/**
|
|
3535
|
+
* @public
|
|
3536
|
+
*/
|
|
3158
3537
|
export interface ListCoverageStatisticsRequest {
|
|
3159
3538
|
/**
|
|
3160
3539
|
* <p>An object that contains details on the filters to apply to the coverage data for your
|
|
@@ -3173,6 +3552,9 @@ export interface ListCoverageStatisticsRequest {
|
|
|
3173
3552
|
*/
|
|
3174
3553
|
nextToken?: string;
|
|
3175
3554
|
}
|
|
3555
|
+
/**
|
|
3556
|
+
* @public
|
|
3557
|
+
*/
|
|
3176
3558
|
export interface ListCoverageStatisticsResponse {
|
|
3177
3559
|
/**
|
|
3178
3560
|
* <p>An array with the number for each group.</p>
|
|
@@ -3190,6 +3572,9 @@ export interface ListCoverageStatisticsResponse {
|
|
|
3190
3572
|
*/
|
|
3191
3573
|
nextToken?: string;
|
|
3192
3574
|
}
|
|
3575
|
+
/**
|
|
3576
|
+
* @public
|
|
3577
|
+
*/
|
|
3193
3578
|
export interface ListDelegatedAdminAccountsRequest {
|
|
3194
3579
|
/**
|
|
3195
3580
|
* <p>The maximum number of results to return in the response.</p>
|
|
@@ -3203,6 +3588,9 @@ export interface ListDelegatedAdminAccountsRequest {
|
|
|
3203
3588
|
*/
|
|
3204
3589
|
nextToken?: string;
|
|
3205
3590
|
}
|
|
3591
|
+
/**
|
|
3592
|
+
* @public
|
|
3593
|
+
*/
|
|
3206
3594
|
export interface ListDelegatedAdminAccountsResponse {
|
|
3207
3595
|
/**
|
|
3208
3596
|
* <p>Details of the Amazon Inspector delegated administrator of your organization.</p>
|
|
@@ -3216,6 +3604,9 @@ export interface ListDelegatedAdminAccountsResponse {
|
|
|
3216
3604
|
*/
|
|
3217
3605
|
nextToken?: string;
|
|
3218
3606
|
}
|
|
3607
|
+
/**
|
|
3608
|
+
* @public
|
|
3609
|
+
*/
|
|
3219
3610
|
export interface ListFiltersRequest {
|
|
3220
3611
|
/**
|
|
3221
3612
|
* <p>The Amazon resource number (ARN) of the filter.</p>
|
|
@@ -3237,6 +3628,9 @@ export interface ListFiltersRequest {
|
|
|
3237
3628
|
*/
|
|
3238
3629
|
maxResults?: number;
|
|
3239
3630
|
}
|
|
3631
|
+
/**
|
|
3632
|
+
* @public
|
|
3633
|
+
*/
|
|
3240
3634
|
export interface ListFiltersResponse {
|
|
3241
3635
|
/**
|
|
3242
3636
|
* <p>Contains details on the filters associated with your account.</p>
|
|
@@ -3250,6 +3644,9 @@ export interface ListFiltersResponse {
|
|
|
3250
3644
|
*/
|
|
3251
3645
|
nextToken?: string;
|
|
3252
3646
|
}
|
|
3647
|
+
/**
|
|
3648
|
+
* @public
|
|
3649
|
+
*/
|
|
3253
3650
|
export interface ListFindingAggregationsRequest {
|
|
3254
3651
|
/**
|
|
3255
3652
|
* <p>The type of the aggregation request.</p>
|
|
@@ -3275,6 +3672,9 @@ export interface ListFindingAggregationsRequest {
|
|
|
3275
3672
|
*/
|
|
3276
3673
|
aggregationRequest?: AggregationRequest;
|
|
3277
3674
|
}
|
|
3675
|
+
/**
|
|
3676
|
+
* @public
|
|
3677
|
+
*/
|
|
3278
3678
|
export interface ListFindingAggregationsResponse {
|
|
3279
3679
|
/**
|
|
3280
3680
|
* <p>The type of aggregation to perform.</p>
|
|
@@ -3292,6 +3692,9 @@ export interface ListFindingAggregationsResponse {
|
|
|
3292
3692
|
*/
|
|
3293
3693
|
nextToken?: string;
|
|
3294
3694
|
}
|
|
3695
|
+
/**
|
|
3696
|
+
* @public
|
|
3697
|
+
*/
|
|
3295
3698
|
export declare enum SortField {
|
|
3296
3699
|
AWS_ACCOUNT_ID = "AWS_ACCOUNT_ID",
|
|
3297
3700
|
COMPONENT_TYPE = "COMPONENT_TYPE",
|
|
@@ -3311,6 +3714,7 @@ export declare enum SortField {
|
|
|
3311
3714
|
VULNERABILITY_SOURCE = "VULNERABILITY_SOURCE"
|
|
3312
3715
|
}
|
|
3313
3716
|
/**
|
|
3717
|
+
* @public
|
|
3314
3718
|
* <p>Details about the criteria used to sort finding results.</p>
|
|
3315
3719
|
*/
|
|
3316
3720
|
export interface SortCriteria {
|
|
@@ -3323,6 +3727,9 @@ export interface SortCriteria {
|
|
|
3323
3727
|
*/
|
|
3324
3728
|
sortOrder: SortOrder | string | undefined;
|
|
3325
3729
|
}
|
|
3730
|
+
/**
|
|
3731
|
+
* @public
|
|
3732
|
+
*/
|
|
3326
3733
|
export interface ListFindingsRequest {
|
|
3327
3734
|
/**
|
|
3328
3735
|
* <p>The maximum number of results to return in the response.</p>
|
|
@@ -3344,6 +3751,9 @@ export interface ListFindingsRequest {
|
|
|
3344
3751
|
*/
|
|
3345
3752
|
sortCriteria?: SortCriteria;
|
|
3346
3753
|
}
|
|
3754
|
+
/**
|
|
3755
|
+
* @public
|
|
3756
|
+
*/
|
|
3347
3757
|
export interface ListFindingsResponse {
|
|
3348
3758
|
/**
|
|
3349
3759
|
* <p>A token to use for paginating results that are returned in the response. Set the value
|
|
@@ -3357,6 +3767,9 @@ export interface ListFindingsResponse {
|
|
|
3357
3767
|
*/
|
|
3358
3768
|
findings?: Finding[];
|
|
3359
3769
|
}
|
|
3770
|
+
/**
|
|
3771
|
+
* @public
|
|
3772
|
+
*/
|
|
3360
3773
|
export interface ListMembersRequest {
|
|
3361
3774
|
/**
|
|
3362
3775
|
* <p>Specifies whether to list only currently associated members if <code>True</code> or to
|
|
@@ -3375,6 +3788,9 @@ export interface ListMembersRequest {
|
|
|
3375
3788
|
*/
|
|
3376
3789
|
nextToken?: string;
|
|
3377
3790
|
}
|
|
3791
|
+
/**
|
|
3792
|
+
* @public
|
|
3793
|
+
*/
|
|
3378
3794
|
export interface ListMembersResponse {
|
|
3379
3795
|
/**
|
|
3380
3796
|
* <p>An object that contains details for each member account.</p>
|
|
@@ -3386,18 +3802,27 @@ export interface ListMembersResponse {
|
|
|
3386
3802
|
*/
|
|
3387
3803
|
nextToken?: string;
|
|
3388
3804
|
}
|
|
3805
|
+
/**
|
|
3806
|
+
* @public
|
|
3807
|
+
*/
|
|
3389
3808
|
export interface ListTagsForResourceRequest {
|
|
3390
3809
|
/**
|
|
3391
3810
|
* <p>The Amazon resource number (ARN) of the resource to list tags of.</p>
|
|
3392
3811
|
*/
|
|
3393
3812
|
resourceArn: string | undefined;
|
|
3394
3813
|
}
|
|
3814
|
+
/**
|
|
3815
|
+
* @public
|
|
3816
|
+
*/
|
|
3395
3817
|
export interface ListTagsForResourceResponse {
|
|
3396
3818
|
/**
|
|
3397
3819
|
* <p>The tags associated with the resource.</p>
|
|
3398
3820
|
*/
|
|
3399
3821
|
tags?: Record<string, string>;
|
|
3400
3822
|
}
|
|
3823
|
+
/**
|
|
3824
|
+
* @public
|
|
3825
|
+
*/
|
|
3401
3826
|
export interface ListUsageTotalsRequest {
|
|
3402
3827
|
/**
|
|
3403
3828
|
* <p>The maximum number of results to return in the response.</p>
|
|
@@ -3415,6 +3840,9 @@ export interface ListUsageTotalsRequest {
|
|
|
3415
3840
|
*/
|
|
3416
3841
|
accountIds?: string[];
|
|
3417
3842
|
}
|
|
3843
|
+
/**
|
|
3844
|
+
* @public
|
|
3845
|
+
*/
|
|
3418
3846
|
export declare enum UsageType {
|
|
3419
3847
|
EC2_INSTANCE_HOURS = "EC2_INSTANCE_HOURS",
|
|
3420
3848
|
ECR_INITIAL_SCAN = "ECR_INITIAL_SCAN",
|
|
@@ -3422,6 +3850,7 @@ export declare enum UsageType {
|
|
|
3422
3850
|
LAMBDA_FUNCTION_HOURS = "LAMBDA_FUNCTION_HOURS"
|
|
3423
3851
|
}
|
|
3424
3852
|
/**
|
|
3853
|
+
* @public
|
|
3425
3854
|
* <p>Contains usage information about the cost of Amazon Inspector operation.</p>
|
|
3426
3855
|
*/
|
|
3427
3856
|
export interface Usage {
|
|
@@ -3443,6 +3872,7 @@ export interface Usage {
|
|
|
3443
3872
|
currency?: Currency | string;
|
|
3444
3873
|
}
|
|
3445
3874
|
/**
|
|
3875
|
+
* @public
|
|
3446
3876
|
* <p>The total of usage for an account ID.</p>
|
|
3447
3877
|
*/
|
|
3448
3878
|
export interface UsageTotal {
|
|
@@ -3455,6 +3885,9 @@ export interface UsageTotal {
|
|
|
3455
3885
|
*/
|
|
3456
3886
|
usage?: Usage[];
|
|
3457
3887
|
}
|
|
3888
|
+
/**
|
|
3889
|
+
* @public
|
|
3890
|
+
*/
|
|
3458
3891
|
export interface ListUsageTotalsResponse {
|
|
3459
3892
|
/**
|
|
3460
3893
|
* <p>The pagination parameter to be used on the next list operation to retrieve more items.</p>
|
|
@@ -3465,6 +3898,9 @@ export interface ListUsageTotalsResponse {
|
|
|
3465
3898
|
*/
|
|
3466
3899
|
totals?: UsageTotal[];
|
|
3467
3900
|
}
|
|
3901
|
+
/**
|
|
3902
|
+
* @public
|
|
3903
|
+
*/
|
|
3468
3904
|
export interface TagResourceRequest {
|
|
3469
3905
|
/**
|
|
3470
3906
|
* <p>The Amazon Resource Name (ARN) of the resource to apply a tag to.</p>
|
|
@@ -3475,8 +3911,14 @@ export interface TagResourceRequest {
|
|
|
3475
3911
|
*/
|
|
3476
3912
|
tags: Record<string, string> | undefined;
|
|
3477
3913
|
}
|
|
3914
|
+
/**
|
|
3915
|
+
* @public
|
|
3916
|
+
*/
|
|
3478
3917
|
export interface TagResourceResponse {
|
|
3479
3918
|
}
|
|
3919
|
+
/**
|
|
3920
|
+
* @public
|
|
3921
|
+
*/
|
|
3480
3922
|
export interface UntagResourceRequest {
|
|
3481
3923
|
/**
|
|
3482
3924
|
* <p>The Amazon Resource Name (ARN) for the resource to remove tags from.</p>
|
|
@@ -3487,16 +3929,28 @@ export interface UntagResourceRequest {
|
|
|
3487
3929
|
*/
|
|
3488
3930
|
tagKeys: string[] | undefined;
|
|
3489
3931
|
}
|
|
3932
|
+
/**
|
|
3933
|
+
* @public
|
|
3934
|
+
*/
|
|
3490
3935
|
export interface UntagResourceResponse {
|
|
3491
3936
|
}
|
|
3937
|
+
/**
|
|
3938
|
+
* @public
|
|
3939
|
+
*/
|
|
3492
3940
|
export interface UpdateConfigurationRequest {
|
|
3493
3941
|
/**
|
|
3494
3942
|
* <p>Specifies how the ECR automated re-scan will be updated for your environment.</p>
|
|
3495
3943
|
*/
|
|
3496
3944
|
ecrConfiguration: EcrConfiguration | undefined;
|
|
3497
3945
|
}
|
|
3946
|
+
/**
|
|
3947
|
+
* @public
|
|
3948
|
+
*/
|
|
3498
3949
|
export interface UpdateConfigurationResponse {
|
|
3499
3950
|
}
|
|
3951
|
+
/**
|
|
3952
|
+
* @public
|
|
3953
|
+
*/
|
|
3500
3954
|
export interface UpdateFilterRequest {
|
|
3501
3955
|
/**
|
|
3502
3956
|
* <p>Specifies the action that is to be applied to the findings that match the filter.</p>
|
|
@@ -3523,18 +3977,27 @@ export interface UpdateFilterRequest {
|
|
|
3523
3977
|
*/
|
|
3524
3978
|
reason?: string;
|
|
3525
3979
|
}
|
|
3980
|
+
/**
|
|
3981
|
+
* @public
|
|
3982
|
+
*/
|
|
3526
3983
|
export interface UpdateFilterResponse {
|
|
3527
3984
|
/**
|
|
3528
3985
|
* <p>The Amazon Resource Number (ARN) of the successfully updated filter.</p>
|
|
3529
3986
|
*/
|
|
3530
3987
|
arn: string | undefined;
|
|
3531
3988
|
}
|
|
3989
|
+
/**
|
|
3990
|
+
* @public
|
|
3991
|
+
*/
|
|
3532
3992
|
export interface UpdateOrganizationConfigurationRequest {
|
|
3533
3993
|
/**
|
|
3534
3994
|
* <p>Defines which scan types are enabled automatically for new members of your Amazon Inspector organization.</p>
|
|
3535
3995
|
*/
|
|
3536
3996
|
autoEnable: AutoEnable | undefined;
|
|
3537
3997
|
}
|
|
3998
|
+
/**
|
|
3999
|
+
* @public
|
|
4000
|
+
*/
|
|
3538
4001
|
export interface UpdateOrganizationConfigurationResponse {
|
|
3539
4002
|
/**
|
|
3540
4003
|
* <p>The updated status of scan types automatically enabled for new members of your Amazon Inspector organization.</p>
|