@aws-sdk/client-inspector2 3.218.0 → 3.222.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-cjs/models/models_0.js +111 -5
- package/dist-cjs/protocols/Aws_restJson1.js +240 -1
- package/dist-es/models/models_0.js +98 -0
- package/dist-es/protocols/Aws_restJson1.js +240 -1
- package/dist-types/Inspector2.d.ts +1 -1
- package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +497 -16
- package/dist-types/ts3.4/models/models_0.d.ts +253 -0
- package/package.json +29 -28
|
@@ -31,6 +31,10 @@ export interface ResourceStatus {
|
|
|
31
31
|
* <p>The status of Amazon Inspector scanning for Amazon ECR resources.</p>
|
|
32
32
|
*/
|
|
33
33
|
ecr: Status | string | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* <p>The status of Amazon Inspector scanning for AWS Lambda function resources.</p>
|
|
36
|
+
*/
|
|
37
|
+
lambda?: Status | string;
|
|
34
38
|
}
|
|
35
39
|
/**
|
|
36
40
|
* <p>An Amazon Web Services account within your environment that Amazon Inspector has been enabled for.</p>
|
|
@@ -55,7 +59,8 @@ export declare enum AggregationFindingType {
|
|
|
55
59
|
}
|
|
56
60
|
export declare enum AggregationResourceType {
|
|
57
61
|
AWS_EC2_INSTANCE = "AWS_EC2_INSTANCE",
|
|
58
|
-
AWS_ECR_CONTAINER_IMAGE = "AWS_ECR_CONTAINER_IMAGE"
|
|
62
|
+
AWS_ECR_CONTAINER_IMAGE = "AWS_ECR_CONTAINER_IMAGE",
|
|
63
|
+
AWS_LAMBDA_FUNCTION = "AWS_LAMBDA_FUNCTION"
|
|
59
64
|
}
|
|
60
65
|
export declare enum AccountSortBy {
|
|
61
66
|
ALL = "ALL",
|
|
@@ -167,9 +172,13 @@ export interface ResourceState {
|
|
|
167
172
|
* <p>An object detailing the state of Amazon Inspector scanning for Amazon ECR resources.</p>
|
|
168
173
|
*/
|
|
169
174
|
ecr: State | undefined;
|
|
175
|
+
/**
|
|
176
|
+
* <p>An object that described the state of Amazon Inspector scans for an account.</p>
|
|
177
|
+
*/
|
|
178
|
+
lambda?: State;
|
|
170
179
|
}
|
|
171
180
|
/**
|
|
172
|
-
* <p>An object with details the status of an Amazon Web Services account within your Amazon Inspector environment
|
|
181
|
+
* <p>An object with details the status of an Amazon Web Services account within your Amazon Inspector environment.</p>
|
|
173
182
|
*/
|
|
174
183
|
export interface AccountState {
|
|
175
184
|
/**
|
|
@@ -195,7 +204,7 @@ export declare enum StringComparison {
|
|
|
195
204
|
*/
|
|
196
205
|
export interface StringFilter {
|
|
197
206
|
/**
|
|
198
|
-
* <p>The operator to use when comparing values in the filter
|
|
207
|
+
* <p>The operator to use when comparing values in the filter.</p>
|
|
199
208
|
*/
|
|
200
209
|
comparison: StringComparison | string | undefined;
|
|
201
210
|
/**
|
|
@@ -377,6 +386,71 @@ export interface ImageLayerAggregation {
|
|
|
377
386
|
*/
|
|
378
387
|
sortBy?: ImageLayerSortBy | string;
|
|
379
388
|
}
|
|
389
|
+
export declare enum LambdaFunctionSortBy {
|
|
390
|
+
ALL = "ALL",
|
|
391
|
+
CRITICAL = "CRITICAL",
|
|
392
|
+
HIGH = "HIGH"
|
|
393
|
+
}
|
|
394
|
+
/**
|
|
395
|
+
* <p>The details that define a findings aggregation based on AWS Lambda functions.</p>
|
|
396
|
+
*/
|
|
397
|
+
export interface LambdaFunctionAggregation {
|
|
398
|
+
/**
|
|
399
|
+
* <p>The resource IDs to include in the aggregation results.</p>
|
|
400
|
+
*/
|
|
401
|
+
resourceIds?: StringFilter[];
|
|
402
|
+
/**
|
|
403
|
+
* <p>The AWS Lambda function names to include in the aggregation results.</p>
|
|
404
|
+
*/
|
|
405
|
+
functionNames?: StringFilter[];
|
|
406
|
+
/**
|
|
407
|
+
* <p>Returns findings aggregated by AWS Lambda function runtime environments.</p>
|
|
408
|
+
*/
|
|
409
|
+
runtimes?: StringFilter[];
|
|
410
|
+
/**
|
|
411
|
+
* <p>The tags to include in the aggregation results.</p>
|
|
412
|
+
*/
|
|
413
|
+
functionTags?: MapFilter[];
|
|
414
|
+
/**
|
|
415
|
+
* <p>The order to use for sorting the results.</p>
|
|
416
|
+
*/
|
|
417
|
+
sortOrder?: SortOrder | string;
|
|
418
|
+
/**
|
|
419
|
+
* <p>The finding severity to use for sorting the results.</p>
|
|
420
|
+
*/
|
|
421
|
+
sortBy?: LambdaFunctionSortBy | string;
|
|
422
|
+
}
|
|
423
|
+
export declare enum LambdaLayerSortBy {
|
|
424
|
+
ALL = "ALL",
|
|
425
|
+
CRITICAL = "CRITICAL",
|
|
426
|
+
HIGH = "HIGH"
|
|
427
|
+
}
|
|
428
|
+
/**
|
|
429
|
+
* <p>The details that define a findings aggregation based on an AWS Lambda function's layers.</p>
|
|
430
|
+
*/
|
|
431
|
+
export interface LambdaLayerAggregation {
|
|
432
|
+
/**
|
|
433
|
+
* <p>The names of the AWS Lambda functions associated with the layers.</p>
|
|
434
|
+
*/
|
|
435
|
+
functionNames?: StringFilter[];
|
|
436
|
+
/**
|
|
437
|
+
* <p>The resource IDs for the AWS Lambda function layers.</p>
|
|
438
|
+
*/
|
|
439
|
+
resourceIds?: StringFilter[];
|
|
440
|
+
/**
|
|
441
|
+
* <p>The Amazon Resource Name (ARN) of the AWS Lambda function layer.
|
|
442
|
+
* </p>
|
|
443
|
+
*/
|
|
444
|
+
layerArns?: StringFilter[];
|
|
445
|
+
/**
|
|
446
|
+
* <p>The order to use for sorting the results.</p>
|
|
447
|
+
*/
|
|
448
|
+
sortOrder?: SortOrder | string;
|
|
449
|
+
/**
|
|
450
|
+
* <p>The finding severity to use for sorting the results.</p>
|
|
451
|
+
*/
|
|
452
|
+
sortBy?: LambdaLayerSortBy | string;
|
|
453
|
+
}
|
|
380
454
|
export declare enum PackageSortBy {
|
|
381
455
|
ALL = "ALL",
|
|
382
456
|
CRITICAL = "CRITICAL",
|
|
@@ -455,7 +529,7 @@ export interface TitleAggregation {
|
|
|
455
529
|
/**
|
|
456
530
|
* <p>Contains details about an aggregation request.</p>
|
|
457
531
|
*/
|
|
458
|
-
export declare type AggregationRequest = AggregationRequest.AccountAggregationMember | AggregationRequest.AmiAggregationMember | AggregationRequest.AwsEcrContainerAggregationMember | AggregationRequest.Ec2InstanceAggregationMember | AggregationRequest.FindingTypeAggregationMember | AggregationRequest.ImageLayerAggregationMember | AggregationRequest.PackageAggregationMember | AggregationRequest.RepositoryAggregationMember | AggregationRequest.TitleAggregationMember | AggregationRequest.$UnknownMember;
|
|
532
|
+
export declare 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;
|
|
459
533
|
export declare namespace AggregationRequest {
|
|
460
534
|
/**
|
|
461
535
|
* <p>An object that contains details about an aggregation request based on Amazon Web Services account
|
|
@@ -471,6 +545,8 @@ export declare namespace AggregationRequest {
|
|
|
471
545
|
packageAggregation?: never;
|
|
472
546
|
repositoryAggregation?: never;
|
|
473
547
|
titleAggregation?: never;
|
|
548
|
+
lambdaLayerAggregation?: never;
|
|
549
|
+
lambdaFunctionAggregation?: never;
|
|
474
550
|
$unknown?: never;
|
|
475
551
|
}
|
|
476
552
|
/**
|
|
@@ -487,6 +563,8 @@ export declare namespace AggregationRequest {
|
|
|
487
563
|
packageAggregation?: never;
|
|
488
564
|
repositoryAggregation?: never;
|
|
489
565
|
titleAggregation?: never;
|
|
566
|
+
lambdaLayerAggregation?: never;
|
|
567
|
+
lambdaFunctionAggregation?: never;
|
|
490
568
|
$unknown?: never;
|
|
491
569
|
}
|
|
492
570
|
/**
|
|
@@ -503,6 +581,8 @@ export declare namespace AggregationRequest {
|
|
|
503
581
|
packageAggregation?: never;
|
|
504
582
|
repositoryAggregation?: never;
|
|
505
583
|
titleAggregation?: never;
|
|
584
|
+
lambdaLayerAggregation?: never;
|
|
585
|
+
lambdaFunctionAggregation?: never;
|
|
506
586
|
$unknown?: never;
|
|
507
587
|
}
|
|
508
588
|
/**
|
|
@@ -519,6 +599,8 @@ export declare namespace AggregationRequest {
|
|
|
519
599
|
packageAggregation?: never;
|
|
520
600
|
repositoryAggregation?: never;
|
|
521
601
|
titleAggregation?: never;
|
|
602
|
+
lambdaLayerAggregation?: never;
|
|
603
|
+
lambdaFunctionAggregation?: never;
|
|
522
604
|
$unknown?: never;
|
|
523
605
|
}
|
|
524
606
|
/**
|
|
@@ -534,6 +616,8 @@ export declare namespace AggregationRequest {
|
|
|
534
616
|
packageAggregation?: never;
|
|
535
617
|
repositoryAggregation?: never;
|
|
536
618
|
titleAggregation?: never;
|
|
619
|
+
lambdaLayerAggregation?: never;
|
|
620
|
+
lambdaFunctionAggregation?: never;
|
|
537
621
|
$unknown?: never;
|
|
538
622
|
}
|
|
539
623
|
/**
|
|
@@ -550,6 +634,8 @@ export declare namespace AggregationRequest {
|
|
|
550
634
|
packageAggregation?: never;
|
|
551
635
|
repositoryAggregation?: never;
|
|
552
636
|
titleAggregation?: never;
|
|
637
|
+
lambdaLayerAggregation?: never;
|
|
638
|
+
lambdaFunctionAggregation?: never;
|
|
553
639
|
$unknown?: never;
|
|
554
640
|
}
|
|
555
641
|
/**
|
|
@@ -566,6 +652,8 @@ export declare namespace AggregationRequest {
|
|
|
566
652
|
packageAggregation: PackageAggregation;
|
|
567
653
|
repositoryAggregation?: never;
|
|
568
654
|
titleAggregation?: never;
|
|
655
|
+
lambdaLayerAggregation?: never;
|
|
656
|
+
lambdaFunctionAggregation?: never;
|
|
569
657
|
$unknown?: never;
|
|
570
658
|
}
|
|
571
659
|
/**
|
|
@@ -581,6 +669,8 @@ export declare namespace AggregationRequest {
|
|
|
581
669
|
packageAggregation?: never;
|
|
582
670
|
repositoryAggregation: RepositoryAggregation;
|
|
583
671
|
titleAggregation?: never;
|
|
672
|
+
lambdaLayerAggregation?: never;
|
|
673
|
+
lambdaFunctionAggregation?: never;
|
|
584
674
|
$unknown?: never;
|
|
585
675
|
}
|
|
586
676
|
/**
|
|
@@ -596,6 +686,42 @@ export declare namespace AggregationRequest {
|
|
|
596
686
|
packageAggregation?: never;
|
|
597
687
|
repositoryAggregation?: never;
|
|
598
688
|
titleAggregation: TitleAggregation;
|
|
689
|
+
lambdaLayerAggregation?: never;
|
|
690
|
+
lambdaFunctionAggregation?: never;
|
|
691
|
+
$unknown?: never;
|
|
692
|
+
}
|
|
693
|
+
/**
|
|
694
|
+
* <p>Returns an object with findings aggregated by AWS Lambda layer.</p>
|
|
695
|
+
*/
|
|
696
|
+
interface LambdaLayerAggregationMember {
|
|
697
|
+
accountAggregation?: never;
|
|
698
|
+
amiAggregation?: never;
|
|
699
|
+
awsEcrContainerAggregation?: never;
|
|
700
|
+
ec2InstanceAggregation?: never;
|
|
701
|
+
findingTypeAggregation?: never;
|
|
702
|
+
imageLayerAggregation?: never;
|
|
703
|
+
packageAggregation?: never;
|
|
704
|
+
repositoryAggregation?: never;
|
|
705
|
+
titleAggregation?: never;
|
|
706
|
+
lambdaLayerAggregation: LambdaLayerAggregation;
|
|
707
|
+
lambdaFunctionAggregation?: never;
|
|
708
|
+
$unknown?: never;
|
|
709
|
+
}
|
|
710
|
+
/**
|
|
711
|
+
* <p>Returns an object with findings aggregated by AWS Lambda function.</p>
|
|
712
|
+
*/
|
|
713
|
+
interface LambdaFunctionAggregationMember {
|
|
714
|
+
accountAggregation?: never;
|
|
715
|
+
amiAggregation?: never;
|
|
716
|
+
awsEcrContainerAggregation?: never;
|
|
717
|
+
ec2InstanceAggregation?: never;
|
|
718
|
+
findingTypeAggregation?: never;
|
|
719
|
+
imageLayerAggregation?: never;
|
|
720
|
+
packageAggregation?: never;
|
|
721
|
+
repositoryAggregation?: never;
|
|
722
|
+
titleAggregation?: never;
|
|
723
|
+
lambdaLayerAggregation?: never;
|
|
724
|
+
lambdaFunctionAggregation: LambdaFunctionAggregation;
|
|
599
725
|
$unknown?: never;
|
|
600
726
|
}
|
|
601
727
|
interface $UnknownMember {
|
|
@@ -608,6 +734,8 @@ export declare namespace AggregationRequest {
|
|
|
608
734
|
packageAggregation?: never;
|
|
609
735
|
repositoryAggregation?: never;
|
|
610
736
|
titleAggregation?: never;
|
|
737
|
+
lambdaLayerAggregation?: never;
|
|
738
|
+
lambdaFunctionAggregation?: never;
|
|
611
739
|
$unknown: [string, any];
|
|
612
740
|
}
|
|
613
741
|
interface Visitor<T> {
|
|
@@ -620,6 +748,8 @@ export declare namespace AggregationRequest {
|
|
|
620
748
|
packageAggregation: (value: PackageAggregation) => T;
|
|
621
749
|
repositoryAggregation: (value: RepositoryAggregation) => T;
|
|
622
750
|
titleAggregation: (value: TitleAggregation) => T;
|
|
751
|
+
lambdaLayerAggregation: (value: LambdaLayerAggregation) => T;
|
|
752
|
+
lambdaFunctionAggregation: (value: LambdaFunctionAggregation) => T;
|
|
623
753
|
_: (name: string, value: any) => T;
|
|
624
754
|
}
|
|
625
755
|
const visit: <T>(value: AggregationRequest, visitor: Visitor<T>) => T;
|
|
@@ -633,7 +763,7 @@ export interface AmiAggregationResponse {
|
|
|
633
763
|
*/
|
|
634
764
|
ami: string | undefined;
|
|
635
765
|
/**
|
|
636
|
-
* <p>The Amazon Web Services account ID
|
|
766
|
+
* <p>The Amazon Web Services account ID for the AMI.</p>
|
|
637
767
|
*/
|
|
638
768
|
accountId?: string;
|
|
639
769
|
/**
|
|
@@ -699,7 +829,7 @@ export interface Ec2InstanceAggregationResponse {
|
|
|
699
829
|
*/
|
|
700
830
|
instanceTags?: Record<string, string>;
|
|
701
831
|
/**
|
|
702
|
-
* <p>The Amazon Web Services account the Amazon EC2 instance
|
|
832
|
+
* <p>The Amazon Web Services account for the Amazon EC2 instance.</p>
|
|
703
833
|
*/
|
|
704
834
|
accountId?: string;
|
|
705
835
|
/**
|
|
@@ -749,6 +879,65 @@ export interface ImageLayerAggregationResponse {
|
|
|
749
879
|
*/
|
|
750
880
|
severityCounts?: SeverityCounts;
|
|
751
881
|
}
|
|
882
|
+
/**
|
|
883
|
+
* <p>A response that contains the results of an AWS Lambda function finding aggregation.</p>
|
|
884
|
+
*/
|
|
885
|
+
export interface LambdaFunctionAggregationResponse {
|
|
886
|
+
/**
|
|
887
|
+
* <p>The resource IDs included in the aggregation results.</p>
|
|
888
|
+
*/
|
|
889
|
+
resourceId: string | undefined;
|
|
890
|
+
/**
|
|
891
|
+
* <p>The AWS Lambda function names included in the aggregation results.</p>
|
|
892
|
+
*/
|
|
893
|
+
functionName?: string;
|
|
894
|
+
/**
|
|
895
|
+
* <p>The runtimes included in the aggregation results.</p>
|
|
896
|
+
*/
|
|
897
|
+
runtime?: string;
|
|
898
|
+
/**
|
|
899
|
+
* <p>The tags included in the aggregation results.</p>
|
|
900
|
+
*/
|
|
901
|
+
lambdaTags?: Record<string, string>;
|
|
902
|
+
/**
|
|
903
|
+
* <p>The ID of the AWS account that owns the AWS Lambda function.
|
|
904
|
+
* </p>
|
|
905
|
+
*/
|
|
906
|
+
accountId?: string;
|
|
907
|
+
/**
|
|
908
|
+
* <p>An object that contains the counts of aggregated finding per severity.</p>
|
|
909
|
+
*/
|
|
910
|
+
severityCounts?: SeverityCounts;
|
|
911
|
+
/**
|
|
912
|
+
* <p>The date that the AWS Lambda function included in the aggregation results was last changed.</p>
|
|
913
|
+
*/
|
|
914
|
+
lastModifiedAt?: Date;
|
|
915
|
+
}
|
|
916
|
+
/**
|
|
917
|
+
* <p>A response that contains the results of an AWS Lambda function layer finding aggregation.</p>
|
|
918
|
+
*/
|
|
919
|
+
export interface LambdaLayerAggregationResponse {
|
|
920
|
+
/**
|
|
921
|
+
* <p>The names of the AWS Lambda functions associated with the layers.</p>
|
|
922
|
+
*/
|
|
923
|
+
functionName: string | undefined;
|
|
924
|
+
/**
|
|
925
|
+
* <p>The Resource ID of the AWS Lambda function layer.</p>
|
|
926
|
+
*/
|
|
927
|
+
resourceId: string | undefined;
|
|
928
|
+
/**
|
|
929
|
+
* <p>The Amazon Resource Name (ARN) of the AWS Lambda function layer.</p>
|
|
930
|
+
*/
|
|
931
|
+
layerArn: string | undefined;
|
|
932
|
+
/**
|
|
933
|
+
* <p>The account ID of the AWS Lambda function layer.</p>
|
|
934
|
+
*/
|
|
935
|
+
accountId: string | undefined;
|
|
936
|
+
/**
|
|
937
|
+
* <p>An object that contains the counts of aggregated finding per severity.</p>
|
|
938
|
+
*/
|
|
939
|
+
severityCounts?: SeverityCounts;
|
|
940
|
+
}
|
|
752
941
|
/**
|
|
753
942
|
* <p>A response that contains the results of a finding aggregation by image layer.</p>
|
|
754
943
|
*/
|
|
@@ -811,7 +1000,7 @@ export interface TitleAggregationResponse {
|
|
|
811
1000
|
/**
|
|
812
1001
|
* <p>A structure that contains details about the results of an aggregation type.</p>
|
|
813
1002
|
*/
|
|
814
|
-
export declare type AggregationResponse = AggregationResponse.AccountAggregationMember | AggregationResponse.AmiAggregationMember | AggregationResponse.AwsEcrContainerAggregationMember | AggregationResponse.Ec2InstanceAggregationMember | AggregationResponse.FindingTypeAggregationMember | AggregationResponse.ImageLayerAggregationMember | AggregationResponse.PackageAggregationMember | AggregationResponse.RepositoryAggregationMember | AggregationResponse.TitleAggregationMember | AggregationResponse.$UnknownMember;
|
|
1003
|
+
export declare 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;
|
|
815
1004
|
export declare namespace AggregationResponse {
|
|
816
1005
|
/**
|
|
817
1006
|
* <p>An object that contains details about an aggregation response based on Amazon Web Services account
|
|
@@ -827,6 +1016,8 @@ export declare namespace AggregationResponse {
|
|
|
827
1016
|
packageAggregation?: never;
|
|
828
1017
|
repositoryAggregation?: never;
|
|
829
1018
|
titleAggregation?: never;
|
|
1019
|
+
lambdaLayerAggregation?: never;
|
|
1020
|
+
lambdaFunctionAggregation?: never;
|
|
830
1021
|
$unknown?: never;
|
|
831
1022
|
}
|
|
832
1023
|
/**
|
|
@@ -843,6 +1034,8 @@ export declare namespace AggregationResponse {
|
|
|
843
1034
|
packageAggregation?: never;
|
|
844
1035
|
repositoryAggregation?: never;
|
|
845
1036
|
titleAggregation?: never;
|
|
1037
|
+
lambdaLayerAggregation?: never;
|
|
1038
|
+
lambdaFunctionAggregation?: never;
|
|
846
1039
|
$unknown?: never;
|
|
847
1040
|
}
|
|
848
1041
|
/**
|
|
@@ -859,6 +1052,8 @@ export declare namespace AggregationResponse {
|
|
|
859
1052
|
packageAggregation?: never;
|
|
860
1053
|
repositoryAggregation?: never;
|
|
861
1054
|
titleAggregation?: never;
|
|
1055
|
+
lambdaLayerAggregation?: never;
|
|
1056
|
+
lambdaFunctionAggregation?: never;
|
|
862
1057
|
$unknown?: never;
|
|
863
1058
|
}
|
|
864
1059
|
/**
|
|
@@ -875,6 +1070,8 @@ export declare namespace AggregationResponse {
|
|
|
875
1070
|
packageAggregation?: never;
|
|
876
1071
|
repositoryAggregation?: never;
|
|
877
1072
|
titleAggregation?: never;
|
|
1073
|
+
lambdaLayerAggregation?: never;
|
|
1074
|
+
lambdaFunctionAggregation?: never;
|
|
878
1075
|
$unknown?: never;
|
|
879
1076
|
}
|
|
880
1077
|
/**
|
|
@@ -890,6 +1087,8 @@ export declare namespace AggregationResponse {
|
|
|
890
1087
|
packageAggregation?: never;
|
|
891
1088
|
repositoryAggregation?: never;
|
|
892
1089
|
titleAggregation?: never;
|
|
1090
|
+
lambdaLayerAggregation?: never;
|
|
1091
|
+
lambdaFunctionAggregation?: never;
|
|
893
1092
|
$unknown?: never;
|
|
894
1093
|
}
|
|
895
1094
|
/**
|
|
@@ -906,6 +1105,8 @@ export declare namespace AggregationResponse {
|
|
|
906
1105
|
packageAggregation?: never;
|
|
907
1106
|
repositoryAggregation?: never;
|
|
908
1107
|
titleAggregation?: never;
|
|
1108
|
+
lambdaLayerAggregation?: never;
|
|
1109
|
+
lambdaFunctionAggregation?: never;
|
|
909
1110
|
$unknown?: never;
|
|
910
1111
|
}
|
|
911
1112
|
/**
|
|
@@ -922,6 +1123,8 @@ export declare namespace AggregationResponse {
|
|
|
922
1123
|
packageAggregation: PackageAggregationResponse;
|
|
923
1124
|
repositoryAggregation?: never;
|
|
924
1125
|
titleAggregation?: never;
|
|
1126
|
+
lambdaLayerAggregation?: never;
|
|
1127
|
+
lambdaFunctionAggregation?: never;
|
|
925
1128
|
$unknown?: never;
|
|
926
1129
|
}
|
|
927
1130
|
/**
|
|
@@ -938,6 +1141,8 @@ export declare namespace AggregationResponse {
|
|
|
938
1141
|
packageAggregation?: never;
|
|
939
1142
|
repositoryAggregation: RepositoryAggregationResponse;
|
|
940
1143
|
titleAggregation?: never;
|
|
1144
|
+
lambdaLayerAggregation?: never;
|
|
1145
|
+
lambdaFunctionAggregation?: never;
|
|
941
1146
|
$unknown?: never;
|
|
942
1147
|
}
|
|
943
1148
|
/**
|
|
@@ -953,6 +1158,42 @@ export declare namespace AggregationResponse {
|
|
|
953
1158
|
packageAggregation?: never;
|
|
954
1159
|
repositoryAggregation?: never;
|
|
955
1160
|
titleAggregation: TitleAggregationResponse;
|
|
1161
|
+
lambdaLayerAggregation?: never;
|
|
1162
|
+
lambdaFunctionAggregation?: never;
|
|
1163
|
+
$unknown?: never;
|
|
1164
|
+
}
|
|
1165
|
+
/**
|
|
1166
|
+
* <p>An aggregation of findings by AWS Lambda layer.</p>
|
|
1167
|
+
*/
|
|
1168
|
+
interface LambdaLayerAggregationMember {
|
|
1169
|
+
accountAggregation?: never;
|
|
1170
|
+
amiAggregation?: never;
|
|
1171
|
+
awsEcrContainerAggregation?: never;
|
|
1172
|
+
ec2InstanceAggregation?: never;
|
|
1173
|
+
findingTypeAggregation?: never;
|
|
1174
|
+
imageLayerAggregation?: never;
|
|
1175
|
+
packageAggregation?: never;
|
|
1176
|
+
repositoryAggregation?: never;
|
|
1177
|
+
titleAggregation?: never;
|
|
1178
|
+
lambdaLayerAggregation: LambdaLayerAggregationResponse;
|
|
1179
|
+
lambdaFunctionAggregation?: never;
|
|
1180
|
+
$unknown?: never;
|
|
1181
|
+
}
|
|
1182
|
+
/**
|
|
1183
|
+
* <p>An aggregation of findings by AWS Lambda function.</p>
|
|
1184
|
+
*/
|
|
1185
|
+
interface LambdaFunctionAggregationMember {
|
|
1186
|
+
accountAggregation?: never;
|
|
1187
|
+
amiAggregation?: never;
|
|
1188
|
+
awsEcrContainerAggregation?: never;
|
|
1189
|
+
ec2InstanceAggregation?: never;
|
|
1190
|
+
findingTypeAggregation?: never;
|
|
1191
|
+
imageLayerAggregation?: never;
|
|
1192
|
+
packageAggregation?: never;
|
|
1193
|
+
repositoryAggregation?: never;
|
|
1194
|
+
titleAggregation?: never;
|
|
1195
|
+
lambdaLayerAggregation?: never;
|
|
1196
|
+
lambdaFunctionAggregation: LambdaFunctionAggregationResponse;
|
|
956
1197
|
$unknown?: never;
|
|
957
1198
|
}
|
|
958
1199
|
interface $UnknownMember {
|
|
@@ -965,6 +1206,8 @@ export declare namespace AggregationResponse {
|
|
|
965
1206
|
packageAggregation?: never;
|
|
966
1207
|
repositoryAggregation?: never;
|
|
967
1208
|
titleAggregation?: never;
|
|
1209
|
+
lambdaLayerAggregation?: never;
|
|
1210
|
+
lambdaFunctionAggregation?: never;
|
|
968
1211
|
$unknown: [string, any];
|
|
969
1212
|
}
|
|
970
1213
|
interface Visitor<T> {
|
|
@@ -977,6 +1220,8 @@ export declare namespace AggregationResponse {
|
|
|
977
1220
|
packageAggregation: (value: PackageAggregationResponse) => T;
|
|
978
1221
|
repositoryAggregation: (value: RepositoryAggregationResponse) => T;
|
|
979
1222
|
titleAggregation: (value: TitleAggregationResponse) => T;
|
|
1223
|
+
lambdaLayerAggregation: (value: LambdaLayerAggregationResponse) => T;
|
|
1224
|
+
lambdaFunctionAggregation: (value: LambdaFunctionAggregationResponse) => T;
|
|
980
1225
|
_: (name: string, value: any) => T;
|
|
981
1226
|
}
|
|
982
1227
|
const visit: <T>(value: AggregationResponse, visitor: Visitor<T>) => T;
|
|
@@ -986,12 +1231,18 @@ export declare enum AggregationType {
|
|
|
986
1231
|
AMI = "AMI",
|
|
987
1232
|
AWS_EC2_INSTANCE = "AWS_EC2_INSTANCE",
|
|
988
1233
|
AWS_ECR_CONTAINER = "AWS_ECR_CONTAINER",
|
|
1234
|
+
AWS_LAMBDA_FUNCTION = "AWS_LAMBDA_FUNCTION",
|
|
989
1235
|
FINDING_TYPE = "FINDING_TYPE",
|
|
990
1236
|
IMAGE_LAYER = "IMAGE_LAYER",
|
|
1237
|
+
LAMBDA_LAYER = "LAMBDA_LAYER",
|
|
991
1238
|
PACKAGE = "PACKAGE",
|
|
992
1239
|
REPOSITORY = "REPOSITORY",
|
|
993
1240
|
TITLE = "TITLE"
|
|
994
1241
|
}
|
|
1242
|
+
export declare enum Architecture {
|
|
1243
|
+
ARM64 = "ARM64",
|
|
1244
|
+
X86_64 = "X86_64"
|
|
1245
|
+
}
|
|
995
1246
|
export interface AssociateMemberRequest {
|
|
996
1247
|
/**
|
|
997
1248
|
* <p>The Amazon Web Services account ID of the member account to be associated.</p>
|
|
@@ -1026,6 +1277,13 @@ export declare class InternalServerException extends __BaseException {
|
|
|
1026
1277
|
export declare class ThrottlingException extends __BaseException {
|
|
1027
1278
|
readonly name: "ThrottlingException";
|
|
1028
1279
|
readonly $fault: "client";
|
|
1280
|
+
$retryable: {
|
|
1281
|
+
throttling: boolean;
|
|
1282
|
+
};
|
|
1283
|
+
/**
|
|
1284
|
+
* <p>The number of seconds to wait before retrying the request.</p>
|
|
1285
|
+
*/
|
|
1286
|
+
retryAfterSeconds?: number;
|
|
1029
1287
|
/**
|
|
1030
1288
|
* @internal
|
|
1031
1289
|
*/
|
|
@@ -1083,6 +1341,11 @@ export interface AutoEnable {
|
|
|
1083
1341
|
* organization.</p>
|
|
1084
1342
|
*/
|
|
1085
1343
|
ecr: boolean | undefined;
|
|
1344
|
+
/**
|
|
1345
|
+
* <p>Represents whether AWS Lambda scans are automatically enabled for new members of your Amazon Inspector organization.
|
|
1346
|
+
* </p>
|
|
1347
|
+
*/
|
|
1348
|
+
lambda?: boolean;
|
|
1086
1349
|
}
|
|
1087
1350
|
/**
|
|
1088
1351
|
* <p>Details of the Amazon EC2 instance involved in a finding.</p>
|
|
@@ -1158,7 +1421,7 @@ export interface AwsEcrContainerImageDetails {
|
|
|
1158
1421
|
*/
|
|
1159
1422
|
imageHash: string | undefined;
|
|
1160
1423
|
/**
|
|
1161
|
-
* <p>The registry the Amazon ECR container image
|
|
1424
|
+
* <p>The registry for the Amazon ECR container image.</p>
|
|
1162
1425
|
*/
|
|
1163
1426
|
registry: string | undefined;
|
|
1164
1427
|
/**
|
|
@@ -1166,6 +1429,88 @@ export interface AwsEcrContainerImageDetails {
|
|
|
1166
1429
|
*/
|
|
1167
1430
|
platform?: string;
|
|
1168
1431
|
}
|
|
1432
|
+
export declare enum PackageType {
|
|
1433
|
+
IMAGE = "IMAGE",
|
|
1434
|
+
ZIP = "ZIP"
|
|
1435
|
+
}
|
|
1436
|
+
export declare enum Runtime {
|
|
1437
|
+
JAVA_11 = "JAVA_11",
|
|
1438
|
+
JAVA_8 = "JAVA_8",
|
|
1439
|
+
JAVA_8_AL2 = "JAVA_8_AL2",
|
|
1440
|
+
NODEJS = "NODEJS",
|
|
1441
|
+
NODEJS_12_X = "NODEJS_12_X",
|
|
1442
|
+
NODEJS_14_X = "NODEJS_14_X",
|
|
1443
|
+
NODEJS_16_X = "NODEJS_16_X",
|
|
1444
|
+
PYTHON_3_7 = "PYTHON_3_7",
|
|
1445
|
+
PYTHON_3_8 = "PYTHON_3_8",
|
|
1446
|
+
PYTHON_3_9 = "PYTHON_3_9",
|
|
1447
|
+
UNSUPPORTED = "UNSUPPORTED"
|
|
1448
|
+
}
|
|
1449
|
+
/**
|
|
1450
|
+
* <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>
|
|
1451
|
+
*/
|
|
1452
|
+
export interface LambdaVpcConfig {
|
|
1453
|
+
/**
|
|
1454
|
+
* <p>A list of VPC subnet IDs.</p>
|
|
1455
|
+
*/
|
|
1456
|
+
subnetIds?: string[];
|
|
1457
|
+
/**
|
|
1458
|
+
* <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>
|
|
1459
|
+
*/
|
|
1460
|
+
securityGroupIds?: string[];
|
|
1461
|
+
/**
|
|
1462
|
+
* <p>The ID of the VPC.</p>
|
|
1463
|
+
*/
|
|
1464
|
+
vpcId?: string;
|
|
1465
|
+
}
|
|
1466
|
+
/**
|
|
1467
|
+
* <p> A summary of information about the AWS Lambda function.</p>
|
|
1468
|
+
*/
|
|
1469
|
+
export interface AwsLambdaFunctionDetails {
|
|
1470
|
+
/**
|
|
1471
|
+
* <p>The name of the AWS Lambda function.</p>
|
|
1472
|
+
*/
|
|
1473
|
+
functionName: string | undefined;
|
|
1474
|
+
/**
|
|
1475
|
+
* <p>The runtime environment for the AWS Lambda function.</p>
|
|
1476
|
+
*/
|
|
1477
|
+
runtime: Runtime | string | undefined;
|
|
1478
|
+
/**
|
|
1479
|
+
* <p>The SHA256 hash of the AWS Lambda function's deployment package.</p>
|
|
1480
|
+
*/
|
|
1481
|
+
codeSha256: string | undefined;
|
|
1482
|
+
/**
|
|
1483
|
+
* <p>The version of the AWS Lambda function.</p>
|
|
1484
|
+
*/
|
|
1485
|
+
version: string | undefined;
|
|
1486
|
+
/**
|
|
1487
|
+
* <p>The AWS Lambda function's execution role.</p>
|
|
1488
|
+
*/
|
|
1489
|
+
executionRoleArn: string | undefined;
|
|
1490
|
+
/**
|
|
1491
|
+
* <p>The AWS Lambda function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">
|
|
1492
|
+
* layers</a>. A Lambda function can have up to five layers.</p>
|
|
1493
|
+
*/
|
|
1494
|
+
layers?: string[];
|
|
1495
|
+
/**
|
|
1496
|
+
* <p>The AWS Lambda function's networking configuration.</p>
|
|
1497
|
+
*/
|
|
1498
|
+
vpcConfig?: LambdaVpcConfig;
|
|
1499
|
+
/**
|
|
1500
|
+
* <p>The type of deployment package. Set to <code>Image</code> for container image and set <code>Zip</code> for .zip file archive.</p>
|
|
1501
|
+
*/
|
|
1502
|
+
packageType?: PackageType | string;
|
|
1503
|
+
/**
|
|
1504
|
+
* <p>The instruction set architecture that the AWS Lambda function supports. Architecture is a string array with one of the
|
|
1505
|
+
* valid values. The default architecture value is <code>x86_64</code>.</p>
|
|
1506
|
+
*/
|
|
1507
|
+
architectures?: (Architecture | string)[];
|
|
1508
|
+
/**
|
|
1509
|
+
* <p>The date and time that a user last updated the configuration, in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601 format</a>
|
|
1510
|
+
* </p>
|
|
1511
|
+
*/
|
|
1512
|
+
lastModifiedAt?: Date;
|
|
1513
|
+
}
|
|
1169
1514
|
/**
|
|
1170
1515
|
* <p>One or more tags submitted as part of the request is not valid.</p>
|
|
1171
1516
|
*/
|
|
@@ -1241,7 +1586,8 @@ export declare enum FreeTrialStatus {
|
|
|
1241
1586
|
}
|
|
1242
1587
|
export declare enum FreeTrialType {
|
|
1243
1588
|
EC2 = "EC2",
|
|
1244
|
-
ECR = "ECR"
|
|
1589
|
+
ECR = "ECR",
|
|
1590
|
+
LAMBDA = "LAMBDA"
|
|
1245
1591
|
}
|
|
1246
1592
|
/**
|
|
1247
1593
|
* <p>An object that contains information about the Amazon Inspector free trial for an account.</p>
|
|
@@ -1437,11 +1783,24 @@ export interface CoverageFilterCriteria {
|
|
|
1437
1783
|
* <p>The Amazon EC2 instance tags to filter on.</p>
|
|
1438
1784
|
*/
|
|
1439
1785
|
ec2InstanceTags?: CoverageMapFilter[];
|
|
1786
|
+
/**
|
|
1787
|
+
* <p>Returns coverage statistics for AWS Lambda functions filtered by function names.</p>
|
|
1788
|
+
*/
|
|
1789
|
+
lambdaFunctionName?: CoverageStringFilter[];
|
|
1790
|
+
/**
|
|
1791
|
+
* <p>Returns coverage statistics for AWS Lambda functions filtered by tag.</p>
|
|
1792
|
+
*/
|
|
1793
|
+
lambdaFunctionTags?: CoverageMapFilter[];
|
|
1794
|
+
/**
|
|
1795
|
+
* <p>Returns coverage statistics for AWS Lambda functions filtered by runtime.</p>
|
|
1796
|
+
*/
|
|
1797
|
+
lambdaFunctionRuntime?: CoverageStringFilter[];
|
|
1440
1798
|
}
|
|
1441
1799
|
export declare enum CoverageResourceType {
|
|
1442
1800
|
AWS_EC2_INSTANCE = "AWS_EC2_INSTANCE",
|
|
1443
1801
|
AWS_ECR_CONTAINER_IMAGE = "AWS_ECR_CONTAINER_IMAGE",
|
|
1444
|
-
AWS_ECR_REPOSITORY = "AWS_ECR_REPOSITORY"
|
|
1802
|
+
AWS_ECR_REPOSITORY = "AWS_ECR_REPOSITORY",
|
|
1803
|
+
AWS_LAMBDA_FUNCTION = "AWS_LAMBDA_FUNCTION"
|
|
1445
1804
|
}
|
|
1446
1805
|
export declare enum Ec2Platform {
|
|
1447
1806
|
LINUX = "LINUX",
|
|
@@ -1492,6 +1851,27 @@ export interface EcrRepositoryMetadata {
|
|
|
1492
1851
|
*/
|
|
1493
1852
|
scanFrequency?: EcrScanFrequency | string;
|
|
1494
1853
|
}
|
|
1854
|
+
/**
|
|
1855
|
+
* <p>The AWS Lambda function metadata.</p>
|
|
1856
|
+
*/
|
|
1857
|
+
export interface LambdaFunctionMetadata {
|
|
1858
|
+
/**
|
|
1859
|
+
* <p>The resource tags on an AWS Lambda function.</p>
|
|
1860
|
+
*/
|
|
1861
|
+
functionTags?: Record<string, string>;
|
|
1862
|
+
/**
|
|
1863
|
+
* <p>The layers for an AWS Lambda function. A Lambda function can have up to five layers.</p>
|
|
1864
|
+
*/
|
|
1865
|
+
layers?: string[];
|
|
1866
|
+
/**
|
|
1867
|
+
* <p>The name of a function.</p>
|
|
1868
|
+
*/
|
|
1869
|
+
functionName?: string;
|
|
1870
|
+
/**
|
|
1871
|
+
* <p>An AWS Lambda function's runtime.</p>
|
|
1872
|
+
*/
|
|
1873
|
+
runtime?: Runtime | string;
|
|
1874
|
+
}
|
|
1495
1875
|
/**
|
|
1496
1876
|
* <p>An object that contains details about the metadata for an Amazon ECR resource.</p>
|
|
1497
1877
|
*/
|
|
@@ -1508,10 +1888,15 @@ export interface ResourceScanMetadata {
|
|
|
1508
1888
|
* <p>An object that contains metadata details for an Amazon EC2 instance.</p>
|
|
1509
1889
|
*/
|
|
1510
1890
|
ec2?: Ec2Metadata;
|
|
1891
|
+
/**
|
|
1892
|
+
* <p>An object that contains metadata details for an AWS Lambda function.</p>
|
|
1893
|
+
*/
|
|
1894
|
+
lambdaFunction?: LambdaFunctionMetadata;
|
|
1511
1895
|
}
|
|
1512
1896
|
export declare enum ScanStatusReason {
|
|
1513
1897
|
ACCESS_DENIED = "ACCESS_DENIED",
|
|
1514
1898
|
EC2_INSTANCE_STOPPED = "EC2_INSTANCE_STOPPED",
|
|
1899
|
+
EXCLUDED_BY_TAG = "EXCLUDED_BY_TAG",
|
|
1515
1900
|
IMAGE_SIZE_EXCEEDED = "IMAGE_SIZE_EXCEEDED",
|
|
1516
1901
|
INTERNAL_ERROR = "INTERNAL_ERROR",
|
|
1517
1902
|
NO_INVENTORY = "NO_INVENTORY",
|
|
@@ -1525,7 +1910,8 @@ export declare enum ScanStatusReason {
|
|
|
1525
1910
|
STALE_INVENTORY = "STALE_INVENTORY",
|
|
1526
1911
|
SUCCESSFUL = "SUCCESSFUL",
|
|
1527
1912
|
UNMANAGED_EC2_INSTANCE = "UNMANAGED_EC2_INSTANCE",
|
|
1528
|
-
UNSUPPORTED_OS = "UNSUPPORTED_OS"
|
|
1913
|
+
UNSUPPORTED_OS = "UNSUPPORTED_OS",
|
|
1914
|
+
UNSUPPORTED_RUNTIME = "UNSUPPORTED_RUNTIME"
|
|
1529
1915
|
}
|
|
1530
1916
|
export declare enum ScanStatusCode {
|
|
1531
1917
|
ACTIVE = "ACTIVE",
|
|
@@ -1648,6 +2034,10 @@ export interface PackageFilter {
|
|
|
1648
2034
|
* <p>An object that contains details on the source layer hash to filter on.</p>
|
|
1649
2035
|
*/
|
|
1650
2036
|
sourceLayerHash?: StringFilter;
|
|
2037
|
+
/**
|
|
2038
|
+
* <p>An object that describes the details of a string filter.</p>
|
|
2039
|
+
*/
|
|
2040
|
+
sourceLambdaLayerArn?: StringFilter;
|
|
1651
2041
|
}
|
|
1652
2042
|
/**
|
|
1653
2043
|
* <p>Details on the criteria used to define the filter.</p>
|
|
@@ -1781,6 +2171,32 @@ export interface FilterCriteria {
|
|
|
1781
2171
|
* <p>Details on whether a fix is available through a version update. This value can be <code>YES</code>, <code>NO</code>, or <code>PARTIAL</code>. A <code>PARTIAL</code> fix means that some, but not all, of the packages identified in the finding have fixes available through updated versions.</p>
|
|
1782
2172
|
*/
|
|
1783
2173
|
fixAvailable?: StringFilter[];
|
|
2174
|
+
/**
|
|
2175
|
+
* <p>Filters the list of AWS Lambda functions by the name of the function.</p>
|
|
2176
|
+
*/
|
|
2177
|
+
lambdaFunctionName?: StringFilter[];
|
|
2178
|
+
/**
|
|
2179
|
+
* <p>Filters the list of AWS Lambda functions by the function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">
|
|
2180
|
+
* layers</a>. A Lambda function can have up to five layers.</p>
|
|
2181
|
+
*/
|
|
2182
|
+
lambdaFunctionLayers?: StringFilter[];
|
|
2183
|
+
/**
|
|
2184
|
+
* <p>Filters the list of AWS Lambda functions by the runtime environment for the Lambda function.</p>
|
|
2185
|
+
*/
|
|
2186
|
+
lambdaFunctionRuntime?: StringFilter[];
|
|
2187
|
+
/**
|
|
2188
|
+
* <p>Filters the list of AWS Lambda functions by the date and time that a user last updated the configuration, in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601 format</a>
|
|
2189
|
+
* </p>
|
|
2190
|
+
*/
|
|
2191
|
+
lambdaFunctionLastModifiedAt?: DateFilter[];
|
|
2192
|
+
/**
|
|
2193
|
+
* <p>Filters the list of AWS Lambda functions by execution role.</p>
|
|
2194
|
+
*/
|
|
2195
|
+
lambdaFunctionExecutionRoleArn?: StringFilter[];
|
|
2196
|
+
/**
|
|
2197
|
+
* <p>Filters the list of AWS Lambda findings by the availability of exploits.</p>
|
|
2198
|
+
*/
|
|
2199
|
+
exploitAvailable?: StringFilter[];
|
|
1784
2200
|
}
|
|
1785
2201
|
export interface CreateFilterRequest {
|
|
1786
2202
|
/**
|
|
@@ -2009,7 +2425,8 @@ export interface DescribeOrganizationConfigurationResponse {
|
|
|
2009
2425
|
}
|
|
2010
2426
|
export declare enum ResourceScanType {
|
|
2011
2427
|
EC2 = "EC2",
|
|
2012
|
-
ECR = "ECR"
|
|
2428
|
+
ECR = "ECR",
|
|
2429
|
+
LAMBDA = "LAMBDA"
|
|
2013
2430
|
}
|
|
2014
2431
|
export interface DisableRequest {
|
|
2015
2432
|
/**
|
|
@@ -2063,7 +2480,7 @@ export declare enum EcrRescanDuration {
|
|
|
2063
2480
|
LIFETIME = "LIFETIME"
|
|
2064
2481
|
}
|
|
2065
2482
|
/**
|
|
2066
|
-
* <p>Details about the ECR automated re-scan duration setting for your environment
|
|
2483
|
+
* <p>Details about the ECR automated re-scan duration setting for your environment.</p>
|
|
2067
2484
|
*/
|
|
2068
2485
|
export interface EcrConfiguration {
|
|
2069
2486
|
/**
|
|
@@ -2144,6 +2561,19 @@ export interface EnableDelegatedAdminAccountResponse {
|
|
|
2144
2561
|
*/
|
|
2145
2562
|
delegatedAdminAccountId: string | undefined;
|
|
2146
2563
|
}
|
|
2564
|
+
/**
|
|
2565
|
+
* <p>The details of an exploit available for a finding discovered in your environment.</p>
|
|
2566
|
+
*/
|
|
2567
|
+
export interface ExploitabilityDetails {
|
|
2568
|
+
/**
|
|
2569
|
+
* <p>The date and time of the last exploit associated with a finding discovered in your environment.</p>
|
|
2570
|
+
*/
|
|
2571
|
+
lastKnownExploitAt?: Date;
|
|
2572
|
+
}
|
|
2573
|
+
export declare enum ExploitAvailable {
|
|
2574
|
+
NO = "NO",
|
|
2575
|
+
YES = "YES"
|
|
2576
|
+
}
|
|
2147
2577
|
export declare enum ExternalReportStatus {
|
|
2148
2578
|
CANCELLED = "CANCELLED",
|
|
2149
2579
|
FAILED = "FAILED",
|
|
@@ -2327,6 +2757,10 @@ export interface VulnerablePackage {
|
|
|
2327
2757
|
* <p>The code to run in your environment to update packages with a fix available.</p>
|
|
2328
2758
|
*/
|
|
2329
2759
|
remediation?: string;
|
|
2760
|
+
/**
|
|
2761
|
+
* <p>The Amazon Resource Number (ARN) of the AWS Lambda function affected by a finding.</p>
|
|
2762
|
+
*/
|
|
2763
|
+
sourceLambdaLayerArn?: string;
|
|
2330
2764
|
}
|
|
2331
2765
|
/**
|
|
2332
2766
|
* <p>Information about a package vulnerability finding.</p>
|
|
@@ -2407,11 +2841,16 @@ export interface ResourceDetails {
|
|
|
2407
2841
|
* <p>An object that contains details about the Amazon ECR container image involved in the finding.</p>
|
|
2408
2842
|
*/
|
|
2409
2843
|
awsEcrContainerImage?: AwsEcrContainerImageDetails;
|
|
2844
|
+
/**
|
|
2845
|
+
* <p>A summary of the information about an AWS Lambda function affected by a finding.</p>
|
|
2846
|
+
*/
|
|
2847
|
+
awsLambdaFunction?: AwsLambdaFunctionDetails;
|
|
2410
2848
|
}
|
|
2411
2849
|
export declare enum ResourceType {
|
|
2412
2850
|
AWS_EC2_INSTANCE = "AWS_EC2_INSTANCE",
|
|
2413
2851
|
AWS_ECR_CONTAINER_IMAGE = "AWS_ECR_CONTAINER_IMAGE",
|
|
2414
|
-
AWS_ECR_REPOSITORY = "AWS_ECR_REPOSITORY"
|
|
2852
|
+
AWS_ECR_REPOSITORY = "AWS_ECR_REPOSITORY",
|
|
2853
|
+
AWS_LAMBDA_FUNCTION = "AWS_LAMBDA_FUNCTION"
|
|
2415
2854
|
}
|
|
2416
2855
|
/**
|
|
2417
2856
|
* <p>Details about the resource involved in a finding.</p>
|
|
@@ -2531,6 +2970,14 @@ export interface Finding {
|
|
|
2531
2970
|
* <p>Details on whether a fix is available through a version update. This value can be <code>YES</code>, <code>NO</code>, or <code>PARTIAL</code>. A <code>PARTIAL</code> fix means that some, but not all, of the packages identified in the finding have fixes available through updated versions.</p>
|
|
2532
2971
|
*/
|
|
2533
2972
|
fixAvailable?: FixAvailable | string;
|
|
2973
|
+
/**
|
|
2974
|
+
* <p>If a finding discovered in your environment has an exploit available.</p>
|
|
2975
|
+
*/
|
|
2976
|
+
exploitAvailable?: ExploitAvailable | string;
|
|
2977
|
+
/**
|
|
2978
|
+
* <p>The details of an exploit available for a finding discovered in your environment.</p>
|
|
2979
|
+
*/
|
|
2980
|
+
exploitabilityDetails?: ExploitabilityDetails;
|
|
2534
2981
|
}
|
|
2535
2982
|
export interface GetConfigurationRequest {
|
|
2536
2983
|
}
|
|
@@ -2623,7 +3070,8 @@ export interface GetMemberResponse {
|
|
|
2623
3070
|
}
|
|
2624
3071
|
export declare enum Service {
|
|
2625
3072
|
EC2 = "EC2",
|
|
2626
|
-
ECR = "ECR"
|
|
3073
|
+
ECR = "ECR",
|
|
3074
|
+
LAMBDA = "LAMBDA"
|
|
2627
3075
|
}
|
|
2628
3076
|
export interface ListAccountPermissionsRequest {
|
|
2629
3077
|
/**
|
|
@@ -2968,7 +3416,8 @@ export interface ListUsageTotalsRequest {
|
|
|
2968
3416
|
export declare enum UsageType {
|
|
2969
3417
|
EC2_INSTANCE_HOURS = "EC2_INSTANCE_HOURS",
|
|
2970
3418
|
ECR_INITIAL_SCAN = "ECR_INITIAL_SCAN",
|
|
2971
|
-
ECR_RESCAN = "ECR_RESCAN"
|
|
3419
|
+
ECR_RESCAN = "ECR_RESCAN",
|
|
3420
|
+
LAMBDA_FUNCTION_HOURS = "LAMBDA_FUNCTION_HOURS"
|
|
2972
3421
|
}
|
|
2973
3422
|
/**
|
|
2974
3423
|
* <p>Contains usage information about the cost of Amazon Inspector operation.</p>
|
|
@@ -3150,6 +3599,14 @@ export declare const FindingTypeAggregationFilterSensitiveLog: (obj: FindingType
|
|
|
3150
3599
|
* @internal
|
|
3151
3600
|
*/
|
|
3152
3601
|
export declare const ImageLayerAggregationFilterSensitiveLog: (obj: ImageLayerAggregation) => any;
|
|
3602
|
+
/**
|
|
3603
|
+
* @internal
|
|
3604
|
+
*/
|
|
3605
|
+
export declare const LambdaFunctionAggregationFilterSensitiveLog: (obj: LambdaFunctionAggregation) => any;
|
|
3606
|
+
/**
|
|
3607
|
+
* @internal
|
|
3608
|
+
*/
|
|
3609
|
+
export declare const LambdaLayerAggregationFilterSensitiveLog: (obj: LambdaLayerAggregation) => any;
|
|
3153
3610
|
/**
|
|
3154
3611
|
* @internal
|
|
3155
3612
|
*/
|
|
@@ -3186,6 +3643,14 @@ export declare const FindingTypeAggregationResponseFilterSensitiveLog: (obj: Fin
|
|
|
3186
3643
|
* @internal
|
|
3187
3644
|
*/
|
|
3188
3645
|
export declare const ImageLayerAggregationResponseFilterSensitiveLog: (obj: ImageLayerAggregationResponse) => any;
|
|
3646
|
+
/**
|
|
3647
|
+
* @internal
|
|
3648
|
+
*/
|
|
3649
|
+
export declare const LambdaFunctionAggregationResponseFilterSensitiveLog: (obj: LambdaFunctionAggregationResponse) => any;
|
|
3650
|
+
/**
|
|
3651
|
+
* @internal
|
|
3652
|
+
*/
|
|
3653
|
+
export declare const LambdaLayerAggregationResponseFilterSensitiveLog: (obj: LambdaLayerAggregationResponse) => any;
|
|
3189
3654
|
/**
|
|
3190
3655
|
* @internal
|
|
3191
3656
|
*/
|
|
@@ -3226,6 +3691,14 @@ export declare const AwsEc2InstanceDetailsFilterSensitiveLog: (obj: AwsEc2Instan
|
|
|
3226
3691
|
* @internal
|
|
3227
3692
|
*/
|
|
3228
3693
|
export declare const AwsEcrContainerImageDetailsFilterSensitiveLog: (obj: AwsEcrContainerImageDetails) => any;
|
|
3694
|
+
/**
|
|
3695
|
+
* @internal
|
|
3696
|
+
*/
|
|
3697
|
+
export declare const LambdaVpcConfigFilterSensitiveLog: (obj: LambdaVpcConfig) => any;
|
|
3698
|
+
/**
|
|
3699
|
+
* @internal
|
|
3700
|
+
*/
|
|
3701
|
+
export declare const AwsLambdaFunctionDetailsFilterSensitiveLog: (obj: AwsLambdaFunctionDetails) => any;
|
|
3229
3702
|
/**
|
|
3230
3703
|
* @internal
|
|
3231
3704
|
*/
|
|
@@ -3294,6 +3767,10 @@ export declare const EcrContainerImageMetadataFilterSensitiveLog: (obj: EcrConta
|
|
|
3294
3767
|
* @internal
|
|
3295
3768
|
*/
|
|
3296
3769
|
export declare const EcrRepositoryMetadataFilterSensitiveLog: (obj: EcrRepositoryMetadata) => any;
|
|
3770
|
+
/**
|
|
3771
|
+
* @internal
|
|
3772
|
+
*/
|
|
3773
|
+
export declare const LambdaFunctionMetadataFilterSensitiveLog: (obj: LambdaFunctionMetadata) => any;
|
|
3297
3774
|
/**
|
|
3298
3775
|
* @internal
|
|
3299
3776
|
*/
|
|
@@ -3434,6 +3911,10 @@ export declare const EnableDelegatedAdminAccountRequestFilterSensitiveLog: (obj:
|
|
|
3434
3911
|
* @internal
|
|
3435
3912
|
*/
|
|
3436
3913
|
export declare const EnableDelegatedAdminAccountResponseFilterSensitiveLog: (obj: EnableDelegatedAdminAccountResponse) => any;
|
|
3914
|
+
/**
|
|
3915
|
+
* @internal
|
|
3916
|
+
*/
|
|
3917
|
+
export declare const ExploitabilityDetailsFilterSensitiveLog: (obj: ExploitabilityDetails) => any;
|
|
3437
3918
|
/**
|
|
3438
3919
|
* @internal
|
|
3439
3920
|
*/
|