@aws-sdk/client-inspector2 3.495.0 → 3.498.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 (137) hide show
  1. package/README.md +104 -0
  2. package/dist-cjs/commands/CreateCisScanConfigurationCommand.js +1 -0
  3. package/dist-cjs/commands/DeleteCisScanConfigurationCommand.js +1 -0
  4. package/dist-cjs/commands/GetCisScanReportCommand.js +1 -0
  5. package/dist-cjs/commands/GetCisScanResultDetailsCommand.js +1 -0
  6. package/dist-cjs/commands/ListCisScanConfigurationsCommand.js +1 -0
  7. package/dist-cjs/commands/ListCisScanResultsAggregatedByChecksCommand.js +1 -0
  8. package/dist-cjs/commands/ListCisScanResultsAggregatedByTargetResourceCommand.js +1 -0
  9. package/dist-cjs/commands/ListCisScansCommand.js +1 -0
  10. package/dist-cjs/commands/SendCisSessionHealthCommand.js +1 -0
  11. package/dist-cjs/commands/SendCisSessionTelemetryCommand.js +1 -0
  12. package/dist-cjs/commands/StartCisSessionCommand.js +1 -0
  13. package/dist-cjs/commands/StopCisSessionCommand.js +1 -0
  14. package/dist-cjs/commands/UpdateCisScanConfigurationCommand.js +1 -0
  15. package/dist-cjs/index.js +1722 -397
  16. package/dist-cjs/models/models_1.js +1 -0
  17. package/dist-cjs/pagination/GetCisScanResultDetailsPaginator.js +1 -0
  18. package/dist-cjs/pagination/ListCisScanConfigurationsPaginator.js +1 -0
  19. package/dist-cjs/pagination/ListCisScanResultsAggregatedByChecksPaginator.js +1 -0
  20. package/dist-cjs/pagination/ListCisScanResultsAggregatedByTargetResourcePaginator.js +1 -0
  21. package/dist-cjs/pagination/ListCisScansPaginator.js +1 -0
  22. package/dist-es/Inspector2.js +26 -0
  23. package/dist-es/commands/CreateCisScanConfigurationCommand.js +24 -0
  24. package/dist-es/commands/DeleteCisScanConfigurationCommand.js +24 -0
  25. package/dist-es/commands/GetCisScanReportCommand.js +24 -0
  26. package/dist-es/commands/GetCisScanResultDetailsCommand.js +24 -0
  27. package/dist-es/commands/ListCisScanConfigurationsCommand.js +24 -0
  28. package/dist-es/commands/ListCisScanResultsAggregatedByChecksCommand.js +24 -0
  29. package/dist-es/commands/ListCisScanResultsAggregatedByTargetResourceCommand.js +24 -0
  30. package/dist-es/commands/ListCisScansCommand.js +24 -0
  31. package/dist-es/commands/SendCisSessionHealthCommand.js +24 -0
  32. package/dist-es/commands/SendCisSessionTelemetryCommand.js +24 -0
  33. package/dist-es/commands/StartCisSessionCommand.js +24 -0
  34. package/dist-es/commands/StopCisSessionCommand.js +24 -0
  35. package/dist-es/commands/UpdateCisScanConfigurationCommand.js +24 -0
  36. package/dist-es/commands/index.js +13 -0
  37. package/dist-es/models/index.js +1 -0
  38. package/dist-es/models/models_0.js +126 -28
  39. package/dist-es/models/models_1.js +35 -0
  40. package/dist-es/pagination/GetCisScanResultDetailsPaginator.js +4 -0
  41. package/dist-es/pagination/ListCisScanConfigurationsPaginator.js +4 -0
  42. package/dist-es/pagination/ListCisScanResultsAggregatedByChecksPaginator.js +4 -0
  43. package/dist-es/pagination/ListCisScanResultsAggregatedByTargetResourcePaginator.js +4 -0
  44. package/dist-es/pagination/ListCisScansPaginator.js +4 -0
  45. package/dist-es/pagination/index.js +5 -0
  46. package/dist-es/protocols/Aws_restJson1.js +847 -20
  47. package/dist-types/Inspector2.d.ts +91 -0
  48. package/dist-types/Inspector2Client.d.ts +15 -2
  49. package/dist-types/commands/CreateCisScanConfigurationCommand.d.ts +110 -0
  50. package/dist-types/commands/DeleteCisScanConfigurationCommand.d.ts +74 -0
  51. package/dist-types/commands/GetCisScanReportCommand.d.ts +75 -0
  52. package/dist-types/commands/GetCisScanResultDetailsCommand.d.ts +125 -0
  53. package/dist-types/commands/ListCisScanConfigurationsCommand.d.ts +141 -0
  54. package/dist-types/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +129 -0
  55. package/dist-types/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +152 -0
  56. package/dist-types/commands/ListCisScansCommand.d.ts +158 -0
  57. package/dist-types/commands/ListCoverageCommand.d.ts +2 -1
  58. package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +1 -1
  59. package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +1 -1
  60. package/dist-types/commands/ListFiltersCommand.d.ts +1 -1
  61. package/dist-types/commands/ListFindingAggregationsCommand.d.ts +1 -1
  62. package/dist-types/commands/ListFindingsCommand.d.ts +1 -1
  63. package/dist-types/commands/ListMembersCommand.d.ts +1 -1
  64. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  65. package/dist-types/commands/ListUsageTotalsCommand.d.ts +1 -1
  66. package/dist-types/commands/ResetEncryptionKeyCommand.d.ts +1 -1
  67. package/dist-types/commands/SearchVulnerabilitiesCommand.d.ts +1 -1
  68. package/dist-types/commands/SendCisSessionHealthCommand.d.ts +77 -0
  69. package/dist-types/commands/SendCisSessionTelemetryCommand.d.ts +84 -0
  70. package/dist-types/commands/StartCisSessionCommand.d.ts +79 -0
  71. package/dist-types/commands/StopCisSessionCommand.d.ts +98 -0
  72. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  73. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  74. package/dist-types/commands/UpdateCisScanConfigurationCommand.d.ts +111 -0
  75. package/dist-types/commands/UpdateConfigurationCommand.d.ts +1 -1
  76. package/dist-types/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +1 -1
  77. package/dist-types/commands/UpdateEncryptionKeyCommand.d.ts +1 -1
  78. package/dist-types/commands/UpdateFilterCommand.d.ts +1 -1
  79. package/dist-types/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +1 -1
  80. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
  81. package/dist-types/commands/index.d.ts +13 -0
  82. package/dist-types/models/index.d.ts +1 -0
  83. package/dist-types/models/models_0.d.ts +2223 -1516
  84. package/dist-types/models/models_1.d.ts +1053 -0
  85. package/dist-types/pagination/GetCisScanResultDetailsPaginator.d.ts +7 -0
  86. package/dist-types/pagination/ListCisScanConfigurationsPaginator.d.ts +7 -0
  87. package/dist-types/pagination/ListCisScanResultsAggregatedByChecksPaginator.d.ts +7 -0
  88. package/dist-types/pagination/ListCisScanResultsAggregatedByTargetResourcePaginator.d.ts +7 -0
  89. package/dist-types/pagination/ListCisScansPaginator.d.ts +7 -0
  90. package/dist-types/pagination/index.d.ts +5 -0
  91. package/dist-types/protocols/Aws_restJson1.d.ts +117 -0
  92. package/dist-types/ts3.4/Inspector2.d.ts +233 -0
  93. package/dist-types/ts3.4/Inspector2Client.d.ts +78 -0
  94. package/dist-types/ts3.4/commands/CreateCisScanConfigurationCommand.d.ts +30 -0
  95. package/dist-types/ts3.4/commands/DeleteCisScanConfigurationCommand.d.ts +30 -0
  96. package/dist-types/ts3.4/commands/GetCisScanReportCommand.d.ts +29 -0
  97. package/dist-types/ts3.4/commands/GetCisScanResultDetailsCommand.d.ts +30 -0
  98. package/dist-types/ts3.4/commands/ListCisScanConfigurationsCommand.d.ts +30 -0
  99. package/dist-types/ts3.4/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +30 -0
  100. package/dist-types/ts3.4/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +30 -0
  101. package/dist-types/ts3.4/commands/ListCisScansCommand.d.ts +26 -0
  102. package/dist-types/ts3.4/commands/ListCoverageCommand.d.ts +2 -1
  103. package/dist-types/ts3.4/commands/ListCoverageStatisticsCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/ListDelegatedAdminAccountsCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/ListFiltersCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/ListFindingAggregationsCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/ListUsageTotalsCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/ResetEncryptionKeyCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/SearchVulnerabilitiesCommand.d.ts +1 -1
  113. package/dist-types/ts3.4/commands/SendCisSessionHealthCommand.d.ts +30 -0
  114. package/dist-types/ts3.4/commands/SendCisSessionTelemetryCommand.d.ts +30 -0
  115. package/dist-types/ts3.4/commands/StartCisSessionCommand.d.ts +29 -0
  116. package/dist-types/ts3.4/commands/StopCisSessionCommand.d.ts +29 -0
  117. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  119. package/dist-types/ts3.4/commands/UpdateCisScanConfigurationCommand.d.ts +30 -0
  120. package/dist-types/ts3.4/commands/UpdateConfigurationCommand.d.ts +1 -1
  121. package/dist-types/ts3.4/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +1 -1
  122. package/dist-types/ts3.4/commands/UpdateEncryptionKeyCommand.d.ts +1 -1
  123. package/dist-types/ts3.4/commands/UpdateFilterCommand.d.ts +1 -1
  124. package/dist-types/ts3.4/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +1 -1
  125. package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
  126. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  127. package/dist-types/ts3.4/models/index.d.ts +1 -0
  128. package/dist-types/ts3.4/models/models_0.d.ts +449 -192
  129. package/dist-types/ts3.4/models/models_1.d.ts +309 -0
  130. package/dist-types/ts3.4/pagination/GetCisScanResultDetailsPaginator.d.ts +11 -0
  131. package/dist-types/ts3.4/pagination/ListCisScanConfigurationsPaginator.d.ts +11 -0
  132. package/dist-types/ts3.4/pagination/ListCisScanResultsAggregatedByChecksPaginator.d.ts +11 -0
  133. package/dist-types/ts3.4/pagination/ListCisScanResultsAggregatedByTargetResourcePaginator.d.ts +11 -0
  134. package/dist-types/ts3.4/pagination/ListCisScansPaginator.d.ts +11 -0
  135. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  136. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +156 -0
  137. package/package.json +39 -39
@@ -68,6 +68,17 @@ export interface AccountAggregationResponse {
68
68
  accountId?: string;
69
69
  severityCounts?: SeverityCounts;
70
70
  }
71
+ export declare const CisStringComparison: {
72
+ readonly EQUALS: "EQUALS";
73
+ readonly NOT_EQUALS: "NOT_EQUALS";
74
+ readonly PREFIX: "PREFIX";
75
+ };
76
+ export type CisStringComparison =
77
+ (typeof CisStringComparison)[keyof typeof CisStringComparison];
78
+ export interface CisStringFilter {
79
+ comparison: CisStringComparison | undefined;
80
+ value: string | undefined;
81
+ }
71
82
  export declare const ErrorCode: {
72
83
  readonly ACCESS_DENIED: "ACCESS_DENIED";
73
84
  readonly ACCOUNT_IS_ISOLATED: "ACCOUNT_IS_ISOLATED";
@@ -1063,6 +1074,338 @@ export interface CancelSbomExportRequest {
1063
1074
  export interface CancelSbomExportResponse {
1064
1075
  reportId?: string;
1065
1076
  }
1077
+ export declare const CisSecurityLevel: {
1078
+ readonly LEVEL_1: "LEVEL_1";
1079
+ readonly LEVEL_2: "LEVEL_2";
1080
+ };
1081
+ export type CisSecurityLevel =
1082
+ (typeof CisSecurityLevel)[keyof typeof CisSecurityLevel];
1083
+ export interface StatusCounts {
1084
+ failed?: number;
1085
+ skipped?: number;
1086
+ passed?: number;
1087
+ }
1088
+ export interface CisCheckAggregation {
1089
+ scanArn: string | undefined;
1090
+ checkId?: string;
1091
+ title?: string;
1092
+ checkDescription?: string;
1093
+ level?: CisSecurityLevel;
1094
+ accountId?: string;
1095
+ statusCounts?: StatusCounts;
1096
+ platform?: string;
1097
+ }
1098
+ export interface CisDateFilter {
1099
+ earliestScanStartTime?: Date;
1100
+ latestScanStartTime?: Date;
1101
+ }
1102
+ export declare const CisFindingStatus: {
1103
+ readonly FAILED: "FAILED";
1104
+ readonly PASSED: "PASSED";
1105
+ readonly SKIPPED: "SKIPPED";
1106
+ };
1107
+ export type CisFindingStatus =
1108
+ (typeof CisFindingStatus)[keyof typeof CisFindingStatus];
1109
+ export declare const CisFindingStatusComparison: {
1110
+ readonly EQUALS: "EQUALS";
1111
+ };
1112
+ export type CisFindingStatusComparison =
1113
+ (typeof CisFindingStatusComparison)[keyof typeof CisFindingStatusComparison];
1114
+ export interface CisFindingStatusFilter {
1115
+ comparison: CisFindingStatusComparison | undefined;
1116
+ value: CisFindingStatus | undefined;
1117
+ }
1118
+ export interface CisNumberFilter {
1119
+ upperInclusive?: number;
1120
+ lowerInclusive?: number;
1121
+ }
1122
+ export declare const CisReportStatus: {
1123
+ readonly FAILED: "FAILED";
1124
+ readonly IN_PROGRESS: "IN_PROGRESS";
1125
+ readonly SUCCEEDED: "SUCCEEDED";
1126
+ };
1127
+ export type CisReportStatus =
1128
+ (typeof CisReportStatus)[keyof typeof CisReportStatus];
1129
+ export declare const CisResultStatus: {
1130
+ readonly FAILED: "FAILED";
1131
+ readonly PASSED: "PASSED";
1132
+ readonly SKIPPED: "SKIPPED";
1133
+ };
1134
+ export type CisResultStatus =
1135
+ (typeof CisResultStatus)[keyof typeof CisResultStatus];
1136
+ export declare const CisResultStatusComparison: {
1137
+ readonly EQUALS: "EQUALS";
1138
+ };
1139
+ export type CisResultStatusComparison =
1140
+ (typeof CisResultStatusComparison)[keyof typeof CisResultStatusComparison];
1141
+ export interface CisResultStatusFilter {
1142
+ comparison: CisResultStatusComparison | undefined;
1143
+ value: CisResultStatus | undefined;
1144
+ }
1145
+ export declare const CisRuleStatus: {
1146
+ readonly ERROR: "ERROR";
1147
+ readonly FAILED: "FAILED";
1148
+ readonly INFORMATIONAL: "INFORMATIONAL";
1149
+ readonly NOT_APPLICABLE: "NOT_APPLICABLE";
1150
+ readonly NOT_EVALUATED: "NOT_EVALUATED";
1151
+ readonly PASSED: "PASSED";
1152
+ readonly UNKNOWN: "UNKNOWN";
1153
+ };
1154
+ export type CisRuleStatus = (typeof CisRuleStatus)[keyof typeof CisRuleStatus];
1155
+ export declare const CisScanStatus: {
1156
+ readonly CANCELLED: "CANCELLED";
1157
+ readonly COMPLETED: "COMPLETED";
1158
+ readonly FAILED: "FAILED";
1159
+ readonly IN_PROGRESS: "IN_PROGRESS";
1160
+ };
1161
+ export type CisScanStatus = (typeof CisScanStatus)[keyof typeof CisScanStatus];
1162
+ export interface CisTargets {
1163
+ accountIds?: string[];
1164
+ targetResourceTags?: Record<string, string[]>;
1165
+ }
1166
+ export interface CisScan {
1167
+ scanArn: string | undefined;
1168
+ scanConfigurationArn: string | undefined;
1169
+ status?: CisScanStatus;
1170
+ scanName?: string;
1171
+ scanDate?: Date;
1172
+ failedChecks?: number;
1173
+ totalChecks?: number;
1174
+ targets?: CisTargets;
1175
+ scheduledBy?: string;
1176
+ securityLevel?: CisSecurityLevel;
1177
+ }
1178
+ export interface Time {
1179
+ timeOfDay: string | undefined;
1180
+ timezone: string | undefined;
1181
+ }
1182
+ export interface DailySchedule {
1183
+ startTime: Time | undefined;
1184
+ }
1185
+ export declare const Day: {
1186
+ readonly FRI: "FRI";
1187
+ readonly MON: "MON";
1188
+ readonly SAT: "SAT";
1189
+ readonly SUN: "SUN";
1190
+ readonly THU: "THU";
1191
+ readonly TUE: "TUE";
1192
+ readonly WED: "WED";
1193
+ };
1194
+ export type Day = (typeof Day)[keyof typeof Day];
1195
+ export interface MonthlySchedule {
1196
+ startTime: Time | undefined;
1197
+ day: Day | undefined;
1198
+ }
1199
+ export interface OneTimeSchedule {}
1200
+ export interface WeeklySchedule {
1201
+ startTime: Time | undefined;
1202
+ days: Day[] | undefined;
1203
+ }
1204
+ export type Schedule =
1205
+ | Schedule.DailyMember
1206
+ | Schedule.MonthlyMember
1207
+ | Schedule.OneTimeMember
1208
+ | Schedule.WeeklyMember
1209
+ | Schedule.$UnknownMember;
1210
+ export declare namespace Schedule {
1211
+ interface OneTimeMember {
1212
+ oneTime: OneTimeSchedule;
1213
+ daily?: never;
1214
+ weekly?: never;
1215
+ monthly?: never;
1216
+ $unknown?: never;
1217
+ }
1218
+ interface DailyMember {
1219
+ oneTime?: never;
1220
+ daily: DailySchedule;
1221
+ weekly?: never;
1222
+ monthly?: never;
1223
+ $unknown?: never;
1224
+ }
1225
+ interface WeeklyMember {
1226
+ oneTime?: never;
1227
+ daily?: never;
1228
+ weekly: WeeklySchedule;
1229
+ monthly?: never;
1230
+ $unknown?: never;
1231
+ }
1232
+ interface MonthlyMember {
1233
+ oneTime?: never;
1234
+ daily?: never;
1235
+ weekly?: never;
1236
+ monthly: MonthlySchedule;
1237
+ $unknown?: never;
1238
+ }
1239
+ interface $UnknownMember {
1240
+ oneTime?: never;
1241
+ daily?: never;
1242
+ weekly?: never;
1243
+ monthly?: never;
1244
+ $unknown: [string, any];
1245
+ }
1246
+ interface Visitor<T> {
1247
+ oneTime: (value: OneTimeSchedule) => T;
1248
+ daily: (value: DailySchedule) => T;
1249
+ weekly: (value: WeeklySchedule) => T;
1250
+ monthly: (value: MonthlySchedule) => T;
1251
+ _: (name: string, value: any) => T;
1252
+ }
1253
+ const visit: <T>(value: Schedule, visitor: Visitor<T>) => T;
1254
+ }
1255
+ export interface CisScanConfiguration {
1256
+ scanConfigurationArn: string | undefined;
1257
+ ownerId?: string;
1258
+ scanName?: string;
1259
+ securityLevel?: CisSecurityLevel;
1260
+ schedule?: Schedule;
1261
+ targets?: CisTargets;
1262
+ tags?: Record<string, string>;
1263
+ }
1264
+ export declare const CisScanConfigurationsSortBy: {
1265
+ readonly SCAN_CONFIGURATION_ARN: "SCAN_CONFIGURATION_ARN";
1266
+ readonly SCAN_NAME: "SCAN_NAME";
1267
+ };
1268
+ export type CisScanConfigurationsSortBy =
1269
+ (typeof CisScanConfigurationsSortBy)[keyof typeof CisScanConfigurationsSortBy];
1270
+ export interface CisScanResultDetails {
1271
+ scanArn: string | undefined;
1272
+ accountId?: string;
1273
+ targetResourceId?: string;
1274
+ platform?: string;
1275
+ status?: CisFindingStatus;
1276
+ statusReason?: string;
1277
+ checkId?: string;
1278
+ title?: string;
1279
+ checkDescription?: string;
1280
+ remediation?: string;
1281
+ level?: CisSecurityLevel;
1282
+ findingArn?: string;
1283
+ }
1284
+ export declare const CisSecurityLevelComparison: {
1285
+ readonly EQUALS: "EQUALS";
1286
+ };
1287
+ export type CisSecurityLevelComparison =
1288
+ (typeof CisSecurityLevelComparison)[keyof typeof CisSecurityLevelComparison];
1289
+ export interface CisSecurityLevelFilter {
1290
+ comparison: CisSecurityLevelComparison | undefined;
1291
+ value: CisSecurityLevel | undefined;
1292
+ }
1293
+ export interface CisScanResultDetailsFilterCriteria {
1294
+ findingStatusFilters?: CisFindingStatusFilter[];
1295
+ checkIdFilters?: CisStringFilter[];
1296
+ titleFilters?: CisStringFilter[];
1297
+ securityLevelFilters?: CisSecurityLevelFilter[];
1298
+ findingArnFilters?: CisStringFilter[];
1299
+ }
1300
+ export declare const CisScanResultDetailsSortBy: {
1301
+ readonly CHECK_ID: "CHECK_ID";
1302
+ readonly STATUS: "STATUS";
1303
+ };
1304
+ export type CisScanResultDetailsSortBy =
1305
+ (typeof CisScanResultDetailsSortBy)[keyof typeof CisScanResultDetailsSortBy];
1306
+ export interface CisScanResultsAggregatedByChecksFilterCriteria {
1307
+ accountIdFilters?: CisStringFilter[];
1308
+ checkIdFilters?: CisStringFilter[];
1309
+ titleFilters?: CisStringFilter[];
1310
+ platformFilters?: CisStringFilter[];
1311
+ failedResourcesFilters?: CisNumberFilter[];
1312
+ securityLevelFilters?: CisSecurityLevelFilter[];
1313
+ }
1314
+ export declare const CisScanResultsAggregatedByChecksSortBy: {
1315
+ readonly CHECK_ID: "CHECK_ID";
1316
+ readonly FAILED_COUNTS: "FAILED_COUNTS";
1317
+ readonly PLATFORM: "PLATFORM";
1318
+ readonly SECURITY_LEVEL: "SECURITY_LEVEL";
1319
+ readonly TITLE: "TITLE";
1320
+ };
1321
+ export type CisScanResultsAggregatedByChecksSortBy =
1322
+ (typeof CisScanResultsAggregatedByChecksSortBy)[keyof typeof CisScanResultsAggregatedByChecksSortBy];
1323
+ export declare const TagComparison: {
1324
+ readonly EQUALS: "EQUALS";
1325
+ };
1326
+ export type TagComparison = (typeof TagComparison)[keyof typeof TagComparison];
1327
+ export interface TagFilter {
1328
+ comparison: TagComparison | undefined;
1329
+ key: string | undefined;
1330
+ value: string | undefined;
1331
+ }
1332
+ export declare const CisTargetStatusComparison: {
1333
+ readonly EQUALS: "EQUALS";
1334
+ };
1335
+ export type CisTargetStatusComparison =
1336
+ (typeof CisTargetStatusComparison)[keyof typeof CisTargetStatusComparison];
1337
+ export declare const CisTargetStatus: {
1338
+ readonly CANCELLED: "CANCELLED";
1339
+ readonly COMPLETED: "COMPLETED";
1340
+ readonly TIMED_OUT: "TIMED_OUT";
1341
+ };
1342
+ export type CisTargetStatus =
1343
+ (typeof CisTargetStatus)[keyof typeof CisTargetStatus];
1344
+ export interface CisTargetStatusFilter {
1345
+ comparison: CisTargetStatusComparison | undefined;
1346
+ value: CisTargetStatus | undefined;
1347
+ }
1348
+ export declare const CisTargetStatusReason: {
1349
+ readonly SCAN_IN_PROGRESS: "SCAN_IN_PROGRESS";
1350
+ readonly SSM_UNMANAGED: "SSM_UNMANAGED";
1351
+ readonly UNSUPPORTED_OS: "UNSUPPORTED_OS";
1352
+ };
1353
+ export type CisTargetStatusReason =
1354
+ (typeof CisTargetStatusReason)[keyof typeof CisTargetStatusReason];
1355
+ export interface CisTargetStatusReasonFilter {
1356
+ comparison: CisTargetStatusComparison | undefined;
1357
+ value: CisTargetStatusReason | undefined;
1358
+ }
1359
+ export interface CisScanResultsAggregatedByTargetResourceFilterCriteria {
1360
+ accountIdFilters?: CisStringFilter[];
1361
+ statusFilters?: CisResultStatusFilter[];
1362
+ checkIdFilters?: CisStringFilter[];
1363
+ targetResourceIdFilters?: CisStringFilter[];
1364
+ targetResourceTagFilters?: TagFilter[];
1365
+ platformFilters?: CisStringFilter[];
1366
+ targetStatusFilters?: CisTargetStatusFilter[];
1367
+ targetStatusReasonFilters?: CisTargetStatusReasonFilter[];
1368
+ failedChecksFilters?: CisNumberFilter[];
1369
+ }
1370
+ export declare const CisScanResultsAggregatedByTargetResourceSortBy: {
1371
+ readonly ACCOUNT_ID: "ACCOUNT_ID";
1372
+ readonly FAILED_COUNTS: "FAILED_COUNTS";
1373
+ readonly PLATFORM: "PLATFORM";
1374
+ readonly RESOURCE_ID: "RESOURCE_ID";
1375
+ readonly TARGET_STATUS: "TARGET_STATUS";
1376
+ readonly TARGET_STATUS_REASON: "TARGET_STATUS_REASON";
1377
+ };
1378
+ export type CisScanResultsAggregatedByTargetResourceSortBy =
1379
+ (typeof CisScanResultsAggregatedByTargetResourceSortBy)[keyof typeof CisScanResultsAggregatedByTargetResourceSortBy];
1380
+ export declare const CisScanStatusComparison: {
1381
+ readonly EQUALS: "EQUALS";
1382
+ };
1383
+ export type CisScanStatusComparison =
1384
+ (typeof CisScanStatusComparison)[keyof typeof CisScanStatusComparison];
1385
+ export interface CisScanStatusFilter {
1386
+ comparison: CisScanStatusComparison | undefined;
1387
+ value: CisScanStatus | undefined;
1388
+ }
1389
+ export interface CisSessionMessage {
1390
+ ruleId: string | undefined;
1391
+ status: CisRuleStatus | undefined;
1392
+ cisRuleDetails: Uint8Array | undefined;
1393
+ }
1394
+ export declare const CisSortOrder: {
1395
+ readonly ASC: "ASC";
1396
+ readonly DESC: "DESC";
1397
+ };
1398
+ export type CisSortOrder = (typeof CisSortOrder)[keyof typeof CisSortOrder];
1399
+ export interface CisTargetResourceAggregation {
1400
+ scanArn: string | undefined;
1401
+ targetResourceId?: string;
1402
+ accountId?: string;
1403
+ targetResourceTags?: Record<string, string[]>;
1404
+ statusCounts?: StatusCounts;
1405
+ platform?: string;
1406
+ targetStatus?: CisTargetStatus;
1407
+ targetStatusReason?: CisTargetStatusReason;
1408
+ }
1066
1409
  export interface CodeFilePath {
1067
1410
  fileName: string | undefined;
1068
1411
  filePath: string | undefined;
@@ -1079,6 +1422,11 @@ export interface CodeVulnerabilityDetails {
1079
1422
  detectorName: string | undefined;
1080
1423
  cwes: string[] | undefined;
1081
1424
  }
1425
+ export interface ComputePlatform {
1426
+ vendor?: string;
1427
+ product?: string;
1428
+ version?: string;
1429
+ }
1082
1430
  export declare class ConflictException extends __BaseException {
1083
1431
  readonly name: "ConflictException";
1084
1432
  readonly $fault: "client";
@@ -1236,6 +1584,20 @@ export interface CoveredResource {
1236
1584
  resourceMetadata?: ResourceScanMetadata;
1237
1585
  lastScannedAt?: Date;
1238
1586
  }
1587
+ export interface CreateCisTargets {
1588
+ accountIds: string[] | undefined;
1589
+ targetResourceTags: Record<string, string[]> | undefined;
1590
+ }
1591
+ export interface CreateCisScanConfigurationRequest {
1592
+ scanName: string | undefined;
1593
+ securityLevel: CisSecurityLevel | undefined;
1594
+ schedule: Schedule | undefined;
1595
+ targets: CreateCisTargets | undefined;
1596
+ tags?: Record<string, string>;
1597
+ }
1598
+ export interface CreateCisScanConfigurationResponse {
1599
+ scanConfigurationArn?: string;
1600
+ }
1239
1601
  export declare const FilterAction: {
1240
1602
  readonly NONE: "NONE";
1241
1603
  readonly SUPPRESS: "SUPPRESS";
@@ -1447,6 +1809,12 @@ export interface DelegatedAdminAccount {
1447
1809
  accountId?: string;
1448
1810
  status?: DelegatedAdminStatus;
1449
1811
  }
1812
+ export interface DeleteCisScanConfigurationRequest {
1813
+ scanConfigurationArn: string | undefined;
1814
+ }
1815
+ export interface DeleteCisScanConfigurationResponse {
1816
+ scanConfigurationArn: string | undefined;
1817
+ }
1450
1818
  export interface DeleteFilterRequest {
1451
1819
  arn: string | undefined;
1452
1820
  }
@@ -1710,6 +2078,28 @@ export interface Finding {
1710
2078
  codeVulnerabilityDetails?: CodeVulnerabilityDetails;
1711
2079
  epss?: EpssDetails;
1712
2080
  }
2081
+ export interface GetCisScanReportRequest {
2082
+ scanArn: string | undefined;
2083
+ targetAccounts?: string[];
2084
+ }
2085
+ export interface GetCisScanReportResponse {
2086
+ url?: string;
2087
+ status?: CisReportStatus;
2088
+ }
2089
+ export interface GetCisScanResultDetailsRequest {
2090
+ scanArn: string | undefined;
2091
+ targetResourceId: string | undefined;
2092
+ accountId: string | undefined;
2093
+ filterCriteria?: CisScanResultDetailsFilterCriteria;
2094
+ sortBy?: CisScanResultDetailsSortBy;
2095
+ sortOrder?: CisSortOrder;
2096
+ nextToken?: string;
2097
+ maxResults?: number;
2098
+ }
2099
+ export interface GetCisScanResultDetailsResponse {
2100
+ scanResultDetails?: CisScanResultDetails[];
2101
+ nextToken?: string;
2102
+ }
1713
2103
  export interface GetConfigurationRequest {}
1714
2104
  export interface GetConfigurationResponse {
1715
2105
  ecrConfiguration?: EcrConfigurationState;
@@ -1803,219 +2193,86 @@ export interface ListAccountPermissionsResponse {
1803
2193
  permissions: Permission[] | undefined;
1804
2194
  nextToken?: string;
1805
2195
  }
1806
- export interface ListCoverageRequest {
1807
- maxResults?: number;
1808
- nextToken?: string;
1809
- filterCriteria?: CoverageFilterCriteria;
2196
+ export interface ListCisScanConfigurationsFilterCriteria {
2197
+ scanNameFilters?: CisStringFilter[];
2198
+ targetResourceTagFilters?: TagFilter[];
2199
+ scanConfigurationArnFilters?: CisStringFilter[];
1810
2200
  }
1811
- export interface ListCoverageResponse {
2201
+ export interface ListCisScanConfigurationsRequest {
2202
+ filterCriteria?: ListCisScanConfigurationsFilterCriteria;
2203
+ sortBy?: CisScanConfigurationsSortBy;
2204
+ sortOrder?: CisSortOrder;
1812
2205
  nextToken?: string;
1813
- coveredResources?: CoveredResource[];
1814
- }
1815
- export interface ListCoverageStatisticsRequest {
1816
- filterCriteria?: CoverageFilterCriteria;
1817
- groupBy?: GroupKey;
1818
- nextToken?: string;
1819
- }
1820
- export interface ListCoverageStatisticsResponse {
1821
- countsByGroup?: Counts[];
1822
- totalCounts: number | undefined;
1823
- nextToken?: string;
1824
- }
1825
- export interface ListDelegatedAdminAccountsRequest {
1826
2206
  maxResults?: number;
1827
- nextToken?: string;
1828
2207
  }
1829
- export interface ListDelegatedAdminAccountsResponse {
1830
- delegatedAdminAccounts?: DelegatedAdminAccount[];
2208
+ export interface ListCisScanConfigurationsResponse {
2209
+ scanConfigurations?: CisScanConfiguration[];
1831
2210
  nextToken?: string;
1832
2211
  }
1833
- export interface ListFiltersRequest {
1834
- arns?: string[];
1835
- action?: FilterAction;
2212
+ export interface ListCisScanResultsAggregatedByChecksRequest {
2213
+ scanArn: string | undefined;
2214
+ filterCriteria?: CisScanResultsAggregatedByChecksFilterCriteria;
2215
+ sortBy?: CisScanResultsAggregatedByChecksSortBy;
2216
+ sortOrder?: CisSortOrder;
1836
2217
  nextToken?: string;
1837
2218
  maxResults?: number;
1838
2219
  }
1839
- export interface ListFiltersResponse {
1840
- filters: Filter[] | undefined;
2220
+ export interface ListCisScanResultsAggregatedByChecksResponse {
2221
+ checkAggregations?: CisCheckAggregation[];
1841
2222
  nextToken?: string;
1842
2223
  }
1843
- export interface ListFindingAggregationsRequest {
1844
- aggregationType: AggregationType | undefined;
2224
+ export interface ListCisScanResultsAggregatedByTargetResourceRequest {
2225
+ scanArn: string | undefined;
2226
+ filterCriteria?: CisScanResultsAggregatedByTargetResourceFilterCriteria;
2227
+ sortBy?: CisScanResultsAggregatedByTargetResourceSortBy;
2228
+ sortOrder?: CisSortOrder;
1845
2229
  nextToken?: string;
1846
2230
  maxResults?: number;
1847
- accountIds?: StringFilter[];
1848
- aggregationRequest?: AggregationRequest;
1849
2231
  }
1850
- export interface ListFindingAggregationsResponse {
1851
- aggregationType: AggregationType | undefined;
1852
- responses?: AggregationResponse[];
2232
+ export interface ListCisScanResultsAggregatedByTargetResourceResponse {
2233
+ targetResourceAggregations?: CisTargetResourceAggregation[];
1853
2234
  nextToken?: string;
1854
2235
  }
1855
- export declare const SortField: {
1856
- readonly AWS_ACCOUNT_ID: "AWS_ACCOUNT_ID";
1857
- readonly COMPONENT_TYPE: "COMPONENT_TYPE";
1858
- readonly ECR_IMAGE_PUSHED_AT: "ECR_IMAGE_PUSHED_AT";
1859
- readonly ECR_IMAGE_REGISTRY: "ECR_IMAGE_REGISTRY";
1860
- readonly ECR_IMAGE_REPOSITORY_NAME: "ECR_IMAGE_REPOSITORY_NAME";
1861
- readonly EPSS_SCORE: "EPSS_SCORE";
1862
- readonly FINDING_STATUS: "FINDING_STATUS";
1863
- readonly FINDING_TYPE: "FINDING_TYPE";
1864
- readonly FIRST_OBSERVED_AT: "FIRST_OBSERVED_AT";
1865
- readonly INSPECTOR_SCORE: "INSPECTOR_SCORE";
1866
- readonly LAST_OBSERVED_AT: "LAST_OBSERVED_AT";
1867
- readonly NETWORK_PROTOCOL: "NETWORK_PROTOCOL";
1868
- readonly RESOURCE_TYPE: "RESOURCE_TYPE";
1869
- readonly SEVERITY: "SEVERITY";
1870
- readonly VENDOR_SEVERITY: "VENDOR_SEVERITY";
1871
- readonly VULNERABILITY_ID: "VULNERABILITY_ID";
1872
- readonly VULNERABILITY_SOURCE: "VULNERABILITY_SOURCE";
1873
- };
1874
- export type SortField = (typeof SortField)[keyof typeof SortField];
1875
- export interface SortCriteria {
1876
- field: SortField | undefined;
1877
- sortOrder: SortOrder | undefined;
1878
- }
1879
- export interface ListFindingsRequest {
1880
- maxResults?: number;
2236
+ export declare const ListCisScansDetailLevel: {
2237
+ readonly MEMBER: "MEMBER";
2238
+ readonly ORGANIZATION: "ORGANIZATION";
2239
+ };
2240
+ export type ListCisScansDetailLevel =
2241
+ (typeof ListCisScansDetailLevel)[keyof typeof ListCisScansDetailLevel];
2242
+ export interface ListCisScansFilterCriteria {
2243
+ scanNameFilters?: CisStringFilter[];
2244
+ targetResourceTagFilters?: TagFilter[];
2245
+ targetResourceIdFilters?: CisStringFilter[];
2246
+ scanStatusFilters?: CisScanStatusFilter[];
2247
+ scanAtFilters?: CisDateFilter[];
2248
+ scanConfigurationArnFilters?: CisStringFilter[];
2249
+ scanArnFilters?: CisStringFilter[];
2250
+ scheduledByFilters?: CisStringFilter[];
2251
+ failedChecksFilters?: CisNumberFilter[];
2252
+ targetAccountIdFilters?: CisStringFilter[];
2253
+ }
2254
+ export declare const ListCisScansSortBy: {
2255
+ readonly FAILED_CHECKS: "FAILED_CHECKS";
2256
+ readonly SCAN_START_DATE: "SCAN_START_DATE";
2257
+ readonly SCHEDULED_BY: "SCHEDULED_BY";
2258
+ readonly STATUS: "STATUS";
2259
+ };
2260
+ export type ListCisScansSortBy =
2261
+ (typeof ListCisScansSortBy)[keyof typeof ListCisScansSortBy];
2262
+ export interface ListCisScansRequest {
2263
+ filterCriteria?: ListCisScansFilterCriteria;
2264
+ detailLevel?: ListCisScansDetailLevel;
2265
+ sortBy?: ListCisScansSortBy;
2266
+ sortOrder?: CisSortOrder;
1881
2267
  nextToken?: string;
1882
- filterCriteria?: FilterCriteria;
1883
- sortCriteria?: SortCriteria;
1884
- }
1885
- export interface ListFindingsResponse {
1886
- nextToken?: string;
1887
- findings?: Finding[];
1888
- }
1889
- export interface ListMembersRequest {
1890
- onlyAssociated?: boolean;
1891
2268
  maxResults?: number;
1892
- nextToken?: string;
1893
2269
  }
1894
- export interface ListMembersResponse {
1895
- members?: Member[];
2270
+ export interface ListCisScansResponse {
2271
+ scans?: CisScan[];
1896
2272
  nextToken?: string;
1897
2273
  }
1898
- export interface ListTagsForResourceRequest {
1899
- resourceArn: string | undefined;
1900
- }
1901
- export interface ListTagsForResourceResponse {
1902
- tags?: Record<string, string>;
1903
- }
1904
- export interface ListUsageTotalsRequest {
2274
+ export interface ListCoverageRequest {
1905
2275
  maxResults?: number;
1906
2276
  nextToken?: string;
1907
- accountIds?: string[];
1908
- }
1909
- export declare const UsageType: {
1910
- readonly EC2_INSTANCE_HOURS: "EC2_INSTANCE_HOURS";
1911
- readonly ECR_INITIAL_SCAN: "ECR_INITIAL_SCAN";
1912
- readonly ECR_RESCAN: "ECR_RESCAN";
1913
- readonly LAMBDA_FUNCTION_CODE_HOURS: "LAMBDA_FUNCTION_CODE_HOURS";
1914
- readonly LAMBDA_FUNCTION_HOURS: "LAMBDA_FUNCTION_HOURS";
1915
- };
1916
- export type UsageType = (typeof UsageType)[keyof typeof UsageType];
1917
- export interface Usage {
1918
- type?: UsageType;
1919
- total?: number;
1920
- estimatedMonthlyCost?: number;
1921
- currency?: Currency;
1922
- }
1923
- export interface UsageTotal {
1924
- accountId?: string;
1925
- usage?: Usage[];
1926
- }
1927
- export interface ListUsageTotalsResponse {
1928
- nextToken?: string;
1929
- totals?: UsageTotal[];
1930
- }
1931
- export interface ResetEncryptionKeyRequest {
1932
- scanType: ScanType | undefined;
1933
- resourceType: ResourceType | undefined;
1934
- }
1935
- export interface ResetEncryptionKeyResponse {}
1936
- export interface SearchVulnerabilitiesFilterCriteria {
1937
- vulnerabilityIds: string[] | undefined;
1938
- }
1939
- export interface SearchVulnerabilitiesRequest {
1940
- filterCriteria: SearchVulnerabilitiesFilterCriteria | undefined;
1941
- nextToken?: string;
1942
- }
1943
- export declare const VulnerabilitySource: {
1944
- readonly NVD: "NVD";
1945
- };
1946
- export type VulnerabilitySource =
1947
- (typeof VulnerabilitySource)[keyof typeof VulnerabilitySource];
1948
- export interface Vulnerability {
1949
- id: string | undefined;
1950
- cwes?: string[];
1951
- cisaData?: CisaData;
1952
- source?: VulnerabilitySource;
1953
- description?: string;
1954
- atigData?: AtigData;
1955
- vendorSeverity?: string;
1956
- cvss3?: Cvss3;
1957
- relatedVulnerabilities?: string[];
1958
- cvss2?: Cvss2;
1959
- vendorCreatedAt?: Date;
1960
- vendorUpdatedAt?: Date;
1961
- sourceUrl?: string;
1962
- referenceUrls?: string[];
1963
- exploitObserved?: ExploitObserved;
1964
- detectionPlatforms?: string[];
1965
- epss?: Epss;
1966
- }
1967
- export interface SearchVulnerabilitiesResponse {
1968
- vulnerabilities: Vulnerability[] | undefined;
1969
- nextToken?: string;
1970
- }
1971
- export interface TagResourceRequest {
1972
- resourceArn: string | undefined;
1973
- tags: Record<string, string> | undefined;
1974
- }
1975
- export interface TagResourceResponse {}
1976
- export interface UntagResourceRequest {
1977
- resourceArn: string | undefined;
1978
- tagKeys: string[] | undefined;
1979
- }
1980
- export interface UntagResourceResponse {}
1981
- export interface UpdateConfigurationRequest {
1982
- ecrConfiguration: EcrConfiguration | undefined;
1983
- }
1984
- export interface UpdateConfigurationResponse {}
1985
- export interface UpdateEc2DeepInspectionConfigurationRequest {
1986
- activateDeepInspection?: boolean;
1987
- packagePaths?: string[];
1988
- }
1989
- export interface UpdateEc2DeepInspectionConfigurationResponse {
1990
- packagePaths?: string[];
1991
- orgPackagePaths?: string[];
1992
- status?: Ec2DeepInspectionStatus;
1993
- errorMessage?: string;
1994
- }
1995
- export interface UpdateEncryptionKeyRequest {
1996
- kmsKeyId: string | undefined;
1997
- scanType: ScanType | undefined;
1998
- resourceType: ResourceType | undefined;
1999
- }
2000
- export interface UpdateEncryptionKeyResponse {}
2001
- export interface UpdateFilterRequest {
2002
- action?: FilterAction;
2003
- description?: string;
2004
- filterCriteria?: FilterCriteria;
2005
- name?: string;
2006
- filterArn: string | undefined;
2007
- reason?: string;
2008
- }
2009
- export interface UpdateFilterResponse {
2010
- arn: string | undefined;
2011
- }
2012
- export interface UpdateOrganizationConfigurationRequest {
2013
- autoEnable: AutoEnable | undefined;
2014
- }
2015
- export interface UpdateOrganizationConfigurationResponse {
2016
- autoEnable: AutoEnable | undefined;
2017
- }
2018
- export interface UpdateOrgEc2DeepInspectionConfigurationRequest {
2019
- orgPackagePaths: string[] | undefined;
2277
+ filterCriteria?: CoverageFilterCriteria;
2020
2278
  }
2021
- export interface UpdateOrgEc2DeepInspectionConfigurationResponse {}