Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update pre-commit hook zricethezav/gitleaks to v8.23.0 #15

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented May 28, 2022

This PR contains the following updates:

Package Type Update Change
zricethezav/gitleaks repository minor v8.8.4 -> v8.23.0

Note: The pre-commit manager in Renovate is not supported by the pre-commit maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.


Release Notes

zricethezav/gitleaks (zricethezav/gitleaks)

v8.23.0

Compare Source

Changelog

READ THIS!!! The default gitleaks config now uses [[rules.allowlists]]

### ⚠️ In v8.21.0 `[rules.allowlist]` was replaced with `[[rules.allowlists]]`.
### This change was backwards-compatible: instances of `[rules.allowlist]` still  work.
    #

### You can define multiple allowlists for a rule to reduce false positives.
### A finding will be ignored if _ANY_ `[[rules.allowlists]]` matches.
    [[rules.allowlists]]
    description = "ignore commit A"

### When multiple criteria are defined the default condition is "OR".
### e.g., this can match on |commits| OR |paths| OR |stopwords|.
    condition = "OR"
    commits = [ "commit-A", "commit-B"]
    paths = [
      '''go\.mod''',
      '''go\.sum'''
    ]

### note: stopwords targets the extracted secret, not the entire regex match
### like 'regexes' does. (stopwords introduced in 8.8.0)
    stopwords = [
      '''client''',
      '''endpoint''',
    ]

    [[rules.allowlists]]

### The "AND" condition can be used to make sure all criteria match.
### e.g., this matches if |regexes| AND |paths| are satisfied.
    condition = "AND"

### note: |regexes| defaults to check the _Secret_ in the finding.
### Acceptable values for |regexTarget| are "secret" (default), "match", and "line".
    regexTarget = "match"
    regexes = [ '''(?i)parseur[il]''' ]
    paths = [ '''package-lock\.json''' ]

v8.22.1

Compare Source

Changelog

v8.22.0

Compare Source

Changelog


This bumps the gitleaks binary size from around 8.5MB to 15MB but yields 2-4x speedup. Worth it imo. If you feel strongly against this change feel free to open an issue where we can discuss the tradeoffs in more depth. Credit to @​ahrav

v8.21.4

Compare Source

Changelog

v8.21.3

Compare Source

Changelog

v8.21.2

Compare Source

Changelog

v8.21.1

Compare Source

Changelog

v8.21.0

Compare Source

Changelog

respect @​rgmz @​9999years

⚠️ Note: you may find some findings that were previously ignored if using .gitleaksignore pop up in your scans. This is due to a fix for a long standing bug where gitleaks would incorrectly report merge commit SHAs instead of the actual commit where a secret was introduced. See the following issues for more context:

v8.20.1

Compare Source

Changelog

v8.20.0

Compare Source

Changelog

Huge huge thanks to @​bplaxco for supporting b64 decoding, @​recreator66 for bug fixes, and to @​rgmz for his continued support of the project in the form of PRs and reviews. Thanks you!

New Feature: Decoding

Sometimes secrets are encoded in a way that can make them difficult to find
with just regex. Now you can tell gitleaks to automatically find and decode
encoded text. The flag --max-decode-depth enables this feature (the default
value "0" means the feature is disabled by default).

Recursive decoding is supported since decoded text can also contain encoded
text. The flag --max-decode-depth sets the recursion limit. Recursion stops
when there are no new segments of encoded text to decode, so setting a really
high max depth doesn't mean it will make that many passes. It will only make as
many as it needs to decode the text. Overall, decoding only minimally increases
scan times.

The findings for encoded text differ from normal findings in the following
ways:

  • The location points the bounds of the encoded text
    • If the rule matches outside the encoded text, the bounds are adjusted to
      include that as well
  • The match and secret contain the decoded value
  • Two tags are added decoded:<encoding> and decode-depth:<depth>

Currently supported encodings:

  • base64 (both standard and base64url)

v8.19.3

Compare Source

Changelog

v8.19.2

Compare Source

Changelog

v8.19.1

Compare Source

Changelog

v8.19.0

Compare Source

Changelog

v8.18.4

Compare Source

Changelog

Shout out to @​coderabbit for their sponsorship!

v8.18.3

Compare Source

Changelog

v8.18.2

Compare Source

Changelog

v8.18.1

Compare Source

Changelog

v8.18.0

Compare Source

What's Changed

New Contributors

Full Changelog: gitleaks/gitleaks@v8.17.0...v8.18.0

v8.17.0

Compare Source

What's Changed

New Contributors

Full Changelog: gitleaks/gitleaks@v8.16.4...v8.17.0

v8.16.4

Compare Source

Changelog

v8.16.3

Compare Source

Changelog

Huuuuuge thank you to all the contributors especially @​rgmz

