diff --git a/README.md b/README.md index 51725d640b34a893cd45501030e61dc61599b818..a89feb55a91ac98d038074c2e7eb32c2b3449c72 100644 --- a/README.md +++ b/README.md @@ -58,4 +58,7 @@ Here is how this GitLab CI template chooses the Gitleaks rules to use: 1. It first looks for a `.gitleaks.toml` file at the root of your project repository. 2. If not found, it uses the `.toml` file specified with the `$GITLEAKS_RULES` variable. -3. If not specified, [default Gitleaks rules] (https://github.com/zricethezav/gitleaks/blob/master/config/gitleaks.toml) are used. +3. If not specified, [default Gitleaks rules](https://github.com/zricethezav/gitleaks/blob/master/config/gitleaks.toml) are used. + + +Your Gitleaks rule file can extend the default rules by using `[extend]` + `useDefault = true` as explained in the [Gitleaks documentation](https://github.com/gitleaks/gitleaks/blob/master/README.md#configuration)