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

gomod(deps): bump github.com/zricethezav/gitleaks/v8 from 8.19.3 to 8.20.0 #12067

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 3, 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 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 requested review from neighbors-dev-bot and a team as code owners October 3, 2024 18:35
@dependabot dependabot bot added area/dependency Issues or PRs related to dependency changes go Pull requests that update Go code kind/chore Categorizes issue or PR as related to a chore. skip-review Indicates a PR is trusted, used by tide for auto-merging PRs. labels Oct 3, 2024
@kyma-bot kyma-bot added cla: yes Indicates the PR's author has signed the CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Oct 3, 2024
@neighbors-dev-bot neighbors-dev-bot added the auto-approved Denotes a PR that was approved by automation. label Oct 3, 2024
@kyma-bot kyma-bot added the lgtm Looks good to me! label Oct 3, 2024
@kyma-bot kyma-bot merged commit e371446 into main Oct 3, 2024
23 of 32 checks passed
@kyma-bot kyma-bot deleted the dependabot/go_modules/github.com/zricethezav/gitleaks/v8-8.20.0 branch October 3, 2024 18:39
KacperMalachowski pushed a commit to KacperMalachowski/test-infra that referenced this pull request Nov 6, 2024
)

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]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dependency Issues or PRs related to dependency changes auto-approved Denotes a PR that was approved by automation. cla: yes Indicates the PR's author has signed the CLA. go Pull requests that update Go code kind/chore Categorizes issue or PR as related to a chore. lgtm Looks good to me! size/S Denotes a PR that changes 10-29 lines, ignoring generated files. skip-review Indicates a PR is trusted, used by tide for auto-merging PRs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants