From 22aaa9c5df7db8f345a9c01739551a4c8b8ac5a5 Mon Sep 17 00:00:00 2001 From: jacobgill1 <130056516+jacobgill1@users.noreply.github.com> Date: Thu, 19 Oct 2023 07:41:04 +0100 Subject: [PATCH] Update gitleaks toml to ignore lock files (#142) ## Description Updates `gitleaks.toml` to fix issue where lock files were not properly allowed. ## Context ## Type of changes - [x] Refactoring (non-breaking change) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would change existing functionality) - [ ] Bug fix (non-breaking change which fixes an issue) ## Checklist - [x] I am familiar with the [contributing guidelines](../docs/CONTRIBUTING.md) - [x] I have followed the code style of the project - [ ] I have added tests to cover my changes - [ ] I have updated the documentation accordingly - [ ] This PR is a result of pair or mob programming --- ## Sensitive Information Declaration To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including [PII (Personal Identifiable Information) / PID (Personal Identifiable Data)](https://digital.nhs.uk/data-and-information/keeping-data-safe-and-benefitting-the-public) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter. - [x] I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes. --- scripts/config/gitleaks.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/config/gitleaks.toml b/scripts/config/gitleaks.toml index 92e59707..af5f0bb7 100644 --- a/scripts/config/gitleaks.toml +++ b/scripts/config/gitleaks.toml @@ -16,4 +16,4 @@ regexes = [ ] [allowlist] -files = ['.terraform.lock.hcl', 'poetry.lock', 'yarn.lock'] +paths = ['''.terraform.lock.hcl''', '''poetry.lock''', '''yarn.lock''']