Commit graph

2869 commits

Author SHA1 Message Date
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
āh̳̕mͭͭͨͩ̐e̘ͬ́͋ͬ̊̓͂d
d7a33055ad
add version to extra data + moving existing versioned detectors into subdirectory format (#2471)
* moving existing versioned detectors into subdirectory format

* update docs for adding version number to extra data

* nits
2024-03-07 15:48:27 -05:00
Dustin Decker
dbf6965152
DB is not needed for ping command (#2540) 2024-03-06 17:08:37 -08:00
Cody Rose
b7f08db1ef
Redact secret in git command output (#2539)
When we fail to clone a git repository we log the command output to help with diagnosis. However, this output can include credentials in certain cases (such as certain errors associated with redirects). We don't want to log credentials when this happens.
2024-03-06 11:51:35 -05:00
Cody Rose
28ed81f0a2
Add naive S3 ignorelist (#2536)
This PR adds the ability to exclude buckets from S3 scans. The capability is pretty rudimentary right now, and does not support globbing. If both lists are specified the source to fail to initialize.
2024-03-05 08:01:20 -05: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
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