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
The audit-check which uses --json cannot be made to fail on warnings. See: actions-rs/audit-check#132 (audit-check requires that it is solved for the .cargo/audit.toml case.)
I have not investigated whether other relevant command line/audit.toml options are respected in json output when they should be.
I’m hitting this too, it seems like it’s not possible to have the audit-check action deny warnings currently, unfortunately. I guess I’ll stay with a hand-rolled audit action, even though it’s sad considering the work that seems to have been put into the audit-check action :)
Activity
Ekleog-NEAR commentedon Nov 18, 2023
I’m hitting this too, it seems like it’s not possible to have the
audit-checkaction deny warnings currently, unfortunately. I guess I’ll stay with a hand-rolled audit action, even though it’s sad considering the work that seems to have been put into the audit-check action :)Shnatsel commentedon Nov 19, 2023
In the latest release of
rustsecI have aligned warnings to contain all the information that errors do, so this should not be too hard to fix now.I'm not sure I will be able to get around to fixing this myself soon, though. A PR would be welcome.
Mark each denied warning in the JSON report
Model denied warnings directly in audit reports
djc commentedon Oct 29, 2026
Fixed in
@Eljees thanks!