|
246 | 246 | ],
|
247 | 247 | "documentation":"<p>Enables the Amazon Inspector delegated administrator for your Organizations organization.</p>"
|
248 | 248 | },
|
| 249 | + "GetConfiguration":{ |
| 250 | + "name":"GetConfiguration", |
| 251 | + "http":{ |
| 252 | + "method":"POST", |
| 253 | + "requestUri":"/configuration/get", |
| 254 | + "responseCode":200 |
| 255 | + }, |
| 256 | + "input":{"shape":"GetConfigurationRequest"}, |
| 257 | + "output":{"shape":"GetConfigurationResponse"}, |
| 258 | + "errors":[ |
| 259 | + {"shape":"ResourceNotFoundException"}, |
| 260 | + {"shape":"ThrottlingException"}, |
| 261 | + {"shape":"InternalServerException"} |
| 262 | + ], |
| 263 | + "documentation":"<p>Retrieves setting configurations for Inspector scans.</p>" |
| 264 | + }, |
249 | 265 | "GetDelegatedAdminAccount":{
|
250 | 266 | "name":"GetDelegatedAdminAccount",
|
251 | 267 | "http":{
|
|
502 | 518 | ],
|
503 | 519 | "documentation":"<p>Removes tags from a resource.</p>"
|
504 | 520 | },
|
| 521 | + "UpdateConfiguration":{ |
| 522 | + "name":"UpdateConfiguration", |
| 523 | + "http":{ |
| 524 | + "method":"POST", |
| 525 | + "requestUri":"/configuration/update", |
| 526 | + "responseCode":200 |
| 527 | + }, |
| 528 | + "input":{"shape":"UpdateConfigurationRequest"}, |
| 529 | + "output":{"shape":"UpdateConfigurationResponse"}, |
| 530 | + "errors":[ |
| 531 | + {"shape":"ValidationException"}, |
| 532 | + {"shape":"AccessDeniedException"}, |
| 533 | + {"shape":"ThrottlingException"}, |
| 534 | + {"shape":"InternalServerException"} |
| 535 | + ], |
| 536 | + "documentation":"<p>Updates setting configurations for your Amazon Inspector account. When you use this API as an Amazon Inspector delegated administrator this updates the setting for all accounts you manage. Member accounts in an organization cannot update this setting.</p>" |
| 537 | + }, |
505 | 538 | "UpdateFilter":{
|
506 | 539 | "name":"UpdateFilter",
|
507 | 540 | "http":{
|
|
1216 | 1249 | },
|
1217 | 1250 | "resourceType":{
|
1218 | 1251 | "shape":"CoverageStringFilterList",
|
1219 |
| - "documentation":"<p>An array of Amazon Web Services resource types to return coverage statistics for.</p>" |
| 1252 | + "documentation":"<p>An array of Amazon Web Services resource types to return coverage statistics for. The values can be <code>AWS_EC2_INSTANCE</code> or <code>AWS_ECR_REPOSITORY</code>.</p>" |
1220 | 1253 | },
|
1221 | 1254 | "scanStatusCode":{
|
1222 | 1255 | "shape":"CoverageStringFilterList",
|
|
1373 | 1406 | "shape":"FilterName",
|
1374 | 1407 | "documentation":"<p>The name of the filter. Minimum length of 3. Maximum length of 64. Valid characters include alphanumeric characters, dot (.), underscore (_), and dash (-). Spaces are not allowed.</p>"
|
1375 | 1408 | },
|
| 1409 | + "reason":{ |
| 1410 | + "shape":"FilterReason", |
| 1411 | + "documentation":"<p>The reason for creating the filter.</p>" |
| 1412 | + }, |
1376 | 1413 | "tags":{
|
1377 | 1414 | "shape":"TagMap",
|
1378 | 1415 | "documentation":"<p>A list of tags for the filter.</p>"
|
|
1812 | 1849 | "UNKNOWN"
|
1813 | 1850 | ]
|
1814 | 1851 | },
|
| 1852 | + "EcrConfiguration":{ |
| 1853 | + "type":"structure", |
| 1854 | + "required":["rescanDuration"], |
| 1855 | + "members":{ |
| 1856 | + "rescanDuration":{ |
| 1857 | + "shape":"EcrRescanDuration", |
| 1858 | + "documentation":"<p>The ECR automated re-scan duration defines how long an ECR image will be actively scanned by Amazon Inspector. When the number of days since an image was last pushed exceeds the automated re-scan duration the monitoring state of that image becomes <code>inactive</code> and all associated findings are scheduled for closure.</p>" |
| 1859 | + } |
| 1860 | + }, |
| 1861 | + "documentation":"<p>Details about the ECR automated re-scan duration setting for your environment</p>" |
| 1862 | + }, |
| 1863 | + "EcrConfigurationState":{ |
| 1864 | + "type":"structure", |
| 1865 | + "members":{ |
| 1866 | + "rescanDurationState":{ |
| 1867 | + "shape":"EcrRescanDurationState", |
| 1868 | + "documentation":"<p>An object that contains details about the state of the ECR automated re-scan setting.</p>" |
| 1869 | + } |
| 1870 | + }, |
| 1871 | + "documentation":"<p>Details about the state of the ECR scans for your environment.</p>" |
| 1872 | + }, |
1815 | 1873 | "EcrContainerImageMetadata":{
|
1816 | 1874 | "type":"structure",
|
1817 | 1875 | "members":{
|
|
1836 | 1894 | },
|
1837 | 1895 | "documentation":"<p>Information on the Amazon ECR repository metadata associated with a finding.</p>"
|
1838 | 1896 | },
|
| 1897 | + "EcrRescanDuration":{ |
| 1898 | + "type":"string", |
| 1899 | + "enum":[ |
| 1900 | + "LIFETIME", |
| 1901 | + "DAYS_30", |
| 1902 | + "DAYS_180" |
| 1903 | + ] |
| 1904 | + }, |
| 1905 | + "EcrRescanDurationState":{ |
| 1906 | + "type":"structure", |
| 1907 | + "members":{ |
| 1908 | + "rescanDuration":{ |
| 1909 | + "shape":"EcrRescanDuration", |
| 1910 | + "documentation":"<p>The ECR automated re-scan duration defines how long an ECR image will be actively scanned by Amazon Inspector. When the number of days since an image was last pushed exceeds the automated re-scan duration the monitoring state of that image becomes <code>inactive</code> and all associated findings are scheduled for closure.</p>" |
| 1911 | + }, |
| 1912 | + "status":{ |
| 1913 | + "shape":"EcrRescanDurationStatus", |
| 1914 | + "documentation":"<p>The status of changes to the ECR automated re-scan duration.</p>" |
| 1915 | + }, |
| 1916 | + "updatedAt":{ |
| 1917 | + "shape":"DateTimeTimestamp", |
| 1918 | + "documentation":"<p>A timestamp representing when the last time the ECR scan duration setting was changed.</p>" |
| 1919 | + } |
| 1920 | + }, |
| 1921 | + "documentation":"<p>Details about the state of any changes to the ECR automated re-scan duration setting.</p>" |
| 1922 | + }, |
| 1923 | + "EcrRescanDurationStatus":{ |
| 1924 | + "type":"string", |
| 1925 | + "enum":[ |
| 1926 | + "SUCCESS", |
| 1927 | + "PENDING", |
| 1928 | + "FAILED" |
| 1929 | + ] |
| 1930 | + }, |
1839 | 1931 | "EcrScanFrequency":{
|
1840 | 1932 | "type":"string",
|
1841 | 1933 | "enum":[
|
|
1923 | 2015 | "EVENTBRIDGE_UNAVAILABLE",
|
1924 | 2016 | "EVENTBRIDGE_THROTTLED",
|
1925 | 2017 | "RESOURCE_SCAN_NOT_DISABLED",
|
1926 |
| - "DISASSOCIATE_ALL_MEMBERS" |
| 2018 | + "DISASSOCIATE_ALL_MEMBERS", |
| 2019 | + "ACCOUNT_IS_ISOLATED" |
1927 | 2020 | ]
|
1928 | 2021 | },
|
1929 | 2022 | "ErrorMessage":{"type":"string"},
|
|
2462 | 2555 | "ECR"
|
2463 | 2556 | ]
|
2464 | 2557 | },
|
| 2558 | + "GetConfigurationRequest":{ |
| 2559 | + "type":"structure", |
| 2560 | + "members":{ |
| 2561 | + } |
| 2562 | + }, |
| 2563 | + "GetConfigurationResponse":{ |
| 2564 | + "type":"structure", |
| 2565 | + "members":{ |
| 2566 | + "ecrConfiguration":{ |
| 2567 | + "shape":"EcrConfigurationState", |
| 2568 | + "documentation":"<p>Specifies how the ECR automated re-scan duration is currently configured for your environment.</p>" |
| 2569 | + } |
| 2570 | + } |
| 2571 | + }, |
2465 | 2572 | "GetDelegatedAdminAccountRequest":{
|
2466 | 2573 | "type":"structure",
|
2467 | 2574 | "members":{
|
|
3301 | 3408 | "GOBINARY",
|
3302 | 3409 | "GOMOD",
|
3303 | 3410 | "JAR",
|
3304 |
| - "OS" |
| 3411 | + "OS", |
| 3412 | + "PIP", |
| 3413 | + "PYTHONPKG", |
| 3414 | + "NODEPKG", |
| 3415 | + "POM" |
3305 | 3416 | ]
|
3306 | 3417 | },
|
3307 | 3418 | "PackageName":{
|
|
3507 | 3618 | "type":"string",
|
3508 | 3619 | "enum":[
|
3509 | 3620 | "INTERNAL_ERROR",
|
3510 |
| - "INVALID_PERMISSIONS" |
| 3621 | + "INVALID_PERMISSIONS", |
| 3622 | + "NO_FINDINGS_FOUND", |
| 3623 | + "BUCKET_NOT_FOUND", |
| 3624 | + "INCOMPATIBLE_BUCKET_REGION", |
| 3625 | + "MALFORMED_KMS_KEY" |
3511 | 3626 | ]
|
3512 | 3627 | },
|
3513 | 3628 | "RepositoryAggregation":{
|
|
3742 | 3857 | "IMAGE_SIZE_EXCEEDED",
|
3743 | 3858 | "SCAN_FREQUENCY_MANUAL",
|
3744 | 3859 | "SCAN_FREQUENCY_SCAN_ON_PUSH",
|
3745 |
| - "EC2_INSTANCE_STOPPED" |
| 3860 | + "EC2_INSTANCE_STOPPED", |
| 3861 | + "PENDING_DISABLE" |
3746 | 3862 | ]
|
3747 | 3863 | },
|
3748 | 3864 | "ScanType":{
|
|
4106 | 4222 | "members":{
|
4107 | 4223 | }
|
4108 | 4224 | },
|
| 4225 | + "UpdateConfigurationRequest":{ |
| 4226 | + "type":"structure", |
| 4227 | + "required":["ecrConfiguration"], |
| 4228 | + "members":{ |
| 4229 | + "ecrConfiguration":{ |
| 4230 | + "shape":"EcrConfiguration", |
| 4231 | + "documentation":"<p>Specifies how the ECR automated re-scan will be updated for your environment.</p>" |
| 4232 | + } |
| 4233 | + } |
| 4234 | + }, |
| 4235 | + "UpdateConfigurationResponse":{ |
| 4236 | + "type":"structure", |
| 4237 | + "members":{ |
| 4238 | + } |
| 4239 | + }, |
4109 | 4240 | "UpdateFilterRequest":{
|
4110 | 4241 | "type":"structure",
|
4111 | 4242 | "required":["filterArn"],
|
|
4129 | 4260 | "name":{
|
4130 | 4261 | "shape":"FilterName",
|
4131 | 4262 | "documentation":"<p>The name of the filter.</p>"
|
| 4263 | + }, |
| 4264 | + "reason":{ |
| 4265 | + "shape":"FilterReason", |
| 4266 | + "documentation":"<p>The reason the filter was updated.</p>" |
4132 | 4267 | }
|
4133 | 4268 | }
|
4134 | 4269 | },
|
|
4284 | 4419 | },
|
4285 | 4420 | "VulnerabilityId":{
|
4286 | 4421 | "type":"string",
|
4287 |
| - "max":64, |
| 4422 | + "max":128, |
4288 | 4423 | "min":1
|
4289 | 4424 | },
|
4290 | 4425 | "VulnerabilityIdList":{
|
|
0 commit comments