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.
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 MRs and reviews. Thanks you!
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)
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 MR is behind base branch, or you tick the rebase/retry checkbox.
🔕Ignore: Close this MR and you won't be reminded about this update again.
If you want to rebase/retry this MR, check this box
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [gitleaks/gitleaks](https://github.com/gitleaks/gitleaks) | repository | minor | `v8.19.3` -> `v8.20.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](https://github.com/renovatebot/renovate/discussions/new) if you have any questions.
---
### Release Notes
<details>
<summary>gitleaks/gitleaks (gitleaks/gitleaks)</summary>
### [`v8.20.0`](https://github.com/gitleaks/gitleaks/releases/tag/v8.20.0)
[Compare Source](https://github.com/gitleaks/gitleaks/compare/v8.19.3...v8.20.0)
#### Changelog
- [`bf8a49f`](https://github.com/gitleaks/gitleaks/commit/bf8a49f) Make private key check less greedy and include fifth dash ([#​1440](https://github.com/gitleaks/gitleaks/issues/1440))
- [`9c354f5`](https://github.com/gitleaks/gitleaks/commit/9c354f5) print tags if they exist
- [`2278a2a`](https://github.com/gitleaks/gitleaks/commit/2278a2a) Decode Base64 ([#​1488](https://github.com/gitleaks/gitleaks/issues/1488))
- [`c5b15c9`](https://github.com/gitleaks/gitleaks/commit/c5b15c9) refactor(config): keyword map ([#​1538](https://github.com/gitleaks/gitleaks/issues/1538))
- [`a971a32`](https://github.com/gitleaks/gitleaks/commit/a971a32) fix: use regexTarget for extend config ([#​1536](https://github.com/gitleaks/gitleaks/issues/1536))
- [`a0f2f46`](https://github.com/gitleaks/gitleaks/commit/a0f2f46) feat: bump go to 1.22 ([#​1537](https://github.com/gitleaks/gitleaks/issues/1537))
- [`4e8d7d3`](https://github.com/gitleaks/gitleaks/commit/4e8d7d3) fix: handle pre-commit and staged ([#​1533](https://github.com/gitleaks/gitleaks/issues/1533))
- [`f8dcd83`](https://github.com/gitleaks/gitleaks/commit/f8dcd83) Bugfix/1352 incorrect report multiple lines ([#​1501](https://github.com/gitleaks/gitleaks/issues/1501))
Huge huge thanks to [@​bplaxco](https://github.com/bplaxco) for supporting b64 decoding, [@​recreator66](https://github.com/recreator66) for bug fixes, and to [@​rgmz](https://github.com/rgmz) for his continued support of the project in the form of MRs and reviews. Thanks you!
##### New Feature: [Decoding](https://github.com/gitleaks/gitleaks/pull/1488)
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)
</details>
---
### 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 MR is behind base branch, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMDcuMCIsInVwZGF0ZWRJblZlciI6IjM4LjEwNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
## [Codecov](https://app.codecov.io/gl/unboundsoftware:shiny/authz_client/pull/92?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=gitlab&utm_content=comment&utm_campaign=pr+comments&utm_term=shiny) Report
All modified and coverable lines are covered by tests :white_check_mark:
> Project coverage is 100.00%. Comparing base [(`078d6fe`)](https://app.codecov.io/gl/unboundsoftware:shiny/authz_client/commit/078d6fee2811153623183e30221cb9ec35807e2a?dropdown=coverage&el=desc&utm_medium=referral&utm_source=gitlab&utm_content=comment&utm_campaign=pr+comments&utm_term=shiny) to head [(`e347883`)](https://app.codecov.io/gl/unboundsoftware:shiny/authz_client/commit/e347883c0532bdb6448abd08ce2e6e7b8501b001?dropdown=coverage&el=desc&utm_medium=referral&utm_source=gitlab&utm_content=comment&utm_campaign=pr+comments&utm_term=shiny).
<details><summary>Additional details and impacted files</summary>
```diff
@@ Coverage Diff @@
## main #92 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 2 2
Lines 115 115
=========================================
Hits 115 115
```
</details>
[:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gl/unboundsoftware:shiny/authz_client/pull/92?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=gitlab&utm_content=comment&utm_campaign=pr+comments&utm_term=shiny).
:loudspeaker: Have feedback on the report? [Share it here](https://gitlab.com/codecov-open-source/codecov-user-feedback/-/issues/4).
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This MR contains the following updates:
v8.19.3->v8.20.0Note: The
pre-commitmanager in Renovate is not supported by thepre-commitmaintainers 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.20.0Compare Source
Changelog
bf8a49fMake private key check less greedy and include fifth dash (#1440)9c354f5print tags if they exist2278a2aDecode Base64 (#1488)c5b15c9refactor(config): keyword map (#1538)a971a32fix: use regexTarget for extend config (#1536)a0f2f46feat: bump go to 1.22 (#1537)4e8d7d3fix: handle pre-commit and staged (#1533)f8dcd83Bugfix/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 MRs 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-depthenables this feature (the defaultvalue "0" means the feature is disabled by default).
Recursive decoding is supported since decoded text can also contain encoded
text. The flag
--max-decode-depthsets the recursion limit. Recursion stopswhen 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:
include that as well
decoded:<encoding>anddecode-depth:<depth>Currently supported encodings:
base64(both standard and base64url)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 MR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this MR and you won't be reminded about this update again.
This MR has been generated by Renovate Bot.
mentioned in issue #3
Codecov Report
All modified and coverable lines are covered by tests ✅
Additional details and impacted files
☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.
changed the description