Dustin Decker
065984ee58
review updates
2023-10-18 09:05:07 -07:00
Miccah Castorina
fe90effec1
Continue chunking on error
2023-10-16 16:42:33 -07:00
Miccah Castorina
e5a34a9809
Remove jobPage loop
...
ListByBuild does not support pagination, so this was infinitely
repeating. https://developer.travis-ci.com/resource/jobs#find
2023-10-16 16:21:56 -07:00
Dustin Decker
ec3c59d025
update test to use sourcestest
2023-10-16 14:00:22 -07:00
Dustin Decker
c99e0b93f7
Merge branch 'main' of github.com:trufflesecurity/trufflehog into travis-scanning
2023-10-16 13:42:35 -07:00
Miccah
03dc7cb68d
[chore] Add SourceUnitEnumChunker filesystem tests ( #1873 )
...
* [chore] Add SourceUnitEnumChunker filesystem tests
* Ensure reported units are exactly what is expected
2023-10-16 10:42:18 -07:00
Corben Leo
072e1f9dcf
Detector-Competition-Fix: Add Personal Access Tokens (API Tokens Depr… ( #1871 )
...
* Detector-Competition-Fix: Add Personal Access Tokens (API Tokens Depreciation)
* fix(test): fix test debug msg
* remove print
2023-10-16 08:17:12 -05:00
ahrav
5c721d1a73
[bug] - Don't modify global client var ( #1890 )
...
* Create a new client within the verify block
* remove unused var
2023-10-13 12:32:21 -07:00
s.shivasurya
040167178c
added cody gateway token detection code ( #1883 )
...
* added cody gateway token detection code
* resolved conflict
2023-10-13 09:09:04 -06:00
Corben Leo
ae3a5d1202
Detector-Competition-Feat: Add Klaviyo API Secret Detector ( #1870 )
...
* Detector-Competition-Feat: Add Klaviyo API Secret Detector
* fix(error): add s1.VerificationError and remove specific code check.
* fix(error): add s1.VerificationError and remove specific code check.
2023-10-11 08:35:04 -06:00
Dustin Decker
52ed87edb7
Add an option to filter unverified results using shannon entropy ( #1875 )
...
* Add an option to filter unverified results using shannon entropy
* lint
* add test, update test, and optimize
2023-10-08 19:52:28 -07:00
Dustin Decker
b960231155
Add TravisCI source
2023-10-08 19:44:13 -07:00
Miccah
f09bce3f75
[chore] Fix flaky TestJobProgressElapsedTime ( #1872 )
2023-10-06 17:05:05 -07:00
Dustin Decker
22ee2c5b07
Tighten up keywords ( #1874 )
2023-10-06 16:28:51 -07:00
Corben Leo
77a82847af
Detector-Competition-Fix: fix notion.so false negative verification ( #1866 )
...
* Detector-Competition-Fix: fix notion.so false negative verification
* Detector-Competition-Fix: fix notion.so verification
2023-10-05 12:27:06 -05:00
Corben Leo
179a7e4cbc
Detector-Competition-New: add anthropic api key detector ( #1861 )
...
* feat(anthropic): add anthropic api key detector
* Detector-Competition-Fix: fix remove debug println
2023-10-05 11:34:40 -05:00
Corben Leo
bf1cce43e5
Detector-Competition-New: add ramp.com client id & secret detector ( #1862 )
2023-10-05 09:40:30 -05:00
ahrav
3d2490ca80
use Repositories field from conn. ( #1860 )
2023-10-04 13:56:02 -07:00
Miccah
273f1077af
Add include and ignore list to Artifactory ( #1857 )
...
* Add include and ignore list to Artifactory proto
* Generate protos
2023-10-03 16:48:30 -07:00
ahrav
cee456f484
support insecure TLS for Jira and Jenkins ( #1856 )
...
* support insecure TLS for Jira and Jenkins
* lint
2023-10-03 09:55:38 -07:00
āh̳̕mͭͭͨͩ̐e̘ͬ́͋ͬ̊̓͂d
8d2d8c8395
add tristate verification to postman ( #1837 )
2023-10-03 12:38:43 -04:00
Hon Kwok
4598244167
Use placeholder as default if field left empty and is required ( #1642 )
...
* Use placeholder as default if field left empty and is required
Co-authored-by: mcastorina <m.castorina93@gmail.com >
* Drop unused func
* uncomment azure source
* update wording
---------
Co-authored-by: mcastorina <m.castorina93@gmail.com >
2023-10-02 17:21:40 -07:00
Dylan Ayrey
de535071e1
implemented planet scale creds (passwords and API keys) ( #1841 )
...
* implemented planet scale creds (passwords and API keys)
* Add timeout, fix tests, fix indeterminate
---------
Co-authored-by: counter <counter@counters-MacBook-Air.local >
Co-authored-by: Dustin Decker <dustin@trufflesec.com >
2023-10-02 14:00:36 -07:00
Dylan Ayrey
f13fe36ae2
adding azure storage detector ( #1840 )
...
* adding azure storage detector
* Fix variable name
* Escape regex
* fix test fields and update expected status code
---------
Co-authored-by: counter <counter@counters-MacBook-Air.local >
Co-authored-by: Dustin Decker <dustin@trufflesec.com >
2023-10-02 13:45:45 -07:00
Dylan Ayrey
b3555f5419
Adding Howtorotate Guides to TruffleHog ( #1839 )
...
* adding how to rotate guides
* Adding project ID to metadata
* update key name, remove comments, and ensure always present
---------
Co-authored-by: counter <counter@counters-MacBook-Air.local >
Co-authored-by: Dustin Decker <dustin@trufflesec.com >
2023-10-02 13:45:17 -07:00
āh̳̕mͭͭͨͩ̐e̘ͬ́͋ͬ̊̓͂d
f8f0c984fb
update pagerdutyapikey detector to tri-state verification ( #1836 )
2023-10-02 16:33:18 -04:00
Miccah
0d451aa806
Fix bug in chunker that surfaces with a flaky passed in io.Reader ( #1838 )
...
* Fix bug in chunker that surfaces with a flaky passed in io.Reader
The chunker was previously expecting the passed in io.Reader to always
successfully read a full buffer of data, however it's valid for a Reader
to return less data than requested. When this happens, the chunker would
peek the same data that it then reads in the next iteration of the loop,
causing the same data to be scanned twice.
Co-authored-by: ahrav <ahravdutta02@gmail.com >
* Fix EOF error check
* Use io.ReadFull in Chunker
---------
Co-authored-by: ahrav <ahravdutta02@gmail.com >
2023-10-02 09:38:23 -07:00
Dylan Ayrey
b232ec8b4e
fixing razorpay ( #1852 )
...
Co-authored-by: counter <counter@counters-MacBook-Air.local >
2023-10-02 08:49:40 -05:00
āh̳̕mͭͭͨͩ̐e̘ͬ́͋ͬ̊̓͂d
24748b3de6
add tristate verification to twitch ( #1830 )
...
* add tristate verification to twitch
* return early
* small nits
2023-09-29 16:17:30 -04:00
āh̳̕mͭͭͨͩ̐e̘ͬ́͋ͬ̊̓͂d
5df6afdbf4
Separate gitlab detectors ( #1819 )
...
* update gitlabv2 to tri-state
* updating secret to s1 to match convention
* consolidating both versions of the gitlab detector
* remove gitlabV2 references
* Delete temp.txt
delete test file (note: these are not real secrets)
* updating gitlabV1 detector to only work w/ v1 secrets, and v2 detector only w/ v2 secrets
* update package name and add to defaults
* cleanup nesting
* lowercase package names
* update v1 detector to explicitly ignore results with glpat
* nit
* update package name
2023-09-28 12:36:46 -05:00
āh̳̕mͭͭͨͩ̐e̘ͬ́͋ͬ̊̓͂d
e645827fcb
[chore] add figmav2 to defaults ( #1820 )
...
* add figma to defaults
* update figma detector package to use versioning
2023-09-28 13:35:51 -04:00
āh̳̕mͭͭͨͩ̐e̘ͬ́͋ͬ̊̓͂d
afd0b4cc12
Cleanup jiratoken detector ( #1832 )
...
* cleanup nesting on jiratoken v1
* cleanup nesting on jiratoken v2
2023-09-28 13:35:30 -04:00
āh̳̕mͭͭͨͩ̐e̘ͬ́͋ͬ̊̓͂d
1f2e9d342f
cleanup nesting ( #1831 )
2023-09-28 13:34:07 -04:00
āh̳̕mͭͭͨͩ̐e̘ͬ́͋ͬ̊̓͂d
f72c77fb69
Cleanup pubnub detector ( #1826 )
...
* pull out verification logic for pubnub to reduce nesting
* remove comment
* return early
2023-09-28 13:31:07 -04:00
Zachary Rice
28dbd2f704
Update alchemy_test.go to use detectors5 ( #1829 )
2023-09-28 11:24:45 -05:00
Zachary Rice
3b99517780
Update web3storage_test.go ( #1828 )
2023-09-28 11:24:29 -05:00
ahrav
c4bc8fc7fa
[bug] - correctly check err ( #1824 )
...
* correctly check err.
* address comments.
* update.
* add comment.
* update comment.
2023-09-27 15:52:07 -07:00
Cody Rose
e9efed85c2
Use S3 credentials waterfall ( #1823 )
...
This PR updates the S3 source to use explicitly configured credentials if they're available and follow the normal AWS credentials waterfall if they're not. This is irrespective of whether role assumption is configured. This changes the previous behavior, which was to use waterfall credentials only if role assumption was configured and explicitly configured credentials only when it was not.
2023-09-27 16:57:47 -04:00
joeleonjr
699547b7d3
consolidated pr and issue descr/comment flags ( #1827 )
2023-09-27 15:54:02 -04:00
Ankush Goel
faf46175e4
added Web3 Storage detector ( #1789 )
...
* added Web3 Storage detector
* fixed the regex
* removed test and disabled token
2023-09-27 12:09:39 -05:00
ahrav
bf47fd69bb
Github partial scan ( #1804 )
...
* Add ability for targetted partial scans of Github.
* update comment.
* add more tests.
* add additiional test.
* address comments.
2023-09-26 12:38:33 -07:00
joeleonjr
1e42dae734
added PR and Issue body scanning ( #1816 )
...
* added PR and Issue body scanning; adjusted CLI args to fit
* removed print statement from debugging
* removed exclude-commits; adjusted CLI flags
* minor changes to match main branch
* fixing logic
* updating README for --issues and --prs
2023-09-26 12:25:48 -04:00
āh̳̕mͭͭͨͩ̐e̘ͬ́͋ͬ̊̓͂d
1715e7ad23
updating browserstack detector to use tri-state verification ( #1785 )
...
* updating browserstack detector to use tri-state verification
* cleaning up nested conditions
2023-09-25 15:34:13 -04:00
āh̳̕mͭͭͨͩ̐e̘ͬ́͋ͬ̊̓͂d
af1434e05a
updating microsoft teams webhook detector to use tri-state verification ( #1792 )
...
* updating microsoft teams webhook detector to use tri-state verification
* cleaning up nested conditions
2023-09-25 15:30:41 -04:00
āh̳̕mͭͭͨͩ̐e̘ͬ́͋ͬ̊̓͂d
ac18096da0
updating myfreshworks detector to use tri-state verification ( #1779 )
...
* updating secret regex to include underscores and updating tests to have secret and domain within 20char range of keyword
* updating myfreshworks detector to use tri-state verification
2023-09-25 13:27:23 -04:00
āh̳̕mͭͭͨͩ̐e̘ͬ́͋ͬ̊̓͂d
cc9f5739dd
update figma to use tri-state verification ( #1814 )
2023-09-25 13:26:18 -04:00
āh̳̕mͭͭͨͩ̐e̘ͬ́͋ͬ̊̓͂d
f4ddc8b39e
adding support for new version of figma token ( #1813 )
2023-09-22 18:13:49 -04:00
ahrav
6affc903e1
add line to link for azure repos. ( #1801 )
2023-09-21 16:07:11 -07:00
āh̳̕mͭͭͨͩ̐e̘ͬ́͋ͬ̊̓͂d
62b2195502
Adding new function SetProgressOngoing to be used when the source does not yet know how many items it is scanning and does not want to display a percentage complete. ( #1802 )
...
Co-Authored-By: @mcastorina
2023-09-21 13:26:10 -04:00
āh̳̕mͭͭͨͩ̐e̘ͬ́͋ͬ̊̓͂d
1a1b2ca51a
updating uri detector to use tri-state verification ( #1791 )
2023-09-21 11:20:40 -04:00