Commit graph

3530 commits

Author SHA1 Message Date
Ahrav Dutta
201883a50e update verbiage of comment 2024-10-19 19:48:26 -07:00
Ahrav Dutta
ca82c72a09 merge main 2024-10-19 19:45:18 -07:00
Ahrav Dutta
9411abd12d address comments 2024-10-19 19:41:34 -07:00
renovate[bot]
fa78cd7e10
fix(deps): update module go.uber.org/mock to v0.5.0 (#3468)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-19 09:50:25 -07:00
renovate[bot]
9bca91d612
fix(deps): update module cloud.google.com/go/storage to v1.45.0 (#3467)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-19 09:49:50 -07:00
ahrav
6e055ea578
increase timeout to 30s (#3422)
* increase timeout to 30s

* add debug

* use context logger and include size in logs

* close reader

* address comments
2024-10-18 16:13:03 -07:00
Damanpreet Singh
88b8c862a6
Update yousign detector endpoints to check againt prod and staging urls (#3426) 2024-10-18 15:47:42 -05:00
Sahil Silare
f7252c525a
fix: fixed autoklose verification endpoint (#3447)
* fix: fixed autoklose verification endpoint

* fix: addressed review comments

* fix: addressed review comments

* fix: added guard checks for 401 and 200

* fix: added code
2024-10-18 15:32:17 -05:00
Sahil Silare
3499df65f2
fix: fixed verification logic & endpoint for AyrShare (#3452)
* fix: fixed verification endpoint for AyrShare

* fix: changed verification endpoint for ayrshare

* fix: fixed error handling
2024-10-18 15:26:24 -05:00
ahrav
871a2b0f06
fix timeout (#3460) 2024-10-17 12:53:40 -07:00
Dustin Decker
b66c167074
Revert "Compress release with UPX (#3445)" (#3455)
This reverts commit c46d52b11a.
2024-10-17 09:12:46 -07:00
Dustin Decker
c46d52b11a
Compress release with UPX (#3445) 2024-10-17 08:04:37 -07:00
Kashif Khan
e6c43ca863
ignore https as false postive for slackwebhook detector (#3425) 2024-10-16 05:53:06 -07:00
renovate[bot]
8988cb51be
fix(deps): update module github.com/prometheus/client_golang to v1.20.5 (#3412)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-15 12:43:19 -07:00
Richard Gomez
c39c5cb4a7
fix: include integration test in generate.go (#3415) 2024-10-15 12:23:18 -07:00
ktranSC
aa23f3d204
Add feature flags to CLI args (#3359)
* Update main.go

* Update main.go
2024-10-15 12:18:40 -07:00
renovate[bot]
75dd64b9eb
fix(deps): update module google.golang.org/api to v0.201.0 (#3416)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-15 12:18:03 -07:00
JonZeolla
4ea311dea9
feat: add github comments timeframe filtering (fixes #3388) (#3390)
* feat: add github comments timeframe filtering

* fixup and generate protos

* Cleanup

---------

Co-authored-by: Zachary Rice <zachary.rice@trufflesec.com>
2024-10-15 15:13:36 -04:00
ahrav
bf38b8480c
[fix] - resource leak (#3402)
* fix resource leak

* add comment

* use errors.Join

* address error wrapping
2024-10-15 12:11:45 -07:00
Abdul Basit
aa17b8eba4
[detector] Implemented Box Detector (#3242)
* Implemented a box detector with test cases.

* corrected comments

* remove generic keyword for box detector
remove PII details of user.

* Added Box Oauth detector
Implemented description for Box detectors.
Separated out test for Box detectors.

* removed user information from ExtraData.

---------

Co-authored-by: 0x1 <13666360+0x1@users.noreply.github.com>
2024-10-15 08:42:37 -05:00
Richard Gomez
34e443adcf
feat: propagate file info in log context (#3405) 2024-10-14 17:13:39 -07:00
renovate[bot]
e6281ca641
fix(deps): update module github.com/xanzy/go-gitlab to v0.112.0 (#3410)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-14 17:11:56 -07:00
renovate[bot]
e62939fb6e
fix(deps): update module github.com/getsentry/sentry-go to v0.29.1 (#3408)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-14 13:21:07 -07:00
renovate[bot]
eb8dc53f5e
fix(deps): update module github.com/gabriel-vasile/mimetype to v1.4.6 (#3407)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-14 12:55:41 -07:00
Ahrav Dutta
62561fbf50 add more tests 2024-10-12 21:07:17 -07:00
Ahrav Dutta
44f080a5ef remove unused 2024-10-12 20:15:30 -07:00
Ahrav Dutta
a07ffbef72 adjust comment 2024-10-12 20:10:41 -07:00
Ahrav Dutta
abe12fd38c revert 2024-10-12 20:08:33 -07:00
Ahrav Dutta
264298fc66 report errors during file processing. 2024-10-12 20:00:47 -07:00
Ahrav Dutta
44d9c43f83 use errors.Join 2024-10-12 12:52:07 -07:00
Ahrav Dutta
a505f07b9b add comment 2024-10-12 10:13:00 -07:00
Ahrav Dutta
da46890301 fix resource leak 2024-10-12 09:31:15 -07:00
Kyle Dodson
cf54b71a94
Update SaladCloud description (#3399) 2024-10-11 15:55:29 -07:00
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