Skip to content

Releases: gitleaks/gitleaks

v8.23.3

29 Jan 14:46
3188ad6
Compare
Choose a tag to compare

Changelog

  • 3188ad6 Don't exit with error if git repacking is required (#1711)
  • 7fc11bb refactor(config): use non-capture groups for allowlists (#1735)
  • 36c52c6 chore: Enhance curl-auth-user to detect empty usernames or passwords (#1726)
  • 1f323d8 fix(cmd): read log-opts before GitLogCmd (#1730)

v8.23.2

24 Jan 14:25
Compare
Choose a tag to compare

Changelog

v8.23.1

15 Jan 12:51
7bad9f7
Compare
Choose a tag to compare

Changelog

  • 7bad9f7 chore(gcp): add firebase example keys to the gcp-api-key allowlists (#1635)
  • 977236c fix: unaligned 64-bit atomic operation panic (#1696)
  • a211b16 force push to master everyday
  • 0e5f644 feat(config): disable extended rule (#1535)
  • f320a60 style: prevent globbing and word splitting (#1543)
  • c4526b2 refactor(generic-api-key): remove hard-coded 'magic' (#1600)
  • 748076d chore(generate): add failing test case (#1690)

v8.23.0

13 Jan 15:04
db8e5e6
Compare
Choose a tag to compare

Changelog

READ THIS!!! The default gitleaks config now uses [[rules.allowlists]]

    # ⚠️ In v8.21.0 `[rules.allowlist]` was replaced with `[[rules.allowlists]]`.
    # This change was backwards-compatible: instances of `[rules.allowlist]` still  work.
    #
    # You can define multiple allowlists for a rule to reduce false positives.
    # A finding will be ignored if _ANY_ `[[rules.allowlists]]` matches.
    [[rules.allowlists]]
    description = "ignore commit A"
    # When multiple criteria are defined the default condition is "OR".
    # e.g., this can match on |commits| OR |paths| OR |stopwords|.
    condition = "OR"
    commits = [ "commit-A", "commit-B"]
    paths = [
      '''go\.mod''',
      '''go\.sum'''
    ]
    # note: stopwords targets the extracted secret, not the entire regex match
    # like 'regexes' does. (stopwords introduced in 8.8.0)
    stopwords = [
      '''client''',
      '''endpoint''',
    ]

    [[rules.allowlists]]
    # The "AND" condition can be used to make sure all criteria match.
    # e.g., this matches if |regexes| AND |paths| are satisfied.
    condition = "AND"
    # note: |regexes| defaults to check the _Secret_ in the finding.
    # Acceptable values for |regexTarget| are "secret" (default), "match", and "line".
    regexTarget = "match"
    regexes = [ '''(?i)parseur[il]''' ]
    paths = [ '''package-lock\.json''' ]

v8.22.1

30 Dec 16:25
b69b515
Compare
Choose a tag to compare

Changelog

v8.22.0

20 Dec 16:12
a91c671
Compare
Choose a tag to compare

Changelog

  • a91c671 replace std library regex engine with go-re2 (#1669)

This bumps the gitleaks binary size from around 8.5MB to 15MB but yields 2-4x speedup. Worth it imo. If you feel strongly against this change feel free to open an issue where we can discuss the tradeoffs in more depth. Credit to @ahrav

v8.21.4

20 Dec 15:36
906085f
Compare
Choose a tag to compare

Changelog

v8.21.3

19 Dec 20:38
Compare
Choose a tag to compare

Changelog

v8.21.2

28 Oct 13:32
43fae35
Compare
Choose a tag to compare

Changelog

v8.21.1

18 Oct 11:37
cf5334f
Compare
Choose a tag to compare

Changelog