@aws-sdk/client-inspector2 3.353.0 → 3.357.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/README.md +56 -0
  2. package/dist-cjs/Inspector2.js +14 -0
  3. package/dist-cjs/commands/BatchGetCodeSnippetCommand.js +46 -0
  4. package/dist-cjs/commands/CancelSbomExportCommand.js +46 -0
  5. package/dist-cjs/commands/CreateSbomExportCommand.js +46 -0
  6. package/dist-cjs/commands/GetEncryptionKeyCommand.js +46 -0
  7. package/dist-cjs/commands/GetSbomExportCommand.js +46 -0
  8. package/dist-cjs/commands/ResetEncryptionKeyCommand.js +46 -0
  9. package/dist-cjs/commands/UpdateEncryptionKeyCommand.js +46 -0
  10. package/dist-cjs/commands/index.js +7 -0
  11. package/dist-cjs/models/models_0.js +28 -2
  12. package/dist-cjs/protocols/Aws_restJson1.js +492 -13
  13. package/dist-es/Inspector2.js +14 -0
  14. package/dist-es/commands/BatchGetCodeSnippetCommand.js +42 -0
  15. package/dist-es/commands/CancelSbomExportCommand.js +42 -0
  16. package/dist-es/commands/CreateSbomExportCommand.js +42 -0
  17. package/dist-es/commands/GetEncryptionKeyCommand.js +42 -0
  18. package/dist-es/commands/GetSbomExportCommand.js +42 -0
  19. package/dist-es/commands/ResetEncryptionKeyCommand.js +42 -0
  20. package/dist-es/commands/UpdateEncryptionKeyCommand.js +42 -0
  21. package/dist-es/commands/index.js +7 -0
  22. package/dist-es/models/models_0.js +26 -0
  23. package/dist-es/protocols/Aws_restJson1.js +472 -7
  24. package/dist-types/Inspector2.d.ts +49 -0
  25. package/dist-types/Inspector2Client.d.ts +10 -3
  26. package/dist-types/commands/BatchGetAccountStatusCommand.d.ts +6 -0
  27. package/dist-types/commands/BatchGetCodeSnippetCommand.d.ts +113 -0
  28. package/dist-types/commands/CancelSbomExportCommand.d.ts +89 -0
  29. package/dist-types/commands/CreateFilterCommand.d.ts +9 -0
  30. package/dist-types/commands/CreateFindingsReportCommand.d.ts +9 -0
  31. package/dist-types/commands/CreateSbomExportCommand.d.ts +141 -0
  32. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +1 -0
  33. package/dist-types/commands/DisableCommand.d.ts +2 -0
  34. package/dist-types/commands/EnableCommand.d.ts +2 -0
  35. package/dist-types/commands/GetEncryptionKeyCommand.d.ts +90 -0
  36. package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +9 -0
  37. package/dist-types/commands/GetSbomExportCommand.d.ts +145 -0
  38. package/dist-types/commands/ListFiltersCommand.d.ts +9 -0
  39. package/dist-types/commands/ListFindingAggregationsCommand.d.ts +1 -0
  40. package/dist-types/commands/ListFindingsCommand.d.ts +33 -0
  41. package/dist-types/commands/ResetEncryptionKeyCommand.d.ts +88 -0
  42. package/dist-types/commands/UpdateEncryptionKeyCommand.d.ts +89 -0
  43. package/dist-types/commands/UpdateFilterCommand.d.ts +9 -0
  44. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +2 -0
  45. package/dist-types/commands/index.d.ts +7 -0
  46. package/dist-types/models/models_0.d.ts +485 -1
  47. package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
  48. package/dist-types/ts3.4/Inspector2.d.ts +119 -0
  49. package/dist-types/ts3.4/Inspector2Client.d.ts +42 -0
  50. package/dist-types/ts3.4/commands/BatchGetCodeSnippetCommand.d.ts +39 -0
  51. package/dist-types/ts3.4/commands/CancelSbomExportCommand.d.ts +38 -0
  52. package/dist-types/ts3.4/commands/CreateSbomExportCommand.d.ts +38 -0
  53. package/dist-types/ts3.4/commands/GetEncryptionKeyCommand.d.ts +38 -0
  54. package/dist-types/ts3.4/commands/GetSbomExportCommand.d.ts +38 -0
  55. package/dist-types/ts3.4/commands/ResetEncryptionKeyCommand.d.ts +39 -0
  56. package/dist-types/ts3.4/commands/UpdateEncryptionKeyCommand.d.ts +39 -0
  57. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  58. package/dist-types/ts3.4/models/models_0.d.ts +153 -0
  59. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
  60. package/package.json +28 -28
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ Inspector2ClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../Inspector2Client";
14
+ import {
15
+ GetEncryptionKeyRequest,
16
+ GetEncryptionKeyResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface GetEncryptionKeyCommandInput extends GetEncryptionKeyRequest {}
20
+ export interface GetEncryptionKeyCommandOutput
21
+ extends GetEncryptionKeyResponse,
22
+ __MetadataBearer {}
23
+ export declare class GetEncryptionKeyCommand extends $Command<
24
+ GetEncryptionKeyCommandInput,
25
+ GetEncryptionKeyCommandOutput,
26
+ Inspector2ClientResolvedConfig
27
+ > {
28
+ readonly input: GetEncryptionKeyCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: GetEncryptionKeyCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: Inspector2ClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<GetEncryptionKeyCommandInput, GetEncryptionKeyCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ Inspector2ClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../Inspector2Client";
14
+ import {
15
+ GetSbomExportRequest,
16
+ GetSbomExportResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface GetSbomExportCommandInput extends GetSbomExportRequest {}
20
+ export interface GetSbomExportCommandOutput
21
+ extends GetSbomExportResponse,
22
+ __MetadataBearer {}
23
+ export declare class GetSbomExportCommand extends $Command<
24
+ GetSbomExportCommandInput,
25
+ GetSbomExportCommandOutput,
26
+ Inspector2ClientResolvedConfig
27
+ > {
28
+ readonly input: GetSbomExportCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: GetSbomExportCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: Inspector2ClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<GetSbomExportCommandInput, GetSbomExportCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,39 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ Inspector2ClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../Inspector2Client";
14
+ import {
15
+ ResetEncryptionKeyRequest,
16
+ ResetEncryptionKeyResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface ResetEncryptionKeyCommandInput
20
+ extends ResetEncryptionKeyRequest {}
21
+ export interface ResetEncryptionKeyCommandOutput
22
+ extends ResetEncryptionKeyResponse,
23
+ __MetadataBearer {}
24
+ export declare class ResetEncryptionKeyCommand extends $Command<
25
+ ResetEncryptionKeyCommandInput,
26
+ ResetEncryptionKeyCommandOutput,
27
+ Inspector2ClientResolvedConfig
28
+ > {
29
+ readonly input: ResetEncryptionKeyCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: ResetEncryptionKeyCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: Inspector2ClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<ResetEncryptionKeyCommandInput, ResetEncryptionKeyCommandOutput>;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -0,0 +1,39 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ Inspector2ClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../Inspector2Client";
14
+ import {
15
+ UpdateEncryptionKeyRequest,
16
+ UpdateEncryptionKeyResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface UpdateEncryptionKeyCommandInput
20
+ extends UpdateEncryptionKeyRequest {}
21
+ export interface UpdateEncryptionKeyCommandOutput
22
+ extends UpdateEncryptionKeyResponse,
23
+ __MetadataBearer {}
24
+ export declare class UpdateEncryptionKeyCommand extends $Command<
25
+ UpdateEncryptionKeyCommandInput,
26
+ UpdateEncryptionKeyCommandOutput,
27
+ Inspector2ClientResolvedConfig
28
+ > {
29
+ readonly input: UpdateEncryptionKeyCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: UpdateEncryptionKeyCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: Inspector2ClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<UpdateEncryptionKeyCommandInput, UpdateEncryptionKeyCommandOutput>;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -1,11 +1,14 @@
1
1
  export * from "./AssociateMemberCommand";
2
2
  export * from "./BatchGetAccountStatusCommand";
3
+ export * from "./BatchGetCodeSnippetCommand";
3
4
  export * from "./BatchGetFreeTrialInfoCommand";
4
5
  export * from "./BatchGetMemberEc2DeepInspectionStatusCommand";
5
6
  export * from "./BatchUpdateMemberEc2DeepInspectionStatusCommand";
6
7
  export * from "./CancelFindingsReportCommand";
8
+ export * from "./CancelSbomExportCommand";
7
9
  export * from "./CreateFilterCommand";
8
10
  export * from "./CreateFindingsReportCommand";
11
+ export * from "./CreateSbomExportCommand";
9
12
  export * from "./DeleteFilterCommand";
10
13
  export * from "./DescribeOrganizationConfigurationCommand";
11
14
  export * from "./DisableCommand";
@@ -16,8 +19,10 @@ export * from "./EnableDelegatedAdminAccountCommand";
16
19
  export * from "./GetConfigurationCommand";
17
20
  export * from "./GetDelegatedAdminAccountCommand";
18
21
  export * from "./GetEc2DeepInspectionConfigurationCommand";
22
+ export * from "./GetEncryptionKeyCommand";
19
23
  export * from "./GetFindingsReportStatusCommand";
20
24
  export * from "./GetMemberCommand";
25
+ export * from "./GetSbomExportCommand";
21
26
  export * from "./ListAccountPermissionsCommand";
22
27
  export * from "./ListCoverageCommand";
23
28
  export * from "./ListCoverageStatisticsCommand";
@@ -28,11 +33,13 @@ export * from "./ListFindingsCommand";
28
33
  export * from "./ListMembersCommand";
29
34
  export * from "./ListTagsForResourceCommand";
30
35
  export * from "./ListUsageTotalsCommand";
36
+ export * from "./ResetEncryptionKeyCommand";
31
37
  export * from "./SearchVulnerabilitiesCommand";
32
38
  export * from "./TagResourceCommand";
33
39
  export * from "./UntagResourceCommand";
34
40
  export * from "./UpdateConfigurationCommand";
35
41
  export * from "./UpdateEc2DeepInspectionConfigurationCommand";
42
+ export * from "./UpdateEncryptionKeyCommand";
36
43
  export * from "./UpdateFilterCommand";
37
44
  export * from "./UpdateOrgEc2DeepInspectionConfigurationCommand";
38
45
  export * from "./UpdateOrganizationConfigurationCommand";
@@ -20,6 +20,7 @@ export interface ResourceStatus {
20
20
  ec2: Status | string | undefined;
21
21
  ecr: Status | string | undefined;
22
22
  lambda?: Status | string;
23
+ lambdaCode?: Status | string;
23
24
  }
24
25
  export interface Account {
25
26
  accountId: string | undefined;
@@ -27,6 +28,7 @@ export interface Account {
27
28
  resourceStatus: ResourceStatus | undefined;
28
29
  }
29
30
  export declare const AggregationFindingType: {
31
+ readonly CODE_VULNERABILITY: "CODE_VULNERABILITY";
30
32
  readonly NETWORK_REACHABILITY: "NETWORK_REACHABILITY";
31
33
  readonly PACKAGE_VULNERABILITY: "PACKAGE_VULNERABILITY";
32
34
  };
@@ -92,6 +94,7 @@ export interface ResourceState {
92
94
  ec2: State | undefined;
93
95
  ecr: State | undefined;
94
96
  lambda?: State;
97
+ lambdaCode?: State;
95
98
  }
96
99
  export interface AccountState {
97
100
  accountId: string | undefined;
@@ -254,6 +257,7 @@ export interface TitleAggregation {
254
257
  resourceType?: AggregationResourceType | string;
255
258
  sortOrder?: SortOrder | string;
256
259
  sortBy?: TitleSortBy | string;
260
+ findingType?: AggregationFindingType | string;
257
261
  }
258
262
  export type AggregationRequest =
259
263
  | AggregationRequest.AccountAggregationMember
@@ -797,6 +801,7 @@ export interface AutoEnable {
797
801
  ec2: boolean | undefined;
798
802
  ecr: boolean | undefined;
799
803
  lambda?: boolean;
804
+ lambdaCode?: boolean;
800
805
  }
801
806
  export interface AwsEc2InstanceDetails {
802
807
  type?: string;
@@ -828,6 +833,7 @@ export type PackageType = (typeof PackageType)[keyof typeof PackageType];
828
833
  export declare const Runtime: {
829
834
  readonly GO_1_X: "GO_1_X";
830
835
  readonly JAVA_11: "JAVA_11";
836
+ readonly JAVA_17: "JAVA_17";
831
837
  readonly JAVA_8: "JAVA_8";
832
838
  readonly JAVA_8_AL2: "JAVA_8_AL2";
833
839
  readonly NODEJS: "NODEJS";
@@ -835,6 +841,7 @@ export declare const Runtime: {
835
841
  readonly NODEJS_14_X: "NODEJS_14_X";
836
842
  readonly NODEJS_16_X: "NODEJS_16_X";
837
843
  readonly NODEJS_18_X: "NODEJS_18_X";
844
+ readonly PYTHON_3_10: "PYTHON_3_10";
838
845
  readonly PYTHON_3_7: "PYTHON_3_7";
839
846
  readonly PYTHON_3_8: "PYTHON_3_8";
840
847
  readonly PYTHON_3_9: "PYTHON_3_9";
@@ -886,6 +893,41 @@ export declare class ResourceNotFoundException extends __BaseException {
886
893
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
887
894
  );
888
895
  }
896
+ export interface BatchGetCodeSnippetRequest {
897
+ findingArns: string[] | undefined;
898
+ }
899
+ export interface CodeLine {
900
+ content: string | undefined;
901
+ lineNumber: number | undefined;
902
+ }
903
+ export interface SuggestedFix {
904
+ description?: string;
905
+ code?: string;
906
+ }
907
+ export interface CodeSnippetResult {
908
+ findingArn?: string;
909
+ startLine?: number;
910
+ endLine?: number;
911
+ codeSnippet?: CodeLine[];
912
+ suggestedFixes?: SuggestedFix[];
913
+ }
914
+ export declare const CodeSnippetErrorCode: {
915
+ readonly ACCESS_DENIED: "ACCESS_DENIED";
916
+ readonly CODE_SNIPPET_NOT_FOUND: "CODE_SNIPPET_NOT_FOUND";
917
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
918
+ readonly INVALID_INPUT: "INVALID_INPUT";
919
+ };
920
+ export type CodeSnippetErrorCode =
921
+ (typeof CodeSnippetErrorCode)[keyof typeof CodeSnippetErrorCode];
922
+ export interface CodeSnippetError {
923
+ findingArn: string | undefined;
924
+ errorCode: CodeSnippetErrorCode | string | undefined;
925
+ errorMessage: string | undefined;
926
+ }
927
+ export interface BatchGetCodeSnippetResponse {
928
+ codeSnippetResults?: CodeSnippetResult[];
929
+ errors?: CodeSnippetError[];
930
+ }
889
931
  export interface BatchGetFreeTrialInfoRequest {
890
932
  accountIds: string[] | undefined;
891
933
  }
@@ -899,6 +941,7 @@ export declare const FreeTrialType: {
899
941
  readonly EC2: "EC2";
900
942
  readonly ECR: "ECR";
901
943
  readonly LAMBDA: "LAMBDA";
944
+ readonly LAMBDA_CODE: "LAMBDA_CODE";
902
945
  };
903
946
  export type FreeTrialType = (typeof FreeTrialType)[keyof typeof FreeTrialType];
904
947
  export interface FreeTrialInfo {
@@ -968,11 +1011,33 @@ export interface CancelFindingsReportRequest {
968
1011
  export interface CancelFindingsReportResponse {
969
1012
  reportId: string | undefined;
970
1013
  }
1014
+ export interface CancelSbomExportRequest {
1015
+ reportId: string | undefined;
1016
+ }
1017
+ export interface CancelSbomExportResponse {
1018
+ reportId?: string;
1019
+ }
971
1020
  export interface CisaData {
972
1021
  dateAdded?: Date;
973
1022
  dateDue?: Date;
974
1023
  action?: string;
975
1024
  }
1025
+ export interface CodeFilePath {
1026
+ fileName: string | undefined;
1027
+ filePath: string | undefined;
1028
+ startLine: number | undefined;
1029
+ endLine: number | undefined;
1030
+ }
1031
+ export interface CodeVulnerabilityDetails {
1032
+ filePath: CodeFilePath | undefined;
1033
+ detectorTags?: string[];
1034
+ referenceUrls?: string[];
1035
+ ruleId?: string;
1036
+ sourceLambdaLayerArn?: string;
1037
+ detectorId: string | undefined;
1038
+ detectorName: string | undefined;
1039
+ cwes: string[] | undefined;
1040
+ }
976
1041
  export declare class ConflictException extends __BaseException {
977
1042
  readonly name: "ConflictException";
978
1043
  readonly $fault: "client";
@@ -1115,6 +1180,7 @@ export interface ScanStatus {
1115
1180
  reason: ScanStatusReason | string | undefined;
1116
1181
  }
1117
1182
  export declare const ScanType: {
1183
+ readonly CODE: "CODE";
1118
1184
  readonly NETWORK: "NETWORK";
1119
1185
  readonly PACKAGE: "PACKAGE";
1120
1186
  };
@@ -1193,6 +1259,10 @@ export interface FilterCriteria {
1193
1259
  lambdaFunctionLastModifiedAt?: DateFilter[];
1194
1260
  lambdaFunctionExecutionRoleArn?: StringFilter[];
1195
1261
  exploitAvailable?: StringFilter[];
1262
+ codeVulnerabilityDetectorName?: StringFilter[];
1263
+ codeVulnerabilityDetectorTags?: StringFilter[];
1264
+ codeVulnerabilityFilePath?: StringFilter[];
1265
+ epssScore?: NumberFilter[];
1196
1266
  }
1197
1267
  export interface CreateFilterRequest {
1198
1268
  action: FilterAction | string | undefined;
@@ -1231,6 +1301,50 @@ export interface CreateFindingsReportRequest {
1231
1301
  export interface CreateFindingsReportResponse {
1232
1302
  reportId?: string;
1233
1303
  }
1304
+ export declare const SbomReportFormat: {
1305
+ readonly CYCLONEDX_1_4: "CYCLONEDX_1_4";
1306
+ readonly SPDX_2_3: "SPDX_2_3";
1307
+ };
1308
+ export type SbomReportFormat =
1309
+ (typeof SbomReportFormat)[keyof typeof SbomReportFormat];
1310
+ export declare const ResourceStringComparison: {
1311
+ readonly EQUALS: "EQUALS";
1312
+ readonly NOT_EQUALS: "NOT_EQUALS";
1313
+ };
1314
+ export type ResourceStringComparison =
1315
+ (typeof ResourceStringComparison)[keyof typeof ResourceStringComparison];
1316
+ export interface ResourceStringFilter {
1317
+ comparison: ResourceStringComparison | string | undefined;
1318
+ value: string | undefined;
1319
+ }
1320
+ export declare const ResourceMapComparison: {
1321
+ readonly EQUALS: "EQUALS";
1322
+ };
1323
+ export type ResourceMapComparison =
1324
+ (typeof ResourceMapComparison)[keyof typeof ResourceMapComparison];
1325
+ export interface ResourceMapFilter {
1326
+ comparison: ResourceMapComparison | string | undefined;
1327
+ key: string | undefined;
1328
+ value?: string;
1329
+ }
1330
+ export interface ResourceFilterCriteria {
1331
+ accountId?: ResourceStringFilter[];
1332
+ resourceId?: ResourceStringFilter[];
1333
+ resourceType?: ResourceStringFilter[];
1334
+ ecrRepositoryName?: ResourceStringFilter[];
1335
+ lambdaFunctionName?: ResourceStringFilter[];
1336
+ ecrImageTags?: ResourceStringFilter[];
1337
+ ec2InstanceTags?: ResourceMapFilter[];
1338
+ lambdaFunctionTags?: ResourceMapFilter[];
1339
+ }
1340
+ export interface CreateSbomExportRequest {
1341
+ resourceFilterCriteria?: ResourceFilterCriteria;
1342
+ reportFormat: SbomReportFormat | string | undefined;
1343
+ s3Destination: Destination | undefined;
1344
+ }
1345
+ export interface CreateSbomExportResponse {
1346
+ reportId?: string;
1347
+ }
1234
1348
  export declare const Currency: {
1235
1349
  readonly USD: "USD";
1236
1350
  };
@@ -1306,6 +1420,7 @@ export declare const ResourceScanType: {
1306
1420
  readonly EC2: "EC2";
1307
1421
  readonly ECR: "ECR";
1308
1422
  readonly LAMBDA: "LAMBDA";
1423
+ readonly LAMBDA_CODE: "LAMBDA_CODE";
1309
1424
  };
1310
1425
  export type ResourceScanType =
1311
1426
  (typeof ResourceScanType)[keyof typeof ResourceScanType];
@@ -1373,6 +1488,9 @@ export interface EnableDelegatedAdminAccountResponse {
1373
1488
  export interface Epss {
1374
1489
  score?: number;
1375
1490
  }
1491
+ export interface EpssDetails {
1492
+ score?: number;
1493
+ }
1376
1494
  export interface ExploitabilityDetails {
1377
1495
  lastKnownExploitAt?: Date;
1378
1496
  }
@@ -1526,6 +1644,7 @@ export declare const FindingStatus: {
1526
1644
  };
1527
1645
  export type FindingStatus = (typeof FindingStatus)[keyof typeof FindingStatus];
1528
1646
  export declare const FindingType: {
1647
+ readonly CODE_VULNERABILITY: "CODE_VULNERABILITY";
1529
1648
  readonly NETWORK_REACHABILITY: "NETWORK_REACHABILITY";
1530
1649
  readonly PACKAGE_VULNERABILITY: "PACKAGE_VULNERABILITY";
1531
1650
  };
@@ -1550,6 +1669,8 @@ export interface Finding {
1550
1669
  fixAvailable?: FixAvailable | string;
1551
1670
  exploitAvailable?: ExploitAvailable | string;
1552
1671
  exploitabilityDetails?: ExploitabilityDetails;
1672
+ codeVulnerabilityDetails?: CodeVulnerabilityDetails;
1673
+ epss?: EpssDetails;
1553
1674
  }
1554
1675
  export interface GetConfigurationRequest {}
1555
1676
  export interface GetConfigurationResponse {
@@ -1566,6 +1687,13 @@ export interface GetEc2DeepInspectionConfigurationResponse {
1566
1687
  status?: Ec2DeepInspectionStatus | string;
1567
1688
  errorMessage?: string;
1568
1689
  }
1690
+ export interface GetEncryptionKeyRequest {
1691
+ scanType: ScanType | string | undefined;
1692
+ resourceType: ResourceType | string | undefined;
1693
+ }
1694
+ export interface GetEncryptionKeyResponse {
1695
+ kmsKeyId: string | undefined;
1696
+ }
1569
1697
  export interface GetFindingsReportStatusRequest {
1570
1698
  reportId?: string;
1571
1699
  }
@@ -1599,6 +1727,18 @@ export interface Member {
1599
1727
  export interface GetMemberResponse {
1600
1728
  member?: Member;
1601
1729
  }
1730
+ export interface GetSbomExportRequest {
1731
+ reportId: string | undefined;
1732
+ }
1733
+ export interface GetSbomExportResponse {
1734
+ reportId?: string;
1735
+ format?: SbomReportFormat | string;
1736
+ status?: ExternalReportStatus | string;
1737
+ errorCode?: ReportingErrorCode | string;
1738
+ errorMessage?: string;
1739
+ s3Destination?: Destination;
1740
+ filterCriteria?: ResourceFilterCriteria;
1741
+ }
1602
1742
  export declare const Service: {
1603
1743
  readonly EC2: "EC2";
1604
1744
  readonly ECR: "ECR";
@@ -1680,6 +1820,7 @@ export declare const SortField: {
1680
1820
  readonly ECR_IMAGE_PUSHED_AT: "ECR_IMAGE_PUSHED_AT";
1681
1821
  readonly ECR_IMAGE_REGISTRY: "ECR_IMAGE_REGISTRY";
1682
1822
  readonly ECR_IMAGE_REPOSITORY_NAME: "ECR_IMAGE_REPOSITORY_NAME";
1823
+ readonly EPSS_SCORE: "EPSS_SCORE";
1683
1824
  readonly FINDING_STATUS: "FINDING_STATUS";
1684
1825
  readonly FINDING_TYPE: "FINDING_TYPE";
1685
1826
  readonly FIRST_OBSERVED_AT: "FIRST_OBSERVED_AT";
@@ -1731,6 +1872,7 @@ export declare const UsageType: {
1731
1872
  readonly EC2_INSTANCE_HOURS: "EC2_INSTANCE_HOURS";
1732
1873
  readonly ECR_INITIAL_SCAN: "ECR_INITIAL_SCAN";
1733
1874
  readonly ECR_RESCAN: "ECR_RESCAN";
1875
+ readonly LAMBDA_FUNCTION_CODE_HOURS: "LAMBDA_FUNCTION_CODE_HOURS";
1734
1876
  readonly LAMBDA_FUNCTION_HOURS: "LAMBDA_FUNCTION_HOURS";
1735
1877
  };
1736
1878
  export type UsageType = (typeof UsageType)[keyof typeof UsageType];
@@ -1748,6 +1890,11 @@ export interface ListUsageTotalsResponse {
1748
1890
  nextToken?: string;
1749
1891
  totals?: UsageTotal[];
1750
1892
  }
1893
+ export interface ResetEncryptionKeyRequest {
1894
+ scanType: ScanType | string | undefined;
1895
+ resourceType: ResourceType | string | undefined;
1896
+ }
1897
+ export interface ResetEncryptionKeyResponse {}
1751
1898
  export interface SearchVulnerabilitiesFilterCriteria {
1752
1899
  vulnerabilityIds: string[] | undefined;
1753
1900
  }
@@ -1807,6 +1954,12 @@ export interface UpdateEc2DeepInspectionConfigurationResponse {
1807
1954
  status?: Ec2DeepInspectionStatus | string;
1808
1955
  errorMessage?: string;
1809
1956
  }
1957
+ export interface UpdateEncryptionKeyRequest {
1958
+ kmsKeyId: string | undefined;
1959
+ scanType: ScanType | string | undefined;
1960
+ resourceType: ResourceType | string | undefined;
1961
+ }
1962
+ export interface UpdateEncryptionKeyResponse {}
1810
1963
  export interface UpdateFilterRequest {
1811
1964
  action?: FilterAction | string;
1812
1965
  description?: string;