-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitleaks.toml
More file actions
29 lines (25 loc) · 1.32 KB
/
.gitleaks.toml
File metadata and controls
29 lines (25 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Title for the gitleaks configuration file.
title = "NHS App Gitleaks Configuration"
# Extend the base (default) configuration. When you extend a configuration
# the base rules take precedence over the extended rules. I.e., if there are
# duplicate rules in both the base configuration and the extended configuration
# the base rules will override the extended rules.
# Another thing to know with extending configurations is you can chain together
# multiple configuration files to a depth of 2. Allowlist arrays are appended
# and can contain duplicates.
[extend]
# useDefault will extend the base configuration with the default gitleaks config:
# https://github.com/zricethezav/gitleaks/blob/master/config/gitleaks.toml
useDefault = true
# An array of tables that contain information that define instructions
# on how to detect secrets
# Example:
# [[rules]]
# id = "generic-api-key"
# [rules.allowlist]
# description = "False positive. Keys used for colors match the rule, and should be excluded."
# files = ['''NhsUkColours\.xaml''']
# This is a global allowlist which has a higher order of precedence than rule-specific allowlists.
# If a commit listed in the `commits` field below is encountered then that commit will be skipped and no
# secrets will be detected for said commit. The same logic applies for regexes and paths.
[allowlist]