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

Update pre-commit hook gitleaks/gitleaks to v8.23.1 #113

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 14, 2024

This PR contains the following updates:

Package Type Update Change
gitleaks/gitleaks repository minor v8.18.3 -> v8.23.1

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

gitleaks/gitleaks (gitleaks/gitleaks)

v8.23.1

Compare Source

Changelog

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!


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch 2 times, most recently from 8c4bd43 to 4132fbf Compare June 30, 2024 19:17
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch from 4132fbf to b5191f1 Compare June 30, 2024 19:21
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch from b5191f1 to b6a01c5 Compare July 8, 2024 13:53
@cavcrosby cavcrosby force-pushed the main branch 2 times, most recently from ab11a96 to 3f4e193 Compare July 9, 2024 13:47
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch from b6a01c5 to 3651342 Compare July 9, 2024 13:48
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch 2 times, most recently from 580ec64 to ee75716 Compare July 20, 2024 17:16
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch from ee75716 to 40b5b70 Compare August 14, 2024 13:21
@cavcrosby cavcrosby force-pushed the main branch 2 times, most recently from 9a64f89 to b78190a Compare August 14, 2024 13:29
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch 2 times, most recently from 38d717b to 18ff889 Compare August 16, 2024 00:46
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch from 18ff889 to 194507c Compare August 19, 2024 13:45
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch from 194507c to e611c71 Compare September 14, 2024 01:16
@renovate renovate bot changed the title Update pre-commit hook gitleaks/gitleaks to v8.18.4 Update pre-commit hook gitleaks/gitleaks to v8.19.0 Sep 14, 2024
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch from e611c71 to a4ea47f Compare September 14, 2024 10:34
@renovate renovate bot changed the title Update pre-commit hook gitleaks/gitleaks to v8.19.0 Update pre-commit hook gitleaks/gitleaks to v8.19.1 Sep 14, 2024
@renovate renovate bot changed the title Update pre-commit hook gitleaks/gitleaks to v8.19.1 Update pre-commit hook gitleaks/gitleaks to v8.19.2 Sep 16, 2024
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch from a4ea47f to 468fb4a Compare September 16, 2024 17:39
@renovate renovate bot changed the title Update pre-commit hook gitleaks/gitleaks to v8.19.2 Update pre-commit hook gitleaks/gitleaks to v8.19.3 Sep 26, 2024
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch 2 times, most recently from ed60685 to a218854 Compare October 3, 2024 16:02
@renovate renovate bot changed the title Update pre-commit hook gitleaks/gitleaks to v8.19.3 Update pre-commit hook gitleaks/gitleaks to v8.20.0 Oct 3, 2024
@renovate renovate bot changed the title Update pre-commit hook gitleaks/gitleaks to v8.20.0 Update pre-commit hook gitleaks/gitleaks to v8.20.1 Oct 7, 2024
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch from a218854 to 17b241e Compare October 7, 2024 18:07
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch from 069eb1b to 2a2f638 Compare December 23, 2024 14:23
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch from 2a2f638 to 9543a0d Compare December 23, 2024 14:31
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch from 9543a0d to 6355135 Compare December 23, 2024 19:30
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch 2 times, most recently from 7566eef to 2b24ac3 Compare December 30, 2024 16:48
@renovate renovate bot changed the title Update pre-commit hook gitleaks/gitleaks to v8.22.0 Update pre-commit hook gitleaks/gitleaks to v8.22.1 Dec 30, 2024
@cavcrosby cavcrosby force-pushed the main branch 3 times, most recently from 985e6ba to da3ad4c Compare January 4, 2025 18:30
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch from 2b24ac3 to a3b9da2 Compare January 4, 2025 18:31
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch from a3b9da2 to ae1b5f2 Compare January 4, 2025 18:35
@cavcrosby cavcrosby force-pushed the main branch 2 times, most recently from 466db9b to a0f0182 Compare January 4, 2025 19:00
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch from ae1b5f2 to 638392b Compare January 4, 2025 20:54
@cavcrosby cavcrosby force-pushed the main branch 2 times, most recently from 0483ba9 to 89e258d Compare January 5, 2025 23:11
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch from 638392b to 6a45f8d Compare January 5, 2025 23:12
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch from 6a45f8d to e7888fe Compare January 5, 2025 23:16
@cavcrosby cavcrosby force-pushed the main branch 2 times, most recently from 9715751 to e28add2 Compare January 11, 2025 22:37
@renovate renovate bot changed the title Update pre-commit hook gitleaks/gitleaks to v8.22.1 Update pre-commit hook gitleaks/gitleaks to v8.23.0 Jan 14, 2025
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch from e7888fe to badb748 Compare January 14, 2025 15:55
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch from badb748 to cfe7b38 Compare January 15, 2025 14:26
@renovate renovate bot changed the title Update pre-commit hook gitleaks/gitleaks to v8.23.0 Update pre-commit hook gitleaks/gitleaks to v8.23.1 Jan 15, 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