-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Images can't be pulled while scan is "PENDING", including during daily scan #19486
Comments
It may duplicate with #19385. |
From a functional design perspective, the current behavior is as expected. However, I understand your scenario. When there is a daily scan and a large number of images exist, the scanning task often has a relatively high latency. This may result in a number of images that cannot be successfully pulled during this period. However, from a security perspective, Harbor cannot know if the image has vulnerabilities that do not meet expectations until the scanning is complete. Therefore, it cannot make a judgment on whether it can be pulled. However, from the principle of minimum security, the current behavior may be the safest, but it may not be user-friendly. Do you have any suggestions? |
How about another status for previously-scanned images, which doesn't block pulls? Another idea (IDK how functionally feasible this is) might be to avoid changing the vulnerability status of an image to |
Hello, |
This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days. |
Not stale, please don't close |
This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days. |
This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days. |
Not stale, please don't close |
This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days. |
Not stale |
This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days. |
Not stale, still an issue :( |
This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days. |
This issue was closed because it has been stalled for 30 days with no activity. If this issue is still relevant, please re-open a new issue. |
I previously reported this behavior in #15406, but the issue was close for being stale.
I'm sorry to say that the issue is still present under v2.9.0 (below)
If you are reporting a problem, please make sure the following information are provided:
Expected behavior and actual behavior:
Prevent vulnerable images from running
, images can' be pulled while a scan is pending.Steps to reproduce the problem:
Prevent vulnerable images from running
.Versions:
Please specify the versions of following systems.
Additional context:
harbor.yml
and files in the same directory, including subdirectory./var/log/harbor/
.The text was updated successfully, but these errors were encountered: