From 6b39442557c6be0bbb1272cc9dacbac647575fce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Garillot?= <4142+huitseeker@users.noreply.github.com> Date: Tue, 2 Jan 2024 11:42:29 -0500 Subject: [PATCH] chore: Refine git source permissions (#221) - Update the `unknown-git` setting to enforce strict rules - Add "lurk-lab" as a new allowed organization on Github - disable the gitlab and bitbucket organization permissions --- deny.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/deny.toml b/deny.toml index db8bf549e..99f1bf8aa 100644 --- a/deny.toml +++ b/deny.toml @@ -258,7 +258,7 @@ skip-tree = [ 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" +unknown-git = "deny" # List of URLs for allowed crate registries. Defaults to the crates.io index # if not specified. If it is specified but empty, no registries are allowed. allow-registry = ["https://github.com/rust-lang/crates.io-index"] @@ -267,8 +267,8 @@ allow-git = [] [sources.allow-org] # 1 or more github.com organizations to allow git sources for -github = [""] +github = ["lurk-lab"] # 1 or more gitlab.com organizations to allow git sources for -gitlab = [""] +# gitlab = [""] # 1 or more bitbucket.org organizations to allow git sources for -bitbucket = [""] +# bitbucket = [""]