Commit Graph
17 Commits
Author SHA1 Message Date
Shahzad Haider e08744c0bc added prefix to the github old detector regex pattern (#4494) 2025-10-15 08:23:34 -07:00
trufflesteeeve 466da5b0bb Pre-filter GitHub v1 findings to prevent large numbers of validation requests (#4468) 2025-09-18 09:53:55 -04:00
Kashif KhanandAmaan Ullah 6dd65a5156 Ignore known common prefix matches for Github V1 detector (#4379)
Co-authored-by: Amaan Ullah <aman.ullah.jalal@trufflesec.com>
2025-08-27 11:25:48 +05:00
Kashif Khan d7e295aa49 updated github v1 detector to ignore matches with known common prefixes (#4329) 2025-07-29 07:06:57 -07:00
Richard Gomez 8723f857a2 chore(detectors): remove match len check (#2746) 2025-01-15 10:33:53 -06:00
Kashif Khan 3339e29834 added pattern test cases for F, G and H alphabet detectors (#3590)
* added pattern test cases for f alphabet detectors

* added pattern test cases for g alphabet detectors

* fixed test cases

* added pattern test cases for h alphabet detectors

* updated with main
2024-11-13 07:51:34 -08:00
Richard Gomez 6c823e1d60 Add UUIDs to false positive checker (#2976)
* feat(detectors): add uuid false positives

* feat(detectors): use map for false positives
2024-11-07 08:27:46 -08:00
0f427b3c6a Adding Descriptions (#3258)
* adding AI generated descriptions of the key types and their capabilities

* removing empty file

* Update abbysale.go

* update to interface

* fixes

* fix

* small cleanup

---------

Co-authored-by: Dylan Ayrey <dxa4481@rit.edu>
Co-authored-by: Dustin Decker <dustin@trufflesec.com>
2024-09-24 16:10:16 -07:00
Kashif KhanandMiccah Castorina 4b6957df66 Endpoint customizer refresh (#3308)
* Refresh EndpointCustomizer for more explicit configuration

Also add CloudProvider interface.

* WIP: Update EndpointSetter

* Updated detectors with new endpoint customizer

* Fixed linter

* Added check for appending cloud endpoints

---------

Co-authored-by: Miccah Castorina <m.castorina93@gmail.com>
2024-09-24 11:41:05 -05:00
Miccah 9d089c2188 [analyze] Implement Analyzer interface for github (#3110)
* [analyze] Implement Analyzer interface for github

* Make github repo and user enumeration configurable

* Add AnalysisInfo to github detector

* Use AnalyzeAndPrintPermissions from the CLI
2024-07-26 14:47:03 -07:00
Richard Gomez 2964b3b2d2 feat(detectors): log falsepositive reason (#2969) 2024-06-14 08:26:05 -07:00
Abdul Basit 7025b0aa35 added email and location in metadata. (#2850) 2024-05-15 12:36:22 -05:00
Cody Rose 2f7029bc4d Expose detector-specific false positive logic (#2743)
This PR:

Creates an optional interface that detectors can use to customize their false positive detection
Implements this interface on detectors that have custom logic
In most cases this "custom logic" is simply a no-op because the detector does not participate in false positive detection
Eliminates inline (old-style) false positive exclusion in a few detectors that #2643 missed
2024-04-30 16:10:26 -04: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
Richard Gomez fd7e7e6e29 fix(github): response can be nil (#2583) 2024-03-16 01:12:44 -07:00
āh̳̕mͭͭͨͩ̐e̘ͬ́͋ͬ̊̓͂d 2ef7a4a49f pull out verification logic from github detectors (#2554)
* pull out verification logic from github detectors

* deduplicate verify github logic

* pull out nil check

* return nil instead of empty struct

* skip gh old test bc we can't make new tokens
2024-03-15 15:00:45 -04: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