Ahrav Dutta
a72e25accf
make collector a singleton
2024-11-08 14:32:16 -08:00
Ahrav Dutta
9722ad7a41
add metrics to s3 scan
2024-11-08 14:19:39 -08:00
Ahrav Dutta
c5c48e04c1
remove dupe
2024-11-08 13:51:24 -08:00
Ahrav Dutta
e73f4548fd
merge
2024-11-08 11:23:23 -08:00
Ahrav Dutta
bb578febea
cleanup
2024-11-08 11:22:59 -08:00
Ahrav Dutta
dd206643fe
cleanup
2024-11-08 11:21:32 -08:00
Ahrav Dutta
0047c62439
remove progress tracking
2024-11-08 10:42:33 -08:00
Ahrav Dutta
627ece0bc8
fix
2024-11-07 13:56:19 -08:00
Ahrav Dutta
8740bc673b
adjust test
2024-11-07 13:07:10 -08:00
Ahrav Dutta
7476fa983d
update
2024-11-07 12:41:36 -08:00
Ahrav Dutta
334a4f9ef2
Merge branch 'feat-s3-source-resumption' of github.com:trufflesecurity/trufflehog into feat-s3-source-resumption
2024-11-07 11:11:33 -08:00
Ahrav Dutta
b4e8b1ec51
fix
2024-11-07 11:11:04 -08:00
Ahrav Dutta
4ea1583567
updates
2024-11-07 11:08:18 -08:00
Ahrav Dutta
fd248ca1eb
updates
2024-11-07 11:07:14 -08:00
Ahrav Dutta
e895ec7f5a
invert
2024-11-07 10:35:22 -08:00
Ahrav Dutta
26c75a9073
updates
2024-11-07 10:33:01 -08:00
Ahrav Dutta
8446a72429
adjust
2024-11-06 20:09:57 -08:00
ahrav
389fffb8fd
Merge branch 'main' into feat-s3-source-resumption
2024-11-06 18:34:01 -08:00
ahrav
c345df9951
add config option for s3 resumption ( #3563 )
2024-11-06 18:30:40 -08:00
Ahrav Dutta
454b48b8d6
UpdateScanProgress tests
2024-11-06 18:26:04 -08:00
Ahrav Dutta
5a2820c164
revert s3 source file
2024-11-06 18:17:29 -08:00
Ahrav Dutta
789bd39255
more testing
2024-11-06 15:54:15 -08:00
Kashif Khan
9095845958
added pattern test cases for detectors starting with b ( #3559 )
...
* added pattern test cases for detectors starting with b
* last brick
2024-11-06 15:45:47 -06:00
Kashif Khan
8897ed2a66
added pattern test cases for all detectors starting with Alphabet a
( #3539 )
...
* added pattern test cases
* some more test cases with some fixes too
* improved apimetrics regex and added test cases
* added more pattern test cases
* added more pattern test cases
* last brick of pattern test cases for a Alphabet
2024-11-06 15:35:33 -06:00
Abdul Basit
d073ad69ca
validate if twitter services are more than one before accessing it. ( #3565 )
2024-11-06 07:47:41 -08:00
Ahrav Dutta
804da8ef55
initial progress tracking logic
2024-11-05 15:54:01 -08:00
Ahrav Dutta
edd9cd523c
updates
2024-11-05 14:06:05 -08:00
Ahrav Dutta
cd3d9d4264
add config option for s3 resumption
2024-11-05 14:03:25 -08:00
renovate[bot]
944d5dcdc2
fix(deps): update module github.com/azuread/microsoft-authentication-library-for-go to v1.3.0 ( #3561 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-05 11:30:54 -08:00
ahrav
bf89c89e09
[bug] - Correct Line Number Calculation ( #3550 )
...
* correclty report line number
* add addiitonal test cases
2024-11-05 08:53:18 -08:00
Kashif Khan
3f8ddd39a2
set verification error if failed to decode body ( #3560 )
2024-11-05 08:00:54 -08:00
Dustin Decker
5ca4a17a4c
Add owner to github tokens ( #3558 )
2024-11-04 14:43:30 -08:00
ahrav
fa871b0c1e
[feat] - Add Weights and Biases detector ( #3551 )
...
* add Weights and biases detector
* add to default detector list
2024-11-04 10:27:46 -08:00
ahrav
6923843bc4
[chore] - minor cleanup S3 source ( #3554 )
...
* cleanup s3 source
* revert
2024-11-04 08:54:30 -08:00
renovate[bot]
741146f17e
fix(deps): update module github.com/golang-jwt/jwt/v4 to v4.5.1 ( #3555 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-03 14:57:15 -08:00
Cody Rose
e6d786a7d9
stop logging all GitLab projects ( #3541 )
...
#3532 stopped logging one huge GItLab slice, but there's a second one! We should stop logging it for the same reason.
2024-11-01 12:27:44 -04:00
renovate[bot]
a63bf95412
fix(deps): update module cloud.google.com/go/storage to v1.46.0 ( #3544 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-31 18:33:02 -07:00
renovate[bot]
e3c5e2f32f
fix(deps): update module github.com/snowflakedb/gosnowflake to v1.12.0 ( #3531 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-31 18:24:30 -07:00
renovate[bot]
0f48b680df
fix(deps): update module google.golang.org/api to v0.204.0 ( #3543 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-31 18:23:40 -07:00
renovate[bot]
2efb9c19db
fix(deps): update module github.com/azuread/microsoft-authentication-library-for-go to v1.2.3 ( #3540 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-31 09:59:38 -07:00
Kashif Khan
bd5e287425
fixed gitlab extradata overwriting ( #3537 )
2024-10-31 07:14:39 -05:00
renovate[bot]
257413cc86
fix(deps): update module github.com/brianvoe/gofakeit/v7 to v7.1.2 ( #3536 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-30 18:34:56 -07:00
Zachary Rice
4d355d414e
gcp cred not set ( #3535 )
...
* stopgap i guess
* slightly smarter
2024-10-30 16:39:31 -05:00
Zachary Rice
b6ace9d91a
strip symbol and DWARF tables ( #3534 )
2024-10-30 12:51:30 -05:00
Kashif Khan
84ec670228
standardize email pattern ( #3524 )
...
* standardize email pattern
* added email pattern test cases
* added negative test cases for email pattern
2024-10-30 11:39:07 -05:00
Cody Rose
d6ce0f82c3
Add Scanning team to CODEOWNERS ( #3533 )
2024-10-30 10:05:53 -04:00
Cody Rose
65e913e2c8
stop logging detailed group info ( #3532 )
...
Co-authored-by: Abdul Basit <basit.mussani@gmail.com>
2024-10-30 10:04:33 -04:00
Abdul Basit
9b2cef55c0
[analyze] Add Analyzer interface for Gitlab ( #3232 )
...
* implement analyzer interface for gitlab
* generated permissions, added unit test for gitlab analyzer
* revert deletion of scopes.go
* appending domain in resource names
* [chore]
moved expected output of test in json file to neat the code.
* updated the test for gitlab analyzer
to make more unique FullyQualifiedName, Ids are added for resources.
* remove unnecessary metadata field and fix github -> gitlab
* extract user id from access token json, make user as resource
* link analyzer with gitlab v2 detector
* fixed code breaking changes due to analyzer protobuf removal.
---------
Co-authored-by: Abdul Basit <abasit@folio3.com>
2024-10-30 18:46:50 +05:00
Abdul Basit
f4670aaab1
[feat] Gitlab inclusion globbing ( #3500 )
...
* Implemented gitlab inclusion globbing.
Included test.
* implemented two new flags for gitlab scan, includeRepo and excludeRepo to support globbing.
Apply globbing filter when repos is not provided.
* implemented integration test for inclusion globbing
remove test to check errors if globs are invalid.
* made changes to support glob compile errors.
modified changes to support glob compilation errors.
* removed unused context from few functions.
2024-10-30 18:23:34 +05:00
Sahil Silare
e81ff7630c
feat: added v3
API version for the detector captaindatago
( #3484 )
...
* feat: added `v3` API version for the detector `captaindatago`
* chore: renamed captaindata to captaindatav2
* fix: fixed v3 detector to follow new pattern
* feat: added versioner impl
Signed-off-by: Sahil Silare <sahilsilare@gmail.com>
* feat: changed the name from v2 -> v1 and v3 -> v2
Signed-off-by: Sahil Silare <sahilsilare@gmail.com>
---------
Signed-off-by: Sahil Silare <sahilsilare@gmail.com>
Co-authored-by: Kashif Khan <70996046+kashifkhan0771@users.noreply.github.com>
2024-10-30 10:40:49 +05:00