You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, I think we have to generally re-evaluate how we handle output. Some currently confusing aspects:
Our JSON output includes a manifest of all dependencies (not just vulnerable ones), but we don't emit any JSON if we don't find at least one vulnerability.
CycloneDX's JSON schema doesn't currently support vulnerability information, but we don't currently document or warn about that anywhere. We should probably print at least a WARNING message and add a note to the README somewhere.
(All of these are breaking changes in the semver sense, so they should all be bucketed under a 2.0.0 release. But versions are free, so we shouldn't let that stop us!)
Bug description
If an audit doesn't find any vulnerabilities, the packages that got skipped don't get displayed.
Reproduction steps
requirements.txt
that contains onlya_package_that_doesnt_exist==0.1
.pip-audit -r requirements.txt
.Expected behavior
Even if no vulnerabilities are found, we should still be printing skipped packages in the audit summary as this is useful information.
Platform information
pip-audit
version (pip-audit -V
): 1.1.0python -V
orpython3 -V
): 3.9.7pip
version (pip -V
orpip3 -V
): 21.3.1The text was updated successfully, but these errors were encountered: