From ba47d43159d637155d671068928590482c688c34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Garillot?= Date: Mon, 1 Jan 2024 13:56:13 -0500 Subject: [PATCH] chore: Refine git source permissions - 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 41b09978..46774012 100644 --- a/deny.toml +++ b/deny.toml @@ -257,7 +257,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"] @@ -266,8 +266,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 = [""]