[ECR Public] [request]: ScanOnPush and immutability for public containers
- Dominant language
- Shell
- Stars
- 5.4k
- Forks
- 334
- PR merge metrics
- No merged PRs in 30d
Description
### Community Note
* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
* Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
* If you are interested in working on this issue or have submitted a pull request, please leave a comment
**Tell us about your request**
Similar to
```
aws ecr create-repository \
--repository-name ${DOCKER_REPOSITORY} \
--image-tag-mutability IMMUTABLE \
--image-scanning-configuration scanOnPush=true
```
References:
1. https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-tag-mutability.html
1. https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-scanning.html
Support `--image-tag-mutability` and `--image-scanning-configuration scanOnPush=true` for `aws ecr-public`.
Example:
```
aws ecr-public create-repository \
--repository-name ${DOCKER_REPOSITORY} \
--image-tag-mutability IMMUTABLE \
--image-scanning-configuration scanOnPush=true
````
**Which service(s) is this request for?**
ECR
Contributor guide
Research direction
Start with the aws ecr-public create-repository command and the linked AWS documentation for image tag mutability and image scanning. Determine where this roadmap request would be implemented and verify that both options are supported for public repositories; done means the example command works with --image-tag-mutability and --image-scanning-configuration scanOnPush=true.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws
- Domain
- cloud
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 25/100