-
-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add trufflehog for secret detection #150
base: devel
Are you sure you want to change the base?
Changes from all commits
2792613
cdc202e
55900cb
a4c17f1
c1f64b8
3519c94
32cbfda
00d38c6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,237 @@ | ||
module github.com/edoardottt/cariddi | ||
|
||
go 1.18 | ||
go 1.22.0 | ||
|
||
toolchain go1.22.2 | ||
|
||
require ( | ||
github.com/fatih/color v1.17.0 | ||
github.com/gocolly/colly v1.2.0 | ||
github.com/trufflesecurity/trufflehog/v3 v3.73.0 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm leaving this comment here but it's not related to this line specifically. The goreleaser CI is giving these errors:
Do you have any clue about what they mean? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. no clue on this I'm not used to this |
||
) | ||
|
||
require ( | ||
cloud.google.com/go v0.112.1 // indirect | ||
cloud.google.com/go/compute v1.24.0 // indirect | ||
cloud.google.com/go/compute/metadata v0.2.3 // indirect | ||
cloud.google.com/go/iam v1.1.7 // indirect | ||
cloud.google.com/go/longrunning v0.5.5 // indirect | ||
cloud.google.com/go/secretmanager v1.12.0 // indirect | ||
cloud.google.com/go/storage v1.40.0 // indirect | ||
dario.cat/mergo v1.0.0 // indirect | ||
filippo.io/edwards25519 v1.1.0 // indirect | ||
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect | ||
github.com/99designs/keyring v1.2.2 // indirect | ||
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.9.1 // indirect | ||
github.com/Azure/azure-sdk-for-go/sdk/internal v1.5.1 // indirect | ||
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.0.0 // indirect | ||
github.com/Azure/go-autorest v14.2.0+incompatible // indirect | ||
github.com/Azure/go-autorest/autorest v0.11.24 // indirect | ||
github.com/Azure/go-autorest/autorest/adal v0.9.18 // indirect | ||
github.com/Azure/go-autorest/autorest/azure/auth v0.5.12 // indirect | ||
github.com/Azure/go-autorest/autorest/azure/cli v0.4.5 // indirect | ||
github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect | ||
github.com/Azure/go-autorest/logger v0.2.1 // indirect | ||
github.com/Azure/go-autorest/tracing v0.6.0 // indirect | ||
github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358 // indirect | ||
github.com/AzureAD/microsoft-authentication-library-for-go v1.2.2 // indirect | ||
github.com/BobuSumisu/aho-corasick v1.0.3 // indirect | ||
github.com/JohnCGriffin/overflow v0.0.0-20211019200055-46fa312c352c // indirect | ||
github.com/Microsoft/go-winio v0.6.1 // indirect | ||
github.com/ProtonMail/go-crypto v1.0.0 // indirect | ||
github.com/PuerkitoBio/goquery v1.8.1 // indirect | ||
github.com/TheZeroSlave/zapsentry v1.23.0 // indirect | ||
github.com/adrg/strutil v0.3.1 // indirect | ||
github.com/andybalholm/brotli v1.0.6 // indirect | ||
github.com/andybalholm/cascadia v1.3.2 // indirect | ||
github.com/antchfx/htmlquery v1.3.0 // indirect | ||
github.com/antchfx/xmlquery v1.3.17 // indirect | ||
github.com/antchfx/xpath v1.2.4 // indirect | ||
github.com/apache/arrow/go/v14 v14.0.2 // indirect | ||
github.com/aws/aws-sdk-go v1.51.18 // indirect | ||
github.com/aws/aws-sdk-go-v2 v1.17.7 // indirect | ||
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.10 // indirect | ||
github.com/aws/aws-sdk-go-v2/credentials v1.13.18 // indirect | ||
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.59 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.31 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.25 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.23 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.11 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.26 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.25 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.14.0 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/s3 v1.31.0 // indirect | ||
github.com/aws/smithy-go v1.20.1 // indirect | ||
github.com/beorn7/perks v1.0.1 // indirect | ||
github.com/bill-rich/go-syslog v0.0.0-20220413021637-49edb52a574c // indirect | ||
github.com/bitfinexcom/bitfinex-api-go v0.0.0-20210608095005-9e0b26f200fb // indirect | ||
github.com/bodgit/plumbing v1.3.0 // indirect | ||
github.com/bodgit/sevenzip v1.4.5 // indirect | ||
github.com/bodgit/windows v1.0.1 // indirect | ||
github.com/bradleyfalzon/ghinstallation/v2 v2.10.0 // indirect | ||
github.com/cespare/xxhash/v2 v2.2.0 // indirect | ||
github.com/cloudflare/circl v1.3.7 // indirect | ||
github.com/coinbase/waas-client-library-go v1.0.8 // indirect | ||
github.com/containerd/stargz-snapshotter/estargz v0.14.3 // indirect | ||
github.com/couchbase/gocb/v2 v2.8.0 // indirect | ||
github.com/couchbase/gocbcore/v10 v10.4.0 // indirect | ||
github.com/couchbase/gocbcoreps v0.1.2 // indirect | ||
github.com/couchbase/goprotostellar v1.0.2 // indirect | ||
github.com/couchbaselabs/gocbconnstr/v2 v2.0.0-20230515165046-68b522a21131 // indirect | ||
github.com/crewjam/rfc5424 v0.1.0 // indirect | ||
github.com/cyphar/filepath-securejoin v0.2.4 // indirect | ||
github.com/danieljoos/wincred v1.1.2 // indirect | ||
github.com/dimchansky/utfbom v1.1.1 // indirect | ||
github.com/docker/cli v24.0.0+incompatible // indirect | ||
github.com/docker/distribution v2.8.2+incompatible // indirect | ||
github.com/docker/docker v25.0.5+incompatible // indirect | ||
github.com/docker/docker-credential-helpers v0.7.0 // indirect | ||
github.com/dsnet/compress v0.0.1 // indirect | ||
github.com/dvsekhvalnov/jose2go v1.6.0 // indirect | ||
github.com/emirpasic/gods v1.18.1 // indirect | ||
github.com/envoyproxy/protoc-gen-validate v1.0.4 // indirect | ||
github.com/felixge/httpsnoop v1.0.4 // indirect | ||
github.com/form3tech-oss/jwt-go v3.2.5+incompatible // indirect | ||
github.com/gabriel-vasile/mimetype v1.4.3 // indirect | ||
github.com/getsentry/sentry-go v0.27.0 // indirect | ||
github.com/go-asn1-ber/asn1-ber v1.5.5 // indirect | ||
github.com/go-errors/errors v1.5.1 // indirect | ||
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect | ||
github.com/go-git/go-billy/v5 v5.5.0 // indirect | ||
github.com/go-git/go-git/v5 v5.12.0 // indirect | ||
github.com/go-ldap/ldap/v3 v3.4.7 // indirect | ||
github.com/go-logr/logr v1.4.1 // indirect | ||
github.com/go-logr/stdr v1.2.2 // indirect | ||
github.com/go-logr/zapr v1.3.0 // indirect | ||
github.com/go-redis/redis v6.15.9+incompatible // indirect | ||
github.com/go-sql-driver/mysql v1.8.1 // indirect | ||
github.com/gobwas/glob v0.2.3 // indirect | ||
github.com/goccy/go-json v0.10.2 // indirect | ||
github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect | ||
github.com/golang-jwt/jwt v3.2.2+incompatible // indirect | ||
github.com/golang-jwt/jwt/v4 v4.5.0 // indirect | ||
github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 // indirect | ||
github.com/golang-sql/sqlexp v0.1.0 // indirect | ||
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect | ||
github.com/golang/protobuf v1.5.3 // indirect | ||
github.com/golang/protobuf v1.5.4 // indirect | ||
github.com/golang/snappy v0.0.4 // indirect | ||
github.com/google/flatbuffers v23.5.26+incompatible // indirect | ||
github.com/google/go-containerregistry v0.19.1 // indirect | ||
github.com/google/go-github/v60 v60.0.0 // indirect | ||
github.com/google/go-github/v61 v61.0.0 // indirect | ||
github.com/google/go-querystring v1.1.0 // indirect | ||
github.com/google/s2a-go v0.1.7 // indirect | ||
github.com/google/uuid v1.6.0 // indirect | ||
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect | ||
github.com/googleapis/gax-go/v2 v2.12.3 // indirect | ||
github.com/gregjones/httpcache v0.0.0-20171119193500-2bcd89a1743f // indirect | ||
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 // indirect | ||
github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0 // indirect | ||
github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c // indirect | ||
github.com/h2non/filetype v1.1.3 // indirect | ||
github.com/hashicorp/errwrap v1.1.0 // indirect | ||
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect | ||
github.com/hashicorp/go-multierror v1.1.1 // indirect | ||
github.com/hashicorp/go-retryablehttp v0.7.5 // indirect | ||
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect | ||
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect | ||
github.com/jlaffaye/ftp v0.2.0 // indirect | ||
github.com/jmespath/go-jmespath v0.4.0 // indirect | ||
github.com/joho/godotenv v1.5.1 // indirect | ||
github.com/josharian/intern v1.0.0 // indirect | ||
github.com/kennygrant/sanitize v1.2.4 // indirect | ||
github.com/kevinburke/ssh_config v1.2.0 // indirect | ||
github.com/klauspost/compress v1.17.4 // indirect | ||
github.com/klauspost/cpuid/v2 v2.2.5 // indirect | ||
github.com/klauspost/pgzip v1.2.5 // indirect | ||
github.com/kylelemons/godebug v1.1.0 // indirect | ||
github.com/launchdarkly/ccache v1.1.0 // indirect | ||
github.com/launchdarkly/eventsource v1.6.2 // indirect | ||
github.com/launchdarkly/go-jsonstream/v3 v3.0.0 // indirect | ||
github.com/launchdarkly/go-sdk-common/v3 v3.1.0 // indirect | ||
github.com/launchdarkly/go-sdk-events/v3 v3.2.0 // indirect | ||
github.com/launchdarkly/go-semver v1.0.2 // indirect | ||
github.com/launchdarkly/go-server-sdk-evaluation/v3 v3.0.0 // indirect | ||
github.com/launchdarkly/go-server-sdk/v7 v7.3.0 // indirect | ||
github.com/lib/pq v1.10.9 // indirect | ||
github.com/magefile/mage v1.14.0 // indirect | ||
github.com/mailru/easyjson v0.7.7 // indirect | ||
github.com/marusama/semaphore/v2 v2.5.0 // indirect | ||
github.com/mattn/go-colorable v0.1.13 // indirect | ||
github.com/mattn/go-isatty v0.0.20 // indirect | ||
github.com/mholt/archiver/v4 v4.0.0-alpha.8 // indirect | ||
github.com/microsoft/go-mssqldb v1.7.0 // indirect | ||
github.com/mitchellh/go-homedir v1.1.0 // indirect | ||
github.com/mitchellh/go-ps v1.0.0 // indirect | ||
github.com/montanaflynn/stats v0.7.0 // indirect | ||
github.com/mtibben/percent v0.2.1 // indirect | ||
github.com/nwaples/rardecode/v2 v2.0.0-beta.2 // indirect | ||
github.com/nxadm/tail v1.4.11 // indirect | ||
github.com/opencontainers/go-digest v1.0.0 // indirect | ||
github.com/opencontainers/image-spec v1.1.0 // indirect | ||
github.com/patrickmn/go-cache v2.1.0+incompatible // indirect | ||
github.com/pierrec/lz4/v4 v4.1.19 // indirect | ||
github.com/pjbgf/sha1cd v0.3.0 // indirect | ||
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect | ||
github.com/pkg/diff v0.0.0-20200914180035-5b29258ca4f7 // indirect | ||
github.com/pkg/errors v0.9.1 // indirect | ||
github.com/prometheus/client_golang v1.19.0 // indirect | ||
github.com/prometheus/client_model v0.5.0 // indirect | ||
github.com/prometheus/common v0.48.0 // indirect | ||
github.com/prometheus/procfs v0.12.0 // indirect | ||
github.com/rabbitmq/amqp091-go v1.9.0 // indirect | ||
github.com/saintfish/chardet v0.0.0-20230101081208-5e3ef4b5456d // indirect | ||
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect | ||
github.com/shuheiktgw/go-travis v0.3.1 // indirect | ||
github.com/sirupsen/logrus v1.9.3 // indirect | ||
github.com/skeema/knownhosts v1.2.2 // indirect | ||
github.com/snowflakedb/gosnowflake v1.8.0 // indirect | ||
github.com/tailscale/depaware v0.0.0-20210622194025-720c4b409502 // indirect | ||
github.com/temoto/robotstxt v1.1.2 // indirect | ||
golang.org/x/net v0.23.0 // indirect | ||
golang.org/x/sys v0.18.0 // indirect | ||
github.com/tetratelabs/wazero v1.7.0 // indirect | ||
github.com/therootcompany/xz v1.0.1 // indirect | ||
github.com/trufflesecurity/disk-buffer-reader v0.2.1 // indirect | ||
github.com/ulikunitz/xz v0.5.11 // indirect | ||
github.com/vbatts/tar-split v0.11.3 // indirect | ||
github.com/wasilibs/go-re2 v1.5.2 // indirect | ||
github.com/xanzy/go-gitlab v0.102.0 // indirect | ||
github.com/xanzy/ssh-agent v0.3.3 // indirect | ||
github.com/xdg-go/pbkdf2 v1.0.0 // indirect | ||
github.com/xdg-go/scram v1.1.2 // indirect | ||
github.com/xdg-go/stringprep v1.0.4 // indirect | ||
github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d // indirect | ||
github.com/zeebo/xxh3 v1.0.2 // indirect | ||
go.einride.tech/aip v0.60.0 // indirect | ||
go.mongodb.org/mongo-driver v1.14.0 // indirect | ||
go.opencensus.io v0.24.0 // indirect | ||
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect | ||
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect | ||
go.opentelemetry.io/otel v1.24.0 // indirect | ||
go.opentelemetry.io/otel/metric v1.24.0 // indirect | ||
go.opentelemetry.io/otel/trace v1.24.0 // indirect | ||
go.uber.org/multierr v1.11.0 // indirect | ||
go.uber.org/zap v1.27.0 // indirect | ||
go4.org v0.0.0-20200411211856-f5505b9728dd // indirect | ||
golang.org/x/crypto v0.22.0 // indirect | ||
golang.org/x/exp v0.0.0-20240409090435-93d18d7e34b8 // indirect | ||
golang.org/x/mod v0.17.0 // indirect | ||
golang.org/x/net v0.24.0 // indirect | ||
golang.org/x/oauth2 v0.19.0 // indirect | ||
golang.org/x/sync v0.7.0 // indirect | ||
golang.org/x/sys v0.19.0 // indirect | ||
golang.org/x/term v0.19.0 // indirect | ||
golang.org/x/text v0.14.0 // indirect | ||
golang.org/x/time v0.5.0 // indirect | ||
golang.org/x/tools v0.20.0 // indirect | ||
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect | ||
google.golang.org/api v0.172.0 // indirect | ||
google.golang.org/appengine v1.6.8 // indirect | ||
google.golang.org/genproto v0.0.0-20240213162025-012b6fc9bca9 // indirect | ||
google.golang.org/genproto/googleapis/api v0.0.0-20240314234333-6e1732d8331c // indirect | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 // indirect | ||
google.golang.org/grpc v1.62.1 // indirect | ||
google.golang.org/protobuf v1.33.0 // indirect | ||
gopkg.in/square/go-jose.v2 v2.6.0 // indirect | ||
gopkg.in/warnings.v0 v0.1.2 // indirect | ||
sigs.k8s.io/yaml v1.4.0 // indirect | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better to perform this in another part, maybe in
pkg/input/flags.go
. Consider that it may be necessary to trim spaces too (TrimSpace() function).