|
137 | 137 | {"shape":"RepositoryPolicyNotFoundException"} |
138 | 138 | ] |
139 | 139 | }, |
| 140 | + "DescribeImageScanFindings":{ |
| 141 | + "name":"DescribeImageScanFindings", |
| 142 | + "http":{ |
| 143 | + "method":"POST", |
| 144 | + "requestUri":"/" |
| 145 | + }, |
| 146 | + "input":{"shape":"DescribeImageScanFindingsRequest"}, |
| 147 | + "output":{"shape":"DescribeImageScanFindingsResponse"}, |
| 148 | + "errors":[ |
| 149 | + {"shape":"ServerException"}, |
| 150 | + {"shape":"InvalidParameterException"}, |
| 151 | + {"shape":"RepositoryNotFoundException"}, |
| 152 | + {"shape":"ImageNotFoundException"}, |
| 153 | + {"shape":"ScanNotFoundException"} |
| 154 | + ] |
| 155 | + }, |
140 | 156 | "DescribeImages":{ |
141 | 157 | "name":"DescribeImages", |
142 | 158 | "http":{ |
|
300 | 316 | {"shape":"ImageTagAlreadyExistsException"} |
301 | 317 | ] |
302 | 318 | }, |
| 319 | + "PutImageScanningConfiguration":{ |
| 320 | + "name":"PutImageScanningConfiguration", |
| 321 | + "http":{ |
| 322 | + "method":"POST", |
| 323 | + "requestUri":"/" |
| 324 | + }, |
| 325 | + "input":{"shape":"PutImageScanningConfigurationRequest"}, |
| 326 | + "output":{"shape":"PutImageScanningConfigurationResponse"}, |
| 327 | + "errors":[ |
| 328 | + {"shape":"ServerException"}, |
| 329 | + {"shape":"InvalidParameterException"}, |
| 330 | + {"shape":"RepositoryNotFoundException"} |
| 331 | + ] |
| 332 | + }, |
303 | 333 | "PutImageTagMutability":{ |
304 | 334 | "name":"PutImageTagMutability", |
305 | 335 | "http":{ |
|
342 | 372 | {"shape":"RepositoryNotFoundException"} |
343 | 373 | ] |
344 | 374 | }, |
| 375 | + "StartImageScan":{ |
| 376 | + "name":"StartImageScan", |
| 377 | + "http":{ |
| 378 | + "method":"POST", |
| 379 | + "requestUri":"/" |
| 380 | + }, |
| 381 | + "input":{"shape":"StartImageScanRequest"}, |
| 382 | + "output":{"shape":"StartImageScanResponse"}, |
| 383 | + "errors":[ |
| 384 | + {"shape":"ServerException"}, |
| 385 | + {"shape":"InvalidParameterException"}, |
| 386 | + {"shape":"RepositoryNotFoundException"}, |
| 387 | + {"shape":"ImageNotFoundException"} |
| 388 | + ] |
| 389 | + }, |
345 | 390 | "StartLifecyclePolicyPreview":{ |
346 | 391 | "name":"StartLifecyclePolicyPreview", |
347 | 392 | "http":{ |
|
410 | 455 | }, |
411 | 456 | "shapes":{ |
412 | 457 | "Arn":{"type":"string"}, |
| 458 | + "Attribute":{ |
| 459 | + "type":"structure", |
| 460 | + "required":["key"], |
| 461 | + "members":{ |
| 462 | + "key":{"shape":"AttributeKey"}, |
| 463 | + "value":{"shape":"AttributeValue"} |
| 464 | + } |
| 465 | + }, |
| 466 | + "AttributeKey":{ |
| 467 | + "type":"string", |
| 468 | + "max":128, |
| 469 | + "min":1 |
| 470 | + }, |
| 471 | + "AttributeList":{ |
| 472 | + "type":"list", |
| 473 | + "member":{"shape":"Attribute"}, |
| 474 | + "max":50, |
| 475 | + "min":0 |
| 476 | + }, |
| 477 | + "AttributeValue":{ |
| 478 | + "type":"string", |
| 479 | + "max":256, |
| 480 | + "min":1 |
| 481 | + }, |
413 | 482 | "AuthorizationData":{ |
414 | 483 | "type":"structure", |
415 | 484 | "members":{ |
|
524 | 593 | "members":{ |
525 | 594 | "repositoryName":{"shape":"RepositoryName"}, |
526 | 595 | "tags":{"shape":"TagList"}, |
527 | | - "imageTagMutability":{"shape":"ImageTagMutability"} |
| 596 | + "imageTagMutability":{"shape":"ImageTagMutability"}, |
| 597 | + "imageScanningConfiguration":{"shape":"ImageScanningConfiguration"} |
528 | 598 | } |
529 | 599 | }, |
530 | 600 | "CreateRepositoryResponse":{ |
|
582 | 652 | "repository":{"shape":"Repository"} |
583 | 653 | } |
584 | 654 | }, |
| 655 | + "DescribeImageScanFindingsRequest":{ |
| 656 | + "type":"structure", |
| 657 | + "required":[ |
| 658 | + "repositoryName", |
| 659 | + "imageId" |
| 660 | + ], |
| 661 | + "members":{ |
| 662 | + "registryId":{"shape":"RegistryId"}, |
| 663 | + "repositoryName":{"shape":"RepositoryName"}, |
| 664 | + "imageId":{"shape":"ImageIdentifier"}, |
| 665 | + "nextToken":{"shape":"NextToken"}, |
| 666 | + "maxResults":{"shape":"MaxResults"} |
| 667 | + } |
| 668 | + }, |
| 669 | + "DescribeImageScanFindingsResponse":{ |
| 670 | + "type":"structure", |
| 671 | + "members":{ |
| 672 | + "registryId":{"shape":"RegistryId"}, |
| 673 | + "repositoryName":{"shape":"RepositoryName"}, |
| 674 | + "imageId":{"shape":"ImageIdentifier"}, |
| 675 | + "imageScanStatus":{"shape":"ImageScanStatus"}, |
| 676 | + "imageScanFindings":{"shape":"ImageScanFindings"}, |
| 677 | + "nextToken":{"shape":"NextToken"} |
| 678 | + } |
| 679 | + }, |
585 | 680 | "DescribeImagesFilter":{ |
586 | 681 | "type":"structure", |
587 | 682 | "members":{ |
|
633 | 728 | "EvaluationTimestamp":{"type":"timestamp"}, |
634 | 729 | "ExceptionMessage":{"type":"string"}, |
635 | 730 | "ExpirationTimestamp":{"type":"timestamp"}, |
| 731 | + "FindingDescription":{"type":"string"}, |
| 732 | + "FindingName":{"type":"string"}, |
| 733 | + "FindingSeverity":{ |
| 734 | + "type":"string", |
| 735 | + "enum":[ |
| 736 | + "INFORMATIONAL", |
| 737 | + "LOW", |
| 738 | + "MEDIUM", |
| 739 | + "HIGH", |
| 740 | + "CRITICAL", |
| 741 | + "UNDEFINED" |
| 742 | + ] |
| 743 | + }, |
| 744 | + "FindingSeverityCounts":{ |
| 745 | + "type":"map", |
| 746 | + "key":{"shape":"FindingSeverity"}, |
| 747 | + "value":{"shape":"SeverityCount"} |
| 748 | + }, |
636 | 749 | "ForceFlag":{"type":"boolean"}, |
637 | 750 | "GetAuthorizationTokenRegistryIdList":{ |
638 | 751 | "type":"list", |
|
760 | 873 | "imageDigest":{"shape":"ImageDigest"}, |
761 | 874 | "imageTags":{"shape":"ImageTagList"}, |
762 | 875 | "imageSizeInBytes":{"shape":"ImageSizeInBytes"}, |
763 | | - "imagePushedAt":{"shape":"PushTimestamp"} |
| 876 | + "imagePushedAt":{"shape":"PushTimestamp"}, |
| 877 | + "imageScanStatus":{"shape":"ImageScanStatus"}, |
| 878 | + "imageScanFindingsSummary":{"shape":"ImageScanFindingsSummary"} |
764 | 879 | } |
765 | 880 | }, |
766 | 881 | "ImageDetailList":{ |
|
808 | 923 | "type":"list", |
809 | 924 | "member":{"shape":"Image"} |
810 | 925 | }, |
811 | | - "ImageManifest":{"type":"string"}, |
| 926 | + "ImageManifest":{ |
| 927 | + "type":"string", |
| 928 | + "max":4194304, |
| 929 | + "min":1 |
| 930 | + }, |
812 | 931 | "ImageNotFoundException":{ |
813 | 932 | "type":"structure", |
814 | 933 | "members":{ |
815 | 934 | "message":{"shape":"ExceptionMessage"} |
816 | 935 | }, |
817 | 936 | "exception":true |
818 | 937 | }, |
| 938 | + "ImageScanFinding":{ |
| 939 | + "type":"structure", |
| 940 | + "members":{ |
| 941 | + "name":{"shape":"FindingName"}, |
| 942 | + "description":{"shape":"FindingDescription"}, |
| 943 | + "uri":{"shape":"Url"}, |
| 944 | + "severity":{"shape":"FindingSeverity"}, |
| 945 | + "attributes":{"shape":"AttributeList"} |
| 946 | + } |
| 947 | + }, |
| 948 | + "ImageScanFindingList":{ |
| 949 | + "type":"list", |
| 950 | + "member":{"shape":"ImageScanFinding"} |
| 951 | + }, |
| 952 | + "ImageScanFindings":{ |
| 953 | + "type":"structure", |
| 954 | + "members":{ |
| 955 | + "imageScanCompletedAt":{"shape":"ScanTimestamp"}, |
| 956 | + "vulnerabilitySourceUpdatedAt":{"shape":"VulnerabilitySourceUpdateTimestamp"}, |
| 957 | + "findings":{"shape":"ImageScanFindingList"}, |
| 958 | + "findingSeverityCounts":{"shape":"FindingSeverityCounts"} |
| 959 | + } |
| 960 | + }, |
| 961 | + "ImageScanFindingsSummary":{ |
| 962 | + "type":"structure", |
| 963 | + "members":{ |
| 964 | + "imageScanCompletedAt":{"shape":"ScanTimestamp"}, |
| 965 | + "vulnerabilitySourceUpdatedAt":{"shape":"VulnerabilitySourceUpdateTimestamp"}, |
| 966 | + "findingSeverityCounts":{"shape":"FindingSeverityCounts"} |
| 967 | + } |
| 968 | + }, |
| 969 | + "ImageScanStatus":{ |
| 970 | + "type":"structure", |
| 971 | + "members":{ |
| 972 | + "status":{"shape":"ScanStatus"}, |
| 973 | + "description":{"shape":"ScanStatusDescription"} |
| 974 | + } |
| 975 | + }, |
| 976 | + "ImageScanningConfiguration":{ |
| 977 | + "type":"structure", |
| 978 | + "members":{ |
| 979 | + "scanOnPush":{"shape":"ScanOnPushFlag"} |
| 980 | + } |
| 981 | + }, |
819 | 982 | "ImageSizeInBytes":{"type":"long"}, |
820 | 983 | "ImageTag":{ |
821 | 984 | "type":"string", |
|
951 | 1114 | "type":"list", |
952 | 1115 | "member":{"shape":"Layer"} |
953 | 1116 | }, |
954 | | - "LayerPartBlob":{"type":"blob"}, |
| 1117 | + "LayerPartBlob":{ |
| 1118 | + "type":"blob", |
| 1119 | + "max":20971520, |
| 1120 | + "min":0 |
| 1121 | + }, |
955 | 1122 | "LayerPartTooSmallException":{ |
956 | 1123 | "type":"structure", |
957 | 1124 | "members":{ |
|
1125 | 1292 | "image":{"shape":"Image"} |
1126 | 1293 | } |
1127 | 1294 | }, |
| 1295 | + "PutImageScanningConfigurationRequest":{ |
| 1296 | + "type":"structure", |
| 1297 | + "required":[ |
| 1298 | + "repositoryName", |
| 1299 | + "imageScanningConfiguration" |
| 1300 | + ], |
| 1301 | + "members":{ |
| 1302 | + "registryId":{"shape":"RegistryId"}, |
| 1303 | + "repositoryName":{"shape":"RepositoryName"}, |
| 1304 | + "imageScanningConfiguration":{"shape":"ImageScanningConfiguration"} |
| 1305 | + } |
| 1306 | + }, |
| 1307 | + "PutImageScanningConfigurationResponse":{ |
| 1308 | + "type":"structure", |
| 1309 | + "members":{ |
| 1310 | + "registryId":{"shape":"RegistryId"}, |
| 1311 | + "repositoryName":{"shape":"RepositoryName"}, |
| 1312 | + "imageScanningConfiguration":{"shape":"ImageScanningConfiguration"} |
| 1313 | + } |
| 1314 | + }, |
1128 | 1315 | "PutImageTagMutabilityRequest":{ |
1129 | 1316 | "type":"structure", |
1130 | 1317 | "required":[ |
|
1177 | 1364 | "repositoryName":{"shape":"RepositoryName"}, |
1178 | 1365 | "repositoryUri":{"shape":"Url"}, |
1179 | 1366 | "createdAt":{"shape":"CreationTimestamp"}, |
1180 | | - "imageTagMutability":{"shape":"ImageTagMutability"} |
| 1367 | + "imageTagMutability":{"shape":"ImageTagMutability"}, |
| 1368 | + "imageScanningConfiguration":{"shape":"ImageScanningConfiguration"} |
1181 | 1369 | } |
1182 | 1370 | }, |
1183 | 1371 | "RepositoryAlreadyExistsException":{ |
|
1229 | 1417 | "max":10240, |
1230 | 1418 | "min":0 |
1231 | 1419 | }, |
| 1420 | + "ScanNotFoundException":{ |
| 1421 | + "type":"structure", |
| 1422 | + "members":{ |
| 1423 | + "message":{"shape":"ExceptionMessage"} |
| 1424 | + }, |
| 1425 | + "exception":true |
| 1426 | + }, |
| 1427 | + "ScanOnPushFlag":{"type":"boolean"}, |
| 1428 | + "ScanStatus":{ |
| 1429 | + "type":"string", |
| 1430 | + "enum":[ |
| 1431 | + "IN_PROGRESS", |
| 1432 | + "COMPLETE", |
| 1433 | + "FAILED" |
| 1434 | + ] |
| 1435 | + }, |
| 1436 | + "ScanStatusDescription":{"type":"string"}, |
| 1437 | + "ScanTimestamp":{"type":"timestamp"}, |
1232 | 1438 | "ServerException":{ |
1233 | 1439 | "type":"structure", |
1234 | 1440 | "members":{ |
|
1258 | 1464 | "policyText":{"shape":"RepositoryPolicyText"} |
1259 | 1465 | } |
1260 | 1466 | }, |
| 1467 | + "SeverityCount":{ |
| 1468 | + "type":"integer", |
| 1469 | + "min":0 |
| 1470 | + }, |
| 1471 | + "StartImageScanRequest":{ |
| 1472 | + "type":"structure", |
| 1473 | + "required":[ |
| 1474 | + "repositoryName", |
| 1475 | + "imageId" |
| 1476 | + ], |
| 1477 | + "members":{ |
| 1478 | + "registryId":{"shape":"RegistryId"}, |
| 1479 | + "repositoryName":{"shape":"RepositoryName"}, |
| 1480 | + "imageId":{"shape":"ImageIdentifier"} |
| 1481 | + } |
| 1482 | + }, |
| 1483 | + "StartImageScanResponse":{ |
| 1484 | + "type":"structure", |
| 1485 | + "members":{ |
| 1486 | + "registryId":{"shape":"RegistryId"}, |
| 1487 | + "repositoryName":{"shape":"RepositoryName"}, |
| 1488 | + "imageId":{"shape":"ImageIdentifier"}, |
| 1489 | + "imageScanStatus":{"shape":"ImageScanStatus"} |
| 1490 | + } |
| 1491 | + }, |
1261 | 1492 | "StartLifecyclePolicyPreviewRequest":{ |
1262 | 1493 | "type":"structure", |
1263 | 1494 | "required":["repositoryName"], |
|
1378 | 1609 | }, |
1379 | 1610 | "exception":true |
1380 | 1611 | }, |
1381 | | - "Url":{"type":"string"} |
| 1612 | + "Url":{"type":"string"}, |
| 1613 | + "VulnerabilitySourceUpdateTimestamp":{"type":"timestamp"} |
1382 | 1614 | } |
1383 | 1615 | } |
0 commit comments