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

Trivy execution warning about '--security-checks' #36

Closed
rainan16 opened this issue Apr 27, 2023 · 0 comments
Closed

Trivy execution warning about '--security-checks' #36

rainan16 opened this issue Apr 27, 2023 · 0 comments

Comments

@rainan16
Copy link

Using v0.40.0 this warning is shown by Trivy: '--security-checks' is deprecated. Use '--scanners' instead.

When I add the suggested --scanners option, this has no effect.

/tmp/trivy image --exit-code 0 --format json --output /tmp/trivy-results-0.25440671860932973.json --security-checks vuln,config,secret --ignore-unfixed --scanners vuln ***/hwbackend:0.5.0--156-fix-trivy.20-6e52186
2023-04-27T06:48:51.109Z	WARN	'--security-checks' is deprecated. Use '--scanners' instead.
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

2 participants