|
402 | 402 | {"shape":"InternalServerException"}
|
403 | 403 | ]
|
404 | 404 | },
|
| 405 | + "GetClustersForImage":{ |
| 406 | + "name":"GetClustersForImage", |
| 407 | + "http":{ |
| 408 | + "method":"POST", |
| 409 | + "requestUri":"/cluster/get", |
| 410 | + "responseCode":200 |
| 411 | + }, |
| 412 | + "input":{"shape":"GetClustersForImageRequest"}, |
| 413 | + "output":{"shape":"GetClustersForImageResponse"}, |
| 414 | + "errors":[ |
| 415 | + {"shape":"ValidationException"}, |
| 416 | + {"shape":"AccessDeniedException"}, |
| 417 | + {"shape":"ThrottlingException"}, |
| 418 | + {"shape":"InternalServerException"} |
| 419 | + ] |
| 420 | + }, |
405 | 421 | "GetConfiguration":{
|
406 | 422 | "name":"GetConfiguration",
|
407 | 423 | "http":{
|
|
1266 | 1282 | "architectures":{"shape":"StringFilterList"},
|
1267 | 1283 | "imageShas":{"shape":"StringFilterList"},
|
1268 | 1284 | "imageTags":{"shape":"StringFilterList"},
|
| 1285 | + "inUseCount":{"shape":"NumberFilterList"}, |
| 1286 | + "lastInUseAt":{"shape":"DateFilterList"}, |
1269 | 1287 | "repositories":{"shape":"StringFilterList"},
|
1270 | 1288 | "resourceIds":{"shape":"StringFilterList"},
|
1271 | 1289 | "sortBy":{"shape":"AwsEcrContainerSortBy"},
|
|
1280 | 1298 | "architecture":{"shape":"String"},
|
1281 | 1299 | "imageSha":{"shape":"String"},
|
1282 | 1300 | "imageTags":{"shape":"StringList"},
|
| 1301 | + "inUseCount":{"shape":"Long"}, |
| 1302 | + "lastInUseAt":{"shape":"DateTimeTimestamp"}, |
1283 | 1303 | "repository":{"shape":"String"},
|
1284 | 1304 | "resourceId":{"shape":"NonEmptyString"},
|
1285 | 1305 | "severityCounts":{"shape":"SeverityCounts"}
|
|
1297 | 1317 | "author":{"shape":"String"},
|
1298 | 1318 | "imageHash":{"shape":"ImageHash"},
|
1299 | 1319 | "imageTags":{"shape":"ImageTagList"},
|
| 1320 | + "inUseCount":{"shape":"Long"}, |
| 1321 | + "lastInUseAt":{"shape":"DateTimeTimestamp"}, |
1300 | 1322 | "platform":{"shape":"Platform"},
|
1301 | 1323 | "pushedAt":{"shape":"DateTimeTimestamp"},
|
1302 | 1324 | "registry":{"shape":"NonEmptyString"},
|
|
1311 | 1333 | "ALL"
|
1312 | 1334 | ]
|
1313 | 1335 | },
|
| 1336 | + "AwsEcsMetadataDetails":{ |
| 1337 | + "type":"structure", |
| 1338 | + "required":[ |
| 1339 | + "detailsGroup", |
| 1340 | + "taskDefinitionArn" |
| 1341 | + ], |
| 1342 | + "members":{ |
| 1343 | + "detailsGroup":{"shape":"AwsEcsMetadataDetailsDetailsGroupString"}, |
| 1344 | + "taskDefinitionArn":{"shape":"AwsEcsMetadataDetailsTaskDefinitionArnString"} |
| 1345 | + } |
| 1346 | + }, |
| 1347 | + "AwsEcsMetadataDetailsDetailsGroupString":{ |
| 1348 | + "type":"string", |
| 1349 | + "max":256, |
| 1350 | + "min":1 |
| 1351 | + }, |
| 1352 | + "AwsEcsMetadataDetailsTaskDefinitionArnString":{ |
| 1353 | + "type":"string", |
| 1354 | + "max":2048, |
| 1355 | + "min":1 |
| 1356 | + }, |
| 1357 | + "AwsEksMetadataDetails":{ |
| 1358 | + "type":"structure", |
| 1359 | + "members":{ |
| 1360 | + "namespace":{"shape":"AwsEksMetadataDetailsNamespaceString"}, |
| 1361 | + "workloadInfoList":{"shape":"AwsEksWorkloadInfoList"} |
| 1362 | + } |
| 1363 | + }, |
| 1364 | + "AwsEksMetadataDetailsNamespaceString":{ |
| 1365 | + "type":"string", |
| 1366 | + "max":256, |
| 1367 | + "min":1 |
| 1368 | + }, |
| 1369 | + "AwsEksWorkloadInfo":{ |
| 1370 | + "type":"structure", |
| 1371 | + "required":[ |
| 1372 | + "name", |
| 1373 | + "type" |
| 1374 | + ], |
| 1375 | + "members":{ |
| 1376 | + "name":{"shape":"AwsEksWorkloadInfoNameString"}, |
| 1377 | + "type":{"shape":"AwsEksWorkloadInfoTypeString"} |
| 1378 | + } |
| 1379 | + }, |
| 1380 | + "AwsEksWorkloadInfoList":{ |
| 1381 | + "type":"list", |
| 1382 | + "member":{"shape":"AwsEksWorkloadInfo"}, |
| 1383 | + "max":100, |
| 1384 | + "min":0 |
| 1385 | + }, |
| 1386 | + "AwsEksWorkloadInfoNameString":{ |
| 1387 | + "type":"string", |
| 1388 | + "max":256, |
| 1389 | + "min":1 |
| 1390 | + }, |
| 1391 | + "AwsEksWorkloadInfoTypeString":{ |
| 1392 | + "type":"string", |
| 1393 | + "max":256, |
| 1394 | + "min":1 |
| 1395 | + }, |
1314 | 1396 | "AwsLambdaFunctionDetails":{
|
1315 | 1397 | "type":"structure",
|
1316 | 1398 | "required":[
|
|
2029 | 2111 | "max":64,
|
2030 | 2112 | "min":1
|
2031 | 2113 | },
|
| 2114 | + "ClusterDetails":{ |
| 2115 | + "type":"structure", |
| 2116 | + "required":[ |
| 2117 | + "clusterMetadata", |
| 2118 | + "lastInUse" |
| 2119 | + ], |
| 2120 | + "members":{ |
| 2121 | + "clusterMetadata":{"shape":"ClusterMetadata"}, |
| 2122 | + "lastInUse":{"shape":"Timestamp"}, |
| 2123 | + "runningUnitCount":{"shape":"Long"}, |
| 2124 | + "stoppedUnitCount":{"shape":"Long"} |
| 2125 | + } |
| 2126 | + }, |
| 2127 | + "ClusterForImageFilterCriteria":{ |
| 2128 | + "type":"structure", |
| 2129 | + "required":["resourceId"], |
| 2130 | + "members":{ |
| 2131 | + "resourceId":{"shape":"ClusterForImageFilterCriteriaResourceIdString"} |
| 2132 | + } |
| 2133 | + }, |
| 2134 | + "ClusterForImageFilterCriteriaResourceIdString":{ |
| 2135 | + "type":"string", |
| 2136 | + "pattern":"^arn:.*:ecr:.*:\\d{12}:repository\\/(?:[a-z0-9]+(?:[._-][a-z0-9]+)*\\/)*[a-z0-9]+(?:[._-][a-z0-9]+)*(\\/sha256:[a-z0-9]{64})?$" |
| 2137 | + }, |
| 2138 | + "ClusterInformation":{ |
| 2139 | + "type":"structure", |
| 2140 | + "required":["clusterArn"], |
| 2141 | + "members":{ |
| 2142 | + "clusterArn":{"shape":"ClusterInformationClusterArnString"}, |
| 2143 | + "clusterDetails":{"shape":"ClusterInformationClusterDetailsList"} |
| 2144 | + } |
| 2145 | + }, |
| 2146 | + "ClusterInformationClusterArnString":{ |
| 2147 | + "type":"string", |
| 2148 | + "max":2048, |
| 2149 | + "min":1, |
| 2150 | + "pattern":"^arn:aws(?:-[a-z0-9-]+)?:(?:ecs|eks):[a-z0-9-]+:[0-9]{12}:cluster/[a-zA-Z0-9_-]+$" |
| 2151 | + }, |
| 2152 | + "ClusterInformationClusterDetailsList":{ |
| 2153 | + "type":"list", |
| 2154 | + "member":{"shape":"ClusterDetails"}, |
| 2155 | + "max":100, |
| 2156 | + "min":1 |
| 2157 | + }, |
| 2158 | + "ClusterInformationList":{ |
| 2159 | + "type":"list", |
| 2160 | + "member":{"shape":"ClusterInformation"}, |
| 2161 | + "max":100, |
| 2162 | + "min":1 |
| 2163 | + }, |
| 2164 | + "ClusterMetadata":{ |
| 2165 | + "type":"structure", |
| 2166 | + "members":{ |
| 2167 | + "awsEcsMetadataDetails":{"shape":"AwsEcsMetadataDetails"}, |
| 2168 | + "awsEksMetadataDetails":{"shape":"AwsEksMetadataDetails"} |
| 2169 | + }, |
| 2170 | + "union":true |
| 2171 | + }, |
2032 | 2172 | "CodeFilePath":{
|
2033 | 2173 | "type":"structure",
|
2034 | 2174 | "required":[
|
|
2185 | 2325 | "members":{
|
2186 | 2326 | "accountId":{"shape":"CoverageStringFilterList"},
|
2187 | 2327 | "ec2InstanceTags":{"shape":"CoverageMapFilterList"},
|
| 2328 | + "ecrImageInUseCount":{"shape":"CoverageNumberFilterList"}, |
| 2329 | + "ecrImageLastInUseAt":{"shape":"CoverageDateFilterList"}, |
2188 | 2330 | "ecrImageTags":{"shape":"CoverageStringFilterList"},
|
2189 | 2331 | "ecrRepositoryName":{"shape":"CoverageStringFilterList"},
|
2190 | 2332 | "imagePulledAt":{"shape":"CoverageDateFilterList"},
|
|
2222 | 2364 | "max":10,
|
2223 | 2365 | "min":1
|
2224 | 2366 | },
|
| 2367 | + "CoverageNumberFilter":{ |
| 2368 | + "type":"structure", |
| 2369 | + "members":{ |
| 2370 | + "lowerInclusive":{"shape":"Long"}, |
| 2371 | + "upperInclusive":{"shape":"Long"} |
| 2372 | + } |
| 2373 | + }, |
| 2374 | + "CoverageNumberFilterList":{ |
| 2375 | + "type":"list", |
| 2376 | + "member":{"shape":"CoverageNumberFilter"}, |
| 2377 | + "max":10, |
| 2378 | + "min":1 |
| 2379 | + }, |
2225 | 2380 | "CoverageResourceType":{
|
2226 | 2381 | "type":"string",
|
2227 | 2382 | "enum":[
|
|
2750 | 2905 | "required":["rescanDuration"],
|
2751 | 2906 | "members":{
|
2752 | 2907 | "pullDateRescanDuration":{"shape":"EcrPullDateRescanDuration"},
|
| 2908 | + "pullDateRescanMode":{"shape":"EcrPullDateRescanMode"}, |
2753 | 2909 | "rescanDuration":{"shape":"EcrRescanDuration"}
|
2754 | 2910 | }
|
2755 | 2911 | },
|
|
2763 | 2919 | "type":"structure",
|
2764 | 2920 | "members":{
|
2765 | 2921 | "imagePulledAt":{"shape":"DateTimeTimestamp"},
|
| 2922 | + "inUseCount":{"shape":"Long"}, |
| 2923 | + "lastInUseAt":{"shape":"DateTimeTimestamp"}, |
2766 | 2924 | "tags":{"shape":"TagList"}
|
2767 | 2925 | }
|
2768 | 2926 | },
|
|
2776 | 2934 | "DAYS_180"
|
2777 | 2935 | ]
|
2778 | 2936 | },
|
| 2937 | + "EcrPullDateRescanMode":{ |
| 2938 | + "type":"string", |
| 2939 | + "enum":[ |
| 2940 | + "LAST_PULL_DATE", |
| 2941 | + "LAST_IN_USE_AT" |
| 2942 | + ] |
| 2943 | + }, |
2779 | 2944 | "EcrRepositoryMetadata":{
|
2780 | 2945 | "type":"structure",
|
2781 | 2946 | "members":{
|
|
2798 | 2963 | "type":"structure",
|
2799 | 2964 | "members":{
|
2800 | 2965 | "pullDateRescanDuration":{"shape":"EcrPullDateRescanDuration"},
|
| 2966 | + "pullDateRescanMode":{"shape":"EcrPullDateRescanMode"}, |
2801 | 2967 | "rescanDuration":{"shape":"EcrRescanDuration"},
|
2802 | 2968 | "status":{"shape":"EcrRescanDurationStatus"},
|
2803 | 2969 | "updatedAt":{"shape":"DateTimeTimestamp"}
|
|
3055 | 3221 | "ec2InstanceVpcId":{"shape":"StringFilterList"},
|
3056 | 3222 | "ecrImageArchitecture":{"shape":"StringFilterList"},
|
3057 | 3223 | "ecrImageHash":{"shape":"StringFilterList"},
|
| 3224 | + "ecrImageInUseCount":{"shape":"NumberFilterList"}, |
| 3225 | + "ecrImageLastInUseAt":{"shape":"DateFilterList"}, |
3058 | 3226 | "ecrImagePushedAt":{"shape":"DateFilterList"},
|
3059 | 3227 | "ecrImageRegistry":{"shape":"StringFilterList"},
|
3060 | 3228 | "ecrImageRepositoryName":{"shape":"StringFilterList"},
|
|
3395 | 3563 | "scanResultDetails":{"shape":"CisScanResultDetailsList"}
|
3396 | 3564 | }
|
3397 | 3565 | },
|
| 3566 | + "GetClustersForImageNextToken":{ |
| 3567 | + "type":"string", |
| 3568 | + "max":3000, |
| 3569 | + "min":1 |
| 3570 | + }, |
| 3571 | + "GetClustersForImageRequest":{ |
| 3572 | + "type":"structure", |
| 3573 | + "required":["filter"], |
| 3574 | + "members":{ |
| 3575 | + "filter":{"shape":"ClusterForImageFilterCriteria"}, |
| 3576 | + "maxResults":{"shape":"GetClustersForImageRequestMaxResultsInteger"}, |
| 3577 | + "nextToken":{"shape":"GetClustersForImageNextToken"} |
| 3578 | + } |
| 3579 | + }, |
| 3580 | + "GetClustersForImageRequestMaxResultsInteger":{ |
| 3581 | + "type":"integer", |
| 3582 | + "box":true, |
| 3583 | + "max":100, |
| 3584 | + "min":1 |
| 3585 | + }, |
| 3586 | + "GetClustersForImageResponse":{ |
| 3587 | + "type":"structure", |
| 3588 | + "required":["cluster"], |
| 3589 | + "members":{ |
| 3590 | + "cluster":{"shape":"ClusterInformationList"}, |
| 3591 | + "nextToken":{"shape":"GetClustersForImageNextToken"} |
| 3592 | + } |
| 3593 | + }, |
3398 | 3594 | "GetConfigurationRequest":{
|
3399 | 3595 | "type":"structure",
|
3400 | 3596 | "members":{
|
|
4815 | 5011 | "DEEP_INSPECTION_COLLECTION_TIME_LIMIT_EXCEEDED",
|
4816 | 5012 | "DEEP_INSPECTION_NO_INVENTORY",
|
4817 | 5013 | "AGENTLESS_INSTANCE_STORAGE_LIMIT_EXCEEDED",
|
4818 |
| - "AGENTLESS_INSTANCE_COLLECTION_TIME_LIMIT_EXCEEDED" |
| 5014 | + "AGENTLESS_INSTANCE_COLLECTION_TIME_LIMIT_EXCEEDED", |
| 5015 | + "PENDING_REVIVAL_SCAN" |
4819 | 5016 | ]
|
4820 | 5017 | },
|
4821 | 5018 | "ScanType":{
|
|
0 commit comments