Commit Graph
14 Commits
Author SHA1 Message Date
John Elliott b0ee281ec3 Add nil check and error context to GitHub analyzer (#4858)
Return an explicit error when AnalyzePermissions yields nil info
instead of passing nil to secretInfoToAnalyzerResult. Wrap classic
PAT repo/gist enumeration errors with context for easier debugging.
2026-04-02 15:56:49 -07:00
Mustansir 3876bea3ef [INS-202] Add rate limiting to the Github Analyzer (#4617)
* add analyzer client option to support rate limiting. Add rate limiting to github analyzer

* supply the rate limiter to the client
2026-01-19 12:01:53 +05:00
Amaan Ullah e02a82229b Update GitHub analyzer to use correct AnalyzerType in results (#4188)
Changed AnalyzerType from 0 to 7 in both the GitHub analyzer implementation and its associated tests to reflect the correct type for GitHub analysis.
2025-05-29 15:22:11 +05:00
ahrav e2f5e0e4bc upgrade Github dep (#3699) 2024-12-02 12:34:47 -08:00
Dustin Decker 5ca4a17a4c Add owner to github tokens (#3558) 2024-11-04 14:43:30 -08:00
Bill Rich abecab0d8f Remove proto (#3489)
Only used for tracking analyzer types
2024-10-21 17:16:26 -07:00
ahrav e57c712998 Manually upgrade github dep (#3387) 2024-10-10 06:16:40 -07:00
Miccah 213bf7e4fd Fix GitHub analyzer panic on empty organization name (#3295) 2024-09-13 11:31:31 -07:00
Miccah c381e901cc [analyze] Fix GitHub token expiration parsing (#3205)
* [analyze] Fix GitHub token expiration parsing

* Update test
2024-08-14 10:13:05 -07:00
Dustin Decker 29de521ed0 Improve finegrained token support (#3179) 2024-08-05 18:55:05 -07:00
Dustin Decker 25b01019b3 Add permissions lookup tables (#3125)
* OpenAI LUT

* github LUT

* cleanup

* add test

* update

* update

* update openai

* update

* Add Analyze interface to Twilio (#3128)

* Add Analyze interface to Twilio

* add readme
2024-07-31 13:01:29 -07:00
ahrav 55fe05d0b4 fix dep versions (#3106) 2024-07-26 17:44:23 -07: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
MiccahandJoe Leon 2424683923 Analyze (#3099)
* Add POC analyze sub-command

* Address lint errors

* [chore] Embed scopes at compile time

* [chore] Move subcommand check up to prevent printing metrics

* added http logging to most analyzers

* Use custom RoundTripper with default http.Client

* Create framework of interfaces, structs, and protos

* Merge main

* Add AnalysisInfo to detectors.Result

* Hide analyze subcommand

* Update gen_proto.sh

* Update protos

* Make protos

* Update analyzer data types

* Rename argument to credentialInfo

---------

Co-authored-by: Joe Leon <joe.leon@trufflesec.com>
2024-07-25 12:06:05 -07:00