Skip to content
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

fix: Trivy should exit for incorrect paths/files #7224

Closed
afdesk opened this issue Jul 25, 2024 · 1 comment
Closed

fix: Trivy should exit for incorrect paths/files #7224

afdesk opened this issue Jul 25, 2024 · 1 comment

Comments

@afdesk
Copy link
Contributor

afdesk commented Jul 25, 2024

There are at least two cases when Trivy will not work as the user intended:

  • If an invalid path to the config file is specified, Trivy doesn't report it
  • when --docker-host is set, but the path is wrong, Trivy still tries to find an image.

so Trivy should exit for incorrect user's inputs.

Copy link

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant