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): Bump github.com/zricethezav/gitleaks/v8 from 8.19.3 to 8.20.0 #26

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 4, 2024

Bumps github.com/zricethezav/gitleaks/v8 from 8.19.3 to 8.20.0.

Release notes

Sourced from github.com/zricethezav/gitleaks/v8's releases.

v8.20.0

Changelog

  • bf8a49f Make private key check less greedy and include fifth dash (#1440)
  • 9c354f5 print tags if they exist
  • 2278a2a Decode Base64 (#1488)
  • c5b15c9 refactor(config): keyword map (#1538)
  • a971a32 fix: use regexTarget for extend config (#1536)
  • a0f2f46 feat: bump go to 1.22 (#1537)
  • 4e8d7d3 fix: handle pre-commit and staged (#1533)
  • f8dcd83 Bugfix/1352 incorrect report multiple lines (#1501)

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)
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/zricethezav/gitleaks/v8](https://github.com/zricethezav/gitleaks) from 8.19.3 to 8.20.0.
- [Release notes](https://github.com/zricethezav/gitleaks/releases)
- [Changelog](https://github.com/gitleaks/gitleaks/blob/master/.goreleaser.yml)
- [Commits](gitleaks/gitleaks@v8.19.3...v8.20.0)

---
updated-dependencies:
- dependency-name: github.com/zricethezav/gitleaks/v8
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Oct 4, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 8, 2024

Superseded by #29.

@dependabot dependabot bot closed this Oct 8, 2024
@dependabot dependabot bot deleted the dependabot/go_modules/main/github.com/zricethezav/gitleaks/v8-8.20.0 branch October 8, 2024 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants