@aws-sdk/client-inspector2 3.933.0 → 3.935.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 (36) hide show
  1. package/dist-cjs/index.js +170 -714
  2. package/dist-es/index.js +2 -1
  3. package/dist-es/models/enums.js +169 -0
  4. package/dist-es/models/errors.js +115 -0
  5. package/dist-es/models/models_0.js +66 -268
  6. package/dist-es/models/models_1.js +0 -80
  7. package/dist-es/schemas/schemas_0.js +1 -1
  8. package/dist-types/commands/GetCisScanReportCommand.d.ts +1 -1
  9. package/dist-types/commands/GetCisScanResultDetailsCommand.d.ts +1 -1
  10. package/dist-types/commands/GetClustersForImageCommand.d.ts +1 -1
  11. package/dist-types/commands/GetCodeSecurityIntegrationCommand.d.ts +1 -1
  12. package/dist-types/commands/GetCodeSecurityScanCommand.d.ts +1 -1
  13. package/dist-types/commands/GetCodeSecurityScanConfigurationCommand.d.ts +1 -1
  14. package/dist-types/commands/GetConfigurationCommand.d.ts +1 -1
  15. package/dist-types/commands/ListAccountPermissionsCommand.d.ts +4 -1
  16. package/dist-types/index.d.ts +4 -1
  17. package/dist-types/models/enums.d.ts +441 -0
  18. package/dist-types/models/errors.d.ts +144 -0
  19. package/dist-types/models/models_0.d.ts +992 -545
  20. package/dist-types/models/models_1.d.ts +2 -1026
  21. package/dist-types/ts3.4/commands/GetCisScanReportCommand.d.ts +1 -1
  22. package/dist-types/ts3.4/commands/GetCisScanResultDetailsCommand.d.ts +1 -1
  23. package/dist-types/ts3.4/commands/GetClustersForImageCommand.d.ts +1 -1
  24. package/dist-types/ts3.4/commands/GetCodeSecurityIntegrationCommand.d.ts +1 -1
  25. package/dist-types/ts3.4/commands/GetCodeSecurityScanCommand.d.ts +1 -1
  26. package/dist-types/ts3.4/commands/GetCodeSecurityScanConfigurationCommand.d.ts +1 -1
  27. package/dist-types/ts3.4/commands/GetConfigurationCommand.d.ts +1 -1
  28. package/dist-types/ts3.4/index.d.ts +4 -1
  29. package/dist-types/ts3.4/models/enums.d.ts +232 -0
  30. package/dist-types/ts3.4/models/errors.d.ts +71 -0
  31. package/dist-types/ts3.4/models/models_0.d.ts +298 -277
  32. package/dist-types/ts3.4/models/models_1.d.ts +17 -314
  33. package/package.json +12 -12
  34. package/dist-es/models/index.js +0 -2
  35. package/dist-types/models/index.d.ts +0 -2
  36. package/dist-types/ts3.4/models/index.d.ts +0 -2
@@ -1,12 +1,33 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { Inspector2ServiceException as __BaseException } from "./Inspector2ServiceException";
3
- export declare class AccessDeniedException extends __BaseException {
4
- readonly name: "AccessDeniedException";
5
- readonly $fault: "client";
6
- constructor(
7
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
- );
9
- }
1
+ import {
2
+ AssociationResultStatusCode,
3
+ CisFindingStatus,
4
+ CisFindingStatusComparison,
5
+ CisReportFormat,
6
+ CisReportStatus,
7
+ CisResultStatus,
8
+ CisResultStatusComparison,
9
+ CisRuleStatus,
10
+ CisScanResultDetailsSortBy,
11
+ CisScanStatus,
12
+ CisScanStatusComparison,
13
+ CisSecurityLevel,
14
+ CisSecurityLevelComparison,
15
+ CisSortOrder,
16
+ CisStringComparison,
17
+ CisTargetStatus,
18
+ CisTargetStatusComparison,
19
+ CisTargetStatusReason,
20
+ CodeScanStatus,
21
+ ConfigurationLevel,
22
+ ContinuousIntegrationScanEvent,
23
+ Day,
24
+ IntegrationStatus,
25
+ IntegrationType,
26
+ PeriodicScanFrequency,
27
+ ProjectSelectionScope,
28
+ RuleSetCategory,
29
+ TagComparison,
30
+ } from "./enums";
10
31
  export declare const Status: {
11
32
  readonly DISABLED: "DISABLED";
12
33
  readonly DISABLING: "DISABLING";
@@ -72,13 +93,6 @@ export interface AccountAggregationResponse {
72
93
  exploitAvailableCount?: number | undefined;
73
94
  fixAvailableCount?: number | undefined;
74
95
  }
75
- export declare const CisStringComparison: {
76
- readonly EQUALS: "EQUALS";
77
- readonly NOT_EQUALS: "NOT_EQUALS";
78
- readonly PREFIX: "PREFIX";
79
- };
80
- export type CisStringComparison =
81
- (typeof CisStringComparison)[keyof typeof CisStringComparison];
82
96
  export interface CisStringFilter {
83
97
  comparison: CisStringComparison | undefined;
84
98
  value: string | undefined;
@@ -87,6 +101,7 @@ export declare const ErrorCode: {
87
101
  readonly ACCESS_DENIED: "ACCESS_DENIED";
88
102
  readonly ACCOUNT_IS_ISOLATED: "ACCOUNT_IS_ISOLATED";
89
103
  readonly ALREADY_ENABLED: "ALREADY_ENABLED";
104
+ readonly BLOCKED_BY_ORGANIZATION_POLICY: "BLOCKED_BY_ORGANIZATION_POLICY";
90
105
  readonly DISABLE_IN_PROGRESS: "DISABLE_IN_PROGRESS";
91
106
  readonly DISASSOCIATE_ALL_MEMBERS: "DISASSOCIATE_ALL_MEMBERS";
92
107
  readonly EC2_SSM_ASSOCIATION_VERSION_LIMIT_EXCEEDED: "EC2_SSM_ASSOCIATION_VERSION_LIMIT_EXCEEDED";
@@ -884,34 +899,6 @@ export interface AssociateMemberRequest {
884
899
  export interface AssociateMemberResponse {
885
900
  accountId: string | undefined;
886
901
  }
887
- export declare class InternalServerException extends __BaseException {
888
- readonly name: "InternalServerException";
889
- readonly $fault: "server";
890
- $retryable: {};
891
- retryAfterSeconds?: number | undefined;
892
- constructor(
893
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
894
- );
895
- }
896
- export declare class ServiceQuotaExceededException extends __BaseException {
897
- readonly name: "ServiceQuotaExceededException";
898
- readonly $fault: "client";
899
- resourceId: string | undefined;
900
- constructor(
901
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
902
- );
903
- }
904
- export declare class ThrottlingException extends __BaseException {
905
- readonly name: "ThrottlingException";
906
- readonly $fault: "client";
907
- $retryable: {
908
- throttling: boolean;
909
- };
910
- retryAfterSeconds?: number | undefined;
911
- constructor(
912
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
913
- );
914
- }
915
902
  export interface ValidationExceptionField {
916
903
  name: string | undefined;
917
904
  message: string | undefined;
@@ -923,25 +910,6 @@ export declare const ValidationExceptionReason: {
923
910
  };
924
911
  export type ValidationExceptionReason =
925
912
  (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
926
- export declare class ValidationException extends __BaseException {
927
- readonly name: "ValidationException";
928
- readonly $fault: "client";
929
- reason: ValidationExceptionReason | undefined;
930
- fields?: ValidationExceptionField[] | undefined;
931
- constructor(
932
- opts: __ExceptionOptionType<ValidationException, __BaseException>
933
- );
934
- }
935
- export declare const AssociationResultStatusCode: {
936
- readonly ACCESS_DENIED: "ACCESS_DENIED";
937
- readonly INTERNAL_ERROR: "INTERNAL_ERROR";
938
- readonly INVALID_INPUT: "INVALID_INPUT";
939
- readonly QUOTA_EXCEEDED: "QUOTA_EXCEEDED";
940
- readonly RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND";
941
- readonly SCAN_CONFIGURATION_NOT_FOUND: "SCAN_CONFIGURATION_NOT_FOUND";
942
- };
943
- export type AssociationResultStatusCode =
944
- (typeof AssociationResultStatusCode)[keyof typeof AssociationResultStatusCode];
945
913
  export interface AtigData {
946
914
  firstSeen?: Date | undefined;
947
915
  lastSeen?: Date | undefined;
@@ -1037,13 +1005,6 @@ export interface AwsLambdaFunctionDetails {
1037
1005
  architectures?: Architecture[] | undefined;
1038
1006
  lastModifiedAt?: Date | undefined;
1039
1007
  }
1040
- export declare class BadRequestException extends __BaseException {
1041
- readonly name: "BadRequestException";
1042
- readonly $fault: "client";
1043
- constructor(
1044
- opts: __ExceptionOptionType<BadRequestException, __BaseException>
1045
- );
1046
- }
1047
1008
  export interface BatchAssociateCodeSecurityScanConfigurationRequest {
1048
1009
  associateConfigurationRequests: AssociateConfigurationRequest[] | undefined;
1049
1010
  }
@@ -1061,20 +1022,6 @@ export interface BatchAssociateCodeSecurityScanConfigurationResponse {
1061
1022
  failedAssociations?: FailedAssociationResult[] | undefined;
1062
1023
  successfulAssociations?: SuccessfulAssociationResult[] | undefined;
1063
1024
  }
1064
- export declare class ConflictException extends __BaseException {
1065
- readonly name: "ConflictException";
1066
- readonly $fault: "client";
1067
- resourceId: string | undefined;
1068
- resourceType: string | undefined;
1069
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
1070
- }
1071
- export declare class ResourceNotFoundException extends __BaseException {
1072
- readonly name: "ResourceNotFoundException";
1073
- readonly $fault: "client";
1074
- constructor(
1075
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
1076
- );
1077
- }
1078
1025
  export interface DisassociateConfigurationRequest {
1079
1026
  scanConfigurationArn: string | undefined;
1080
1027
  resource: CodeSecurityResource | undefined;
@@ -1277,12 +1224,6 @@ export interface CancelSbomExportRequest {
1277
1224
  export interface CancelSbomExportResponse {
1278
1225
  reportId?: string | undefined;
1279
1226
  }
1280
- export declare const CisSecurityLevel: {
1281
- readonly LEVEL_1: "LEVEL_1";
1282
- readonly LEVEL_2: "LEVEL_2";
1283
- };
1284
- export type CisSecurityLevel =
1285
- (typeof CisSecurityLevel)[keyof typeof CisSecurityLevel];
1286
1227
  export interface StatusCounts {
1287
1228
  failed?: number | undefined;
1288
1229
  skipped?: number | undefined;
@@ -1302,18 +1243,6 @@ export interface CisDateFilter {
1302
1243
  earliestScanStartTime?: Date | undefined;
1303
1244
  latestScanStartTime?: Date | undefined;
1304
1245
  }
1305
- export declare const CisFindingStatus: {
1306
- readonly FAILED: "FAILED";
1307
- readonly PASSED: "PASSED";
1308
- readonly SKIPPED: "SKIPPED";
1309
- };
1310
- export type CisFindingStatus =
1311
- (typeof CisFindingStatus)[keyof typeof CisFindingStatus];
1312
- export declare const CisFindingStatusComparison: {
1313
- readonly EQUALS: "EQUALS";
1314
- };
1315
- export type CisFindingStatusComparison =
1316
- (typeof CisFindingStatusComparison)[keyof typeof CisFindingStatusComparison];
1317
1246
  export interface CisFindingStatusFilter {
1318
1247
  comparison: CisFindingStatusComparison | undefined;
1319
1248
  value: CisFindingStatus | undefined;
@@ -1322,52 +1251,10 @@ export interface CisNumberFilter {
1322
1251
  upperInclusive?: number | undefined;
1323
1252
  lowerInclusive?: number | undefined;
1324
1253
  }
1325
- export declare const CisReportFormat: {
1326
- readonly CSV: "CSV";
1327
- readonly PDF: "PDF";
1328
- };
1329
- export type CisReportFormat =
1330
- (typeof CisReportFormat)[keyof typeof CisReportFormat];
1331
- export declare const CisReportStatus: {
1332
- readonly FAILED: "FAILED";
1333
- readonly IN_PROGRESS: "IN_PROGRESS";
1334
- readonly SUCCEEDED: "SUCCEEDED";
1335
- };
1336
- export type CisReportStatus =
1337
- (typeof CisReportStatus)[keyof typeof CisReportStatus];
1338
- export declare const CisResultStatus: {
1339
- readonly FAILED: "FAILED";
1340
- readonly PASSED: "PASSED";
1341
- readonly SKIPPED: "SKIPPED";
1342
- };
1343
- export type CisResultStatus =
1344
- (typeof CisResultStatus)[keyof typeof CisResultStatus];
1345
- export declare const CisResultStatusComparison: {
1346
- readonly EQUALS: "EQUALS";
1347
- };
1348
- export type CisResultStatusComparison =
1349
- (typeof CisResultStatusComparison)[keyof typeof CisResultStatusComparison];
1350
1254
  export interface CisResultStatusFilter {
1351
1255
  comparison: CisResultStatusComparison | undefined;
1352
1256
  value: CisResultStatus | undefined;
1353
1257
  }
1354
- export declare const CisRuleStatus: {
1355
- readonly ERROR: "ERROR";
1356
- readonly FAILED: "FAILED";
1357
- readonly INFORMATIONAL: "INFORMATIONAL";
1358
- readonly NOT_APPLICABLE: "NOT_APPLICABLE";
1359
- readonly NOT_EVALUATED: "NOT_EVALUATED";
1360
- readonly PASSED: "PASSED";
1361
- readonly UNKNOWN: "UNKNOWN";
1362
- };
1363
- export type CisRuleStatus = (typeof CisRuleStatus)[keyof typeof CisRuleStatus];
1364
- export declare const CisScanStatus: {
1365
- readonly CANCELLED: "CANCELLED";
1366
- readonly COMPLETED: "COMPLETED";
1367
- readonly FAILED: "FAILED";
1368
- readonly IN_PROGRESS: "IN_PROGRESS";
1369
- };
1370
- export type CisScanStatus = (typeof CisScanStatus)[keyof typeof CisScanStatus];
1371
1258
  export interface CisTargets {
1372
1259
  accountIds?: string[] | undefined;
1373
1260
  targetResourceTags?: Record<string, string[]> | undefined;
@@ -1391,16 +1278,6 @@ export interface Time {
1391
1278
  export interface DailySchedule {
1392
1279
  startTime: Time | undefined;
1393
1280
  }
1394
- export declare const Day: {
1395
- readonly FRI: "FRI";
1396
- readonly MON: "MON";
1397
- readonly SAT: "SAT";
1398
- readonly SUN: "SUN";
1399
- readonly THU: "THU";
1400
- readonly TUE: "TUE";
1401
- readonly WED: "WED";
1402
- };
1403
- export type Day = (typeof Day)[keyof typeof Day];
1404
1281
  export interface MonthlySchedule {
1405
1282
  startTime: Time | undefined;
1406
1283
  day: Day | undefined;
@@ -1469,12 +1346,6 @@ export interface CisScanConfiguration {
1469
1346
  targets?: CisTargets | undefined;
1470
1347
  tags?: Record<string, string> | undefined;
1471
1348
  }
1472
- export declare const CisScanConfigurationsSortBy: {
1473
- readonly SCAN_CONFIGURATION_ARN: "SCAN_CONFIGURATION_ARN";
1474
- readonly SCAN_NAME: "SCAN_NAME";
1475
- };
1476
- export type CisScanConfigurationsSortBy =
1477
- (typeof CisScanConfigurationsSortBy)[keyof typeof CisScanConfigurationsSortBy];
1478
1349
  export interface CisScanResultDetails {
1479
1350
  scanArn: string | undefined;
1480
1351
  accountId?: string | undefined;
@@ -1489,11 +1360,6 @@ export interface CisScanResultDetails {
1489
1360
  level?: CisSecurityLevel | undefined;
1490
1361
  findingArn?: string | undefined;
1491
1362
  }
1492
- export declare const CisSecurityLevelComparison: {
1493
- readonly EQUALS: "EQUALS";
1494
- };
1495
- export type CisSecurityLevelComparison =
1496
- (typeof CisSecurityLevelComparison)[keyof typeof CisSecurityLevelComparison];
1497
1363
  export interface CisSecurityLevelFilter {
1498
1364
  comparison: CisSecurityLevelComparison | undefined;
1499
1365
  value: CisSecurityLevel | undefined;
@@ -1505,12 +1371,6 @@ export interface CisScanResultDetailsFilterCriteria {
1505
1371
  securityLevelFilters?: CisSecurityLevelFilter[] | undefined;
1506
1372
  findingArnFilters?: CisStringFilter[] | undefined;
1507
1373
  }
1508
- export declare const CisScanResultDetailsSortBy: {
1509
- readonly CHECK_ID: "CHECK_ID";
1510
- readonly STATUS: "STATUS";
1511
- };
1512
- export type CisScanResultDetailsSortBy =
1513
- (typeof CisScanResultDetailsSortBy)[keyof typeof CisScanResultDetailsSortBy];
1514
1374
  export interface CisScanResultsAggregatedByChecksFilterCriteria {
1515
1375
  accountIdFilters?: CisStringFilter[] | undefined;
1516
1376
  checkIdFilters?: CisStringFilter[] | undefined;
@@ -1519,47 +1379,15 @@ export interface CisScanResultsAggregatedByChecksFilterCriteria {
1519
1379
  failedResourcesFilters?: CisNumberFilter[] | undefined;
1520
1380
  securityLevelFilters?: CisSecurityLevelFilter[] | undefined;
1521
1381
  }
1522
- export declare const CisScanResultsAggregatedByChecksSortBy: {
1523
- readonly CHECK_ID: "CHECK_ID";
1524
- readonly FAILED_COUNTS: "FAILED_COUNTS";
1525
- readonly PLATFORM: "PLATFORM";
1526
- readonly SECURITY_LEVEL: "SECURITY_LEVEL";
1527
- readonly TITLE: "TITLE";
1528
- };
1529
- export type CisScanResultsAggregatedByChecksSortBy =
1530
- (typeof CisScanResultsAggregatedByChecksSortBy)[keyof typeof CisScanResultsAggregatedByChecksSortBy];
1531
- export declare const TagComparison: {
1532
- readonly EQUALS: "EQUALS";
1533
- };
1534
- export type TagComparison = (typeof TagComparison)[keyof typeof TagComparison];
1535
1382
  export interface TagFilter {
1536
1383
  comparison: TagComparison | undefined;
1537
1384
  key: string | undefined;
1538
1385
  value: string | undefined;
1539
1386
  }
1540
- export declare const CisTargetStatusComparison: {
1541
- readonly EQUALS: "EQUALS";
1542
- };
1543
- export type CisTargetStatusComparison =
1544
- (typeof CisTargetStatusComparison)[keyof typeof CisTargetStatusComparison];
1545
- export declare const CisTargetStatus: {
1546
- readonly CANCELLED: "CANCELLED";
1547
- readonly COMPLETED: "COMPLETED";
1548
- readonly TIMED_OUT: "TIMED_OUT";
1549
- };
1550
- export type CisTargetStatus =
1551
- (typeof CisTargetStatus)[keyof typeof CisTargetStatus];
1552
1387
  export interface CisTargetStatusFilter {
1553
1388
  comparison: CisTargetStatusComparison | undefined;
1554
1389
  value: CisTargetStatus | undefined;
1555
1390
  }
1556
- export declare const CisTargetStatusReason: {
1557
- readonly SCAN_IN_PROGRESS: "SCAN_IN_PROGRESS";
1558
- readonly SSM_UNMANAGED: "SSM_UNMANAGED";
1559
- readonly UNSUPPORTED_OS: "UNSUPPORTED_OS";
1560
- };
1561
- export type CisTargetStatusReason =
1562
- (typeof CisTargetStatusReason)[keyof typeof CisTargetStatusReason];
1563
1391
  export interface CisTargetStatusReasonFilter {
1564
1392
  comparison: CisTargetStatusComparison | undefined;
1565
1393
  value: CisTargetStatusReason | undefined;
@@ -1575,21 +1403,6 @@ export interface CisScanResultsAggregatedByTargetResourceFilterCriteria {
1575
1403
  targetStatusReasonFilters?: CisTargetStatusReasonFilter[] | undefined;
1576
1404
  failedChecksFilters?: CisNumberFilter[] | undefined;
1577
1405
  }
1578
- export declare const CisScanResultsAggregatedByTargetResourceSortBy: {
1579
- readonly ACCOUNT_ID: "ACCOUNT_ID";
1580
- readonly FAILED_COUNTS: "FAILED_COUNTS";
1581
- readonly PLATFORM: "PLATFORM";
1582
- readonly RESOURCE_ID: "RESOURCE_ID";
1583
- readonly TARGET_STATUS: "TARGET_STATUS";
1584
- readonly TARGET_STATUS_REASON: "TARGET_STATUS_REASON";
1585
- };
1586
- export type CisScanResultsAggregatedByTargetResourceSortBy =
1587
- (typeof CisScanResultsAggregatedByTargetResourceSortBy)[keyof typeof CisScanResultsAggregatedByTargetResourceSortBy];
1588
- export declare const CisScanStatusComparison: {
1589
- readonly EQUALS: "EQUALS";
1590
- };
1591
- export type CisScanStatusComparison =
1592
- (typeof CisScanStatusComparison)[keyof typeof CisScanStatusComparison];
1593
1406
  export interface CisScanStatusFilter {
1594
1407
  comparison: CisScanStatusComparison | undefined;
1595
1408
  value: CisScanStatus | undefined;
@@ -1599,11 +1412,6 @@ export interface CisSessionMessage {
1599
1412
  status: CisRuleStatus | undefined;
1600
1413
  cisRuleDetails: Uint8Array | undefined;
1601
1414
  }
1602
- export declare const CisSortOrder: {
1603
- readonly ASC: "ASC";
1604
- readonly DESC: "DESC";
1605
- };
1606
- export type CisSortOrder = (typeof CisSortOrder)[keyof typeof CisSortOrder];
1607
1415
  export interface CisTargetResourceAggregation {
1608
1416
  scanArn: string | undefined;
1609
1417
  targetResourceId?: string | undefined;
@@ -1681,6 +1489,7 @@ export declare const ScanStatusReason: {
1681
1489
  readonly DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED: "DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED";
1682
1490
  readonly EC2_INSTANCE_STOPPED: "EC2_INSTANCE_STOPPED";
1683
1491
  readonly EXCLUDED_BY_TAG: "EXCLUDED_BY_TAG";
1492
+ readonly IMAGE_ARCHIVED: "IMAGE_ARCHIVED";
1684
1493
  readonly IMAGE_SIZE_EXCEEDED: "IMAGE_SIZE_EXCEEDED";
1685
1494
  readonly INTEGRATION_CONNECTION_LOST: "INTEGRATION_CONNECTION_LOST";
1686
1495
  readonly INTERNAL_ERROR: "INTERNAL_ERROR";
@@ -1721,19 +1530,6 @@ export interface CodeRepositoryOnDemandScan {
1721
1530
  lastScanAt?: Date | undefined;
1722
1531
  scanStatus?: ScanStatus | undefined;
1723
1532
  }
1724
- export declare const RuleSetCategory: {
1725
- readonly IAC: "IAC";
1726
- readonly SAST: "SAST";
1727
- readonly SCA: "SCA";
1728
- };
1729
- export type RuleSetCategory =
1730
- (typeof RuleSetCategory)[keyof typeof RuleSetCategory];
1731
- export declare const ContinuousIntegrationScanEvent: {
1732
- readonly PULL_REQUEST: "PULL_REQUEST";
1733
- readonly PUSH: "PUSH";
1734
- };
1735
- export type ContinuousIntegrationScanEvent =
1736
- (typeof ContinuousIntegrationScanEvent)[keyof typeof ContinuousIntegrationScanEvent];
1737
1533
  export interface ProjectContinuousIntegrationScanConfiguration {
1738
1534
  supportedEvent?: ContinuousIntegrationScanEvent | undefined;
1739
1535
  ruleSetCategories?: RuleSetCategory[] | undefined;
@@ -1757,29 +1553,6 @@ export interface CodeRepositoryMetadata {
1757
1553
  scanConfiguration?: ProjectCodeSecurityScanConfiguration | undefined;
1758
1554
  onDemandScan?: CodeRepositoryOnDemandScan | undefined;
1759
1555
  }
1760
- export declare const CodeScanStatus: {
1761
- readonly FAILED: "FAILED";
1762
- readonly IN_PROGRESS: "IN_PROGRESS";
1763
- readonly SKIPPED: "SKIPPED";
1764
- readonly SUCCESSFUL: "SUCCESSFUL";
1765
- };
1766
- export type CodeScanStatus =
1767
- (typeof CodeScanStatus)[keyof typeof CodeScanStatus];
1768
- export declare const IntegrationStatus: {
1769
- readonly ACTIVE: "ACTIVE";
1770
- readonly DISABLING: "DISABLING";
1771
- readonly INACTIVE: "INACTIVE";
1772
- readonly IN_PROGRESS: "IN_PROGRESS";
1773
- readonly PENDING: "PENDING";
1774
- };
1775
- export type IntegrationStatus =
1776
- (typeof IntegrationStatus)[keyof typeof IntegrationStatus];
1777
- export declare const IntegrationType: {
1778
- readonly GITHUB: "GITHUB";
1779
- readonly GITLAB_SELF_MANAGED: "GITLAB_SELF_MANAGED";
1780
- };
1781
- export type IntegrationType =
1782
- (typeof IntegrationType)[keyof typeof IntegrationType];
1783
1556
  export interface CodeSecurityIntegrationSummary {
1784
1557
  integrationArn: string | undefined;
1785
1558
  name: string | undefined;
@@ -1793,13 +1566,6 @@ export interface CodeSecurityIntegrationSummary {
1793
1566
  export interface ContinuousIntegrationScanConfiguration {
1794
1567
  supportedEvents: ContinuousIntegrationScanEvent[] | undefined;
1795
1568
  }
1796
- export declare const PeriodicScanFrequency: {
1797
- readonly MONTHLY: "MONTHLY";
1798
- readonly NEVER: "NEVER";
1799
- readonly WEEKLY: "WEEKLY";
1800
- };
1801
- export type PeriodicScanFrequency =
1802
- (typeof PeriodicScanFrequency)[keyof typeof PeriodicScanFrequency];
1803
1569
  export interface PeriodicScanConfiguration {
1804
1570
  frequency?: PeriodicScanFrequency | undefined;
1805
1571
  frequencyExpression?: string | undefined;
@@ -1814,11 +1580,6 @@ export interface CodeSecurityScanConfiguration {
1814
1580
  export interface CodeSecurityScanConfigurationAssociationSummary {
1815
1581
  resource?: CodeSecurityResource | undefined;
1816
1582
  }
1817
- export declare const ProjectSelectionScope: {
1818
- readonly ALL: "ALL";
1819
- };
1820
- export type ProjectSelectionScope =
1821
- (typeof ProjectSelectionScope)[keyof typeof ProjectSelectionScope];
1822
1583
  export interface ScopeSettings {
1823
1584
  projectSelectionScope?: ProjectSelectionScope | undefined;
1824
1585
  }
@@ -1850,12 +1611,6 @@ export interface ComputePlatform {
1850
1611
  product?: string | undefined;
1851
1612
  version?: string | undefined;
1852
1613
  }
1853
- export declare const ConfigurationLevel: {
1854
- readonly ACCOUNT: "ACCOUNT";
1855
- readonly ORGANIZATION: "ORGANIZATION";
1856
- };
1857
- export type ConfigurationLevel =
1858
- (typeof ConfigurationLevel)[keyof typeof ConfigurationLevel];
1859
1614
  export declare const GroupKey: {
1860
1615
  readonly ACCOUNT_ID: "ACCOUNT_ID";
1861
1616
  readonly ECR_REPOSITORY_NAME: "ECR_REPOSITORY_NAME";
@@ -2393,3 +2148,269 @@ export interface EnableDelegatedAdminAccountRequest {
2393
2148
  export interface EnableDelegatedAdminAccountResponse {
2394
2149
  delegatedAdminAccountId: string | undefined;
2395
2150
  }
2151
+ export interface Epss {
2152
+ score?: number | undefined;
2153
+ }
2154
+ export interface EpssDetails {
2155
+ score?: number | undefined;
2156
+ }
2157
+ export interface ExploitabilityDetails {
2158
+ lastKnownExploitAt?: Date | undefined;
2159
+ }
2160
+ export declare const ExploitAvailable: {
2161
+ readonly NO: "NO";
2162
+ readonly YES: "YES";
2163
+ };
2164
+ export type ExploitAvailable =
2165
+ (typeof ExploitAvailable)[keyof typeof ExploitAvailable];
2166
+ export declare const ExternalReportStatus: {
2167
+ readonly CANCELLED: "CANCELLED";
2168
+ readonly FAILED: "FAILED";
2169
+ readonly IN_PROGRESS: "IN_PROGRESS";
2170
+ readonly SUCCEEDED: "SUCCEEDED";
2171
+ };
2172
+ export type ExternalReportStatus =
2173
+ (typeof ExternalReportStatus)[keyof typeof ExternalReportStatus];
2174
+ export interface Filter {
2175
+ arn: string | undefined;
2176
+ ownerId: string | undefined;
2177
+ name: string | undefined;
2178
+ criteria: FilterCriteria | undefined;
2179
+ action: FilterAction | undefined;
2180
+ createdAt: Date | undefined;
2181
+ updatedAt: Date | undefined;
2182
+ description?: string | undefined;
2183
+ reason?: string | undefined;
2184
+ tags?: Record<string, string> | undefined;
2185
+ }
2186
+ export declare const FixAvailable: {
2187
+ readonly NO: "NO";
2188
+ readonly PARTIAL: "PARTIAL";
2189
+ readonly YES: "YES";
2190
+ };
2191
+ export type FixAvailable = (typeof FixAvailable)[keyof typeof FixAvailable];
2192
+ export interface InspectorScoreDetails {
2193
+ adjustedCvss?: CvssScoreDetails | undefined;
2194
+ }
2195
+ export interface Step {
2196
+ componentId: string | undefined;
2197
+ componentType: string | undefined;
2198
+ componentArn?: string | undefined;
2199
+ }
2200
+ export interface NetworkPath {
2201
+ steps?: Step[] | undefined;
2202
+ }
2203
+ export interface PortRange {
2204
+ begin: number | undefined;
2205
+ end: number | undefined;
2206
+ }
2207
+ export declare const NetworkProtocol: {
2208
+ readonly TCP: "TCP";
2209
+ readonly UDP: "UDP";
2210
+ };
2211
+ export type NetworkProtocol =
2212
+ (typeof NetworkProtocol)[keyof typeof NetworkProtocol];
2213
+ export interface NetworkReachabilityDetails {
2214
+ openPortRange: PortRange | undefined;
2215
+ protocol: NetworkProtocol | undefined;
2216
+ networkPath: NetworkPath | undefined;
2217
+ }
2218
+ export declare const PackageManager: {
2219
+ readonly BUNDLER: "BUNDLER";
2220
+ readonly CARGO: "CARGO";
2221
+ readonly COMPOSER: "COMPOSER";
2222
+ readonly DOTNET_CORE: "DOTNET_CORE";
2223
+ readonly GEMSPEC: "GEMSPEC";
2224
+ readonly GOBINARY: "GOBINARY";
2225
+ readonly GOMOD: "GOMOD";
2226
+ readonly JAR: "JAR";
2227
+ readonly NODEPKG: "NODEPKG";
2228
+ readonly NPM: "NPM";
2229
+ readonly NUGET: "NUGET";
2230
+ readonly OS: "OS";
2231
+ readonly PIP: "PIP";
2232
+ readonly PIPENV: "PIPENV";
2233
+ readonly POETRY: "POETRY";
2234
+ readonly POM: "POM";
2235
+ readonly PYTHONPKG: "PYTHONPKG";
2236
+ readonly YARN: "YARN";
2237
+ };
2238
+ export type PackageManager =
2239
+ (typeof PackageManager)[keyof typeof PackageManager];
2240
+ export interface VulnerablePackage {
2241
+ name: string | undefined;
2242
+ version: string | undefined;
2243
+ sourceLayerHash?: string | undefined;
2244
+ epoch?: number | undefined;
2245
+ release?: string | undefined;
2246
+ arch?: string | undefined;
2247
+ packageManager?: PackageManager | undefined;
2248
+ filePath?: string | undefined;
2249
+ fixedInVersion?: string | undefined;
2250
+ remediation?: string | undefined;
2251
+ sourceLambdaLayerArn?: string | undefined;
2252
+ }
2253
+ export interface PackageVulnerabilityDetails {
2254
+ vulnerabilityId: string | undefined;
2255
+ vulnerablePackages?: VulnerablePackage[] | undefined;
2256
+ source: string | undefined;
2257
+ cvss?: CvssScore[] | undefined;
2258
+ relatedVulnerabilities?: string[] | undefined;
2259
+ sourceUrl?: string | undefined;
2260
+ vendorSeverity?: string | undefined;
2261
+ vendorCreatedAt?: Date | undefined;
2262
+ vendorUpdatedAt?: Date | undefined;
2263
+ referenceUrls?: string[] | undefined;
2264
+ }
2265
+ export interface Recommendation {
2266
+ text?: string | undefined;
2267
+ Url?: string | undefined;
2268
+ }
2269
+ export interface Remediation {
2270
+ recommendation?: Recommendation | undefined;
2271
+ }
2272
+ export interface ResourceDetails {
2273
+ awsEc2Instance?: AwsEc2InstanceDetails | undefined;
2274
+ awsEcrContainerImage?: AwsEcrContainerImageDetails | undefined;
2275
+ awsLambdaFunction?: AwsLambdaFunctionDetails | undefined;
2276
+ codeRepository?: CodeRepositoryDetails | undefined;
2277
+ }
2278
+ export declare const ResourceType: {
2279
+ readonly AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE";
2280
+ readonly AWS_ECR_CONTAINER_IMAGE: "AWS_ECR_CONTAINER_IMAGE";
2281
+ readonly AWS_ECR_REPOSITORY: "AWS_ECR_REPOSITORY";
2282
+ readonly AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION";
2283
+ readonly CODE_REPOSITORY: "CODE_REPOSITORY";
2284
+ };
2285
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
2286
+ export interface Resource {
2287
+ type: ResourceType | undefined;
2288
+ id: string | undefined;
2289
+ partition?: string | undefined;
2290
+ region?: string | undefined;
2291
+ tags?: Record<string, string> | undefined;
2292
+ details?: ResourceDetails | undefined;
2293
+ }
2294
+ export declare const Severity: {
2295
+ readonly CRITICAL: "CRITICAL";
2296
+ readonly HIGH: "HIGH";
2297
+ readonly INFORMATIONAL: "INFORMATIONAL";
2298
+ readonly LOW: "LOW";
2299
+ readonly MEDIUM: "MEDIUM";
2300
+ readonly UNTRIAGED: "UNTRIAGED";
2301
+ };
2302
+ export type Severity = (typeof Severity)[keyof typeof Severity];
2303
+ export declare const FindingStatus: {
2304
+ readonly ACTIVE: "ACTIVE";
2305
+ readonly CLOSED: "CLOSED";
2306
+ readonly SUPPRESSED: "SUPPRESSED";
2307
+ };
2308
+ export type FindingStatus = (typeof FindingStatus)[keyof typeof FindingStatus];
2309
+ export declare const FindingType: {
2310
+ readonly CODE_VULNERABILITY: "CODE_VULNERABILITY";
2311
+ readonly NETWORK_REACHABILITY: "NETWORK_REACHABILITY";
2312
+ readonly PACKAGE_VULNERABILITY: "PACKAGE_VULNERABILITY";
2313
+ };
2314
+ export type FindingType = (typeof FindingType)[keyof typeof FindingType];
2315
+ export interface Finding {
2316
+ findingArn: string | undefined;
2317
+ awsAccountId: string | undefined;
2318
+ type: FindingType | undefined;
2319
+ description: string | undefined;
2320
+ title?: string | undefined;
2321
+ remediation: Remediation | undefined;
2322
+ severity: Severity | undefined;
2323
+ firstObservedAt: Date | undefined;
2324
+ lastObservedAt: Date | undefined;
2325
+ updatedAt?: Date | undefined;
2326
+ status: FindingStatus | undefined;
2327
+ resources: Resource[] | undefined;
2328
+ inspectorScore?: number | undefined;
2329
+ inspectorScoreDetails?: InspectorScoreDetails | undefined;
2330
+ networkReachabilityDetails?: NetworkReachabilityDetails | undefined;
2331
+ packageVulnerabilityDetails?: PackageVulnerabilityDetails | undefined;
2332
+ fixAvailable?: FixAvailable | undefined;
2333
+ exploitAvailable?: ExploitAvailable | undefined;
2334
+ exploitabilityDetails?: ExploitabilityDetails | undefined;
2335
+ codeVulnerabilityDetails?: CodeVulnerabilityDetails | undefined;
2336
+ epss?: EpssDetails | undefined;
2337
+ }
2338
+ export interface GetCisScanReportRequest {
2339
+ scanArn: string | undefined;
2340
+ targetAccounts?: string[] | undefined;
2341
+ reportFormat?: CisReportFormat | undefined;
2342
+ }
2343
+ export interface GetCisScanReportResponse {
2344
+ url?: string | undefined;
2345
+ status?: CisReportStatus | undefined;
2346
+ }
2347
+ export interface GetCisScanResultDetailsRequest {
2348
+ scanArn: string | undefined;
2349
+ targetResourceId: string | undefined;
2350
+ accountId: string | undefined;
2351
+ filterCriteria?: CisScanResultDetailsFilterCriteria | undefined;
2352
+ sortBy?: CisScanResultDetailsSortBy | undefined;
2353
+ sortOrder?: CisSortOrder | undefined;
2354
+ nextToken?: string | undefined;
2355
+ maxResults?: number | undefined;
2356
+ }
2357
+ export interface GetCisScanResultDetailsResponse {
2358
+ scanResultDetails?: CisScanResultDetails[] | undefined;
2359
+ nextToken?: string | undefined;
2360
+ }
2361
+ export interface GetClustersForImageRequest {
2362
+ filter: ClusterForImageFilterCriteria | undefined;
2363
+ maxResults?: number | undefined;
2364
+ nextToken?: string | undefined;
2365
+ }
2366
+ export interface GetClustersForImageResponse {
2367
+ cluster: ClusterInformation[] | undefined;
2368
+ nextToken?: string | undefined;
2369
+ }
2370
+ export interface GetCodeSecurityIntegrationRequest {
2371
+ integrationArn: string | undefined;
2372
+ tags?: Record<string, string> | undefined;
2373
+ }
2374
+ export interface GetCodeSecurityIntegrationResponse {
2375
+ integrationArn: string | undefined;
2376
+ name: string | undefined;
2377
+ type: IntegrationType | undefined;
2378
+ status: IntegrationStatus | undefined;
2379
+ statusReason: string | undefined;
2380
+ createdOn: Date | undefined;
2381
+ lastUpdateOn: Date | undefined;
2382
+ tags?: Record<string, string> | undefined;
2383
+ authorizationUrl?: string | undefined;
2384
+ }
2385
+ export interface GetCodeSecurityScanRequest {
2386
+ resource: CodeSecurityResource | undefined;
2387
+ scanId: string | undefined;
2388
+ }
2389
+ export interface GetCodeSecurityScanResponse {
2390
+ scanId?: string | undefined;
2391
+ resource?: CodeSecurityResource | undefined;
2392
+ accountId?: string | undefined;
2393
+ status?: CodeScanStatus | undefined;
2394
+ statusReason?: string | undefined;
2395
+ createdAt?: Date | undefined;
2396
+ updatedAt?: Date | undefined;
2397
+ lastCommitId?: string | undefined;
2398
+ }
2399
+ export interface GetCodeSecurityScanConfigurationRequest {
2400
+ scanConfigurationArn: string | undefined;
2401
+ }
2402
+ export interface GetCodeSecurityScanConfigurationResponse {
2403
+ scanConfigurationArn?: string | undefined;
2404
+ name?: string | undefined;
2405
+ configuration?: CodeSecurityScanConfiguration | undefined;
2406
+ level?: ConfigurationLevel | undefined;
2407
+ scopeSettings?: ScopeSettings | undefined;
2408
+ createdAt?: Date | undefined;
2409
+ lastUpdatedAt?: Date | undefined;
2410
+ tags?: Record<string, string> | undefined;
2411
+ }
2412
+ export interface GetConfigurationRequest {}
2413
+ export interface GetConfigurationResponse {
2414
+ ecrConfiguration?: EcrConfigurationState | undefined;
2415
+ ec2Configuration?: Ec2ConfigurationState | undefined;
2416
+ }