Commit graph

549 commits

Author SHA1 Message Date
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
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
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
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
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
renovate[bot]
c7084248be
fix(deps): update module github.com/google/go-github/v57 to v60 (#2551)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-09 09:15:08 -08:00
renovate[bot]
f2a0ea0b70
fix(deps): update module google.golang.org/protobuf to v1.33.0 (#2548)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-07 18:22:03 -08:00
renovate[bot]
0c171b8fad
fix(deps): update testcontainers-go monorepo to v0.29.1 (#2549)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-07 18:21:29 -08:00
joeleonjr
0bbb68931c
Canary verification (#2531)
* verify canaries against SNS; get ARN

* clean comments

* Update tests and logic

* added test for invalid canary secret

* added verify logic for canaries

* go mod tidy

---------

Co-authored-by: Dustin Decker <dustin@trufflesec.com>
2024-03-07 18:18:18 -08:00
renovate[bot]
1fea549c6c
fix(deps): update module google.golang.org/api to v0.169.0 (#2547)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-07 18:11:53 -08:00
renovate[bot]
e062e779a6
fix(deps): update module golang.org/x/oauth2 to v0.18.0 (#2546)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-07 17:10:44 -08:00
renovate[bot]
13c0fa1e83
fix(deps): update module github.com/xanzy/go-gitlab to v0.99.0 (#2543)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-07 14:57:20 -08:00
renovate[bot]
c35a76bda2
fix(deps): update module golang.org/x/crypto to v0.21.0 (#2544)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-07 14:56:56 -08:00
renovate[bot]
c3321b94d7
fix(deps): update module github.com/aws/aws-sdk-go to v1.50.34 (#2541)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-07 14:36:39 -08:00
renovate[bot]
1d3f973c1e
fix(deps): update module github.com/charmbracelet/lipgloss to v0.10.0 (#2542)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-07 14:36:28 -08:00
renovate[bot]
1d89efcf32
fix(deps): update module github.com/golang-jwt/jwt/v4 to v5 (#2535)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-07 13:25:25 -08:00
renovate[bot]
0bedda389a
fix(deps): update module github.com/launchdarkly/go-server-sdk/v6 to v7 (#2499)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-07 13:24:47 -08:00
renovate[bot]
7388b63f35
fix(deps): update module github.com/stretchr/testify to v1.9.0 (#2534)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-03 11:55:08 -08:00
renovate[bot]
e53beac11b
fix(deps): update module cloud.google.com/go/storage to v1.39.0 (#2533)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-03 11:38:09 -08:00
renovate[bot]
bc18d2c145
fix(deps): update module github.com/felixge/fgprof to v0.9.4 (#2532)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-03 11:11:51 -08:00
renovate[bot]
581a84f82e
fix(deps): update module github.com/aws/aws-sdk-go to v1.50.30 (#2529)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-03 10:57:05 -08:00
renovate[bot]
c325d09ac8
fix(deps): update module golang.org/x/crypto to v0.20.0 (#2523)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-28 15:37:16 -08:00
renovate[bot]
c2b6addfd7
fix(deps): update module github.com/prometheus/client_golang to v1.19.0 (#2522)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-28 14:33:42 -08:00
renovate[bot]
3f9360a12a
fix(deps): update module github.com/googleapis/gax-go/v2 to v2.12.2 (#2521)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-28 14:00:57 -08:00
renovate[bot]
c8218dd9f9
fix(deps): update module github.com/aws/aws-sdk-go to v1.50.28 (#2520)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-28 12:55:58 -08:00
Dustin Decker
ad9d4e53e1
JDBC test and parsing improvements (#2516)
* JDBC test and parsing improvements

- Uses net/url for more robust URI parsing
- Supports common JDBC formats for MySQL
- Supports URI format for MSSQL
- Uses allowlist for params across all drivers
- Uses testcontainers-go for integration testing - much faster, more robust, no port collisions
- Uses gofakeit for random data (db, user, password) generation in integration tests
- Adds connection timeouts
- Use Microsoft's driver for MSSQL

* go mod tidy
2024-02-28 08:51:37 -08:00
Dustin Decker
5805f11ac6
Improve monogo and snowflake detectors (#2518)
* Set timeouts on mongo connection string

* use lightened snowflake driver

* update param
2024-02-28 08:26:27 -08:00
renovate[bot]
939f053fc5
fix(deps): update module google.golang.org/api to v0.167.0 (#2512)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-25 16:32:15 -08:00
renovate[bot]
18dd31d7fd
fix(deps): update module github.com/xanzy/go-gitlab to v0.98.0 (#2511)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-25 16:31:58 -08:00
renovate[bot]
2be5cb132a
fix(deps): update module github.com/aws/aws-sdk-go to v1.50.25 (#2509)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-25 11:21:16 -08:00
renovate[bot]
049fde8827
fix(deps): update golang.org/x/exp digest to 814bf88 (#2508)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-25 11:21:06 -08:00
renovate[bot]
96b9b7cd2b
fix(deps): update module github.com/google/go-github/v57 to v59 (#2464)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-25 11:08:05 -08:00
Dustin Decker
8a825fde52
Clean up some detectors (#2501) 2024-02-23 15:04:02 -08:00
renovate[bot]
76d9e794bf
fix(deps): update module go.uber.org/zap to v1.27.0 (#2498)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-21 09:05:09 -08:00
renovate[bot]
43124be2fd
fix(deps): update module github.com/snowflakedb/gosnowflake to v1.8.0 (#2497)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-21 08:47:09 -08:00
renovate[bot]
6d0ed2084c
fix(deps): update module github.com/couchbase/gocb/v2 to v2.7.2 (#2493)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-21 08:31:16 -08:00
renovate[bot]
05c2f550f0
fix(deps): update module github.com/aws/aws-sdk-go to v1.50.22 (#2492)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-20 15:38:50 -08:00
renovate[bot]
34265c6058
fix(deps): update module github.com/launchdarkly/go-server-sdk/v6 to v7 (#2490)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-20 15:29:01 -08:00
renovate[bot]
7fea969333
fix(deps): update module github.com/aws/aws-sdk-go to v1.50.21 (#2489)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-20 11:10:28 -08:00
renovate[bot]
c51f0aa808
fix(deps): update module github.com/azuread/microsoft-authentication-library-for-go to v1.2.2 (#2484)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-19 09:17:11 -08:00
renovate[bot]
e88a9b70d7
fix(deps): update module google.golang.org/api to v0.165.0 (#2480)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-18 14:26:53 -08:00
renovate[bot]
57f29bf6b3
fix(deps): update module go.mongodb.org/mongo-driver to v1.14.0 (#2479)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-18 13:27:16 -08:00
renovate[bot]
b2f5d2debb
fix(deps): update module github.com/aws/aws-sdk-go to v1.50.20 (#2477)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-18 11:24:41 -08:00
renovate[bot]
6fca5ecb5c
fix(deps): update module github.com/aws/aws-sdk-go to v1.50.18 (#2463)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-14 13:29:10 -08:00
renovate[bot]
b7a6f82db0
fix(deps): update module github.com/google/go-github/v57 to v59 (#2449)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: ahrav <ahravdutta02@gmail.com>
2024-02-14 12:37:10 -08:00
renovate[bot]
965ffcbd60
fix(deps): update module go.mongodb.org/mongo-driver to v1.13.2 (#2458)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-14 07:36:05 -08:00
renovate[bot]
d54cf20b9b
fix(deps): update module github.com/googleapis/gax-go/v2 to v2.12.1 (#2454)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-13 18:12:21 -08:00
renovate[bot]
6f2dfbc9c9
fix(deps): update module github.com/aws/aws-sdk-go to v1.50.17 (#2453)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-13 16:13:36 -08:00
renovate[bot]
1e1b90f93b
fix(deps): update golang.org/x/exp digest to ec58324 (#2452)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-13 15:00:13 -08:00
renovate[bot]
d3d5b70d68
fix(deps): update module github.com/golang-jwt/jwt/v4 to v5 (#2448)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-13 14:40:18 -08:00
renovate[bot]
0149ef7d28
fix(deps): update module google.golang.org/api to v0.164.0 (#2442)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-12 19:16:30 -08:00
renovate[bot]
bf9512a68e
fix(deps): update module golang.org/x/oauth2 to v0.17.0 (#2441)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-12 19:16:00 -08:00
renovate[bot]
929949ac43
fix(deps): update module golang.org/x/net to v0.21.0 (#2440)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-12 18:13:41 -08:00
renovate[bot]
beb7a0ea2c
fix(deps): update module golang.org/x/crypto to v0.19.0 (#2439)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-12 17:57:29 -08:00
renovate[bot]
30a067f733
fix(deps): update module cloud.google.com/go/storage to v1.38.0 (#2438)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-12 17:57:08 -08:00
renovate[bot]
b69e2c6cc1
fix(deps): update module github.com/aws/aws-sdk-go to v1.50.16 (#2436)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-12 15:26:11 -08:00
renovate[bot]
4ff36dd28a
fix(deps): update module go.uber.org/mock to v0.4.0 (#2437)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-12 15:25:30 -08:00
renovate[bot]
61c832dbf7
fix(deps): update module go.mongodb.org/mongo-driver to v1.13.1 (#2433)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-12 10:58:38 -08:00
renovate[bot]
df6bad5889
fix(deps): update module github.com/xanzy/go-gitlab to v0.97.0 (#2432)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-12 10:45:29 -08:00
renovate[bot]
26872448ca
fix(deps): update module github.com/prometheus/client_golang to v1.18.0 (#2429)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-12 10:30:27 -08:00
renovate[bot]
a2262b8b90
fix(deps): update module github.com/snowflakedb/gosnowflake to v1.7.2 (#2430)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-12 10:29:51 -08:00
renovate[bot]
ed2d7d9703
fix(deps): update module github.com/thezeroslave/zapsentry to v1.20.2 (#2431)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-12 10:29:20 -08:00
renovate[bot]
bd78770f24
fix(deps): update module github.com/hashicorp/golang-lru to v0.6.0 (#2428)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-12 09:04:54 -08:00
renovate[bot]
fb982a7f00
fix(deps): update module github.com/google/uuid to v1.6.0 (#2427)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-12 09:04:20 -08:00
renovate[bot]
91a3327113
fix(deps): update module github.com/google/go-containerregistry to v0.19.0 (#2425)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-11 19:08:04 -08:00
renovate[bot]
d530773793
fix(deps): update module github.com/getsentry/sentry-go to v0.27.0 (#2424)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-11 19:07:44 -08:00
renovate[bot]
7097ab17bd
fix(deps): update module cloud.google.com/go/storage to v1.37.0 (#2423)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-11 17:19:06 -08:00
renovate[bot]
01ab822e46
fix(deps): update module github.com/mattn/go-sqlite3 to v1.14.22 (#2417)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-11 14:14:30 -08:00
renovate[bot]
55baf77218
fix(deps): update module github.com/aws/aws-sdk-go to v1.50.15 (#2415)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-11 13:59:47 -08:00
renovate[bot]
a3edf8b567
fix(deps): update module cloud.google.com/go/secretmanager to v1.11.5 (#2414)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-11 13:59:31 -08:00
renovate[bot]
52251d3f06
fix(deps): update golang.org/x/exp digest to 2c58cdc (#2412)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-11 12:36:33 -08:00
renovate[bot]
02cddb796a
fix(deps): update github.com/lrstanley/bubblezone digest to b7bafc4 (#2411)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-11 12:26:02 -08:00
renovate[bot]
15fc165044
fix(deps): update module github.com/aymanbagabas/go-osc52 to v2 (#2048)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-11 12:25:36 -08:00
renovate[bot]
119548ad45
fix(deps): update module github.com/charmbracelet/bubbles to v0.18.0 (#2296)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-11 12:24:23 -08:00
renovate[bot]
af6099665f
fix(deps): update module github.com/charmbracelet/bubbletea to v0.25.0 (#2326)
* fix(deps): update module github.com/charmbracelet/bubbletea to v0.25.0

* Remove deprecated and unused mouse events

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Miccah Castorina <m.castorina93@gmail.com>
2024-02-11 12:11:46 -08:00
Richard Gomez
b3ff12d1e9
Fix handling of GitHub ratelimit information (#2041)
This is a follow-up to #1912, which used the headers from the response to determine rate-limiting information, instead of using the values from RateLimitError.Rate. Although that logic seemed solid, I discovered that it did not work in some circumstances. This lead to the "unexpected" path more often than intended, and periodic instances where requests would be made before the ratelimit was refreshed.
2024-02-07 09:11:12 -05:00
ahrav
b2074ad05d
Polite Verification (#2356)
* draft reverify chunks

* remove

* remove

* reduce dupe map cap

* do not verify chunk

* cli arg and use val for dupe lut

* remove counter

* skipp empty results]

* working on test and normalizing val for comparison

* forgot to save file

* optimize normalize

* reuse map

* remove print

* use levenshtein distance to check dupes

* forgot to leave in emptying map

* use slice

* small tweak

* comment

* use bytes

* praise

* use ctx logger

* add len check

* add comments

* use 8x concurrency for reverifier workers

* revert worker count

* use more workers

* process result directly for any collisions

* continue after decoder match for reverifying

* use map

* use map

* otimization and fix the bug.

* revert worker count

* better option naming

* handle identical secrets in chunks

* update comment

* update comment

* fix test

* use DetecotrKey

* rm out of scope tests and testdata

* rename all reverification elements

* don't re-write map entry

* use correct key

* rename worker, remove log val

* test likelydupe, add eq detector check in loop

* add test

* add comment

* add test

* Set verification error

* Update tests

---------

Co-authored-by: Zachary Rice <zachary.rice@trufflesec.com>
Co-authored-by: Dustin Decker <dustin@trufflesec.com>
2024-02-02 09:29:18 -08:00
roxanne-tampus
83dc986b07
added azurefunctionkey detector (#2337)
* added azurefunctionkey detector

* update raw field to include url

* clean up and added prefix on key pattern

* update bench script

* update imports, snifftest, and gen proto

---------

Co-authored-by: Dustin Decker <dustin@trufflesec.com>
2024-01-29 09:20:33 -08:00
roxanne-tampus
47c6539a41
added azuredevopspersonalaccesstoken detector (#2315)
* added azuredevopspersonalaccesstoken detector

* fix comment

* update raw field to include all parts of the credential

---------

Co-authored-by: Dustin Decker <dustin@trufflesec.com>
2024-01-23 20:46:51 -08:00
ahrav
e44802a31d
[feat] - Replace regexp pkg w/ go-re2 in detectors (#2324)
* update detectors to use go-re regex library replacement

* update go mod and sum

* add tests with invalid utf-8

* revert
2024-01-23 13:16:22 -08:00
renovate[bot]
e803e689c1
fix(deps): update module github.com/aws/aws-sdk-go to v1.50.0 (#2325)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-21 20:30:17 -08:00
renovate[bot]
09feb906f5
fix(deps): update module github.com/envoyproxy/protoc-gen-validate to v1.0.4 (#2322)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-21 19:55:32 -08:00
renovate[bot]
4afc224c63
fix(deps): update module github.com/couchbase/gocb/v2 to v2.7.1 (#2320)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-21 13:04:07 -08:00
renovate[bot]
1e3f179f73
fix(deps): update golang.org/x/exp digest to 1b97071 (#2318)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-20 14:14:18 -08:00
renovate[bot]
8e9bf8aa6d
fix(deps): update module github.com/hashicorp/golang-lru to v2 (#2054)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dustin Decker <dustin@trufflesec.com>
2024-01-20 13:31:09 -08:00
renovate[bot]
aa40654aad
fix(deps): update module github.com/bradleyfalzon/ghinstallation/v2 to v2.9.0 (#2295)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-11 13:52:50 -08:00
renovate[bot]
7258439d7a
fix(deps): update module github.com/aws/aws-sdk-go to v1.49.19 (#2294)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-11 13:45:18 -08:00
renovate[bot]
d249316e54
fix(deps): update module github.com/aws/aws-sdk-go to v1.49.18 (#2292)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-11 11:43:29 -08:00
renovate[bot]
3608c366e4
fix(deps): update module cloud.google.com/go/storage to v1.36.0 (#2291)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-11 11:32:46 -08:00
renovate[bot]
9fc1031053
fix(deps): update module github.com/mattn/go-sqlite3 to v1.14.19 (#2286)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-11 08:26:32 -08:00
renovate[bot]
5c84375aa1
fix(deps): update module github.com/gabriel-vasile/mimetype to v1.4.3 (#2285)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-11 07:30:09 -08:00
renovate[bot]
80e303c1e0
fix(deps): update golang.org/x/exp digest to 0dcbfd6 (#2284)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-11 07:14:35 -08:00
renovate[bot]
24bf5f3cd9
fix(deps): update module github.com/azuread/microsoft-authentication-library-for-go to v1.2.1 (#2282)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: ahrav <ahravdutta02@gmail.com>
2024-01-11 07:00:46 -08:00
renovate[bot]
9d99008d32
fix(deps): update golang.org/x/exp digest to be819d1 (#2281)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-10 09:30:11 -08:00
dependabot[bot]
6b8573d3ea
Bump github.com/dvsekhvalnov/jose2go from 1.5.0 to 1.6.0 (#2279)
Bumps [github.com/dvsekhvalnov/jose2go](https://github.com/dvsekhvalnov/jose2go) from 1.5.0 to 1.6.0.
- [Commits](https://github.com/dvsekhvalnov/jose2go/compare/v1.5...v1.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-08 09:45:49 -08:00
dependabot[bot]
49e2916433
Bump github.com/cloudflare/circl from 1.3.3 to 1.3.7 (#2278)
Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl) from 1.3.3 to 1.3.7.
- [Release notes](https://github.com/cloudflare/circl/releases)
- [Commits](https://github.com/cloudflare/circl/compare/v1.3.3...v1.3.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-08 09:45:31 -08:00
renovate[bot]
857a371600
fix(deps): update module github.com/go-git/go-git/v5 to v5.11.0 [security] (#2263)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-28 10:00:43 -08:00
renovate[bot]
300016a338
fix(deps): update module golang.org/x/crypto to v0.17.0 [security] (#2243)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-18 17:02:49 -08:00
Richard Gomez
f38b6a27b6
build: upgrade bodgit/sevenzip to v1.4.5 (#2215) 2023-12-14 07:48:39 -08:00
dependabot[bot]
e8db0f2cd0
Bump github.com/docker/docker (#2213)
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 24.0.0+incompatible to 24.0.7+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v24.0.0...v24.0.7)

---
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>
2023-12-13 16:13:44 -08:00
Bill Rich
a031de12de
Use forked sevenzip (#2180) 2023-12-05 15:38:20 -08:00
renovate[bot]
692582fbd9
fix(deps): update module github.com/google/go-github/v42 to v57 (#2172)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-04 16:55:03 -08:00
renovate[bot]
dbfd9a7092
fix(deps): update module google.golang.org/api to v0.152.0 (#2169)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-04 13:25:28 -08:00
renovate[bot]
08b58aa549
fix(deps): update module golang.org/x/oauth2 to v0.15.0 (#2167)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-04 13:11:37 -08:00
renovate[bot]
5d0023603c
fix(deps): update module github.com/aws/aws-sdk-go to v1.48.12 (#2166)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-04 12:50:20 -08:00
renovate[bot]
83cd276ce5
fix(deps): update module github.com/xanzy/go-gitlab to v0.94.0 (#2165)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-04 12:28:37 -08:00
renovate[bot]
b5b8223b80
fix(deps): update module github.com/trufflesecurity/disk-buffer-reader to v0.2.1 (#2163)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-04 11:25:52 -08:00
renovate[bot]
32d81500ee
fix(deps): update module github.com/google/go-containerregistry to v0.17.0 (#2160)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-03 13:28:26 -08:00
renovate[bot]
1cb8538079
fix(deps): update module github.com/go-logr/zapr to v1.3.0 (#2158)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-03 08:51:42 -08:00
renovate[bot]
fdff3b71fd
fix(deps): update module github.com/fatih/color to v1.16.0 (#2155)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-03 08:39:22 -08:00
renovate[bot]
a6685d7e77
fix(deps): update module github.com/couchbase/gocb/v2 to v2.7.0 (#2153)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-02 09:16:24 -08:00
renovate[bot]
8065b53a51
fix(deps): update module github.com/aws/aws-sdk-go to v1.48.11 (#2152)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-01 13:31:25 -08:00
renovate[bot]
392b07fe4c
fix(deps): update module github.com/alecthomas/kingpin/v2 to v2.4.0 (#2151)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-01 11:59:14 -08:00
renovate[bot]
d81b7ea03b
fix(deps): update module cloud.google.com/go/storage to v1.35.1 (#2150)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-01 11:17:48 -08:00
renovate[bot]
239bf921f8
fix(deps): update module github.com/mattn/go-sqlite3 to v1.14.18 (#2148)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-01 10:23:25 -08:00
renovate[bot]
3c1fde126f
fix(deps): update module github.com/hashicorp/go-retryablehttp to v0.7.5 (#2147)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-01 10:10:04 -08:00
renovate[bot]
79a862ad2e
fix(deps): update module github.com/go-git/go-git/v5 to v5.10.1 (#2146)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-01 09:49:13 -08:00
renovate[bot]
f3d51d1714
fix(deps): update module cloud.google.com/go/secretmanager to v1.11.4 (#2145)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-01 08:30:41 -08:00
renovate[bot]
ed70118e84
fix(deps): update golang.org/x/exp digest to 6522937 (#2140)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-01 06:57:44 -08:00
Dustin Decker
3c2270ae65
update kingpin import (#2053) 2023-10-30 10:58:38 -07:00
Dustin Decker
05fae156e1
Add TravisCI source (#1877)
* Add TravisCI source

* update test to use sourcestest

* Remove jobPage loop

ListByBuild does not support pagination, so this was infinitely
repeating. https://developer.travis-ci.com/resource/jobs#find

* Continue chunking on error

* review updates

* update readme

---------

Co-authored-by: Miccah Castorina <m.castorina93@gmail.com>
2023-10-30 07:28:25 -07:00
renovate[bot]
efe772331c
Update module github.com/go-git/go-git/v5 to v5.10.0 (#2023)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-29 18:01:01 -07:00
renovate[bot]
9a04208555
fix(deps): update module sigs.k8s.io/yaml to v1.4.0 (#2047)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-29 17:42:18 -07:00
renovate[bot]
a9cc772061
Update module google.golang.org/api to v0.148.0 (#2045)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-29 16:56:53 -07:00
renovate[bot]
e0e5e185c2
Update module go.uber.org/zap to v1.26.0 (#2044)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-29 16:43:18 -07:00
renovate[bot]
89a258cb02
Update module github.com/snowflakedb/gosnowflake to v1.6.25 (#2042)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-29 16:28:36 -07:00
renovate[bot]
d12050c061
Update module github.com/xanzy/go-gitlab to v0.93.2 (#2031)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-29 15:43:34 -07:00
renovate[bot]
eff52138de
Update module go.uber.org/mock to v0.3.0 (#2038)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-29 15:43:07 -07:00
Richard Gomez
aee28ca92f
Update github.com/bodgit/sevenzip to v1.4.3 (#2039) 2023-10-29 15:42:17 -07:00
renovate[bot]
5058cadc44
Update module github.com/prometheus/client_golang to v1.17.0 (#2029)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-29 08:53:41 -07:00
renovate[bot]
eb6855b9e4
Update module github.com/rabbitmq/amqp091-go to v1.9.0 (#2030)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-28 13:11:35 -07:00
renovate[bot]
4acbf6d917
Update module github.com/hashicorp/golang-lru to v0.6.0 (#2028)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-28 12:25:15 -07:00
renovate[bot]
bee593c93d
Update module github.com/google/uuid to v1.4.0 (#2027)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-28 12:24:44 -07:00
renovate[bot]
52e2673aed
Update module github.com/google/go-containerregistry to v0.16.1 (#2026)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-28 10:50:05 -07:00
renovate[bot]
791297ff18
Update module github.com/getsentry/sentry-go to v0.25.0 (#2022)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-28 09:25:42 -07:00
renovate[bot]
fb5f711bbf
Update module github.com/go-logr/logr to v1.3.0 (#2025)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-28 09:25:27 -07:00