summaryrefslogtreecommitdiff
path: root/config/gitleaks.toml
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-05-13 03:06:53 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-05-13 03:06:53 +0000
commitc0b9c14ebd1524a1e2334e656f997ec680a18966 (patch)
tree4437aea2c4239279131a56adca1679f636683d29 /config/gitleaks.toml
parent98638cd5e43611aac2193a5c2f80f72374040430 (diff)
downloadgitlab-ce-c0b9c14ebd1524a1e2334e656f997ec680a18966.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config/gitleaks.toml')
-rw-r--r--config/gitleaks.toml21
1 files changed, 21 insertions, 0 deletions
diff --git a/config/gitleaks.toml b/config/gitleaks.toml
new file mode 100644
index 00000000000..be02a43aa9c
--- /dev/null
+++ b/config/gitleaks.toml
@@ -0,0 +1,21 @@
+title = "extension of default gitleaks config"
+
+[extend]
+# Extends default packaged path
+path = "/gitleaks.toml"
+
+[allowlist]
+ description = "global allow list"
+ regexTarget = "match"
+ regexes = [
+ # spotted in doc/user/application_security/secret_detection/index.md and some frontend specs
+ "glpat-1234567890abcdefghij",
+ # spec/frontend/lib/utils/secret_detection_spec.js
+ "glpat-cgyKc1k_AsnEpmP-5fRL",
+ # spec/frontend/lib/utils/secret_detection_spec.js
+ "GlPat-abcdefghijklmnopqrstuvwxyz",
+ # doc/development/sec/token_revocation_api.md
+ "glpat--8GMtG8Mf4EnMJzmAWDU",
+ # doc/development/sec/token_revocation_api.md
+ "glpat--tG84EGK33nMLLDE70zU",
+ ]