From 58cdcce582d3d70bf946075ffa85e77ee190d2d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Filipensk=C3=BD?= Date: Fri, 3 Feb 2023 11:29:37 +0100 Subject: [PATCH] Add gitleaks configuration file to avoid false positives MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pavel Filipenský Reviewed-by: Andreas Schneider Autobuild-User(master): Pavel Filipensky Autobuild-Date(master): Mon Feb 13 18:45:21 UTC 2023 on atb-devel-224 --- .gitleaks.toml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .gitleaks.toml diff --git a/.gitleaks.toml b/.gitleaks.toml new file mode 100644 index 00000000000..721d0d982e0 --- /dev/null +++ b/.gitleaks.toml @@ -0,0 +1,16 @@ +# +# GitLeaks Repo Specific Configuration +# +# This allowlist is used to help Red Hat ignore false positives during its code +# scans. + +[allowlist] + paths = [ + '''docs-xml/manpages/smbstatus.1.xml''', + '''selftests/*''', + '''source3/script/tests/*''', + '''source4/dsdb/tests/*''', + '''source4/torture/*''', + '''testprogs/blackbox/*''', + '''tests/*''', + ]