chore(deps): update pre-commit hook gitleaks/gitleaks to v8.28.0 #22
Reference in New Issue
Block a user
Delete Branch "renovate/gitleaks-gitleaks-8.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This MR contains the following updates:
v8.27.2->v8.28.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.28.0Compare Source
Changelog
4fb4382cant countb1c9c7eComposite rules (#1905)72977e4feat: add Anthropic API key detection (#1910)7b02c98fix(git): handle port (#1912)2a7bcffdont prematurely calculate fragment newlines (#1909)bd79c3efeat(allowlist): promote optimizations (#1908)7fb4edaFix: CVEs on go and go crypto (#1868)a044b81feat: add artifactory reference token and api key detection (#1906)bf380d4sillyf487f85Update gitleaks.yml958f55aadd just like that, no leaksOptimizations
#1909 waits to find newlines until a match. This ends up saving a boat load of time since before we were finding newlines for every fragment regardless if a rule matched or not.
#1908 promoted @rgmz excellent stopword optimization
Composite Rules (Multi-part or
requiredRules) #1905In v8.28.0 Gitleaks introduced composite rules, which are made up of a single "primary" rule and one or more auxiliary or
requiredrules. To create a composite rule, add a[[rules.required]]table to the primary rule specifying anidand optionallywithinLinesand/orwithinColumnsproximity constraints. A fragment is a chunk of content that Gitleaks processes at once (typically a file, part of a file, or git diff), and proximity matching instructs the primary rule to only report a finding if the auxiliaryrequiredrules also find matches within the specified area of the fragment.Proximity matching: Using the
withinLinesandwithinColumnsfields instructs the primary rule to only report a finding if the auxiliaryrequiredrules also find matches within the specified proximity. You can set:withinLines: N- required findings must be within N lines (vertically)withinColumns: N- required findings must be within N characters (horizontally)Here are diagrams illustrating each proximity behavior:
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 #1
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.
🚀 New features to boost your workflow: