This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate ECR auto-auth from ECR include/exclude
It is useful to be able to constrain the image repos scanned, even when you don't need or want to use the AWS authentication. This commit makes the constraints operate independently of AWS authentication, by using a "pre-flight check" to determine whether the AWS auth should be used, but applying the constraints either way. The preflight check is also used to exit from main() if `--registry-required=ecr` is set and the AWS API is not available.
- Loading branch information
Showing
2 changed files
with
120 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters