Commit graph

1284 commits

Author SHA1 Message Date
ahrav
cedb3393d1
[THOG-128] Code cleanup/ OSS onboarding (#117)
* Small amount of code clean up.

* Rename sem to concurrency for better readability and to remove an extra comment.

* fix stashing issue.

Co-authored-by: Ahrav Dutta <ahrav.dutta@trufflesec.com>
2022-04-01 16:47:27 -07:00
Bill Rich
6ed01500f8
Only add trailing slash when endpoint populated (#120) 2022-04-01 11:47:59 -07:00
Miccah
2c16880de4
Remove --from=builder and copy the binary from the local directory (#119)
Co-authored-by: Miccah Castorina <miccah.castorina@trufflesec.com>
2022-04-01 11:47:40 -07:00
Bill Rich
f28edd7a51
Generate release binaries (#116) 2022-03-31 23:07:13 -07:00
dependabot[bot]
996625cf70
Bump github.com/zricethezav/gitleaks/v8 from 8.5.1 to 8.5.2 (#111)
Bumps [github.com/zricethezav/gitleaks/v8](https://github.com/zricethezav/gitleaks) from 8.5.1 to 8.5.2.
- [Release notes](https://github.com/zricethezav/gitleaks/releases)
- [Changelog](https://github.com/zricethezav/gitleaks/blob/master/.goreleaser.yml)
- [Commits](https://github.com/zricethezav/gitleaks/compare/v8.5.1...v8.5.2)

---
updated-dependencies:
- dependency-name: github.com/zricethezav/gitleaks/v8
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-30 14:28:59 -07:00
Bill Rich
62ed0878a5
Improve git clone error logging (#114) 2022-03-30 14:27:13 -07:00
dependabot[bot]
03f3ac066f
Bump github.com/aws/aws-sdk-go from 1.43.24 to 1.43.27 (#112)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.43.24 to 1.43.27.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.43.24...v1.43.27)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 18:12:37 -07:00
dependabot[bot]
31786f3b94
Bump github.com/aws/aws-sdk-go-v2/credentials from 1.11.0 to 1.11.1 (#109)
Bumps [github.com/aws/aws-sdk-go-v2/credentials](https://github.com/aws/aws-sdk-go-v2) from 1.11.0 to 1.11.1.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.11.0...v1.11.1)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/credentials
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 18:03:36 -07:00
dependabot[bot]
19e1f57cec
Bump github.com/aws/aws-sdk-go-v2/service/sts from 1.16.1 to 1.16.2 (#108)
Bumps [github.com/aws/aws-sdk-go-v2/service/sts](https://github.com/aws/aws-sdk-go-v2) from 1.16.1 to 1.16.2.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.16.1...service/efs/v1.16.2)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/service/sts
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 17:50:57 -07:00
Bill Rich
155566bbd5
make sure url ends with slash (#110) 2022-03-28 09:56:44 -07:00
Dustin Decker
0487555c63 decrease dependabot frequency 2022-03-24 20:07:20 -07:00
steeeve
a770f643df Add placeholder for encoded resume info in SetProgressComplete 2022-03-24 12:43:36 -04:00
dependabot[bot]
7facda931c
Bump github.com/aws/aws-sdk-go-v2/credentials from 1.10.0 to 1.11.0 (#102)
Bumps [github.com/aws/aws-sdk-go-v2/credentials](https://github.com/aws/aws-sdk-go-v2) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/aws/aws-sdk-go-v2/releases)
- [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.10.0...v1.11.0)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go-v2/credentials
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-23 16:55:44 -07:00
Dustin Decker
d3d6b0dace Merge branch 'main' of ssh://github.com/trufflesecurity/trufflehog2 2022-03-23 16:42:39 -07:00
Dustin Decker
99372694ca check request errors 2022-03-23 16:42:34 -07:00
dependabot[bot]
bad46922a6
Bump github.com/zricethezav/gitleaks/v8 from 8.5.0 to 8.5.1 (#103)
Bumps [github.com/zricethezav/gitleaks/v8](https://github.com/zricethezav/gitleaks) from 8.5.0 to 8.5.1.
- [Release notes](https://github.com/zricethezav/gitleaks/releases)
- [Changelog](https://github.com/zricethezav/gitleaks/blob/master/.goreleaser.yml)
- [Commits](https://github.com/zricethezav/gitleaks/compare/v8.5.0...v8.5.1)

---
updated-dependencies:
- dependency-name: github.com/zricethezav/gitleaks/v8
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-23 16:41:50 -07:00
dependabot[bot]
28fa1737bc
Bump github.com/aws/aws-sdk-go from 1.43.23 to 1.43.24 (#105)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.43.23 to 1.43.24.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.43.23...v1.43.24)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-23 16:39:01 -07:00
dependabot[bot]
0a6372b12d
Bump github.com/aws/aws-sdk-go from 1.43.21 to 1.43.23 (#101)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.43.21 to 1.43.23.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.43.21...v1.43.23)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-22 16:09:08 -07:00
dependabot[bot]
cd161360cd
Bump github.com/zricethezav/gitleaks/v8 from 8.4.0 to 8.5.0 (#94)
Bumps [github.com/zricethezav/gitleaks/v8](https://github.com/zricethezav/gitleaks) from 8.4.0 to 8.5.0.
- [Release notes](https://github.com/zricethezav/gitleaks/releases)
- [Changelog](https://github.com/zricethezav/gitleaks/blob/master/.goreleaser.yml)
- [Commits](https://github.com/zricethezav/gitleaks/compare/v8.4.0...v8.5.0)

---
updated-dependencies:
- dependency-name: github.com/zricethezav/gitleaks/v8
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-22 16:04:58 -07:00
dependabot[bot]
3eddabafc5
Bump google.golang.org/protobuf from 1.27.1 to 1.28.0 (#100)
Bumps [google.golang.org/protobuf](https://github.com/protocolbuffers/protobuf-go) from 1.27.1 to 1.28.0.
- [Release notes](https://github.com/protocolbuffers/protobuf-go/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf-go/blob/master/release.bash)
- [Commits](https://github.com/protocolbuffers/protobuf-go/compare/v1.27.1...v1.28.0)

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-22 15:26:57 -07:00
Bill Rich
4c37221235
Re-add midise detector (#99) 2022-03-22 10:18:47 -07:00
Bill Rich
0744a54aa7
Use ignoreList instead of denyChannel (#98) 2022-03-22 09:27:35 -07:00
Bill Rich
c2b4f0bc39
Include line numbers in git metadata (#97)
* Include line numbers in git metadata

* Update tests for fragments and line numbers
2022-03-22 09:27:15 -07:00
Bill Rich
0ea3b93238
Use git cmd for clone (#96)
* Use git command to clone

* Check for git command when cloning
2022-03-22 09:26:58 -07:00
dmarquero
0fc7964c3f
detector improvements 2022-03-22 09:12:31 -07:00
dependabot[bot]
8cd813e314
Bump github.com/aws/aws-sdk-go from 1.43.20 to 1.43.21 (#92)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.43.20 to 1.43.21.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.43.20...v1.43.21)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-18 14:53:07 -07:00
dependabot[bot]
d439e3c6a4
Bump github.com/xanzy/go-gitlab from 0.59.0 to 0.60.0 (#91)
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.59.0 to 0.60.0.
- [Release notes](https://github.com/xanzy/go-gitlab/releases)
- [Changelog](https://github.com/xanzy/go-gitlab/blob/master/releases_test.go)
- [Commits](https://github.com/xanzy/go-gitlab/compare/v0.59.0...v0.60.0)

---
updated-dependencies:
- dependency-name: github.com/xanzy/go-gitlab
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-18 14:52:35 -07:00
Bill Rich
239a9422c4
Add DenyChannel to slack source (#90) 2022-03-18 10:38:20 -07:00
trufflesteeeve
d33551e7dc
Add midise detector (#88) 2022-03-17 13:38:05 -07:00
Bill Rich
5ab5c6f9d9
Only scan regular files (#87)
* Only scan regular files

* Remove IsDirectory func
2022-03-16 16:04:10 -07:00
dependabot[bot]
deabded54b
Bump github.com/aws/aws-sdk-go from 1.43.19 to 1.43.20 (#86)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.43.19 to 1.43.20.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.43.19...v1.43.20)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-16 12:40:25 -07:00
Dustin Decker
db8077a069 Update pattern 2022-03-16 09:07:38 -07:00
Dustin Decker
4b64f9a377 fix protos 2022-03-15 19:48:38 -07:00
dependabot[bot]
34e72c7bb4
Bump github.com/aws/aws-sdk-go from 1.43.18 to 1.43.19 (#83)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.43.18 to 1.43.19.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.43.18...v1.43.19)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-15 17:54:14 -07:00
Bill Rich
faf30fe8fe
Use author email (#85) 2022-03-15 17:54:03 -07:00
Bill Rich
6354b16810
Use patched go-gitdiff (#84) 2022-03-15 17:02:45 -07:00
dependabot[bot]
fe508ea197
Bump github.com/gitleaks/go-gitdiff from 0.7.4 to 0.7.5 (#82)
Bumps [github.com/gitleaks/go-gitdiff](https://github.com/gitleaks/go-gitdiff) from 0.7.4 to 0.7.5.
- [Release notes](https://github.com/gitleaks/go-gitdiff/releases)
- [Commits](https://github.com/gitleaks/go-gitdiff/compare/v0.7.4...v0.7.5)

---
updated-dependencies:
- dependency-name: github.com/gitleaks/go-gitdiff
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-15 16:35:00 -07:00
Dustin Decker
5e64488e32 Add git to Dockerfiles 2022-03-14 22:57:55 -07:00
Bill Rich
e8234c3514
Remove unused code and add git binary check (#80) 2022-03-14 17:47:18 -07:00
Dustin Decker
72c13c4b8f
Update detector process and readme (#79) 2022-03-14 17:27:14 -07:00
Bill Rich
0ee34a5be6
Use gitleaks git cmd stream (#75)
* Switch to git cmd stream

* Fix rebase issues
2022-03-14 17:12:58 -07:00
Bill Rich
6486c18565
Add s3 support to CLI (#76)
* Add s3 support to CLI

* Clean up comments

Co-authored-by: Dustin Decker <dustin@trufflesec.com>
2022-03-14 17:07:07 -07:00
Bill Rich
2cb5b27d3b
Add GitLab support to CLI (#78)
* Add GitLab support to CLI

* Update cli message

Co-authored-by: Dustin Decker <dustin@trufflesec.com>
2022-03-14 17:05:15 -07:00
Bill Rich
8d1db04c36
Add filesystem scan to CLI (#77)
* Add filesystem scan to CLI

* Fix linter errors

* Update message

Co-authored-by: Dustin Decker <dustin@trufflesec.com>
2022-03-14 17:04:19 -07:00
Dustin Decker
fcaca71fe4 Add package write permission to release ci step 2022-03-12 07:52:11 -08:00
Dustin Decker
9615456052 Add platform info to readme 2022-03-12 07:40:06 -08:00
Dustin Decker
8926ac01f5 Use retryable client for driftwood 2022-03-12 07:38:19 -08:00
Dustin Decker
794a082b6c Fix Dockerfiles, readme example, and github rate limit handling 2022-03-12 07:36:42 -08:00
Dustin Decker
43de9c3604 Update defaults 2022-03-11 17:25:31 -08:00
marlon pamisa
c163928321 added sugester detector 2022-03-11 17:25:31 -08:00