ahrav
8ceeb5d5a1
[bug] - Refactor newDiff constructor to avoid double initialization of contentWriter ( #2742 )
...
* only create the contentWriter once
* update test
* correclty use mock
* remove deprecated pkg
2024-04-25 08:01:38 -07:00
Cody Rose
11452e8a57
Revert "feat(git): scan commit metadata ( #2713 )" ( #2747 )
...
This reverts commit 81a9c813a1
.
2024-04-25 10:56:48 -04:00
Cody Rose
ba5ad5d8a9
Fix SQL Server detector tests ( #2716 )
...
These tests were broken so I fixed them and updated them to use testcontainers, which is more robust and used in the JDBC detector tests.
2024-04-25 10:40:46 -04:00
Richard Gomez
81a9c813a1
feat(git): scan commit metadata ( #2713 )
...
This fixes #2683 . It scans the commit author, committer (which is typically GitHub <noreply@github.com> for GitHub, but can be different), and message.
It also scans Git notes.
2024-04-25 10:13:09 -04:00
renovate[bot]
a5f04e65f7
chore(deps): update golangci/golangci-lint-action action to v5 ( #2744 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-24 20:25:49 -07:00
renovate[bot]
680bd7d0af
fix(deps): update module github.com/aws/aws-sdk-go to v1.51.28 ( #2741 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-24 12:23:31 -07:00
ahrav
97599b19e7
update buffer metrics ( #2737 )
2024-04-24 07:22:06 -07:00
ahrav
ea4d9d2d32
[bug] - Correctly return the checked out buffer to the pool ( #2732 )
...
* Make sure to return the buffer to the pool
* update comment
* defer the return
* remove anonymous function
2024-04-23 14:38:28 -07:00
renovate[bot]
46e0da1a92
fix(deps): update module google.golang.org/api to v0.176.1 ( #2736 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-23 14:37:39 -07:00
renovate[bot]
bc48e9dc23
fix(deps): update module github.com/aws/aws-sdk-go to v1.51.27 ( #2735 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-23 14:37:25 -07:00
Dustin Decker
0ce02fc827
Make connection issues less jarring ( #2730 )
...
* Make connection issues less jarring
* lint
* fix lint issue
* print just the connection issue in yellow
* update terminology
2024-04-23 14:29:38 -07:00
ahrav
f03aa38726
[bug] - Fix disk write metric and update BufferedFileWriter file field ( #2733 )
...
* Record the disk write after the file has been written to
* remove comment
* remove print logs
2024-04-23 14:13:13 -07:00
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