chore(deps): update pre-commit hook gitleaks/gitleaks to v8.20.0 #95

Merged
group_2759636_bot_1c34751f7eccad09e089ac15ee7bd902 merged 1 commits from renovate/gitleaks-gitleaks-8.x into main 2024-10-04 09:30:19 +00:00
group_2759636_bot_1c34751f7eccad09e089ac15ee7bd902 commented 2024-10-03 16:57:00 +00:00 (Migrated from gitlab.com)

This MR contains the following updates:

Package Type Update Change
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 if you have any questions.


Release Notes

gitleaks/gitleaks (gitleaks/gitleaks)

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 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-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 has been generated by Renovate Bot.

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 ([#&#8203;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 ([#&#8203;1488](https://github.com/gitleaks/gitleaks/issues/1488)) - [`c5b15c9`](https://github.com/gitleaks/gitleaks/commit/c5b15c9) refactor(config): keyword map ([#&#8203;1538](https://github.com/gitleaks/gitleaks/issues/1538)) - [`a971a32`](https://github.com/gitleaks/gitleaks/commit/a971a32) fix: use regexTarget for extend config ([#&#8203;1536](https://github.com/gitleaks/gitleaks/issues/1536)) - [`a0f2f46`](https://github.com/gitleaks/gitleaks/commit/a0f2f46) feat: bump go to 1.22 ([#&#8203;1537](https://github.com/gitleaks/gitleaks/issues/1537)) - [`4e8d7d3`](https://github.com/gitleaks/gitleaks/commit/4e8d7d3) fix: handle pre-commit and staged ([#&#8203;1533](https://github.com/gitleaks/gitleaks/issues/1533)) - [`f8dcd83`](https://github.com/gitleaks/gitleaks/commit/f8dcd83) Bugfix/1352 incorrect report multiple lines ([#&#8203;1501](https://github.com/gitleaks/gitleaks/issues/1501)) Huge huge thanks to [@&#8203;bplaxco](https://github.com/bplaxco) for supporting b64 decoding, [@&#8203;recreator66](https://github.com/recreator66) for bug fixes, and to [@&#8203;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-->
group_2759636_bot_1c34751f7eccad09e089ac15ee7bd902 commented 2024-10-03 16:57:01 +00:00 (Migrated from gitlab.com)

mentioned in issue #3

mentioned in issue #3
argoyle commented 2024-10-03 17:03:31 +00:00 (Migrated from gitlab.com)

Codecov Report

All modified and coverable lines are covered by tests

Project coverage is 100.00%. Comparing base (078d6fe) to head (e347883).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #92   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines          115       115           
=========================================
  Hits           115       115           

View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

## [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).
group_2759636_bot_1c34751f7eccad09e089ac15ee7bd902 commented 2024-10-03 20:08:01 +00:00 (Migrated from gitlab.com)

changed the description

changed the description
argoyle (Migrated from gitlab.com) merged commit into main 2024-10-04 09:30:19 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shiny/authz_client#95