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 gitleaks/gitleaks to v8.23.3 #9

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 14, 2024

This PR contains the following updates:

Package Type Update Change
gitleaks/gitleaks repository minor v8.18.4 -> v8.23.3

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.3

Compare Source

Changelog

v8.23.2

Compare Source

Changelog

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

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 changed the title chore(deps): update pre-commit hook gitleaks/gitleaks to v8.19.0 chore(deps): update pre-commit hook gitleaks/gitleaks to v8.19.1 Sep 14, 2024
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch 2 times, most recently from c2b9ebe to d91d4bc Compare September 16, 2024 15:35
@renovate renovate bot changed the title chore(deps): update pre-commit hook gitleaks/gitleaks to v8.19.1 chore(deps): 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 d91d4bc to 3307675 Compare September 26, 2024 16:16
@renovate renovate bot changed the title chore(deps): update pre-commit hook gitleaks/gitleaks to v8.19.2 chore(deps): update pre-commit hook gitleaks/gitleaks to v8.19.3 Sep 26, 2024
@renovate renovate bot changed the title chore(deps): update pre-commit hook gitleaks/gitleaks to v8.19.3 chore(deps): update pre-commit hook gitleaks/gitleaks to v8.20.0 Oct 3, 2024
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch from 3307675 to 4fd2e5e Compare October 3, 2024 15:35
@renovate renovate bot changed the title chore(deps): update pre-commit hook gitleaks/gitleaks to v8.20.0 chore(deps): 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 4fd2e5e to d8f3046 Compare October 7, 2024 19:59
@renovate renovate bot changed the title chore(deps): update pre-commit hook gitleaks/gitleaks to v8.20.1 chore(deps): update pre-commit hook gitleaks/gitleaks to v8.21.0 Oct 15, 2024
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch 2 times, most recently from 24e90a9 to 7b93686 Compare October 18, 2024 13:22
@renovate renovate bot changed the title chore(deps): update pre-commit hook gitleaks/gitleaks to v8.21.0 chore(deps): update pre-commit hook gitleaks/gitleaks to v8.21.1 Oct 18, 2024
@renovate renovate bot changed the title chore(deps): update pre-commit hook gitleaks/gitleaks to v8.21.1 chore(deps): update pre-commit hook gitleaks/gitleaks to v8.21.2 Oct 28, 2024
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch from 7b93686 to 5061c32 Compare October 28, 2024 17:07
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch from 5061c32 to 945aa3c Compare December 19, 2024 23:38
@renovate renovate bot changed the title chore(deps): update pre-commit hook gitleaks/gitleaks to v8.21.2 chore(deps): update pre-commit hook gitleaks/gitleaks to v8.21.3 Dec 19, 2024
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch from 945aa3c to a07f2a1 Compare December 20, 2024 16:48
@renovate renovate bot changed the title chore(deps): update pre-commit hook gitleaks/gitleaks to v8.21.3 chore(deps): update pre-commit hook gitleaks/gitleaks to v8.22.0 Dec 20, 2024
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch from a07f2a1 to 3389a63 Compare December 30, 2024 20:10
@renovate renovate bot changed the title chore(deps): update pre-commit hook gitleaks/gitleaks to v8.22.0 chore(deps): update pre-commit hook gitleaks/gitleaks to v8.22.1 Dec 30, 2024
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch from 3389a63 to a85e06e Compare January 13, 2025 17:00
@renovate renovate bot changed the title chore(deps): update pre-commit hook gitleaks/gitleaks to v8.22.1 chore(deps): update pre-commit hook gitleaks/gitleaks to v8.23.0 Jan 13, 2025
@renovate renovate bot changed the title chore(deps): update pre-commit hook gitleaks/gitleaks to v8.23.0 chore(deps): update pre-commit hook gitleaks/gitleaks to v8.23.1 Jan 15, 2025
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch from a85e06e to f5b94c7 Compare January 15, 2025 14:08
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch from f5b94c7 to 8e86b7d Compare January 24, 2025 16:32
@renovate renovate bot changed the title chore(deps): update pre-commit hook gitleaks/gitleaks to v8.23.1 chore(deps): update pre-commit hook gitleaks/gitleaks to v8.23.2 Jan 24, 2025
@renovate renovate bot force-pushed the renovate/gitleaks-gitleaks-8.x branch from 8e86b7d to 543fce7 Compare January 29, 2025 17:50
@renovate renovate bot changed the title chore(deps): update pre-commit hook gitleaks/gitleaks to v8.23.2 chore(deps): update pre-commit hook gitleaks/gitleaks to v8.23.3 Jan 29, 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