Closed Beta
This feature is currently under Closed Beta.
For more information please see this article: Snyk Closed Beta Features
Problem:
When using beta CLI feature snyk code test --report
, using snyk CLI v1.1159.0
or below, if all issues are ignored in the web UI, the next test will return
Summary:
✔ Awesome! No issues were found.
Code Report Complete
However it will also return exit code of 1, indicating issues were found.
When using the --json-file-output
argument, ignored issues are still returned but are listed with suppressions. This is currently not reflected in the snyk-to-html
results.
Discussion:
The exit code behaviour is fixed in v1.1160.0
. Please update CLI to that version or higher.
snyk-to-html
results still show ignored issues at the time of publication of this article.
Our engineering teams are aware of the issue and are investigating possible solutions. At this point, we do not have a timeline for a fix.