Commit graph

3059 commits

Author SHA1 Message Date
Richard Gomez
cbc0f0f48e
Create basic escaped unicode decoder (#2456)
* feat(decoders): basic escaped unicode

* wip: handle unicode notation
Experimenting with this.. might remove
2024-03-02 11:27:44 -08:00
ahrav
3da0c5e125
[feat] - Make the client configurable (#2528)
* Make the client configurable

* add comment

* add backoff option
2024-03-01 13:29:25 -08:00
Dylan Ayrey
7620906b07
Ignore canary IDs in notifications (#2526)
* Update aws.go

* Update aws.go

* Update tests

---------

Co-authored-by: Dustin Decker <dustin@trufflesec.com>
2024-02-28 16:52:50 -08:00
James Golovich
f0397fed8f
Fix minor typo (#2527) 2024-02-28 16:12:29 -08:00
Dustin Decker
8ed0c0ad5d
Remove one filter word (#2525)
Removes a problematic word from the unverified filtering while we work on a more holistic fix.
2024-02-28 15:46:39 -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
renovate[bot]
d49fbf6b8b
fix(deps): update module github.com/golang-jwt/jwt/v4 to v5 (#2513)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-28 12:29:17 -08:00
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