Commit Graph
9 Commits
Author SHA1 Message Date
Richard Gomez 8723f857a2 chore(detectors): remove match len check (#2746) 2025-01-15 10:33:53 -06:00
Abdul Basit c24b4d5b30 [Fix] detector's integration tests starting with alphabet 'g' (#3765)
* fix geocodio detector test

* fix github detector test

* fix githubapp detector test

* fix gitlab v2 detector

* fix godaddy v1 detector test
2024-12-11 09:23:02 -08: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
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
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
ā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