@​edwardwang888 @​wparad @​sadikkuzu @​RafaelFigueiredo @​fgreinacher @​jasikpark @​sergiomarotco

v8.16.2

Compare Source

Changelog

Thanks to @​americanair for sponsoring this open source project!

Thanks to all the contributors this release: @​fgreinacher @​wparad @​RafaelFigueiredo @​sergiomarotco @​jasikpark

v8.16.1

Compare Source

Changelog

v8.16.0

Compare Source

Changelog

Allowlist Regex Targets

Let's use the generic rule to demonstrate the new regexTarget allowlist option

[[rules]]
description = "Generic API Key"
id = "generic-api-key"
regex = '''(?i)(?:key|api|token|secret|client|passwd|password|auth|access)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/calebgasser/k3s-cluster).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4xMTcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjkyLjAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

@renovate renovate bot changed the title chore(deps): update pre-commit hook zricethezav/gitleaks to v8.8.5 chore(deps): update pre-commit hook zricethezav/gitleaks to v8.8.6 May 28, 2022
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from c3c66b4 to ef2f977 Compare May 28, 2022 18:43
@renovate renovate bot changed the title chore(deps): update pre-commit hook zricethezav/gitleaks to v8.8.6 chore(deps): update pre-commit hook zricethezav/gitleaks to v8.8.7 Jun 3, 2022
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from ef2f977 to b703abd Compare June 3, 2022 00:25
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from b703abd to 770854d Compare June 20, 2022 23:05
@renovate renovate bot changed the title chore(deps): update pre-commit hook zricethezav/gitleaks to v8.8.7 chore(deps): update pre-commit hook zricethezav/gitleaks to v8.8.8 Jun 20, 2022
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from 770854d to 62d392e Compare June 27, 2022 21:09
@renovate renovate bot changed the title chore(deps): update pre-commit hook zricethezav/gitleaks to v8.8.8 chore(deps): update pre-commit hook zricethezav/gitleaks to v8.8.9 Jun 27, 2022
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from 62d392e to 0eb0560 Compare June 28, 2022 00:01
@renovate renovate bot changed the title chore(deps): update pre-commit hook zricethezav/gitleaks to v8.8.9 chore(deps): update pre-commit hook zricethezav/gitleaks to v8.8.10 Jun 28, 2022
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from 0eb0560 to 58be1e1 Compare June 28, 2022 12:15
@renovate renovate bot changed the title chore(deps): update pre-commit hook zricethezav/gitleaks to v8.8.10 chore(deps): update pre-commit hook zricethezav/gitleaks to v8.8.11 Jun 28, 2022
@renovate renovate bot changed the title chore(deps): update pre-commit hook zricethezav/gitleaks to v8.8.11 chore(deps): update pre-commit hook zricethezav/gitleaks to v8.8.12 Jul 11, 2022
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from 58be1e1 to 8ed62a4 Compare July 11, 2022 20:10
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from 8ed62a4 to 1c3c6c8 Compare July 28, 2022 02:40
@renovate renovate bot changed the title chore(deps): update pre-commit hook zricethezav/gitleaks to v8.8.12 chore(deps): update pre-commit hook zricethezav/gitleaks to v8.9.0 Jul 28, 2022
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from 1c3c6c8 to 0ec04cf Compare September 25, 2022 15:59
@renovate renovate bot changed the title chore(deps): update pre-commit hook zricethezav/gitleaks to v8.9.0 chore(deps): update pre-commit hook zricethezav/gitleaks to v8.13.0 Sep 25, 2022
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from 0ec04cf to b575a26 Compare November 20, 2022 21:12
@renovate renovate bot changed the title chore(deps): update pre-commit hook zricethezav/gitleaks to v8.13.0 chore(deps): update pre-commit hook zricethezav/gitleaks to v8.15.1 Nov 20, 2022
@renovate renovate bot changed the title chore(deps): update pre-commit hook zricethezav/gitleaks to v8.15.1 chore(deps): update pre-commit hook zricethezav/gitleaks to v8.16.0 Mar 11, 2023
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from b575a26 to e82ca8e Compare March 11, 2023 15:34
@renovate renovate bot changed the title chore(deps): update pre-commit hook zricethezav/gitleaks to v8.16.0 chore(deps): update pre-commit hook zricethezav/gitleaks to v8.16.1 Mar 16, 2023
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from e82ca8e to 1c8ad69 Compare March 16, 2023 15:55
@renovate renovate bot changed the title chore(deps): update pre-commit hook zricethezav/gitleaks to v8.16.1 chore(deps): update pre-commit hook zricethezav/gitleaks to v8.16.2 Mar 30, 2023
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from 1c8ad69 to 133bc78 Compare March 30, 2023 23:53
@renovate renovate bot changed the title chore(deps): update pre-commit hook zricethezav/gitleaks to v8.16.2 chore(deps): update pre-commit hook zricethezav/gitleaks to v8.16.3 May 28, 2023
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from 133bc78 to dd04edb Compare May 28, 2023 11:34
@renovate renovate bot changed the title chore(deps): update pre-commit hook zricethezav/gitleaks to v8.16.3 chore(deps): update pre-commit hook zricethezav/gitleaks to v8.16.4 Jun 6, 2023
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from dd04edb to 78fdc50 Compare June 6, 2023 18:40
@renovate renovate bot changed the title chore(deps): update pre-commit hook zricethezav/gitleaks to v8.18.2 chore(deps): update pre-commit hook zricethezav/gitleaks to v8.18.3 Jun 1, 2024
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from 23017f5 to 20ec3d6 Compare June 14, 2024 16:21
@renovate renovate bot changed the title chore(deps): update pre-commit hook zricethezav/gitleaks to v8.18.3 chore(deps): update pre-commit hook zricethezav/gitleaks to v8.18.4 Jun 14, 2024
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from 20ec3d6 to bdfa9e0 Compare September 14, 2024 01:16
@renovate renovate bot changed the title chore(deps): update pre-commit hook zricethezav/gitleaks to v8.18.4 chore(deps): update pre-commit hook zricethezav/gitleaks to v8.19.0 Sep 14, 2024
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from bdfa9e0 to 101db98 Compare September 14, 2024 09:36
@renovate renovate bot changed the title chore(deps): update pre-commit hook zricethezav/gitleaks to v8.19.0 chore(deps): update pre-commit hook zricethezav/gitleaks to v8.19.1 Sep 14, 2024
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from 101db98 to 27f18cb Compare September 16, 2024 16:26
@renovate renovate bot changed the title chore(deps): update pre-commit hook zricethezav/gitleaks to v8.19.1 chore(deps): update pre-commit hook zricethezav/gitleaks to v8.19.2 Sep 16, 2024
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from 27f18cb to acb103a Compare September 26, 2024 16:07
@renovate renovate bot changed the title chore(deps): update pre-commit hook zricethezav/gitleaks to v8.19.2 chore(deps): update pre-commit hook zricethezav/gitleaks to v8.19.3 Sep 26, 2024
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from acb103a to b9efd62 Compare October 3, 2024 15:22
@renovate renovate bot changed the title chore(deps): update pre-commit hook zricethezav/gitleaks to v8.19.3 chore(deps): update pre-commit hook zricethezav/gitleaks to v8.20.0 Oct 3, 2024
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from b9efd62 to a04796b Compare October 7, 2024 19:23
@renovate renovate bot changed the title chore(deps): update pre-commit hook zricethezav/gitleaks to v8.20.0 chore(deps): update pre-commit hook zricethezav/gitleaks to v8.20.1 Oct 7, 2024
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from a04796b to 85b63d6 Compare October 15, 2024 03:55
@renovate renovate bot changed the title chore(deps): update pre-commit hook zricethezav/gitleaks to v8.20.1 chore(deps): update pre-commit hook zricethezav/gitleaks to v8.21.0 Oct 15, 2024
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from 85b63d6 to d6f2398 Compare October 18, 2024 13:42
@renovate renovate bot changed the title chore(deps): update pre-commit hook zricethezav/gitleaks to v8.21.0 chore(deps): update pre-commit hook zricethezav/gitleaks to v8.21.1 Oct 18, 2024
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from d6f2398 to 72e22f2 Compare October 28, 2024 15:23
@renovate renovate bot changed the title chore(deps): update pre-commit hook zricethezav/gitleaks to v8.21.1 chore(deps): update pre-commit hook zricethezav/gitleaks to v8.21.2 Oct 28, 2024
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from 72e22f2 to dee9c9c Compare December 19, 2024 21:04
@renovate renovate bot changed the title chore(deps): update pre-commit hook zricethezav/gitleaks to v8.21.2 chore(deps): update pre-commit hook zricethezav/gitleaks to v8.21.3 Dec 19, 2024
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from dee9c9c to 870e2a9 Compare December 20, 2024 16:49
@renovate renovate bot changed the title chore(deps): update pre-commit hook zricethezav/gitleaks to v8.21.3 chore(deps): update pre-commit hook zricethezav/gitleaks to v8.22.0 Dec 20, 2024
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from 870e2a9 to 2b6b64e Compare December 30, 2024 17:17
@renovate renovate bot changed the title chore(deps): update pre-commit hook zricethezav/gitleaks to v8.22.0 chore(deps): update pre-commit hook zricethezav/gitleaks to v8.22.1 Dec 30, 2024
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from 2b6b64e to 76786be Compare January 13, 2025 16:37
@renovate renovate bot changed the title chore(deps): update pre-commit hook zricethezav/gitleaks to v8.22.1 chore(deps): update pre-commit hook zricethezav/gitleaks to v8.23.0 Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants