Commit graph

3059 commits

Author SHA1 Message Date
Cody Rose
af095c294c
Add false positive info to proto (#2729)
This PR adds false positive information to the Result protobuf message in anticipation of us tracking it as first-class secret metadata. We're not doing that yet (it's blocked behind #2643) but setting up the messages now means we'll be able to do it later with less of a code delta.
2024-04-23 16:18:45 -04:00
ahrav
4a5fbf8417
[refactor] - Update Write method signature in contentWriter interface (#2721)
* Update write method in contentWriter interface

* fix lint
2024-04-23 08:47:53 -07:00
renovate[bot]
642fce5edf
fix(deps): update module github.com/aws/aws-sdk-go to v1.51.26 (#2728)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-23 08:24:57 -07:00
Dustin Decker
14e44db2be
Move detectors.IsKnownFalsePositive from the detectors and into the engine (#2643)
* Remove detectors.IsKnownFalsePositive from detectors

* Centralize false positive removal in engine

* Don't apply fp filtering on custom regex to preserve previous behavior.

* fix empty branch

* update excludes

* update filtering

* Add result flag option and exclude some detectors
2024-04-22 15:18:04 -07:00
renovate[bot]
be7e795750
fix(deps): update module google.golang.org/api to v0.176.0 (#2726)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-22 09:07:12 -07:00
Ankush Goel
3fa86a1008
added onfleet api key detector (#2375)
* added onfleet detector

* use organization get endpoint

---------

Co-authored-by: Ahrav Dutta <ahrav.dutta@trufflesec.com>
2024-04-21 10:06:51 -07:00
renovate[bot]
6fd7305686
fix(deps): update module google.golang.org/api to v0.175.0 (#2724)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-21 08:36:43 -07:00
renovate[bot]
dae5881751
fix(deps): update module github.com/microsoft/go-mssqldb to v1.7.1 (#2720)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-20 10:06:48 -07:00
renovate[bot]
336f0e209c
fix(deps): update module github.com/aws/aws-sdk-go to v1.51.25 (#2723)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-20 10:05:58 -07:00
Julien Doutre
32652a7498
Detect Slack workflows webhook (#2569) 2024-04-19 07:21:40 -07:00
renovate[bot]
70bdf4eb2a
fix(deps): update module github.com/couchbase/gocb/v2 to v2.8.1 (#2714)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-18 17:54:31 -07:00
renovate[bot]
e35ec439db
fix(deps): update module github.com/xanzy/go-gitlab to v0.103.0 (#2715)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-18 15:43:32 -07:00
renovate[bot]
9c40ff409f
fix(deps): update module github.com/aws/aws-sdk-go to v1.51.24 (#2717)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-18 15:42:58 -07:00
renovate[bot]
3d04b5c58e
fix(deps): update module google.golang.org/api to v0.174.0 (#2712)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-17 14:15:08 -07:00
renovate[bot]
fb4f8e4fa5
fix(deps): update module github.com/aws/aws-sdk-go to v1.51.23 (#2711)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-17 14:14:57 -07:00
renovate[bot]
ee26986869
fix(deps): update module google.golang.org/api to v0.173.0 (#2709)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-17 09:10:45 -07:00
renovate[bot]
1deee78493
fix(deps): update module github.com/aws/aws-sdk-go to v1.51.22 (#2708)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-17 08:25:26 -07:00
renovate[bot]
f194b64067
fix(deps): update module github.com/go-ldap/ldap/v3 to v3.4.8 (#2707)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 12:08:56 -07:00
renovate[bot]
fad28b05fd
fix(deps): update golang.org/x/exp digest to fe59bbe (#2706)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 12:08:37 -07:00
renovate[bot]
198c63cb82
fix(deps): update module go.mongodb.org/mongo-driver to v1.15.0 (#2700)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-13 08:39:06 -07:00
renovate[bot]
1a2ed23abd
fix(deps): update module github.com/aws/aws-sdk-go to v1.51.21 (#2699)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-12 15:19:06 -07:00
renovate[bot]
ff5d9a413f
fix(deps): update module github.com/aws/aws-sdk-go to v1.51.20 (#2698)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-11 18:41:56 -07:00
renovate[bot]
253d274836
fix(deps): update module github.com/launchdarkly/go-server-sdk/v7 to v7.4.0 (#2697)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-11 17:26:55 -07:00
Luska
e5575cd6f2
Adding Pagarme API key detection (#2665)
* Adding support to Pagarme API key detection

* adding scanner

---------

Co-authored-by: Ahrav Dutta <ahrav.dutta@trufflesec.com>
2024-04-10 17:57:25 -07:00
renovate[bot]
7332f91a8b
fix(deps): update module github.com/aws/aws-sdk-go to v1.51.19 (#2694)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-10 17:57:07 -07:00
renovate[bot]
a7699f8c24
chore(deps): update sigstore/cosign-installer action to v3.5.0 (#2695)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-10 17:56:46 -07:00
ahrav
867434331b
[refactor] - template detector (#2692)
* refactor template detector to only check for 200 status code

* Replace ldap.DialTLS w/ ldap.DialURL since the former is deprecated

* sort imports
2024-04-10 17:46:07 -07:00
fml09
c6b454e736
Remove unnecessary space in Vultr regex pattern (#2689)
* Fix incorrect regular expression with missing closing bracket

* Remove unnecessary space in Vultr regex pattern
2024-04-10 17:12:55 -07:00
Shreyas Sriram
08b6f90c81
Add Wiz detector (#2691)
* Implement wiz detector

* Fix tests

* Update false positive logic
2024-04-10 08:19:36 -07:00
renovate[bot]
58799302c0
fix(deps): update module github.com/aws/aws-sdk-go to v1.51.18 (#2690)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-09 17:19:38 -07:00
renovate[bot]
5cf08c23de
fix(deps): update golang.org/x/exp digest to 93d18d7 (#2688)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-09 09:08:53 -07:00
Jacinto27
ccd1910112
Update README.md with Windows-specific Docker installation instructions (#2674)
* Update README.md with Windows-specific Docker installation instructions:
-Windows Command Prompt
-Windows PowerShell

Also:
    -Organized all the installation commands into separate sections for easy readability
    -Grouped the Docker intallation commands together

* Update README.md

Re-edited the files because they made the readme very cluttered.

* Update README.md

* Edited the powershell command

Realized the windows powershell command was too verbose, found a better command that is also compatible with Unix systems

* Update README.md

Just noticed I missed the -IT flag, removed it while debugging but didn't put it back, all as back to normal.
2024-04-08 17:45:54 -07:00
renovate[bot]
72e01061ff
fix(deps): update module github.com/aws/aws-sdk-go to v1.51.17 (#2686)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-08 15:22:56 -07:00
renovate[bot]
75a6ea9183
fix(deps): update module github.com/go-ldap/ldap/v3 to v3.4.7 (#2684)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-08 14:44:26 -07:00
renovate[bot]
f7ad0268f6
fix(deps): update testcontainers-go monorepo to v0.30.0 (#2685)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-08 09:55:14 -07:00
renovate[bot]
18e7d44efc
fix(deps): update module github.com/xanzy/go-gitlab to v0.102.0 (#2682)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-08 09:43:24 -07:00
Cody Rose
b745cfd495
Enrich Gitlab enumeration logging (#2678)
This PR modifies the GitLab source:

* emits a new "groups enumerated" metric
* logs more information about group enumeration
* emits the repo enumeration metric inside getAllProjectRepos, which means it will work when units are flipped on
* emits the repo enumeration metric more granularly
2024-04-08 10:47:05 -04:00
renovate[bot]
62b89dd293
fix(deps): update module github.com/aws/aws-sdk-go to v1.51.16 (#2680)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-07 17:02:23 -07:00
renovate[bot]
8f6c9f074b
fix(deps): update golang.org/x/exp digest to c0f41cb (#2672)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-07 17:01:51 -07:00
renovate[bot]
e14411a0ea
fix(deps): update module github.com/wasilibs/go-re2 to v1.5.2 (#2681)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-06 13:29:29 -07:00
renovate[bot]
c8f6eb6691
fix(deps): update module github.com/thezeroslave/zapsentry to v1.23.0 (#2667)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-06 11:27:03 -07:00
renovate[bot]
21bd95b076
fix(deps): update module golang.org/x/net to v0.24.0 (#2662)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-06 11:25:55 -07:00
Cody Rose
14b1a6e236
Handle inactive Slack account tokens (#2668)
This PR updates the Slack detector to accommodate a previously unhandled error type. It also fixes the exiting Slack tests.
2024-04-05 10:26:20 -04:00
ahrav
3cb7aedf4a
[bug] - Add ASCII validation check for base64 decoding (#2671)
* Correclt handle invalid base64 with ascii check

* remove parallel
2024-04-04 16:59:13 -07:00
renovate[bot]
4153315464
fix(deps): update module golang.org/x/oauth2 to v0.19.0 (#2670)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-04 16:57:11 -07:00
redismongo
f1957fec59
chore: fix some typos (#2666) 2024-04-04 05:50:47 -07:00
ahrav
a8132839f8
[chore] - update go-github dep manually (#2664)
* update go-github dep

* remove commented out line
2024-04-03 19:19:14 -07:00
renovate[bot]
5af3ab6743
fix(deps): update module github.com/google/go-github/v57 to v61 (#2652)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-03 17:17:49 -07:00
renovate[bot]
9d0fe9f8f5
fix(deps): update module github.com/launchdarkly/go-server-sdk/v7 to v7.3.0 (#2660)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-03 17:12:27 -07:00
renovate[bot]
a31b91cb16
fix(deps): update module github.com/aws/aws-sdk-go to v1.51.14 (#2659)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-03 15:21:41 -07:00