"aws ecr describe-image-scan-findings --max-items" does not work for enhanced image scan configuration #8661
Labels
bug
This issue is a bug.
ecr
paginator
service-api
This issue is due to a problem in a service API, not the SDK implementation.
Describe the bug
I have enabled ECR enhanced image scanning and I have an image that has been pushed and scanned, which contains 4 vulnerabilities (as shown in the ECR console UI).
If I run the following command everything works as expected (it returns all 4 vulnerabilities):
If I add --max-items CLI parameter, it returns more than I asked for (it returns 4 vulnerabilities, expected 2):
Expected Behavior
See description.
Current Behavior
See description.
Reproduction Steps
See description.
Possible Solution
No response
Additional Information/Context
No response
CLI version used
aws-cli/2.15.43 Python/3.11.8 Linux/6.2.0-35-generic exe/x86_64.ubuntu.22 prompt/off
Environment details (OS name and version, etc.)
Linux Ubuntu 22.04
The text was updated successfully, but these errors were encountered: