chore(deps): update dependency gitleaks to v8.28.0 #14
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
8.24.0
->8.28.0
Release Notes
zricethezav/gitleaks (gitleaks)
v8.28.0
Changelog
4fb4382
cant countb1c9c7e
Composite rules (#1905)72977e4
feat: add Anthropic API key detection (#1910)7b02c98
fix(git): handle port (#1912)2a7bcff
dont prematurely calculate fragment newlines (#1909)bd79c3e
feat(allowlist): promote optimizations (#1908)7fb4eda
Fix: CVEs on go and go crypto (#1868)a044b81
feat: add artifactory reference token and api key detection (#1906)bf380d4
sillyf487f85
Update gitleaks.yml958f55a
add 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
required
Rules) #1905In v8.28.0 Gitleaks introduced composite rules, which are made up of a single "primary" rule and one or more auxiliary or
required
rules. To create a composite rule, add a[[rules.required]]
table to the primary rule specifying anid
and optionallywithinLines
and/orwithinColumns
proximity 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 auxiliaryrequired
rules also find matches within the specified area of the fragment.Proximity matching: Using the
withinLines
andwithinColumns
fields instructs the primary rule to only report a finding if the auxiliaryrequired
rules 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:
v8.27.2
Changelog
c7acf33
Merge branch 'master' of github.com:gitleaks/gitleaks9faaa4a
Add experimental allowlist optimizations (#1731)79068b3
Detect Notion Public API Keys #1889 (#1890)v8.27.1
Changelog
80468ef
Merge branch 'master' of github.com:gitleaks/gitleaksef82237
fix(atlassian): reduce false-positives for v1 pattern (#1892)2463f11
Fix log suppresion issue (#1887)6f251ee
Added Heroku API Key New Version (#1883)20f9a1d
Add Platform Bitbucket (#1886)722ce82
Add Platform Gitea (#1884)79780b8
Merge branch 'master' of github.com:gitleaks/gitleaksc5683ca
prevent default warn message when max-archive-depth not set (#1881)0357c3c
prevent default warn message when max-archive-depth not setv8.27.0
Changelog
782f310
Archive support (#1872)489d13c
Update README.mdd29ee55
Reduce aws-access-token false positives (#1876)611db65
Setpass_filenames
tofalse
for Docker hook (#1850)0589ae0
unicode decoding (#1854)82f7e32
Diagnostics (#1856)f97a9ee
chore: include decoder in debug log (#1853)Got another @bplaxco release. Cheers!
Archive Scanning
Sometimes secrets are packaged within archive files like zip files or tarballs,
making them difficult to discover. Now you can tell gitleaks to automatically
extract and scan the contents of archives. The flag
--max-archive-depth
enables this feature for both
dir
andgit
scan types. The default value of"0" means this feature is disabled by default.
Recursive scanning is supported since archives can also contain other archives.
The
--max-archive-depth
flag sets the recursion limit. Recursion stops whenthere are no new archives to extract, so setting a very high max depth just
sets the potential to go that deep. It will only go as deep as it needs to.
The findings for secrets located within an archive will include the path to the
file inside the archive. Inner paths are separated with
!
.Example finding (shortened for brevity):
This means a secret was detected on line 4 of
files/.env.prod.
which is inarchives/files.tar
which is intestdata/archives/nested.tar.gz
.Currently supported formats:
The compression
and archive
formats supported by mholt's archives package
are supported.
v8.26.0
Changelog
78eebac
Percent/URL Decoding Support (#1831)6f967ca
fix(kubernetes): remove slow element from pat (#1848)88f56d3
feat: identify slow file (#1479)9609928
rm 1password detect test since we test it in cfg gen23cb69f
feat(rules): Add 1Password secret key detection (#1834)Calling this one @bplaxco's release as he introduced a really clever method for mixed decoding without sacrificing too much performance. As I stated in his PR, I think he's either a wizard or some time traveling AI. Dude is wicked smaht
Anyways, Gitleaks now supports the following decoders:
hex
,percent(url enconding)
, andb64
. It's relatively straight forward to add a new decoder so if you're motivated, community contributions are welcomed!Here's an example:
v8.25.1
Changelog
d1c7759
fix(detect): test all allowlists (#1845)Big thanks @rgmz
v8.24.3
Changelog
107a418
Add support for GitLab Runner Tokens (Routable) (#1820)7fac002
bump repo version in pre-commit example (#1815)4b54104
Fix currentLine out of bounds error (#1810)af7d5bc
add support for Azure DevOps platform in SCM detection and link (#1807)3e8cd2d
Add MaxMind license key rule (#1771)ddcc753
implement new openai regex pattern (#1780)9708e65
A first attempt adding hooks.slack.com/triggers/ (#1792)198e410
feat(generic): tweak false-positives (#1803)e273a97
chore: tweak logging and readme for GITLEAKS_CONFIG_TOML feature (#1802)a503b58
feat: add option to set config from env var with toml content (#1662)v8.24.2
What's Changed
platform
flag being ignored withgitleaks detect
by @rgmz in https://github.com/gitleaks/gitleaks/pull/1765report-format
fromreport-path
extension if no value is provided by @rgmz in https://github.com/gitleaks/gitleaks/pull/1776generic-api-key
: ignore csrf-tokens by @rgmz in https://github.com/gitleaks/gitleaks/pull/1779New Contributors
Full Changelog: gitleaks/gitleaks@v8.24.0...v8.24.2
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 PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.