Skip to content

Commit fab639a

Browse files
sypharjyn514
authored andcommitted
ignore audit advisories we want to ignore, or cannot do anything right now
1 parent 5319a4f commit fab639a

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

.cargo/audit.toml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
[advisories]
2+
ignore = [
3+
"RUSTSEC-2020-0016", # net2 crate has been deprecated; use socket2 instead
4+
# https://github.com/rust-lang/docs.rs/issues/760
5+
6+
"RUSTSEC-2020-0036", # failure is officially deprecated/unmaintained
7+
# https://github.com/rust-lang/docs.rs/issues/1014
8+
9+
"RUSTSEC-2020-0056", # stdweb is unmaintained
10+
# https://github.com/rust-lang/docs.rs/issues/1122
11+
12+
"RUSTSEC-2020-0071", # `time` localtime_r segfault
13+
# https://github.com/rust-lang/docs.rs/issues/1523
14+
15+
"RUSTSEC-2020-0095", # difference is unmaintained
16+
# https://github.com/rust-lang/docs.rs/issues/1357
17+
18+
"RUSTSEC-2020-0159", # `chrono` localtime_r segfault
19+
# https://github.com/rust-lang/docs.rs/issues/1525
20+
21+
"RUSTSEC-2021-0078", # Lenient hyper header parsing of Content-Length could allow request smuggling
22+
# https://github.com/rust-lang/docs.rs/issues/1460
23+
24+
"RUSTSEC-2021-0079", # Integer overflow in hyper's parsing of the Transfer-Encoding header leads to data loss
25+
# https://github.com/rust-lang/docs.rs/issues/1459
26+
]
27+
informational_warnings = ["unmaintained"] # warn for categories of informational advisories
28+
severity_threshold = "low" # CVSS severity ("none", "low", "medium", "high", "critical")
29+
30+
[output]
31+
quiet = false
32+
deny = ["unmaintained"] # yanked is allowed for now

.github/workflows/audit.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
paths:
77
- "**/Cargo.toml"
88
- "**/Cargo.lock"
9+
- ".cargo/audit.toml"
910
schedule:
1011
- cron: "0 0 * * *"
1112

0 commit comments

Comments
 (0)