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
Trivy Syntax change Incorrect Usage. flag provided but not defined after upgrade to 2.4.2 #16554
Comments
Related to aquasecurity/harbor-scanner-trivy#222 |
Note that this functionality should not have impact on scan results. However, it has impact on parsing vulnerability DB metadata, e.g. last update timestamp that's not shown in scanner metadata in Harbor UI. |
We're facing the same issue after upgrading from Harbor v2.2.0 to v2.5.0. Trivy version upgraded from 0.16.0 to 0.24.2. |
We're facing the same issue after upgrading from Harbor v2.2.0 to v2.4.2/2.5.0. |
You can always take the latest aquasec/harbor-scanner-trivy:0.28.0 image and update your docker-compose.yml or K8s pod spec to use the latest version of Trivy adapter until we release new version of Harbor with bumped up dependencies. |
Trivy replaced the --version flag with version subcommand. Resolves: goharbor#16554 Resolves: goharbor#16555 Signed-off-by: Daniel Pacak <pacak.daniel@gmail.com>
Trivy replaced the --version flag with version subcommand. Resolves: goharbor#16554 Resolves: goharbor#16555 Signed-off-by: Daniel Pacak <pacak.daniel@gmail.com>
Trivy replaced the --version flag with version subcommand. Resolves: goharbor#16554 Resolves: goharbor#16555 Signed-off-by: Daniel Pacak <pacak.daniel@gmail.com>
If you are reporting a problem, please make sure the following information are provided:
Expected behavior and actual behavior:
After upgrading Harbor from v2.2.2 to 2.4.2 the Trivy scanner shows the following in the log:
I found the following issue,maybe its related:
aquasecurity/trivy#1656
Steps to reproduce the problem:
Update harbor (trivy) from 2.2.2 to 2.4.2
Versions:
Please specify the versions of following systems.
Additional context:
/var/log/harbor/
.The text was updated successfully, but these errors were encountered: