Commit graph

2931 commits

Author SHA1 Message Date
Richard Gomez
95dc8d6e16
Fix additional GitHub test errors #2614 2024-03-26 09:34:12 -04:00
renovate[bot]
de588bf6f6
fix(deps): update module github.com/aws/aws-sdk-go to v1.51.7 (#2623)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-25 15:22:38 -07:00
renovate[bot]
0a8cb77b83
fix(deps): update module github.com/aws/aws-sdk-go to v1.51.6 (#2615)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-24 13:02:38 -07:00
renovate[bot]
9cda1118b9
fix(deps): update module github.com/xanzy/go-gitlab to v0.101.0 (#2617)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-23 09:58:07 -07:00
Richard Gomez
9d4cf87c02
fix(github): resolve panic & test failures (#2608) 2024-03-22 09:49:01 -07:00
Ankush Goel
6dbe80806b
Dockerhub v2 detector (#2361)
* Dockerhub v2 detector

* update package structure

---------

Co-authored-by: Dustin Decker <dustin@trufflesec.com>
2024-03-22 09:30:35 -07:00
renovate[bot]
f1abe2c0a7
fix(deps): update module github.com/brianvoe/gofakeit/v6 to v7 (#2612)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-22 09:25:00 -07:00
Richard Gomez
441d9ff005
Update Snyk detector (#2559)
* feat(snyk): add extradata from api

* update test

---------

Co-authored-by: Dustin Decker <dustin@trufflesec.com>
2024-03-22 09:14:48 -07:00
faktas2
72fb2b9deb
MaxMind detector uses the right endpoint (#2577)
* MaxMind detector uses the right endpoint

The endpoint that the current detector uses fails in validating the license key as some license keys do not have permissions to the geoip API. This commit is to make the detector use the right endpoint https://dev.maxmind.com/license-key-validation-api

* Remove RawV2

* Remove trimspace and extra if branch

* Add the proper tests

* Use SetVerificationError

* Add SetVerificationError

* update tests

---------

Co-authored-by: Dustin Decker <dustin@trufflesec.com>
2024-03-22 09:10:44 -07:00
Richard Gomez
baf7ea1458
feat(gitparse): avoid uneeded calls to strconv.Unquote (#2605) 2024-03-22 08:35:10 -07:00
renovate[bot]
e8cc5be070
fix(deps): update module github.com/bradleyfalzon/ghinstallation/v2 to v2.10.0 (#2607)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-22 08:31:10 -07:00
renovate[bot]
d96823b7f3
fix(deps): update module google.golang.org/api to v0.171.0 (#2611)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-22 08:30:48 -07:00
renovate[bot]
4bd25e62fc
fix(deps): update module github.com/brianvoe/gofakeit/v6 to v7 (#2524)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-22 08:27:46 -07:00
renovate[bot]
2921370f54
fix(deps): update module github.com/launchdarkly/go-server-sdk/v6 to v7 (#2590)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-22 08:23:38 -07:00
Dustin Decker
41d58739bd
Use go 1.22 (#2599)
* Use go 1.22

* install non-pro goreleaser

* increment go-version

* build w/ go 1.22 for codeql
2024-03-22 08:23:04 -07:00
Richard Gomez
80e8a67c2d
Refactor GitHub source (#2379)
* refactor(github): cleanup logic

* fix(github): lookup wikis per-repo

* refactor(github): change scanErrs.String output

---------

Co-authored-by: Bill Rich <bill.rich@gmail.com>
2024-03-21 14:07:39 -07:00
dependabot[bot]
eb0d4ae5d2
Bump github.com/docker/docker (#2603)
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 25.0.3+incompatible to 25.0.5+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v25.0.3...v25.0.5)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-21 08:34:02 -07:00
Miccah
3a7266e540
[chore] Fix potential resource leak in postman source (#2606)
This moves workspace unpacking to a helper function to leverage a defer,
which ensures the file is always closed.
2024-03-21 10:21:13 -05:00
Zachary Rice
1216fa23c9
strings contain keyword check, add collection name to keywords (#2602) 2024-03-21 09:35:38 -05:00
renovate[bot]
3f47dbccfb
fix(deps): update module github.com/aws/aws-sdk-go to v1.51.4 (#2604)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-20 17:49:37 -07:00
Zachary Rice
b11ce72338
Postman Source (#2579)
postman source

Co-authored-by: Miccah <m.castorina93@gmail.com>

---------

Co-authored-by: Joe Leon <joe.leon@trufflesec.com>
Co-authored-by: Miccah Castorina <m.castorina93@gmail.com>
2024-03-20 11:36:20 -05:00
renovate[bot]
6e4ef73059
fix(deps): update module github.com/wasilibs/go-re2 to v1.5.1 (#2596)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-20 07:39:35 -07:00
renovate[bot]
585103232a
fix(deps): update module cloud.google.com/go/secretmanager to v1.12.0 (#2595)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-19 18:45:13 -07:00
renovate[bot]
65720b703a
fix(deps): update module github.com/aws/aws-sdk-go to v1.51.3 (#2594)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-19 13:19:29 -07:00
Richard Gomez
aa862e46bb
fix(git): decode unicode paths (#2585) 2024-03-19 08:50:27 -07:00
renovate[bot]
7e164d4a84
fix(deps): update module github.com/aws/aws-sdk-go to v1.51.2 (#2593)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-18 15:23:46 -07:00
renovate[bot]
370895d3f1
fix(deps): update golang.org/x/exp digest to a85f2c6 (#2592)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-18 15:07:43 -07:00
Miccah
931a28a537
[chore] Replace "Trufflehog" with "TruffleHog" (#2584) 2024-03-18 11:01:25 -07:00
renovate[bot]
0147fbb860
fix(deps): update module github.com/wasilibs/go-re2 to v1.5.0 (#2591)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-17 19:13:50 -07:00
renovate[bot]
3965fe6ff3
fix(deps): update module github.com/aws/aws-sdk-go to v1.51.1 (#2588)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-17 09:54:22 -07:00
renovate[bot]
0b81155521
fix(deps): update module google.golang.org/api to v0.170.0 (#2589)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-17 09:53:57 -07:00
renovate[bot]
4df6d4c004
fix(deps): update module github.com/googleapis/gax-go/v2 to v2.12.3 (#2587)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-16 12:21:00 -07:00
renovate[bot]
d0100f33bd
fix(deps): update module github.com/google/go-containerregistry to v0.19.1 (#2586)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-16 12:20:45 -07:00
renovate[bot]
1e2f0f484d
fix(deps): update module cloud.google.com/go/secretmanager to v1.11.6 (#2578)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-16 11:40:09 -07:00
renovate[bot]
4d128eff11
fix(deps): update module github.com/launchdarkly/go-server-sdk/v7 to v7.1.1 (#2576)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-16 11:39:47 -07:00
Richard Gomez
fd7e7e6e29
fix(github): response can be nil (#2583) 2024-03-16 01:12:44 -07:00
Richard Gomez
b70b9b9b9f
fix(cli): properly parse --results (#2582) 2024-03-16 01:03:45 -07:00
āh̳̕mͭͭͨͩ̐e̘ͬ́͋ͬ̊̓͂d
2ef7a4a49f
pull out verification logic from github detectors (#2554)
* pull out verification logic from github detectors

* deduplicate verify github logic

* pull out nil check

* return nil instead of empty struct

* skip gh old test bc we can't make new tokens
2024-03-15 15:00:45 -04:00
Richard Gomez
f5025fd382
Add --results flag (#2372)
This is a follow-up to #2107 and #2335. It adds a new (hidden) --results flag that allows a user to show any combination of verified, unverified, and indeterminate secrets.
2024-03-15 10:19:31 -04:00
renovate[bot]
e66bdfb7f9
fix(deps): update golang.org/x/exp digest to c7f7c64 (#2575)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-14 18:20:20 -07:00
renovate[bot]
d7f4ec5488
fix(deps): update module github.com/couchbase/gocb/v2 to v2.8.0 (#2573)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-14 08:20:55 -07:00
renovate[bot]
f6a9fa96de
fix(deps): update module github.com/aws/aws-sdk-go to v1.50.38 (#2572)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-14 08:20:35 -07:00
renovate[bot]
906605785d
fix(deps): update module github.com/xanzy/go-gitlab to v0.100.0 (#2567)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-13 15:01:50 -07:00
renovate[bot]
5e1292c3f3
fix(deps): update module github.com/launchdarkly/go-server-sdk/v6 to v7 (#2568)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-13 15:01:25 -07:00
ahrav
800cc6d90b
[chore] - Record metrics before reset (#2556)
* Record buffer metrics before resetting.

* Address comment.
2024-03-12 09:35:18 -07:00
ahrav
b53054b605
Fix flaky test. (#2564) 2024-03-12 08:31:47 -07:00
renovate[bot]
8b6d96ff5c
fix(deps): update module github.com/aws/aws-sdk-go to v1.50.36 (#2566)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-11 15:25:24 -07:00
renovate[bot]
0065b964ce
fix(deps): update module cloud.google.com/go/storage to v1.39.1 (#2565)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-11 15:25:07 -07:00
renovate[bot]
5aeea88f59
fix(deps): update module github.com/go-sql-driver/mysql to v1.8.0 (#2561)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-09 10:08:43 -08:00
renovate[bot]
0e798d96b7
fix(deps): update module github.com/aws/aws-sdk-go to v1.50.35 (#2560)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-09 09:48:43 -08:00