cargo-audit allow acknowledgement of a rustsec id to be ignored
Firstyear opened this issue · 2 comments
Sometimes there are issues that don't directly affect a project. we should allow specific of rustsec id's to ignore so that issues that don't affect a project can be bypassed.
And example was the git https vuln a few months back which affected kanidm. However kanidm wasn't actually vuln because it doesn't use the https features, it only parses local filesystem git repos. As a result, there needed to be a way to say 'this rustsec id is not actually a problem in this context". We want the option to express to people that they are taking ownership of this too, so it shouldn't simply be "ignore". Syntax could be something like:
--i-accept-the-risk
or --vulnerability-has-been-audited-and-does-not-impact-this-application
oh like
<service name="cargo_audit" mode="manual">
<param name="ignore">RUSTSEC-UWUID123</param>
</service>
and when they run cargo audit, they need to complete the "accept prompt" prompt?
or do you want it to be
<service name="cargo_audit" mode="manual">
<param name="rustsec-id-does-not-impact-this-application">RUSTSEC-UWUID123</param>
</service>