ahrav
67a3b6df35
fix tests ( #3400 )
2024-10-11 13:14:03 -07:00
Miccah
fe97978143
[chore] Update custom detector default description ( #3398 )
2024-10-11 11:49:23 -07:00
Zachary Rice
3ac63414a2
add description to salad ( #3397 )
2024-10-11 11:55:38 -05:00
Kyle Dodson
58485f3395
Add detector for SaladCloud API Keys ( #3273 )
2024-10-10 21:23:25 -07:00
renovate[bot]
8b2b98695b
fix(deps): update module github.com/xanzy/go-gitlab to v0.111.0 ( #3393 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-10 13:39:47 -07:00
Bill Rich
5280c3877c
Add SliceContainsString common util ( #3395 )
...
* Add SliceContainsString common util
* Include slice index and string match from slice
2024-10-10 13:23:23 -07:00
JonZeolla
02d17cae25
fix: pr template link to golangci-lint ( #3392 )
2024-10-10 10:57:41 -07:00
renovate[bot]
f44e623de3
fix(deps): update golang.org/x/exp digest to f66d83c ( #3389 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-10 07:58:57 -07:00
Richard Gomez
05015b38f6
Separate detector tests into unit/integration ( #3274 )
...
* test: split unit and integration tests
* test: split railway unit/integration
* test(alchemy): add new case
2024-10-10 08:47:40 -05:00
ahrav
e57c712998
Manually upgrade github dep ( #3387 )
2024-10-10 06:16:40 -07:00
Kashif Khan
bc32592066
Updated Fastly Personal Token Detector ( #3386 )
...
* Updated verification API and enhanced the code for fastly personal token detector
* fixed integration test cases and resolved comments
* pass secret to SetVerificationError
2024-10-10 07:50:30 -05:00
renovate[bot]
6f1a717d0e
fix(deps): update module google.golang.org/api to v0.200.0 ( #3391 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-09 17:54:09 -07:00
Abdul Basit
76ca171765
[Fix] Snowflake privatelink Support ( #3286 )
...
* [Fixes]
- handling of `.privatelink` in account identifier
- added unit test for pattern detection.
- fixes hard coded account and username in test.
* variable name fixes
2024-10-09 09:54:14 -05:00
Kashif Khan
321813fe75
Enhanced the easyinsight detector ( #3384 )
...
* Enhanced the easyinsight detector
* restructured verification code and resolved comments
* resolved comments
* added basic auth
* updated statuscode logic
2024-10-09 09:52:28 -05:00
Richard Gomez
23afcd77ee
Log skipped files on debug level ( #3383 )
2024-10-07 20:39:06 -07:00
Richard Gomez
dcf8363eaa
build: update retracted bluemonday ver ( #3369 )
...
Co-authored-by: Zachary Rice <zachary.rice@trufflesec.com>
2024-10-07 16:30:02 -07:00
Dustin Decker
59c615a5e9
Fix git binary handling and add a smoke test ( #3379 )
...
* Fix git binary handling and add a smoke test
* hide stdout
* add failure case to smoke test
* run again with deadlock fix
* Add logic to drain reader in the event of an error
* add tests
* be picky
* set author identity
* suppress linter
---------
Co-authored-by: Ahrav Dutta <ahrav.dutta@trufflesec.com>
2024-10-07 13:55:07 -07:00
renovate[bot]
57802abf52
fix(deps): update module google.golang.org/protobuf to v1.35.1 ( #3382 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-07 10:32:24 -07:00
Kashif Khan
ce5da505a7
Added Cisco Meraki API Key detector ( #3367 )
...
* Added cisco meraki apikey detector
* addressed the comments
* handled api response and saving orgs data in extra data
* fixed linter
---------
Co-authored-by: Zachary Rice <zachary.rice@trufflesec.com>
2024-10-07 12:00:45 -05:00
Kashif Khan
23e8ae4a1e
improved the agora detector ( #3360 )
...
* improved the agora detector
* updated prefix keywords and test cases
---------
Co-authored-by: Zachary Rice <zachary.rice@trufflesec.com>
2024-10-07 11:39:54 -05:00
renovate[bot]
40fdf44073
fix(deps): update module github.com/xanzy/go-gitlab to v0.110.0 ( #3376 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-06 08:37:39 -07:00
renovate[bot]
a35bea0c49
fix(deps): update golang.org/x/exp digest to 225e2ab ( #3371 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-06 08:22:33 -07:00
renovate[bot]
99dd43c950
fix(deps): update module golang.org/x/net to v0.30.0 ( #3373 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-05 11:17:56 -07:00
renovate[bot]
a980713984
fix(deps): update module golang.org/x/crypto to v0.28.0 ( #3372 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-05 11:17:34 -07:00
renovate[bot]
d590129c83
chore(deps): update sigstore/cosign-installer action to v3.7.0 ( #3368 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-05 09:28:03 -07:00
renovate[bot]
8b360ca63d
fix(deps): update module cloud.google.com/go/storage to v1.44.0 ( #3366 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-05 09:27:34 -07:00
renovate[bot]
dcf36f6d15
fix(deps): update module github.com/schollz/progressbar/v3 to v3.16.1 ( #3365 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-05 09:27:10 -07:00
ahrav
c98c092a71
[refactor] - Decouple Metrics From Cache Implementation ( #3355 )
...
* decouple metrics from cache logic
* delete
* address comments
* update
2024-10-04 13:25:10 -07:00
renovate[bot]
1e5b831d16
fix(deps): update module github.com/snowflakedb/gosnowflake to v1.11.2 ( #3363 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-03 13:53:23 -07:00
Bhodi
2830bed00b
Updated Cosign Install URL ( #3364 )
2024-10-03 14:12:58 -05:00
renovate[bot]
901fdff992
fix(deps): update module github.com/jedib0t/go-pretty/v6 to v6.6.0 ( #3361 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-03 07:24:47 -07:00
Kashif Khan
a4cc5f7cc3
Added Pattern test cases for detectors ( #3354 )
...
* Added Pattern test cases for detectors
* restructured the unit tests
* Added pattern test cases for few more detectors
* Added pattern test case for 3 more detectors
* formatted testing patterns
2024-10-02 10:44:47 -07:00
ahrav
04eae7af42
remove size check ( #3351 )
2024-10-02 08:27:33 -07:00
renovate[bot]
93c8c95812
fix(deps): update module go.mongodb.org/mongo-driver to v1.17.1 ( #3357 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-02 08:22:00 -07:00
ahrav
b63d6c02a7
[chore] - Rename memory cache package to 'simple' for clarity ( #3352 )
...
* rename memory to cache
* Update
* fix imports
2024-10-02 07:48:26 -07:00
Kashif Khan
effee2a912
Fixed github oauth2 token detector ( #3353 )
2024-10-01 04:07:22 -07:00
ahrav
a5b09951c1
[feat] - Add SizedLRU Cache ( #3344 )
...
* add impl for lru sized cache
* update error message
* address comments
* rename
* update comments
2024-09-30 13:18:15 -07:00
ahrav
350db3a11e
[bug] - Recover From Panic During Archive Handling ( #3348 )
...
* recover from panic
* clarify comment
2024-09-30 12:45:20 -07:00
ahrav
3dff283bb2
[fix] - Use Parent Context in Azure Detector ( #3346 )
...
* use context
* sort imports
2024-09-30 12:13:04 -07:00
ahrav
5f3b4521d7
[chore] - update Go version to 1.23.0 ( #3340 )
...
* update Go version to 1.23.0
* update go version across the rest of the project
2024-09-27 09:55:15 -07:00
Zachary Rice
8cb5e98804
disable secret scans for community PRs ( #3343 )
...
* disable secret scans for community PRs
* check if fork too
2024-09-27 11:55:04 -05:00
Kashif Khan
49cb9d395d
Enhanced the eraser detector to handle new status code from verification API ( #3342 )
2024-09-27 11:32:58 -05:00
ahrav
ee51fc5cc4
[feat] - Add Generic Hasher Interface with Blake2b Implementation ( #3337 )
...
* Add hasher interface and fnv + sha256 implemenations
* update
* remove
* fix test
* update
* remove
* remove
* fix spelling
2024-09-26 20:11:42 -07:00
Miccah
0328a19a9d
[fix] Move detector initialization to DefaultDetectors function ( #3341 )
2024-09-26 14:03:24 -07:00
Dustin Decker
f3630da1e0
Improve process cleanup ( #3339 )
...
* ensures that cmd.Wait() is always called, even if there's a panic in the FromReader function or if stdOut.Close() returns an error
* close stdout and ensure wait is called when handling binaries
* process cleanup improvements
* lint
2024-09-26 10:17:47 -07:00
Richard Gomez
6d022e7d8e
fix(decoder): prevent race ( #3031 )
2024-09-26 09:44:59 -07:00
ahrav
0ba3fa11ba
Add named params to interface methods ( #3335 )
2024-09-26 07:06:07 -07:00
renovate[bot]
c57b6b02f3
fix(deps): update module google.golang.org/api to v0.199.0 ( #3336 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-25 19:38:33 -07:00
Miccah
1a0cf04c3d
[chore] Ensure testing Endpoints() doesn't silently pass on change ( #3334 )
...
Since Endpoints() isn't a defined interface, we are testing an
implementation detail of EndpointSetter. If that function changes in
anyway, the test will now fail instead of skipping every detector and
passing.
2024-09-25 15:27:13 -07:00
Miccah
4484bf443b
[fix] Correctly initialize detectors with cloud endpoint customization ( #3333 )
...
* [fix] Correctly initialize detectors with cloud endpoint customization
We were only initializing if the detector was configured with a custom
endpoint, but not in the default case.
* Add test
* Fix gitlab.v2 detector
2024-09-25 13:06:00 -07:00