Commit graph

2849 commits

Author SHA1 Message Date
trufflesteeeve
12ff21f245
Improve Gitlab default URL handling (#2491)
Co-authored-by: Miccah <m.castorina93@gmail.com>
2024-02-28 14:15:11 -05:00
Simon Whitaker
431586ce78
Implement detectors.EndpointCustomizer on datadogtoken (#2510)
Closes #2265
2024-02-28 10:52:01 -06: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]
cbb8201a6d
fix(deps): update module github.com/golang-jwt/jwt/v4 to v5 (#2455)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-25 11:09:19 -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
2d2ca4d3d6
fix prefix check when returning early (#2503) 2024-02-24 09:15:54 -08:00
Dustin Decker
8a825fde52
Clean up some detectors (#2501) 2024-02-23 15:04:02 -08:00
ahrav
9ef5151200
Gitlab scan targets (#2470)
* add method to scan targets

* Add logic to handle targetted scan

* address comments

* remove pagination opts

* add kvp with scan type
2024-02-23 07:40:52 -08:00
Mark Steward
4d231af19d
Tell git to ignore directory ownership (fixes #2495) (#2496)
* Tell git to ignore directory ownership in docker

* Show usage instead of an error when no arguments are passed into docker
2024-02-22 18:33:31 -08:00
Dustin Decker
d53b83b58e
Identify some canary tokens without detonation (#2500)
* Identify canary tokens

* Update README.md

* Update README.md

---------

Co-authored-by: dylanTruffle <52866392+dylanTruffle@users.noreply.github.com>
2024-02-21 09:42:21 -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
Miccah
c60443891b
Add Display method to SourceUnit and Kind member to the CommonSourceUnit (#2450)
* Add Display method to SourceUnit and Kind member to the CommonSourceUnit

* Make SourceUnitID return the ID and a kind

These two values together uniquely represent a unit.
2024-02-20 11:24:13 -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]
e679b7c6fa
fix(deps): update module github.com/hashicorp/golang-lru to v2 (#2486)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-20 09:41:34 -08:00
Zachary Rice
bccba20d3e
concurrency uint8 to int (#2488)
* concurrency uint8 to uint16

* jk, use int

* git test fix
2024-02-20 09:35:40 -06:00
ahrav
5290023c2d
use read full (#2474) 2024-02-20 07:21:16 -08:00
ahrav
afccf2cf5f
[chore] - upgrade lru cache version (#2487) 2024-02-19 18:07:31 -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]
482664ee67
fix(deps): update module github.com/hashicorp/golang-lru to v2 (#2483)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-19 08:07:38 -08:00
renovate[bot]
e73c0e18fe
fix(deps): update module github.com/hashicorp/golang-lru to v0.6.0 (#2482)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-18 14:54:46 -08:00
renovate[bot]
51791161c8
fix(deps): update module github.com/hashicorp/golang-lru to v2 (#2481)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-18 14:43:54 -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]
8aaca88215
fix(deps): update module github.com/hashicorp/golang-lru to v0.6.0 (#2478)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-18 11:34:49 -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]
82e754c3e0
fix(deps): update module github.com/hashicorp/golang-lru to v2 (#2462)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-18 11:12:45 -08:00
ahrav
41301bec8a
move clenaup outside the engine (#2475) 2024-02-17 08:06:24 -08:00
ahrav
5c313c14db
tighten keyword match (#2473) 2024-02-16 13:38:07 -08:00
Miccah
88c1bb3289
[chore] Increase TestMaxDiffSize timeout (#2472) 2024-02-16 11:09:25 -08:00
Zachary Rice
834163acf5
add lazy quantifier to prefixregex (#2466) 2024-02-15 17:08:27 -06:00
ahrav
40bbab8add
[cleanup] - Extract buffer logic (#2409)
* extract the buffer logic into it's own package

* address comments
2024-02-15 11:40:34 -08:00
ahrav
5568b2e0a6
update gitlab proto (#2469)
* update gitlab proto

* update protos
2024-02-15 10:23:41 -08:00
Zachary Rice
bd729ce48e
add missing prefixregex (#2468) 2024-02-15 07:13:57 -06:00
Dustin Decker
a9817a3292
Remove some noisy / less useful detectors (#2467) 2024-02-14 15:27:03 -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]
5e6f80ef5f
fix(deps): update module github.com/aymanbagabas/go-osc52 to v1.2.2 (#2460)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-14 09:40:14 -08:00
renovate[bot]
64cfa3a22f
fix(deps): update module github.com/aymanbagabas/go-osc52 to v2 (#2459)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-14 09:27:50 -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]
494535e9f1
fix(deps): update module github.com/aymanbagabas/go-osc52 to v1.2.2 (#2457)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-14 07:09:17 -08:00
renovate[bot]
d0f1b2b6e5
fix(deps): update module github.com/aymanbagabas/go-osc52 to v2 (#2447)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-14 06:56:26 -08:00