Skip to content

Commit f977a10

Browse files
authored
Merge branch 'main' into feat/make-detector
2 parents 13f4b89 + d287246 commit f977a10

30 files changed

+1574
-663
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@ We take the revenue from the enterprise product to fund more awesome open source
3838

3939
# What is TruffleHog 🐽
4040

41-
TruffleHog is the most powerful secrets **Discovery, Classification, Validation,** and **Analysis** tool. In this context secret refers to a credential a machine uses to authenticate itself to another machine. This includes API keys, database passwords, private encryption keys, and more...
41+
TruffleHog is the most powerful secrets **Discovery, Classification, Validation,** and **Analysis** tool. In this context, secret refers to a credential a machine uses to authenticate itself to another machine. This includes API keys, database passwords, private encryption keys, and more...
4242

4343
## Discovery 🔍
4444

4545
TruffleHog can look for secrets in many places including Git, chats, wikis, logs, API testing platforms, object stores, filesystems and more
4646

4747
## Classification 📁
4848

49-
TruffleHog classifies over 800 secret types, mapping them back to the specific identity they belong to. Is it an AWS secret? Stripe secret? Cloudflare secret? Postgres password? SSL Private key? Sometimes its hard to tell looking at it, so TruffleHog classifies everything it finds.
49+
TruffleHog classifies over 800 secret types, mapping them back to the specific identity they belong to. Is it an AWS secret? Stripe secret? Cloudflare secret? Postgres password? SSL Private key? Sometimes it's hard to tell looking at it, so TruffleHog classifies everything it finds.
5050

5151
## Validation ✅
5252

@@ -58,7 +58,7 @@ For the 20 some of the most commonly leaked out credential types, instead of sen
5858

5959
# :loudspeaker: Join Our Community
6060

61-
Have questions? Feedback? Jump in slack or discord and hang out with us
61+
Have questions? Feedback? Jump into Slack or Discord and hang out with us.
6262

