-
-
Notifications
You must be signed in to change notification settings - Fork 118
Expand file tree
/
Copy pathdeny.toml
More file actions
65 lines (61 loc) · 1.98 KB
/
Copy pathdeny.toml
File metadata and controls
65 lines (61 loc) · 1.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Cargo-deny configuration for LockKnife
# This configuration enforces supply chain security policies for Rust dependencies
[advisories]
# The path where the advisory database is cloned/fetched from
db-path = "~/.cargo/advisory-db"
# The url(s) of the advisory databases to use
db-urls = ["https://github.com/rustsec/advisory-db"]
# The lint level for crates that have been yanked from their source registry
yanked = "deny"
# A list of advisory IDs to ignore
# Note: rsa vulnerability (RUSTSEC-2023-0071) is transitive via yara-x, no safe upgrade available
# Note: bincode unmaintained (RUSTSEC-2025-0141) is transitive via yara-x, no safe upgrade available
ignore = [
"RUSTSEC-2023-0071",
"RUSTSEC-2025-0141",
]
[bans]
# Lint level for when multiple versions of the same crate are detected
multiple-versions = "allow"
# Lint level for when a crate version requirement is `*`
wildcards = "allow"
# The graph highlighting used when creating dotgraphs for crates
highlight = "all"
# List of crates that are allowed to use wildcard dependencies
allow-wildcard-paths = true
# Allow workspace path dependencies
allow-workspace = true
# List of crates to explicitly deny
deny = []
[licenses]
# List of explicitly allowed licenses
allow = [
"GPL-3.0-only",
"MIT",
"MIT-0",
"Apache-2.0",
"Apache-2.0 WITH LLVM-exception",
"BSD-2-Clause",
"BSD-3-Clause",
"ISC",
"0BSD",
"BSL-1.0",
"Zlib",
"Unicode-3.0",
"CC0-1.0",
"bzip2-1.0.6",
"MPL-2.0",
]
# Confidence threshold for license detection
confidence-threshold = 0.8
[sources]
# Lint level for what to happen when a crate from a crate registry that is not
# in the allow list is encountered
unknown-registry = "warn"
# Lint level for what to happen when a crate from a git repository that is not
# in the allow list is encountered
unknown-git = "warn"
# List of URLs for allowed crate registries
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
# List of URLs for allowed git repositories
allow-git = []