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

deps:chore - update zricethezav/gitleaks Docker tag to v8.21.2 #1092

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 25, 2022

This PR contains the following updates:

Package Type Update Change
zricethezav/gitleaks final minor v8.8.7 -> v8.21.2

Release Notes

gitleaks/gitleaks (zricethezav/gitleaks)

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

Compare Source

Changelog

v8.19.2

Compare Source

Changelog

v8.19.1

Compare Source

Changelog

v8.19.0

Compare Source

Changelog

v8.18.4

Compare Source

Changelog

Shout out to @​coderabbit for their sponsorship!

v8.18.3

Compare Source

Changelog

v8.18.2

Compare Source

Changelog

v8.18.1

Compare Source

Changelog

v8.18.0

Compare Source

What's Changed
New Contributors

Full Changelog: gitleaks/gitleaks@v8.17.0...v8.18.0

v8.17.0

Compare Source

What's Changed

New Contributors

Full Changelog: gitleaks/gitleaks@v8.16.4...v8.17.0

v8.16.4

Compare Source

Changelog

v8.16.3

Compare Source

Changelog

Huuuuuge thank you to all the contributors especially @​rgmz

@​edwardwang888 @​wparad @​sadikkuzu @​RafaelFigueiredo @​fgreinacher @​jasikpark @​sergiomarotco

v8.16.2

Compare Source

Changelog

Thanks to @​americanair for sponsoring this open source project!

Thanks to all the contributors this release: @​fgreinacher @​wparad @​RafaelFigueiredo @​sergiomarotco @​jasikpark

v8.16.1

Compare Source

Changelog

v8.16.0

Compare Source

Changelog
Allowlist Regex Targets

Let's use the generic rule to demonstrate the new regexTarget allowlist option

