From e92dbd3a5a652c117a33d7c72218ba0732e9d140 Mon Sep 17 00:00:00 2001 From: Brant Evans Date: Thu, 20 Feb 2025 18:30:40 -0700 Subject: [PATCH] Add gitleaks config file and update git ignore list (#270) --- .gitignore | 3 +++ .gitleaks.toml | 6 ++++++ 2 files changed, 9 insertions(+) create mode 100644 .gitleaks.toml diff --git a/.gitignore b/.gitignore index 17bae38f..ddc5b2dc 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,6 @@ collections/* # Ignore test directory test + +# Ignore installed ansible collections +/.ansible diff --git a/.gitleaks.toml b/.gitleaks.toml new file mode 100644 index 00000000..111f838c --- /dev/null +++ b/.gitleaks.toml @@ -0,0 +1,6 @@ +[allowlist] + description = "Global Allowlist" + paths = [ + # Ignore downloaded collections + '''(?:^|\/)\.ansible\/collections\/''', + ]