From 0884d34473bc7e4e8a083f150d65e03d14bb5ed3 Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Mon, 7 Aug 2023 16:39:44 +0100 Subject: [PATCH] added gitleaks plugin Signed-off-by: Mark Bolwell Signed-off-by: Ionut Pruteanu --- .pre-commit-config.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 794d35a..f044df5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -36,6 +36,13 @@ repos: args: ['--baseline', '.config/.secrets.baseline'] exclude: package.lock.json + +- repo: https://github.com/gitleaks/gitleaks + rev: v8.17.0 + hooks: + - id: gitleaks + args: ['--baseline-path','.config/.gitleaks-report.json'] + - repo: https://github.com/ansible-community/ansible-lint rev: v6.17.2 hooks: