From e0f832591753c3f992dff622a8b2b9207924b5f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Garillot?= Date: Mon, 1 Jan 2024 13:57:55 -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 8546c18..606bd82 100644 --- a/deny.toml +++ b/deny.toml @@ -256,7 +256,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"] @@ -265,8 +265,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 = [""]