-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support remote registries #12
Comments
Hey, I would love to work on this issue under hacktoberfest. How can I get started? |
sure I'll assign this to you. The idea is to pull the image if locally not available and after scanning remove it. |
@ibreakthecloud Thank you. Can you explain the issue more and also provide resources for it? |
right now if you see, we do docker pull of image and then run scan on it, refer to this: https://github.com/deepfence/YaraHunter#example-finding-indicators-of-compromise-in-a-container-image But if we run scan and the image is not present locally, the scan will fail.
without pulling if imagePresent == false {
// pull and remove once done
} before this line would work |
@ibreakthecloud Hi, is this issue has been solved yet? |
Use case: I am planning to deploy a container to production. I wish to scan this container for IOCs beforehand.
Workaround: I can pull the container from its remote location, and then scan the local copy:
I would like to be able to scan the image directly:
... and for the scanner to pull and delete the image automatically.
The text was updated successfully, but these errors were encountered: