@aws-sdk/client-inspector2 3.216.0 → 3.219.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 +244 -2
- package/dist-es/models/models_0.js +98 -0
- package/dist-es/protocols/Aws_restJson1.js +244 -2
- 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 +3 -3
|
@@ -648,7 +648,10 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
648
648
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
|
|
649
649
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
650
650
|
const query = map({
|
|
651
|
-
tagKeys: [
|
|
651
|
+
tagKeys: [
|
|
652
|
+
(0, smithy_client_1.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
653
|
+
() => (input.tagKeys || []).map((_entry) => _entry),
|
|
654
|
+
],
|
|
652
655
|
});
|
|
653
656
|
let body;
|
|
654
657
|
return new protocol_http_1.HttpRequest({
|
|
@@ -2289,7 +2292,12 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
|
|
|
2289
2292
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2290
2293
|
};
|
|
2291
2294
|
const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
|
|
2292
|
-
const contents = map({
|
|
2295
|
+
const contents = map({
|
|
2296
|
+
retryAfterSeconds: [
|
|
2297
|
+
() => void 0 !== parsedOutput.headers["retry-after"],
|
|
2298
|
+
() => (0, smithy_client_1.strictParseInt32)(parsedOutput.headers["retry-after"]),
|
|
2299
|
+
],
|
|
2300
|
+
});
|
|
2293
2301
|
const data = parsedOutput.body;
|
|
2294
2302
|
if (data.message != null) {
|
|
2295
2303
|
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
@@ -2349,6 +2357,12 @@ const serializeAws_restJson1AggregationRequest = (input, context) => {
|
|
|
2349
2357
|
imageLayerAggregation: (value) => ({
|
|
2350
2358
|
imageLayerAggregation: serializeAws_restJson1ImageLayerAggregation(value, context),
|
|
2351
2359
|
}),
|
|
2360
|
+
lambdaFunctionAggregation: (value) => ({
|
|
2361
|
+
lambdaFunctionAggregation: serializeAws_restJson1LambdaFunctionAggregation(value, context),
|
|
2362
|
+
}),
|
|
2363
|
+
lambdaLayerAggregation: (value) => ({
|
|
2364
|
+
lambdaLayerAggregation: serializeAws_restJson1LambdaLayerAggregation(value, context),
|
|
2365
|
+
}),
|
|
2352
2366
|
packageAggregation: (value) => ({ packageAggregation: serializeAws_restJson1PackageAggregation(value, context) }),
|
|
2353
2367
|
repositoryAggregation: (value) => ({
|
|
2354
2368
|
repositoryAggregation: serializeAws_restJson1RepositoryAggregation(value, context),
|
|
@@ -2368,6 +2382,7 @@ const serializeAws_restJson1AutoEnable = (input, context) => {
|
|
|
2368
2382
|
return {
|
|
2369
2383
|
...(input.ec2 != null && { ec2: input.ec2 }),
|
|
2370
2384
|
...(input.ecr != null && { ecr: input.ecr }),
|
|
2385
|
+
...(input.lambda != null && { lambda: input.lambda }),
|
|
2371
2386
|
};
|
|
2372
2387
|
};
|
|
2373
2388
|
const serializeAws_restJson1AwsEcrContainerAggregation = (input, context) => {
|
|
@@ -2401,6 +2416,15 @@ const serializeAws_restJson1CoverageFilterCriteria = (input, context) => {
|
|
|
2401
2416
|
...(input.ecrRepositoryName != null && {
|
|
2402
2417
|
ecrRepositoryName: serializeAws_restJson1CoverageStringFilterList(input.ecrRepositoryName, context),
|
|
2403
2418
|
}),
|
|
2419
|
+
...(input.lambdaFunctionName != null && {
|
|
2420
|
+
lambdaFunctionName: serializeAws_restJson1CoverageStringFilterList(input.lambdaFunctionName, context),
|
|
2421
|
+
}),
|
|
2422
|
+
...(input.lambdaFunctionRuntime != null && {
|
|
2423
|
+
lambdaFunctionRuntime: serializeAws_restJson1CoverageStringFilterList(input.lambdaFunctionRuntime, context),
|
|
2424
|
+
}),
|
|
2425
|
+
...(input.lambdaFunctionTags != null && {
|
|
2426
|
+
lambdaFunctionTags: serializeAws_restJson1CoverageMapFilterList(input.lambdaFunctionTags, context),
|
|
2427
|
+
}),
|
|
2404
2428
|
...(input.resourceId != null && {
|
|
2405
2429
|
resourceId: serializeAws_restJson1CoverageStringFilterList(input.resourceId, context),
|
|
2406
2430
|
}),
|
|
@@ -2545,6 +2569,9 @@ const serializeAws_restJson1FilterCriteria = (input, context) => {
|
|
|
2545
2569
|
...(input.ecrImageTags != null && {
|
|
2546
2570
|
ecrImageTags: serializeAws_restJson1StringFilterList(input.ecrImageTags, context),
|
|
2547
2571
|
}),
|
|
2572
|
+
...(input.exploitAvailable != null && {
|
|
2573
|
+
exploitAvailable: serializeAws_restJson1StringFilterList(input.exploitAvailable, context),
|
|
2574
|
+
}),
|
|
2548
2575
|
...(input.findingArn != null && { findingArn: serializeAws_restJson1StringFilterList(input.findingArn, context) }),
|
|
2549
2576
|
...(input.findingStatus != null && {
|
|
2550
2577
|
findingStatus: serializeAws_restJson1StringFilterList(input.findingStatus, context),
|
|
@@ -2561,6 +2588,21 @@ const serializeAws_restJson1FilterCriteria = (input, context) => {
|
|
|
2561
2588
|
...(input.inspectorScore != null && {
|
|
2562
2589
|
inspectorScore: serializeAws_restJson1NumberFilterList(input.inspectorScore, context),
|
|
2563
2590
|
}),
|
|
2591
|
+
...(input.lambdaFunctionExecutionRoleArn != null && {
|
|
2592
|
+
lambdaFunctionExecutionRoleArn: serializeAws_restJson1StringFilterList(input.lambdaFunctionExecutionRoleArn, context),
|
|
2593
|
+
}),
|
|
2594
|
+
...(input.lambdaFunctionLastModifiedAt != null && {
|
|
2595
|
+
lambdaFunctionLastModifiedAt: serializeAws_restJson1DateFilterList(input.lambdaFunctionLastModifiedAt, context),
|
|
2596
|
+
}),
|
|
2597
|
+
...(input.lambdaFunctionLayers != null && {
|
|
2598
|
+
lambdaFunctionLayers: serializeAws_restJson1StringFilterList(input.lambdaFunctionLayers, context),
|
|
2599
|
+
}),
|
|
2600
|
+
...(input.lambdaFunctionName != null && {
|
|
2601
|
+
lambdaFunctionName: serializeAws_restJson1StringFilterList(input.lambdaFunctionName, context),
|
|
2602
|
+
}),
|
|
2603
|
+
...(input.lambdaFunctionRuntime != null && {
|
|
2604
|
+
lambdaFunctionRuntime: serializeAws_restJson1StringFilterList(input.lambdaFunctionRuntime, context),
|
|
2605
|
+
}),
|
|
2564
2606
|
...(input.lastObservedAt != null && {
|
|
2565
2607
|
lastObservedAt: serializeAws_restJson1DateFilterList(input.lastObservedAt, context),
|
|
2566
2608
|
}),
|
|
@@ -2618,6 +2660,35 @@ const serializeAws_restJson1ImageLayerAggregation = (input, context) => {
|
|
|
2618
2660
|
...(input.sortOrder != null && { sortOrder: input.sortOrder }),
|
|
2619
2661
|
};
|
|
2620
2662
|
};
|
|
2663
|
+
const serializeAws_restJson1LambdaFunctionAggregation = (input, context) => {
|
|
2664
|
+
return {
|
|
2665
|
+
...(input.functionNames != null && {
|
|
2666
|
+
functionNames: serializeAws_restJson1StringFilterList(input.functionNames, context),
|
|
2667
|
+
}),
|
|
2668
|
+
...(input.functionTags != null && {
|
|
2669
|
+
functionTags: serializeAws_restJson1MapFilterList(input.functionTags, context),
|
|
2670
|
+
}),
|
|
2671
|
+
...(input.resourceIds != null && {
|
|
2672
|
+
resourceIds: serializeAws_restJson1StringFilterList(input.resourceIds, context),
|
|
2673
|
+
}),
|
|
2674
|
+
...(input.runtimes != null && { runtimes: serializeAws_restJson1StringFilterList(input.runtimes, context) }),
|
|
2675
|
+
...(input.sortBy != null && { sortBy: input.sortBy }),
|
|
2676
|
+
...(input.sortOrder != null && { sortOrder: input.sortOrder }),
|
|
2677
|
+
};
|
|
2678
|
+
};
|
|
2679
|
+
const serializeAws_restJson1LambdaLayerAggregation = (input, context) => {
|
|
2680
|
+
return {
|
|
2681
|
+
...(input.functionNames != null && {
|
|
2682
|
+
functionNames: serializeAws_restJson1StringFilterList(input.functionNames, context),
|
|
2683
|
+
}),
|
|
2684
|
+
...(input.layerArns != null && { layerArns: serializeAws_restJson1StringFilterList(input.layerArns, context) }),
|
|
2685
|
+
...(input.resourceIds != null && {
|
|
2686
|
+
resourceIds: serializeAws_restJson1StringFilterList(input.resourceIds, context),
|
|
2687
|
+
}),
|
|
2688
|
+
...(input.sortBy != null && { sortBy: input.sortBy }),
|
|
2689
|
+
...(input.sortOrder != null && { sortOrder: input.sortOrder }),
|
|
2690
|
+
};
|
|
2691
|
+
};
|
|
2621
2692
|
const serializeAws_restJson1MapFilter = (input, context) => {
|
|
2622
2693
|
return {
|
|
2623
2694
|
...(input.comparison != null && { comparison: input.comparison }),
|
|
@@ -2669,6 +2740,9 @@ const serializeAws_restJson1PackageFilter = (input, context) => {
|
|
|
2669
2740
|
...(input.epoch != null && { epoch: serializeAws_restJson1NumberFilter(input.epoch, context) }),
|
|
2670
2741
|
...(input.name != null && { name: serializeAws_restJson1StringFilter(input.name, context) }),
|
|
2671
2742
|
...(input.release != null && { release: serializeAws_restJson1StringFilter(input.release, context) }),
|
|
2743
|
+
...(input.sourceLambdaLayerArn != null && {
|
|
2744
|
+
sourceLambdaLayerArn: serializeAws_restJson1StringFilter(input.sourceLambdaLayerArn, context),
|
|
2745
|
+
}),
|
|
2672
2746
|
...(input.sourceLayerHash != null && {
|
|
2673
2747
|
sourceLayerHash: serializeAws_restJson1StringFilter(input.sourceLayerHash, context),
|
|
2674
2748
|
}),
|
|
@@ -2827,6 +2901,16 @@ const deserializeAws_restJson1AggregationResponse = (output, context) => {
|
|
|
2827
2901
|
imageLayerAggregation: deserializeAws_restJson1ImageLayerAggregationResponse(output.imageLayerAggregation, context),
|
|
2828
2902
|
};
|
|
2829
2903
|
}
|
|
2904
|
+
if (output.lambdaFunctionAggregation != null) {
|
|
2905
|
+
return {
|
|
2906
|
+
lambdaFunctionAggregation: deserializeAws_restJson1LambdaFunctionAggregationResponse(output.lambdaFunctionAggregation, context),
|
|
2907
|
+
};
|
|
2908
|
+
}
|
|
2909
|
+
if (output.lambdaLayerAggregation != null) {
|
|
2910
|
+
return {
|
|
2911
|
+
lambdaLayerAggregation: deserializeAws_restJson1LambdaLayerAggregationResponse(output.lambdaLayerAggregation, context),
|
|
2912
|
+
};
|
|
2913
|
+
}
|
|
2830
2914
|
if (output.packageAggregation != null) {
|
|
2831
2915
|
return {
|
|
2832
2916
|
packageAggregation: deserializeAws_restJson1PackageAggregationResponse(output.packageAggregation, context),
|
|
@@ -2865,10 +2949,22 @@ const deserializeAws_restJson1AmiAggregationResponse = (output, context) => {
|
|
|
2865
2949
|
: undefined,
|
|
2866
2950
|
};
|
|
2867
2951
|
};
|
|
2952
|
+
const deserializeAws_restJson1ArchitectureList = (output, context) => {
|
|
2953
|
+
const retVal = (output || [])
|
|
2954
|
+
.filter((e) => e != null)
|
|
2955
|
+
.map((entry) => {
|
|
2956
|
+
if (entry === null) {
|
|
2957
|
+
return null;
|
|
2958
|
+
}
|
|
2959
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2960
|
+
});
|
|
2961
|
+
return retVal;
|
|
2962
|
+
};
|
|
2868
2963
|
const deserializeAws_restJson1AutoEnable = (output, context) => {
|
|
2869
2964
|
return {
|
|
2870
2965
|
ec2: (0, smithy_client_1.expectBoolean)(output.ec2),
|
|
2871
2966
|
ecr: (0, smithy_client_1.expectBoolean)(output.ecr),
|
|
2967
|
+
lambda: (0, smithy_client_1.expectBoolean)(output.lambda),
|
|
2872
2968
|
};
|
|
2873
2969
|
};
|
|
2874
2970
|
const deserializeAws_restJson1AwsEc2InstanceDetails = (output, context) => {
|
|
@@ -2910,6 +3006,24 @@ const deserializeAws_restJson1AwsEcrContainerImageDetails = (output, context) =>
|
|
|
2910
3006
|
repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
|
|
2911
3007
|
};
|
|
2912
3008
|
};
|
|
3009
|
+
const deserializeAws_restJson1AwsLambdaFunctionDetails = (output, context) => {
|
|
3010
|
+
return {
|
|
3011
|
+
architectures: output.architectures != null
|
|
3012
|
+
? deserializeAws_restJson1ArchitectureList(output.architectures, context)
|
|
3013
|
+
: undefined,
|
|
3014
|
+
codeSha256: (0, smithy_client_1.expectString)(output.codeSha256),
|
|
3015
|
+
executionRoleArn: (0, smithy_client_1.expectString)(output.executionRoleArn),
|
|
3016
|
+
functionName: (0, smithy_client_1.expectString)(output.functionName),
|
|
3017
|
+
lastModifiedAt: output.lastModifiedAt != null
|
|
3018
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModifiedAt)))
|
|
3019
|
+
: undefined,
|
|
3020
|
+
layers: output.layers != null ? deserializeAws_restJson1LayerList(output.layers, context) : undefined,
|
|
3021
|
+
packageType: (0, smithy_client_1.expectString)(output.packageType),
|
|
3022
|
+
runtime: (0, smithy_client_1.expectString)(output.runtime),
|
|
3023
|
+
version: (0, smithy_client_1.expectString)(output.version),
|
|
3024
|
+
vpcConfig: output.vpcConfig != null ? deserializeAws_restJson1LambdaVpcConfig(output.vpcConfig, context) : undefined,
|
|
3025
|
+
};
|
|
3026
|
+
};
|
|
2913
3027
|
const deserializeAws_restJson1Counts = (output, context) => {
|
|
2914
3028
|
return {
|
|
2915
3029
|
count: (0, smithy_client_1.expectLong)(output.count),
|
|
@@ -3094,6 +3208,13 @@ const deserializeAws_restJson1EcrRescanDurationState = (output, context) => {
|
|
|
3094
3208
|
updatedAt: output.updatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updatedAt))) : undefined,
|
|
3095
3209
|
};
|
|
3096
3210
|
};
|
|
3211
|
+
const deserializeAws_restJson1ExploitabilityDetails = (output, context) => {
|
|
3212
|
+
return {
|
|
3213
|
+
lastKnownExploitAt: output.lastKnownExploitAt != null
|
|
3214
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastKnownExploitAt)))
|
|
3215
|
+
: undefined,
|
|
3216
|
+
};
|
|
3217
|
+
};
|
|
3097
3218
|
const deserializeAws_restJson1FailedAccount = (output, context) => {
|
|
3098
3219
|
return {
|
|
3099
3220
|
accountId: (0, smithy_client_1.expectString)(output.accountId),
|
|
@@ -3160,6 +3281,9 @@ const deserializeAws_restJson1FilterCriteria = (output, context) => {
|
|
|
3160
3281
|
? deserializeAws_restJson1StringFilterList(output.ecrImageRepositoryName, context)
|
|
3161
3282
|
: undefined,
|
|
3162
3283
|
ecrImageTags: output.ecrImageTags != null ? deserializeAws_restJson1StringFilterList(output.ecrImageTags, context) : undefined,
|
|
3284
|
+
exploitAvailable: output.exploitAvailable != null
|
|
3285
|
+
? deserializeAws_restJson1StringFilterList(output.exploitAvailable, context)
|
|
3286
|
+
: undefined,
|
|
3163
3287
|
findingArn: output.findingArn != null ? deserializeAws_restJson1StringFilterList(output.findingArn, context) : undefined,
|
|
3164
3288
|
findingStatus: output.findingStatus != null
|
|
3165
3289
|
? deserializeAws_restJson1StringFilterList(output.findingStatus, context)
|
|
@@ -3172,6 +3296,21 @@ const deserializeAws_restJson1FilterCriteria = (output, context) => {
|
|
|
3172
3296
|
inspectorScore: output.inspectorScore != null
|
|
3173
3297
|
? deserializeAws_restJson1NumberFilterList(output.inspectorScore, context)
|
|
3174
3298
|
: undefined,
|
|
3299
|
+
lambdaFunctionExecutionRoleArn: output.lambdaFunctionExecutionRoleArn != null
|
|
3300
|
+
? deserializeAws_restJson1StringFilterList(output.lambdaFunctionExecutionRoleArn, context)
|
|
3301
|
+
: undefined,
|
|
3302
|
+
lambdaFunctionLastModifiedAt: output.lambdaFunctionLastModifiedAt != null
|
|
3303
|
+
? deserializeAws_restJson1DateFilterList(output.lambdaFunctionLastModifiedAt, context)
|
|
3304
|
+
: undefined,
|
|
3305
|
+
lambdaFunctionLayers: output.lambdaFunctionLayers != null
|
|
3306
|
+
? deserializeAws_restJson1StringFilterList(output.lambdaFunctionLayers, context)
|
|
3307
|
+
: undefined,
|
|
3308
|
+
lambdaFunctionName: output.lambdaFunctionName != null
|
|
3309
|
+
? deserializeAws_restJson1StringFilterList(output.lambdaFunctionName, context)
|
|
3310
|
+
: undefined,
|
|
3311
|
+
lambdaFunctionRuntime: output.lambdaFunctionRuntime != null
|
|
3312
|
+
? deserializeAws_restJson1StringFilterList(output.lambdaFunctionRuntime, context)
|
|
3313
|
+
: undefined,
|
|
3175
3314
|
lastObservedAt: output.lastObservedAt != null
|
|
3176
3315
|
? deserializeAws_restJson1DateFilterList(output.lastObservedAt, context)
|
|
3177
3316
|
: undefined,
|
|
@@ -3217,6 +3356,10 @@ const deserializeAws_restJson1Finding = (output, context) => {
|
|
|
3217
3356
|
return {
|
|
3218
3357
|
awsAccountId: (0, smithy_client_1.expectString)(output.awsAccountId),
|
|
3219
3358
|
description: (0, smithy_client_1.expectString)(output.description),
|
|
3359
|
+
exploitAvailable: (0, smithy_client_1.expectString)(output.exploitAvailable),
|
|
3360
|
+
exploitabilityDetails: output.exploitabilityDetails != null
|
|
3361
|
+
? deserializeAws_restJson1ExploitabilityDetails(output.exploitabilityDetails, context)
|
|
3362
|
+
: undefined,
|
|
3220
3363
|
findingArn: (0, smithy_client_1.expectString)(output.findingArn),
|
|
3221
3364
|
firstObservedAt: output.firstObservedAt != null
|
|
3222
3365
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.firstObservedAt)))
|
|
@@ -3368,6 +3511,71 @@ const deserializeAws_restJson1IpV6AddressList = (output, context) => {
|
|
|
3368
3511
|
});
|
|
3369
3512
|
return retVal;
|
|
3370
3513
|
};
|
|
3514
|
+
const deserializeAws_restJson1LambdaFunctionAggregationResponse = (output, context) => {
|
|
3515
|
+
return {
|
|
3516
|
+
accountId: (0, smithy_client_1.expectString)(output.accountId),
|
|
3517
|
+
functionName: (0, smithy_client_1.expectString)(output.functionName),
|
|
3518
|
+
lambdaTags: output.lambdaTags != null ? deserializeAws_restJson1TagMap(output.lambdaTags, context) : undefined,
|
|
3519
|
+
lastModifiedAt: output.lastModifiedAt != null
|
|
3520
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModifiedAt)))
|
|
3521
|
+
: undefined,
|
|
3522
|
+
resourceId: (0, smithy_client_1.expectString)(output.resourceId),
|
|
3523
|
+
runtime: (0, smithy_client_1.expectString)(output.runtime),
|
|
3524
|
+
severityCounts: output.severityCounts != null
|
|
3525
|
+
? deserializeAws_restJson1SeverityCounts(output.severityCounts, context)
|
|
3526
|
+
: undefined,
|
|
3527
|
+
};
|
|
3528
|
+
};
|
|
3529
|
+
const deserializeAws_restJson1LambdaFunctionMetadata = (output, context) => {
|
|
3530
|
+
return {
|
|
3531
|
+
functionName: (0, smithy_client_1.expectString)(output.functionName),
|
|
3532
|
+
functionTags: output.functionTags != null ? deserializeAws_restJson1TagMap(output.functionTags, context) : undefined,
|
|
3533
|
+
layers: output.layers != null ? deserializeAws_restJson1LambdaLayerList(output.layers, context) : undefined,
|
|
3534
|
+
runtime: (0, smithy_client_1.expectString)(output.runtime),
|
|
3535
|
+
};
|
|
3536
|
+
};
|
|
3537
|
+
const deserializeAws_restJson1LambdaLayerAggregationResponse = (output, context) => {
|
|
3538
|
+
return {
|
|
3539
|
+
accountId: (0, smithy_client_1.expectString)(output.accountId),
|
|
3540
|
+
functionName: (0, smithy_client_1.expectString)(output.functionName),
|
|
3541
|
+
layerArn: (0, smithy_client_1.expectString)(output.layerArn),
|
|
3542
|
+
resourceId: (0, smithy_client_1.expectString)(output.resourceId),
|
|
3543
|
+
severityCounts: output.severityCounts != null
|
|
3544
|
+
? deserializeAws_restJson1SeverityCounts(output.severityCounts, context)
|
|
3545
|
+
: undefined,
|
|
3546
|
+
};
|
|
3547
|
+
};
|
|
3548
|
+
const deserializeAws_restJson1LambdaLayerList = (output, context) => {
|
|
3549
|
+
const retVal = (output || [])
|
|
3550
|
+
.filter((e) => e != null)
|
|
3551
|
+
.map((entry) => {
|
|
3552
|
+
if (entry === null) {
|
|
3553
|
+
return null;
|
|
3554
|
+
}
|
|
3555
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3556
|
+
});
|
|
3557
|
+
return retVal;
|
|
3558
|
+
};
|
|
3559
|
+
const deserializeAws_restJson1LambdaVpcConfig = (output, context) => {
|
|
3560
|
+
return {
|
|
3561
|
+
securityGroupIds: output.securityGroupIds != null
|
|
3562
|
+
? deserializeAws_restJson1SecurityGroupIdList(output.securityGroupIds, context)
|
|
3563
|
+
: undefined,
|
|
3564
|
+
subnetIds: output.subnetIds != null ? deserializeAws_restJson1SubnetIdList(output.subnetIds, context) : undefined,
|
|
3565
|
+
vpcId: (0, smithy_client_1.expectString)(output.vpcId),
|
|
3566
|
+
};
|
|
3567
|
+
};
|
|
3568
|
+
const deserializeAws_restJson1LayerList = (output, context) => {
|
|
3569
|
+
const retVal = (output || [])
|
|
3570
|
+
.filter((e) => e != null)
|
|
3571
|
+
.map((entry) => {
|
|
3572
|
+
if (entry === null) {
|
|
3573
|
+
return null;
|
|
3574
|
+
}
|
|
3575
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3576
|
+
});
|
|
3577
|
+
return retVal;
|
|
3578
|
+
};
|
|
3371
3579
|
const deserializeAws_restJson1MapFilter = (output, context) => {
|
|
3372
3580
|
return {
|
|
3373
3581
|
comparison: (0, smithy_client_1.expectString)(output.comparison),
|
|
@@ -3460,6 +3668,9 @@ const deserializeAws_restJson1PackageFilter = (output, context) => {
|
|
|
3460
3668
|
epoch: output.epoch != null ? deserializeAws_restJson1NumberFilter(output.epoch, context) : undefined,
|
|
3461
3669
|
name: output.name != null ? deserializeAws_restJson1StringFilter(output.name, context) : undefined,
|
|
3462
3670
|
release: output.release != null ? deserializeAws_restJson1StringFilter(output.release, context) : undefined,
|
|
3671
|
+
sourceLambdaLayerArn: output.sourceLambdaLayerArn != null
|
|
3672
|
+
? deserializeAws_restJson1StringFilter(output.sourceLambdaLayerArn, context)
|
|
3673
|
+
: undefined,
|
|
3463
3674
|
sourceLayerHash: output.sourceLayerHash != null
|
|
3464
3675
|
? deserializeAws_restJson1StringFilter(output.sourceLayerHash, context)
|
|
3465
3676
|
: undefined,
|
|
@@ -3582,6 +3793,9 @@ const deserializeAws_restJson1ResourceDetails = (output, context) => {
|
|
|
3582
3793
|
awsEcrContainerImage: output.awsEcrContainerImage != null
|
|
3583
3794
|
? deserializeAws_restJson1AwsEcrContainerImageDetails(output.awsEcrContainerImage, context)
|
|
3584
3795
|
: undefined,
|
|
3796
|
+
awsLambdaFunction: output.awsLambdaFunction != null
|
|
3797
|
+
? deserializeAws_restJson1AwsLambdaFunctionDetails(output.awsLambdaFunction, context)
|
|
3798
|
+
: undefined,
|
|
3585
3799
|
};
|
|
3586
3800
|
};
|
|
3587
3801
|
const deserializeAws_restJson1ResourceList = (output, context) => {
|
|
@@ -3602,18 +3816,23 @@ const deserializeAws_restJson1ResourceScanMetadata = (output, context) => {
|
|
|
3602
3816
|
ecrRepository: output.ecrRepository != null
|
|
3603
3817
|
? deserializeAws_restJson1EcrRepositoryMetadata(output.ecrRepository, context)
|
|
3604
3818
|
: undefined,
|
|
3819
|
+
lambdaFunction: output.lambdaFunction != null
|
|
3820
|
+
? deserializeAws_restJson1LambdaFunctionMetadata(output.lambdaFunction, context)
|
|
3821
|
+
: undefined,
|
|
3605
3822
|
};
|
|
3606
3823
|
};
|
|
3607
3824
|
const deserializeAws_restJson1ResourceState = (output, context) => {
|
|
3608
3825
|
return {
|
|
3609
3826
|
ec2: output.ec2 != null ? deserializeAws_restJson1State(output.ec2, context) : undefined,
|
|
3610
3827
|
ecr: output.ecr != null ? deserializeAws_restJson1State(output.ecr, context) : undefined,
|
|
3828
|
+
lambda: output.lambda != null ? deserializeAws_restJson1State(output.lambda, context) : undefined,
|
|
3611
3829
|
};
|
|
3612
3830
|
};
|
|
3613
3831
|
const deserializeAws_restJson1ResourceStatus = (output, context) => {
|
|
3614
3832
|
return {
|
|
3615
3833
|
ec2: (0, smithy_client_1.expectString)(output.ec2),
|
|
3616
3834
|
ecr: (0, smithy_client_1.expectString)(output.ecr),
|
|
3835
|
+
lambda: (0, smithy_client_1.expectString)(output.lambda),
|
|
3617
3836
|
};
|
|
3618
3837
|
};
|
|
3619
3838
|
const deserializeAws_restJson1ScanStatus = (output, context) => {
|
|
@@ -3622,6 +3841,17 @@ const deserializeAws_restJson1ScanStatus = (output, context) => {
|
|
|
3622
3841
|
statusCode: (0, smithy_client_1.expectString)(output.statusCode),
|
|
3623
3842
|
};
|
|
3624
3843
|
};
|
|
3844
|
+
const deserializeAws_restJson1SecurityGroupIdList = (output, context) => {
|
|
3845
|
+
const retVal = (output || [])
|
|
3846
|
+
.filter((e) => e != null)
|
|
3847
|
+
.map((entry) => {
|
|
3848
|
+
if (entry === null) {
|
|
3849
|
+
return null;
|
|
3850
|
+
}
|
|
3851
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3852
|
+
});
|
|
3853
|
+
return retVal;
|
|
3854
|
+
};
|
|
3625
3855
|
const deserializeAws_restJson1SeverityCounts = (output, context) => {
|
|
3626
3856
|
return {
|
|
3627
3857
|
all: (0, smithy_client_1.expectLong)(output.all),
|
|
@@ -3682,6 +3912,17 @@ const deserializeAws_restJson1StringList = (output, context) => {
|
|
|
3682
3912
|
});
|
|
3683
3913
|
return retVal;
|
|
3684
3914
|
};
|
|
3915
|
+
const deserializeAws_restJson1SubnetIdList = (output, context) => {
|
|
3916
|
+
const retVal = (output || [])
|
|
3917
|
+
.filter((e) => e != null)
|
|
3918
|
+
.map((entry) => {
|
|
3919
|
+
if (entry === null) {
|
|
3920
|
+
return null;
|
|
3921
|
+
}
|
|
3922
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3923
|
+
});
|
|
3924
|
+
return retVal;
|
|
3925
|
+
};
|
|
3685
3926
|
const deserializeAws_restJson1TagList = (output, context) => {
|
|
3686
3927
|
const retVal = (output || [])
|
|
3687
3928
|
.filter((e) => e != null)
|
|
@@ -3786,6 +4027,7 @@ const deserializeAws_restJson1VulnerablePackage = (output, context) => {
|
|
|
3786
4027
|
packageManager: (0, smithy_client_1.expectString)(output.packageManager),
|
|
3787
4028
|
release: (0, smithy_client_1.expectString)(output.release),
|
|
3788
4029
|
remediation: (0, smithy_client_1.expectString)(output.remediation),
|
|
4030
|
+
sourceLambdaLayerArn: (0, smithy_client_1.expectString)(output.sourceLambdaLayerArn),
|
|
3789
4031
|
sourceLayerHash: (0, smithy_client_1.expectString)(output.sourceLayerHash),
|
|
3790
4032
|
version: (0, smithy_client_1.expectString)(output.version),
|
|
3791
4033
|
};
|
|
@@ -29,6 +29,7 @@ export var AggregationResourceType;
|
|
|
29
29
|
(function (AggregationResourceType) {
|
|
30
30
|
AggregationResourceType["AWS_EC2_INSTANCE"] = "AWS_EC2_INSTANCE";
|
|
31
31
|
AggregationResourceType["AWS_ECR_CONTAINER_IMAGE"] = "AWS_ECR_CONTAINER_IMAGE";
|
|
32
|
+
AggregationResourceType["AWS_LAMBDA_FUNCTION"] = "AWS_LAMBDA_FUNCTION";
|
|
32
33
|
})(AggregationResourceType || (AggregationResourceType = {}));
|
|
33
34
|
export var AccountSortBy;
|
|
34
35
|
(function (AccountSortBy) {
|
|
@@ -100,6 +101,18 @@ export var ImageLayerSortBy;
|
|
|
100
101
|
ImageLayerSortBy["CRITICAL"] = "CRITICAL";
|
|
101
102
|
ImageLayerSortBy["HIGH"] = "HIGH";
|
|
102
103
|
})(ImageLayerSortBy || (ImageLayerSortBy = {}));
|
|
104
|
+
export var LambdaFunctionSortBy;
|
|
105
|
+
(function (LambdaFunctionSortBy) {
|
|
106
|
+
LambdaFunctionSortBy["ALL"] = "ALL";
|
|
107
|
+
LambdaFunctionSortBy["CRITICAL"] = "CRITICAL";
|
|
108
|
+
LambdaFunctionSortBy["HIGH"] = "HIGH";
|
|
109
|
+
})(LambdaFunctionSortBy || (LambdaFunctionSortBy = {}));
|
|
110
|
+
export var LambdaLayerSortBy;
|
|
111
|
+
(function (LambdaLayerSortBy) {
|
|
112
|
+
LambdaLayerSortBy["ALL"] = "ALL";
|
|
113
|
+
LambdaLayerSortBy["CRITICAL"] = "CRITICAL";
|
|
114
|
+
LambdaLayerSortBy["HIGH"] = "HIGH";
|
|
115
|
+
})(LambdaLayerSortBy || (LambdaLayerSortBy = {}));
|
|
103
116
|
export var PackageSortBy;
|
|
104
117
|
(function (PackageSortBy) {
|
|
105
118
|
PackageSortBy["ALL"] = "ALL";
|
|
@@ -140,6 +153,10 @@ export var AggregationRequest;
|
|
|
140
153
|
return visitor.repositoryAggregation(value.repositoryAggregation);
|
|
141
154
|
if (value.titleAggregation !== undefined)
|
|
142
155
|
return visitor.titleAggregation(value.titleAggregation);
|
|
156
|
+
if (value.lambdaLayerAggregation !== undefined)
|
|
157
|
+
return visitor.lambdaLayerAggregation(value.lambdaLayerAggregation);
|
|
158
|
+
if (value.lambdaFunctionAggregation !== undefined)
|
|
159
|
+
return visitor.lambdaFunctionAggregation(value.lambdaFunctionAggregation);
|
|
143
160
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
144
161
|
};
|
|
145
162
|
})(AggregationRequest || (AggregationRequest = {}));
|
|
@@ -164,6 +181,10 @@ export var AggregationResponse;
|
|
|
164
181
|
return visitor.repositoryAggregation(value.repositoryAggregation);
|
|
165
182
|
if (value.titleAggregation !== undefined)
|
|
166
183
|
return visitor.titleAggregation(value.titleAggregation);
|
|
184
|
+
if (value.lambdaLayerAggregation !== undefined)
|
|
185
|
+
return visitor.lambdaLayerAggregation(value.lambdaLayerAggregation);
|
|
186
|
+
if (value.lambdaFunctionAggregation !== undefined)
|
|
187
|
+
return visitor.lambdaFunctionAggregation(value.lambdaFunctionAggregation);
|
|
167
188
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
168
189
|
};
|
|
169
190
|
})(AggregationResponse || (AggregationResponse = {}));
|
|
@@ -173,12 +194,19 @@ export var AggregationType;
|
|
|
173
194
|
AggregationType["AMI"] = "AMI";
|
|
174
195
|
AggregationType["AWS_EC2_INSTANCE"] = "AWS_EC2_INSTANCE";
|
|
175
196
|
AggregationType["AWS_ECR_CONTAINER"] = "AWS_ECR_CONTAINER";
|
|
197
|
+
AggregationType["AWS_LAMBDA_FUNCTION"] = "AWS_LAMBDA_FUNCTION";
|
|
176
198
|
AggregationType["FINDING_TYPE"] = "FINDING_TYPE";
|
|
177
199
|
AggregationType["IMAGE_LAYER"] = "IMAGE_LAYER";
|
|
200
|
+
AggregationType["LAMBDA_LAYER"] = "LAMBDA_LAYER";
|
|
178
201
|
AggregationType["PACKAGE"] = "PACKAGE";
|
|
179
202
|
AggregationType["REPOSITORY"] = "REPOSITORY";
|
|
180
203
|
AggregationType["TITLE"] = "TITLE";
|
|
181
204
|
})(AggregationType || (AggregationType = {}));
|
|
205
|
+
export var Architecture;
|
|
206
|
+
(function (Architecture) {
|
|
207
|
+
Architecture["ARM64"] = "ARM64";
|
|
208
|
+
Architecture["X86_64"] = "X86_64";
|
|
209
|
+
})(Architecture || (Architecture = {}));
|
|
182
210
|
export class InternalServerException extends __BaseException {
|
|
183
211
|
constructor(opts) {
|
|
184
212
|
super({
|
|
@@ -202,7 +230,11 @@ export class ThrottlingException extends __BaseException {
|
|
|
202
230
|
});
|
|
203
231
|
this.name = "ThrottlingException";
|
|
204
232
|
this.$fault = "client";
|
|
233
|
+
this.$retryable = {
|
|
234
|
+
throttling: true,
|
|
235
|
+
};
|
|
205
236
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
237
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
206
238
|
}
|
|
207
239
|
}
|
|
208
240
|
export var ValidationExceptionReason;
|
|
@@ -225,6 +257,25 @@ export class ValidationException extends __BaseException {
|
|
|
225
257
|
this.fields = opts.fields;
|
|
226
258
|
}
|
|
227
259
|
}
|
|
260
|
+
export var PackageType;
|
|
261
|
+
(function (PackageType) {
|
|
262
|
+
PackageType["IMAGE"] = "IMAGE";
|
|
263
|
+
PackageType["ZIP"] = "ZIP";
|
|
264
|
+
})(PackageType || (PackageType = {}));
|
|
265
|
+
export var Runtime;
|
|
266
|
+
(function (Runtime) {
|
|
267
|
+
Runtime["JAVA_11"] = "JAVA_11";
|
|
268
|
+
Runtime["JAVA_8"] = "JAVA_8";
|
|
269
|
+
Runtime["JAVA_8_AL2"] = "JAVA_8_AL2";
|
|
270
|
+
Runtime["NODEJS"] = "NODEJS";
|
|
271
|
+
Runtime["NODEJS_12_X"] = "NODEJS_12_X";
|
|
272
|
+
Runtime["NODEJS_14_X"] = "NODEJS_14_X";
|
|
273
|
+
Runtime["NODEJS_16_X"] = "NODEJS_16_X";
|
|
274
|
+
Runtime["PYTHON_3_7"] = "PYTHON_3_7";
|
|
275
|
+
Runtime["PYTHON_3_8"] = "PYTHON_3_8";
|
|
276
|
+
Runtime["PYTHON_3_9"] = "PYTHON_3_9";
|
|
277
|
+
Runtime["UNSUPPORTED"] = "UNSUPPORTED";
|
|
278
|
+
})(Runtime || (Runtime = {}));
|
|
228
279
|
export class BadRequestException extends __BaseException {
|
|
229
280
|
constructor(opts) {
|
|
230
281
|
super({
|
|
@@ -258,6 +309,7 @@ export var FreeTrialType;
|
|
|
258
309
|
(function (FreeTrialType) {
|
|
259
310
|
FreeTrialType["EC2"] = "EC2";
|
|
260
311
|
FreeTrialType["ECR"] = "ECR";
|
|
312
|
+
FreeTrialType["LAMBDA"] = "LAMBDA";
|
|
261
313
|
})(FreeTrialType || (FreeTrialType = {}));
|
|
262
314
|
export var FreeTrialInfoErrorCode;
|
|
263
315
|
(function (FreeTrialInfoErrorCode) {
|
|
@@ -300,6 +352,7 @@ export var CoverageResourceType;
|
|
|
300
352
|
CoverageResourceType["AWS_EC2_INSTANCE"] = "AWS_EC2_INSTANCE";
|
|
301
353
|
CoverageResourceType["AWS_ECR_CONTAINER_IMAGE"] = "AWS_ECR_CONTAINER_IMAGE";
|
|
302
354
|
CoverageResourceType["AWS_ECR_REPOSITORY"] = "AWS_ECR_REPOSITORY";
|
|
355
|
+
CoverageResourceType["AWS_LAMBDA_FUNCTION"] = "AWS_LAMBDA_FUNCTION";
|
|
303
356
|
})(CoverageResourceType || (CoverageResourceType = {}));
|
|
304
357
|
export var Ec2Platform;
|
|
305
358
|
(function (Ec2Platform) {
|
|
@@ -317,6 +370,7 @@ export var ScanStatusReason;
|
|
|
317
370
|
(function (ScanStatusReason) {
|
|
318
371
|
ScanStatusReason["ACCESS_DENIED"] = "ACCESS_DENIED";
|
|
319
372
|
ScanStatusReason["EC2_INSTANCE_STOPPED"] = "EC2_INSTANCE_STOPPED";
|
|
373
|
+
ScanStatusReason["EXCLUDED_BY_TAG"] = "EXCLUDED_BY_TAG";
|
|
320
374
|
ScanStatusReason["IMAGE_SIZE_EXCEEDED"] = "IMAGE_SIZE_EXCEEDED";
|
|
321
375
|
ScanStatusReason["INTERNAL_ERROR"] = "INTERNAL_ERROR";
|
|
322
376
|
ScanStatusReason["NO_INVENTORY"] = "NO_INVENTORY";
|
|
@@ -331,6 +385,7 @@ export var ScanStatusReason;
|
|
|
331
385
|
ScanStatusReason["SUCCESSFUL"] = "SUCCESSFUL";
|
|
332
386
|
ScanStatusReason["UNMANAGED_EC2_INSTANCE"] = "UNMANAGED_EC2_INSTANCE";
|
|
333
387
|
ScanStatusReason["UNSUPPORTED_OS"] = "UNSUPPORTED_OS";
|
|
388
|
+
ScanStatusReason["UNSUPPORTED_RUNTIME"] = "UNSUPPORTED_RUNTIME";
|
|
334
389
|
})(ScanStatusReason || (ScanStatusReason = {}));
|
|
335
390
|
export var ScanStatusCode;
|
|
336
391
|
(function (ScanStatusCode) {
|
|
@@ -393,6 +448,7 @@ export var ResourceScanType;
|
|
|
393
448
|
(function (ResourceScanType) {
|
|
394
449
|
ResourceScanType["EC2"] = "EC2";
|
|
395
450
|
ResourceScanType["ECR"] = "ECR";
|
|
451
|
+
ResourceScanType["LAMBDA"] = "LAMBDA";
|
|
396
452
|
})(ResourceScanType || (ResourceScanType = {}));
|
|
397
453
|
export var EcrRescanDuration;
|
|
398
454
|
(function (EcrRescanDuration) {
|
|
@@ -406,6 +462,11 @@ export var EcrRescanDurationStatus;
|
|
|
406
462
|
EcrRescanDurationStatus["PENDING"] = "PENDING";
|
|
407
463
|
EcrRescanDurationStatus["SUCCESS"] = "SUCCESS";
|
|
408
464
|
})(EcrRescanDurationStatus || (EcrRescanDurationStatus = {}));
|
|
465
|
+
export var ExploitAvailable;
|
|
466
|
+
(function (ExploitAvailable) {
|
|
467
|
+
ExploitAvailable["NO"] = "NO";
|
|
468
|
+
ExploitAvailable["YES"] = "YES";
|
|
469
|
+
})(ExploitAvailable || (ExploitAvailable = {}));
|
|
409
470
|
export var ExternalReportStatus;
|
|
410
471
|
(function (ExternalReportStatus) {
|
|
411
472
|
ExternalReportStatus["CANCELLED"] = "CANCELLED";
|
|
@@ -448,6 +509,7 @@ export var ResourceType;
|
|
|
448
509
|
ResourceType["AWS_EC2_INSTANCE"] = "AWS_EC2_INSTANCE";
|
|
449
510
|
ResourceType["AWS_ECR_CONTAINER_IMAGE"] = "AWS_ECR_CONTAINER_IMAGE";
|
|
450
511
|
ResourceType["AWS_ECR_REPOSITORY"] = "AWS_ECR_REPOSITORY";
|
|
512
|
+
ResourceType["AWS_LAMBDA_FUNCTION"] = "AWS_LAMBDA_FUNCTION";
|
|
451
513
|
})(ResourceType || (ResourceType = {}));
|
|
452
514
|
export var Severity;
|
|
453
515
|
(function (Severity) {
|
|
@@ -482,6 +544,7 @@ export var Service;
|
|
|
482
544
|
(function (Service) {
|
|
483
545
|
Service["EC2"] = "EC2";
|
|
484
546
|
Service["ECR"] = "ECR";
|
|
547
|
+
Service["LAMBDA"] = "LAMBDA";
|
|
485
548
|
})(Service || (Service = {}));
|
|
486
549
|
export var Operation;
|
|
487
550
|
(function (Operation) {
|
|
@@ -514,6 +577,7 @@ export var UsageType;
|
|
|
514
577
|
UsageType["EC2_INSTANCE_HOURS"] = "EC2_INSTANCE_HOURS";
|
|
515
578
|
UsageType["ECR_INITIAL_SCAN"] = "ECR_INITIAL_SCAN";
|
|
516
579
|
UsageType["ECR_RESCAN"] = "ECR_RESCAN";
|
|
580
|
+
UsageType["LAMBDA_FUNCTION_HOURS"] = "LAMBDA_FUNCTION_HOURS";
|
|
517
581
|
})(UsageType || (UsageType = {}));
|
|
518
582
|
export const ResourceStatusFilterSensitiveLog = (obj) => ({
|
|
519
583
|
...obj,
|
|
@@ -560,6 +624,12 @@ export const FindingTypeAggregationFilterSensitiveLog = (obj) => ({
|
|
|
560
624
|
export const ImageLayerAggregationFilterSensitiveLog = (obj) => ({
|
|
561
625
|
...obj,
|
|
562
626
|
});
|
|
627
|
+
export const LambdaFunctionAggregationFilterSensitiveLog = (obj) => ({
|
|
628
|
+
...obj,
|
|
629
|
+
});
|
|
630
|
+
export const LambdaLayerAggregationFilterSensitiveLog = (obj) => ({
|
|
631
|
+
...obj,
|
|
632
|
+
});
|
|
563
633
|
export const PackageAggregationFilterSensitiveLog = (obj) => ({
|
|
564
634
|
...obj,
|
|
565
635
|
});
|
|
@@ -588,6 +658,10 @@ export const AggregationRequestFilterSensitiveLog = (obj) => {
|
|
|
588
658
|
return { repositoryAggregation: RepositoryAggregationFilterSensitiveLog(obj.repositoryAggregation) };
|
|
589
659
|
if (obj.titleAggregation !== undefined)
|
|
590
660
|
return { titleAggregation: TitleAggregationFilterSensitiveLog(obj.titleAggregation) };
|
|
661
|
+
if (obj.lambdaLayerAggregation !== undefined)
|
|
662
|
+
return { lambdaLayerAggregation: LambdaLayerAggregationFilterSensitiveLog(obj.lambdaLayerAggregation) };
|
|
663
|
+
if (obj.lambdaFunctionAggregation !== undefined)
|
|
664
|
+
return { lambdaFunctionAggregation: LambdaFunctionAggregationFilterSensitiveLog(obj.lambdaFunctionAggregation) };
|
|
591
665
|
if (obj.$unknown !== undefined)
|
|
592
666
|
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
593
667
|
};
|
|
@@ -606,6 +680,12 @@ export const FindingTypeAggregationResponseFilterSensitiveLog = (obj) => ({
|
|
|
606
680
|
export const ImageLayerAggregationResponseFilterSensitiveLog = (obj) => ({
|
|
607
681
|
...obj,
|
|
608
682
|
});
|
|
683
|
+
export const LambdaFunctionAggregationResponseFilterSensitiveLog = (obj) => ({
|
|
684
|
+
...obj,
|
|
685
|
+
});
|
|
686
|
+
export const LambdaLayerAggregationResponseFilterSensitiveLog = (obj) => ({
|
|
687
|
+
...obj,
|
|
688
|
+
});
|
|
609
689
|
export const PackageAggregationResponseFilterSensitiveLog = (obj) => ({
|
|
610
690
|
...obj,
|
|
611
691
|
});
|
|
@@ -636,6 +716,12 @@ export const AggregationResponseFilterSensitiveLog = (obj) => {
|
|
|
636
716
|
return { repositoryAggregation: RepositoryAggregationResponseFilterSensitiveLog(obj.repositoryAggregation) };
|
|
637
717
|
if (obj.titleAggregation !== undefined)
|
|
638
718
|
return { titleAggregation: TitleAggregationResponseFilterSensitiveLog(obj.titleAggregation) };
|
|
719
|
+
if (obj.lambdaLayerAggregation !== undefined)
|
|
720
|
+
return { lambdaLayerAggregation: LambdaLayerAggregationResponseFilterSensitiveLog(obj.lambdaLayerAggregation) };
|
|
721
|
+
if (obj.lambdaFunctionAggregation !== undefined)
|
|
722
|
+
return {
|
|
723
|
+
lambdaFunctionAggregation: LambdaFunctionAggregationResponseFilterSensitiveLog(obj.lambdaFunctionAggregation),
|
|
724
|
+
};
|
|
639
725
|
if (obj.$unknown !== undefined)
|
|
640
726
|
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
641
727
|
};
|
|
@@ -657,6 +743,12 @@ export const AwsEc2InstanceDetailsFilterSensitiveLog = (obj) => ({
|
|
|
657
743
|
export const AwsEcrContainerImageDetailsFilterSensitiveLog = (obj) => ({
|
|
658
744
|
...obj,
|
|
659
745
|
});
|
|
746
|
+
export const LambdaVpcConfigFilterSensitiveLog = (obj) => ({
|
|
747
|
+
...obj,
|
|
748
|
+
});
|
|
749
|
+
export const AwsLambdaFunctionDetailsFilterSensitiveLog = (obj) => ({
|
|
750
|
+
...obj,
|
|
751
|
+
});
|
|
660
752
|
export const BatchGetAccountStatusRequestFilterSensitiveLog = (obj) => ({
|
|
661
753
|
...obj,
|
|
662
754
|
});
|
|
@@ -708,6 +800,9 @@ export const EcrContainerImageMetadataFilterSensitiveLog = (obj) => ({
|
|
|
708
800
|
export const EcrRepositoryMetadataFilterSensitiveLog = (obj) => ({
|
|
709
801
|
...obj,
|
|
710
802
|
});
|
|
803
|
+
export const LambdaFunctionMetadataFilterSensitiveLog = (obj) => ({
|
|
804
|
+
...obj,
|
|
805
|
+
});
|
|
711
806
|
export const ResourceScanMetadataFilterSensitiveLog = (obj) => ({
|
|
712
807
|
...obj,
|
|
713
808
|
});
|
|
@@ -813,6 +908,9 @@ export const EnableDelegatedAdminAccountRequestFilterSensitiveLog = (obj) => ({
|
|
|
813
908
|
export const EnableDelegatedAdminAccountResponseFilterSensitiveLog = (obj) => ({
|
|
814
909
|
...obj,
|
|
815
910
|
});
|
|
911
|
+
export const ExploitabilityDetailsFilterSensitiveLog = (obj) => ({
|
|
912
|
+
...obj,
|
|
913
|
+
});
|
|
816
914
|
export const FilterFilterSensitiveLog = (obj) => ({
|
|
817
915
|
...obj,
|
|
818
916
|
});
|