6363
Join our [Slack Community](https://join.slack.com/t/trufflehog-community/shared_invite/zt-pw2qbi43-Aa86hkiimstfdKH9UCpPzQ)
6464

@@ -74,7 +74,7 @@ docker run --rm -it -v "$PWD:/pwd" trufflesecurity/trufflehog:latest github --or
7474

7575
# :floppy_disk: Installation
7676

77-
Several options available for you:
77+
Several options are available for you:
7878

7979
### MacOS users
8080

@@ -149,7 +149,7 @@ You need the following tool to verify signature:
149149

150150
- [Cosign](https://docs.sigstore.dev/cosign/system_config/installation/)
151151

152-
Verification steps are as follow:
152+
Verification steps are as follows:
153153

154154
1. Download the artifact files you want, and the following files from the [releases](https://github.com/trufflesecurity/trufflehog/releases) page.
155155

@@ -175,8 +175,8 @@ Verification steps are as follow:
175175

176176
Replace `{version}` with the downloaded files version
177177

178-
Alternatively, if you are using installation script, pass `-v` option to perform signature verification.
179-
This required Cosign binary to be installed prior to running installation script.
178+
Alternatively, if you are using the installation script, pass `-v` option to perform signature verification.
179+
This requires Cosign binary to be installed prior to running the installation script.
180180

181181
# :rocket: Quick Start
182182

@@ -245,7 +245,7 @@ trufflehog s3 --bucket=<bucket name> --results=verified,unknown
245245
trufflehog s3 --role-arn=<iam role arn>
246246
```
247247

248-
## 7: Scan a Github Repo using SSH authentication in docker
248+
## 7: Scan a Github Repo using SSH authentication in Docker
249249

250250
```bash
251251
docker run --rm -v "$HOME/.ssh:/root/.ssh:ro" trufflesecurity/trufflehog:latest git ssh://github.com/trufflesecurity/test_keys
@@ -575,7 +575,7 @@ In the example config above, we're scanning for live secrets in all PRs and Push
575575
576576
### Shallow Cloning
577577
578-
If you're incorporating TruffleHog into a standalone workflow and aren't running any other CI/CD tooling alongside TruffleHog, then we recommend using [Shallow Cloning](https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---depthltdepthgt) to speed up your workflow. Here's an example for how to do it:
578+
If you're incorporating TruffleHog into a standalone workflow and aren't running any other CI/CD tooling alongside TruffleHog, then we recommend using [Shallow Cloning](https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---depthltdepthgt) to speed up your workflow. Here's an example of how to do it:
579579
580580
```
581581
...

go.mod

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,12 @@ require (
3030
github.com/aws/smithy-go v1.22.5
3131
github.com/aymanbagabas/go-osc52 v1.2.1
3232
github.com/bill-rich/go-syslog v0.0.0-20220413021637-49edb52a574c
33-
github.com/bitfinexcom/bitfinex-api-go v0.0.0-20210608095005-9e0b26f200fb
3433
github.com/bradleyfalzon/ghinstallation/v2 v2.14.0
3534
github.com/brianvoe/gofakeit/v7 v7.3.0
3635
github.com/charmbracelet/bubbles v0.18.0
3736
github.com/charmbracelet/bubbletea v1.3.6
38-
github.com/charmbracelet/glamour v0.7.0
39-
github.com/charmbracelet/lipgloss v1.1.0
40-
github.com/coinbase/waas-client-library-go v1.0.8
37+
github.com/charmbracelet/glamour v0.10.0
38+
github.com/charmbracelet/lipgloss v1.1.1-0.20250404203927-76690c660834
4139
github.com/couchbase/gocb/v2 v2.10.1
4240
github.com/crewjam/rfc5424 v0.1.0
4341
github.com/csnewman/dextk v0.3.0
@@ -130,11 +128,9 @@ require (
130128
cloud.google.com/go/auth/oauth2adapt v0.2.8 // indirect
131129
cloud.google.com/go/compute/metadata v0.7.0 // indirect
132130
cloud.google.com/go/iam v1.5.2 // indirect
133-
cloud.google.com/go/longrunning v0.6.7 // indirect
134131
cloud.google.com/go/monitoring v1.24.2 // indirect
135132
dario.cat/mergo v1.0.0 // indirect
136133
filippo.io/edwards25519 v1.1.0 // indirect
137-
github.com/AdaLogics/go-fuzz-headers v0.0.0-20240806141605-e8a1dd7889d6 // indirect
138134
github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
139135
github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358 // indirect
140136
github.com/AzureAD/microsoft-authentication-library-for-go v1.3.2 // indirect
@@ -145,7 +141,7 @@ require (
145141
github.com/Microsoft/go-winio v0.6.2 // indirect
146142
github.com/ProtonMail/go-crypto v1.1.5 // indirect
147143
github.com/STARRY-S/zip v0.2.1 // indirect
148-
github.com/alecthomas/chroma/v2 v2.8.0 // indirect
144+
github.com/alecthomas/chroma/v2 v2.14.0 // indirect
149145
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 // indirect
150146
github.com/andybalholm/brotli v1.1.1 // indirect
151147
github.com/atotto/clipboard v0.1.4 // indirect
@@ -171,9 +167,10 @@ require (
171167
github.com/cespare/xxhash/v2 v2.3.0 // indirect
172168
github.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc // indirect
173169
github.com/charmbracelet/x/ansi v0.9.3 // indirect
174-
github.com/charmbracelet/x/cellbuf v0.0.13-0.20250311204145-2c3ea96c31dd // indirect
170+
github.com/charmbracelet/x/cellbuf v0.0.13 // indirect
171+
github.com/charmbracelet/x/exp/slice v0.0.0-20250327172914-2fdc97757edf // indirect
175172
github.com/charmbracelet/x/term v0.2.1 // indirect
176-
github.com/cloudflare/circl v1.3.8 // indirect
173+
github.com/cloudflare/circl v1.6.1 // indirect
177174
github.com/cncf/xds/go v0.0.0-20250501225837-2ac532fd4443 // indirect
178175
github.com/containerd/errdefs v1.0.0 // indirect
179176
github.com/containerd/errdefs/pkg v0.3.0 // indirect
@@ -188,7 +185,7 @@ require (
188185
github.com/cyphar/filepath-securejoin v0.3.6 // indirect
189186
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
190187
github.com/distribution/reference v0.6.0 // indirect
191-
github.com/dlclark/regexp2 v1.4.0 // indirect
188+
github.com/dlclark/regexp2 v1.11.0 // indirect
192189
github.com/docker/cli v28.2.2+incompatible // indirect
193190
github.com/docker/distribution v2.8.3+incompatible // indirect
194191
github.com/docker/docker-credential-helpers v0.9.3 // indirect
@@ -209,12 +206,11 @@ require (
209206
github.com/go-ole/go-ole v1.2.6 // indirect
210207
github.com/gofrs/flock v0.12.1 // indirect
211208
github.com/gogo/protobuf v1.3.2 // indirect
212-
github.com/golang-jwt/jwt/v4 v4.5.1 // indirect
209+
github.com/golang-jwt/jwt/v4 v4.5.2 // indirect
213210
github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 // indirect
214211
github.com/golang-sql/sqlexp v0.1.0 // indirect
215212
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
216213
github.com/golang/snappy v0.0.4 // indirect
217-
github.com/google/go-github/v66 v66.0.0 // indirect
218214
github.com/google/go-github/v69 v69.0.0 // indirect
219215
github.com/google/go-querystring v1.1.0 // indirect
220216
github.com/google/pprof v0.0.0-20240227163752-401108e1b7e7 // indirect
@@ -295,11 +291,10 @@ require (
295291
github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8 // indirect
296292
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
297293
github.com/youmark/pkcs8 v0.0.0-20240726163527-a2c0da244d78 // indirect
298-
github.com/yuin/goldmark v1.5.4 // indirect
299-
github.com/yuin/goldmark-emoji v1.0.2 // indirect
294+
github.com/yuin/goldmark v1.7.8 // indirect
295+
github.com/yuin/goldmark-emoji v1.0.5 // indirect
300296
github.com/yusufpapurcu/wmi v1.2.3 // indirect
301297
github.com/zeebo/errs v1.4.0 // indirect
302-
go.einride.tech/aip v0.60.0 // indirect
303298
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
304299
go.opentelemetry.io/contrib/detectors/gcp v1.36.0 // indirect
305300
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.61.0 // indirect

0 commit comments

Comments
 (0)