|
| 1 | +# cargo audit config file |
| 2 | +# https://github.com/rustsec/rustsec/blob/main/cargo-audit/audit.toml.example |
| 3 | +# |
| 4 | +# All of the options which can be passed via CLI arguments can also be |
| 5 | +# permanently specified in this file. |
| 6 | + |
| 7 | +[advisories] |
| 8 | + |
| 9 | +# advisory IDs to ignore e.g. ["RUSTSEC-2019-0001", ...] |
| 10 | +ignore = [] |
| 11 | + |
| 12 | +# warn for categories of informational advisories |
| 13 | +informational_warnings = ["notice", "unmaintained", "unsound"] |
| 14 | + |
| 15 | +# CVSS severity ("none", "low", "medium", "high", "critical") |
| 16 | +severity_threshold = "none" |
| 17 | + |
| 18 | +# Advisory Database Configuration |
| 19 | +[database] |
| 20 | +path = ".cargo/advisory-db" # Path where advisory git repo will be cloned |
| 21 | +url = "https://github.com/RustSec/advisory-db.git" # URL to git repo |
| 22 | +fetch = true # Perform a `git fetch` before auditing (default: true) |
| 23 | +stale = false # Allow stale advisory DB (i.e. no commits for 90 days, default: false) |
| 24 | + |
| 25 | +# Output Configuration |
| 26 | +[output] |
| 27 | +deny = ["warnings", "unmaintained", "unsound", "yanked"] # exit on error if these are found |
| 28 | +format = "terminal" # "terminal" (human readable report) or "json" |
| 29 | +quiet = false # Only print information on error |
| 30 | +show_tree = true # Show inverse dependency trees along with advisories (default: true) |
| 31 | + |
| 32 | +[yanked] |
| 33 | +enabled = true # Warn for yanked crates in Cargo.lock (default: true) |
| 34 | +update_index = true # Auto-update the crates.io index (default: true) |
0 commit comments