8000 Tags · Dominik-Stocker/trufflehog · GitHub
[go: up one dir, main page]

Skip to content

Tags

Tags

v3.93.8

Toggle v3.93.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Stop growing filesystem resume data (trufflesecurity#4797)

trufflesecurity#4742 (4563dde) introduced a change to the filesystem source resumption tracking that caused it to start growing linearly with subdirectory count - which causes the payload to get intractably big on large data sets. This commit is an attempt to resolve the issue.

Note that the resumption code still has a bug that can cause data to get inadvertently skipped due to mishandling of the internal parallelization of the scan. This bug has been present for a long time and is present in other sources, so fixing it is out of scope here.

This commit _also_ introduces a new bug related to the fact that lexicographic sorting is not completely appropriate for the resumption check. This needs to be cleaned up as a fast follow, but it's still less serious than the current bug that prevents all scans of large data sets.

v3.93.7

Toggle v3.93.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix JDBC detector regex truncating trailing non-alphanumeric password…

… characters (trufflesecurity#4755)

v3.93.6

Toggle v3.93.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Move verify flag into `detectableChunk` (trufflesecurity#4558)

Chunk.Verify is an odd field - it originally conveys whether a source is going to run with verification, but then, at a certain point in the scanning pipeline, is mutated such that it instead indicates whether the chunk should be scanned with verification - which is not solely dependent on the source's verify flag. This is unnecessarily difficult to understand and maintain. This commit separates those two pieces of information into two flags:

- Chunk.Verify has been renamed to Chunk.SourceVerify
- It is no longer mutated; instead "should this chunk's secrets be verified?" is now captured by a new field on detectableChunk

v3.93.5

Toggle v3.93.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix race condition in release process (trufflesecurity#4766)

* Close window between release and artifact creation

* Use alternate method of falling back

* Remove unused env vars

v3.93.4

Toggle v3.93.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
optimize the regex pattern in the artifactory access token detector (t…

…rufflesecurity#4685)

v3.93.3

Toggle v3.93.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
OpenAI Admin Key Detector (trufflesecurity#4689)

* restrict openai detector regex to skip admin key

* add openai admin key detector

* fix: add missing hyphen in openai detector regex

* incorporated feedback
added tests to check exclusivity
tightened regexes

* remove redundant comment

* uniformity in openai regex

v3.93.2

Toggle v3.93.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
[INS-285] Fix custom detectors line number reporting to match the ful…

…l regex instead of capture group (trufflesecurity#4697)

* set the full match as primary secret for correct line number reporting

* add test case for multiline, update documentation

* update comment

* add test case to engine

* sort regexes before selecting first for deterministic behaviour

* remove leftover todo comment

---------

Co-authored-by: Kashif Khan <70996046+kashifkhan0771@users.noreply.github.com>

v3.93.1

Toggle v3.93.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Allow logging of caller info (trufflesecurity#4731)

This commit extends our logging wrapper code to allow the addition of automatically generated caller information to log entries. It also adds a way to selectively suppress this caller information for individual sinks. This commit does not change any of trufflehog's behavior - it just enables future functionality in case we want it to use it later.

This commit also provides an exportable type alias for sink configuration option functions so that callers have more flexibility in how they prepare groups of them.

This commit also adds some new tests for the existing redactionCore and fixes an existing bug in it. (The bug hasn't yet caused problems, but it created the potential for future problems.)

v3.93.0

Toggle v3.93.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
[INS-228] Add ignorePattern configuration support to Postgres and Sql…

…server detectors (trufflesecurity#4612)

* add ignorePattern configuration support to postgres and sqlserver detectors

* add test for sqlserver detector that doesn't use New

v3.92.5

Toggle v3.92.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
[INS-243] Fix jdbc detector detecting incomplete connection string an…

…d fixed invalid… (trufflesecurity#4636)

* Fix jdbc detector detecting incomplete conn string and fixed invalid parsing of sql server string

* [INS-165] Jdbc detector integration tests fix (trufflesecurity#4637)

* [INS-165] Fix Jdbc tests and updated the deprecated code
0