[[rules]]
description = "Generic API Key"
id = "generic-api-key"
regex = '''(?i)(?:key|api|token|secret|client|passwd|password|auth|access)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:=|\|\|:|<=|=>|:)(?:'|\"|\s|=|\x60){0,5}([0-9a-z\-_.=]{10,150})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
secretGroup = 1
entropy = 3.5
keywords = [
    "key","api","token","secret","client","passwd","password","auth","access",
]

example.txt will be our target and contain a single line with a fake secret:

var discord_client_secret = '8dyfuiRyq=vVc3RRr_edRk-fK__JItpZ'

Running gitleaks on this file using the generic rule will return one finding:

gitleaks detect --source=example.txt --no-git -v --config=example.toml

    ○
    │╲
    │ ○
    ○ ░
    ░    gitleaks

Finding:     discord_client_secret = '8dyfuiRyq=vVc3RRr_edRk-fK__JItpZ'
Secret:      8dyfuiRyq=vVc3RRr_edRk-fK__JItpZ
RuleID:      generic-api-key
Entropy:     4.413910
File:        example.txt
Line:        1
Fingerprint: example.txt:generic-api-key:1

We can add a allowlist regexes entry to include part of the secret. This will cause gitleaks to ignore the finding above.
Note that by default gitleaks uses the Secret to compare against allowlist regexes.

Adding the following allowlist to the generic rule will cause gitleaks to ignore the finding:

[rules.allowlist]
regexes = ["vV"]

But now say you don't want to use Secret to compare against your allowlist regexes. Well, now you can use regexTarget and set the value as either line or match to compare against the line or regex match:

[rules.allowlist]
regexTarget = "match"
regexes = ["discord"]

and

[rules.allowlist]
regexTarget = "line"
regexes = ["var"]

will both result in the finding being ignored because discord is found in the generic rule regex match and var is in the line where the finding was found.

In addition to rule allowlists, you can set regexTarget in the global allowlist:

[allowlist]
regexTarget = "line"
regexes = ["var"]

Thanks @​bplaxco for the review

v8.15.4

Compare Source

Changelog

Shouts outs to @​sandyydk @​raffis @​lawndoc @​sadikkuzu

v8.15.3

Compare Source

Changelog

v8.15.2

Compare Source

Changelog

v8.15.1

Compare Source

Changelog

v8.15.0

Compare Source

Changelog

Thanks @​RickyGrassmuck @​sergiomarotco

--pipe

Try --pipe with anything...

git log -p | gitleaks detect --pipe
--follow-symlinks
gitleaks --source . --no-git --follow-symlinks 

v8.14.1

Compare Source

Changelog

  • c39e764 define log-opts, odd that this wasn't failing before... (#​1009)

v8.14.0

Compare Source

Changelog

Thanks to @​roma8389 @​michenriksen @​JoostVoskuil @​alexgit2k @​Becojo @​nnnkkk7 @​mojotx @​weineran 💪🏻

v8.13.0

Compare Source

Changelog

Thanks to @​maltemorgenstern @​b4bay @​durkinza @​akashchandwani @​very-doge-wow @​gawansch 👍🏻

v8.12.0

Compare Source

Changelog

Screen Shot 2022-09-04 at 9 13 54 AM

If this change causes outrage I can always add a --legacy-output option.

v8.11.2

Compare Source

Changelog

v8.11.1

Compare Source

Changelog

v8.11.0

Compare Source

Changelog

  • b6b7cfb bump gitdiff, add git.Err state, better log messages (#​954)

v8.10.3

Compare Source

Changelog

v8.10.2

Compare Source

Changelog

v8.10.1

Compare Source

Changelog

  • b8f236c Changed fingerprint to explicit concatenation of commit, file, rule-id, and start line (#​944)

v8.10.0

Compare Source

Changelog

v8.9.0

[Comp


Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, 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 requested review from a team June 25, 2022 02:05
@renovate renovate bot changed the title deps:chore - update dependency zricethezav/gitleaks to v8.8.8 deps:chore -: deps:chore - update dependency zricethezav/gitleaks to v8.8.8 Jun 27, 2022
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from 4c3582c to 21a7dcd Compare June 27, 2022 19:49
@renovate renovate bot changed the title deps:chore -: deps:chore - update dependency zricethezav/gitleaks to v8.8.8 deps:chore -: deps:chore - update dependency zricethezav/gitleaks to v8.8.9 Jun 27, 2022
@renovate renovate bot changed the title deps:chore -: deps:chore - update dependency zricethezav/gitleaks to v8.8.9 deps:chore -: deps:chore - update dependency zricethezav/gitleaks to v8.8.10 Jun 27, 2022
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from 21a7dcd to 283ab4b Compare June 27, 2022 22:43
@renovate renovate bot changed the title deps:chore -: deps:chore - update dependency zricethezav/gitleaks to v8.8.10 deps:chore - update dependency zricethezav/gitleaks to v8.8.10 Jun 28, 2022
@renovate renovate bot changed the title deps:chore - update dependency zricethezav/gitleaks to v8.8.10 deps:chore - update dependency zricethezav/gitleaks to v8.8.11 Jun 28, 2022
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from 283ab4b to 3e74fc7 Compare June 28, 2022 11:57
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from 3e74fc7 to 09a802b Compare July 11, 2022 18:28
@renovate renovate bot changed the title deps:chore - update dependency zricethezav/gitleaks to v8.8.11 deps:chore - update dependency zricethezav/gitleaks to v8.8.12 Jul 11, 2022
@renovate renovate bot changed the title deps:chore - update dependency zricethezav/gitleaks to v8.8.12 deps:chore - update dependency zricethezav/gitleaks to v8.9.0 Jul 28, 2022
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from 09a802b to 190b900 Compare July 28, 2022 01:38
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from 190b900 to 242bf45 Compare August 7, 2022 18:59
@renovate renovate bot changed the title deps:chore - update dependency zricethezav/gitleaks to v8.9.0 deps:chore - update dependency zricethezav/gitleaks to v8.10.0 Aug 7, 2022
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from 242bf45 to d0cb7f3 Compare August 8, 2022 13:48
@renovate renovate bot changed the title deps:chore - update dependency zricethezav/gitleaks to v8.10.0 deps:chore - update dependency zricethezav/gitleaks to v8.10.1 Aug 8, 2022
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from d0cb7f3 to d1fc93e Compare August 8, 2022 21:13
@renovate renovate bot changed the title deps:chore - update dependency zricethezav/gitleaks to v8.10.1 deps:chore - update dependency zricethezav/gitleaks to v8.10.2 Aug 8, 2022
@renovate renovate bot changed the title deps:chore - update dependency zricethezav/gitleaks to v8.10.2 deps:chore - update zricethezav/gitleaks Docker tag to v8.10.2 Aug 10, 2022
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from d1fc93e to 400aada Compare August 12, 2022 16:39
@renovate renovate bot changed the title deps:chore - update zricethezav/gitleaks Docker tag to v8.10.2 deps:chore - update zricethezav/gitleaks Docker tag to v8.10.3 Aug 12, 2022
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from 400aada to 2783fb9 Compare August 17, 2022 03:00
@renovate renovate bot changed the title deps:chore - update zricethezav/gitleaks Docker tag to v8.10.3 deps:chore - update zricethezav/gitleaks Docker tag to v8.11.0 Aug 17, 2022
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from 2783fb9 to f8693a7 Compare September 25, 2022 13:54
@renovate renovate bot changed the title deps:chore - update zricethezav/gitleaks Docker tag to v8.11.0 deps:chore - update zricethezav/gitleaks Docker tag to v8.13.0 Sep 25, 2022
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from f8693a7 to f7f53fc Compare November 20, 2022 10:55
@renovate renovate bot changed the title deps:chore - update zricethezav/gitleaks Docker tag to v8.13.0 deps:chore - update zricethezav/gitleaks Docker tag to v8.15.0 Nov 20, 2022
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from 0d93dff to b7dbf77 Compare June 6, 2023 21:12
@renovate renovate bot changed the title deps:chore - update zricethezav/gitleaks Docker tag to v8.16.4 deps:chore - update zricethezav/gitleaks Docker tag to v8.17.0 Jun 15, 2023
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from b7dbf77 to 47373a2 Compare June 15, 2023 17:51
@renovate renovate bot changed the title deps:chore - update zricethezav/gitleaks Docker tag to v8.17.0 deps:chore - update zricethezav/gitleaks Docker tag to v8.18.0 Aug 22, 2023
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from 47373a2 to d0ef274 Compare August 22, 2023 22:50
@renovate renovate bot changed the title deps:chore - update zricethezav/gitleaks Docker tag to v8.18.0 deps:chore - update zricethezav/gitleaks Docker tag to v8.18.1 Nov 17, 2023
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from d0ef274 to fcc6014 Compare November 17, 2023 22:38
@renovate renovate bot changed the title deps:chore - update zricethezav/gitleaks Docker tag to v8.18.1 deps:chore - update zricethezav/gitleaks Docker tag to v8.18.2 Feb 1, 2024
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from fcc6014 to 7952789 Compare February 1, 2024 19:11
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from 7952789 to c68edfc Compare June 1, 2024 15:53
@renovate renovate bot changed the title deps:chore - update zricethezav/gitleaks Docker tag to v8.18.2 deps:chore - update zricethezav/gitleaks Docker tag to v8.18.3 Jun 1, 2024
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from c68edfc to 046932e Compare June 14, 2024 17:21
@renovate renovate bot changed the title deps:chore - update zricethezav/gitleaks Docker tag to v8.18.3 deps:chore - update zricethezav/gitleaks Docker tag to v8.18.4 Jun 14, 2024
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from 046932e to c1dcdd4 Compare September 14, 2024 04:37
@renovate renovate bot changed the title deps:chore - update zricethezav/gitleaks Docker tag to v8.18.4 deps:chore - update zricethezav/gitleaks Docker tag to v8.19.0 Sep 14, 2024
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from c1dcdd4 to 838dae8 Compare September 14, 2024 10:35
@renovate renovate bot changed the title deps:chore - update zricethezav/gitleaks Docker tag to v8.19.0 deps:chore - update zricethezav/gitleaks Docker tag to v8.19.1 Sep 14, 2024
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from 838dae8 to ca3f0a9 Compare September 16, 2024 15:46
@renovate renovate bot changed the title deps:chore - update zricethezav/gitleaks Docker tag to v8.19.1 deps:chore - update zricethezav/gitleaks Docker tag to v8.19.2 Sep 16, 2024
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from ca3f0a9 to db3cc51 Compare September 26, 2024 16:02
@renovate renovate bot changed the title deps:chore - update zricethezav/gitleaks Docker tag to v8.19.2 deps:chore - update zricethezav/gitleaks Docker tag to v8.19.3 Sep 26, 2024
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from db3cc51 to 21225be Compare October 7, 2024 18:25
@renovate renovate bot changed the title deps:chore - update zricethezav/gitleaks Docker tag to v8.19.3 deps:chore - update zricethezav/gitleaks Docker tag to v8.20.1 Oct 7, 2024
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from 21225be to 5de4b9e Compare October 15, 2024 03:39
@renovate renovate bot changed the title deps:chore - update zricethezav/gitleaks Docker tag to v8.20.1 deps:chore - update zricethezav/gitleaks Docker tag to v8.21.0 Oct 15, 2024
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from 5de4b9e to 8271ca5 Compare October 18, 2024 12:40
@renovate renovate bot changed the title deps:chore - update zricethezav/gitleaks Docker tag to v8.21.0 deps:chore - update zricethezav/gitleaks Docker tag to v8.21.1 Oct 18, 2024
@renovate renovate bot force-pushed the renovate/zricethezav-gitleaks-8.x branch from 8271ca5 to 5697a56 Compare October 28, 2024 17:03
@renovate renovate bot changed the title deps:chore - update zricethezav/gitleaks Docker tag to v8.21.1 deps:chore - update zricethezav/gitleaks Docker tag to v8.21.2 Oct 28, 2024
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