Commit Graph
11 Commits
Author SHA1 Message Date
Aman Ullah 395ec12ad7 introduce OCR handler for supporting imgs and videos mime types 2026-04-03 18:14:06 +05:00
Cody Rose bf930a2cd9 fix typo (#4599)
I misspelled an identifier in one spot and then just autocompleted to victory everywhere else. This commit fixes the typo!
2025-12-10 15:16:39 -05:00
Cody Rose 702bbefa35 Add optional git clone timeout (#4597)
We have identified some cases in which it is preferable to time a clone out instead of waiting forever. These situations are unusual, so the CLI option to enable this (which I added for testing) is hidden so that we minimize the risk of baking this option into the interface.
2025-12-10 10:09:05 -05:00
Kashif Khan daf7e5626b Implemented Graphql requests for Github PR's, Issues and comments scanning (#4431)
* Added graphql API for issues and PRs

* enhancements

* more cleanup

* more enhancements

* some final touches

* some more cleanup

* tweaked threads vars

* minor changes

* scan the markdown text not plain text

* ratelimit handling

* added ratelimit handling

* lint error fix

* refactored the thread review comments chunking

* final commit - probably

* refactored the rate limit handling

* adjusted comments

* resolved comments

* remove old camel case func

* renamed featureflag

* resolved martin's comments

* updated test cases
2025-11-04 10:13:53 +05:00
Kashif Khan 18c7b1fc33 Added feature flag to configure projects per page in gitlab enumeration (#4437)
* Added flag to configure projects per page in gitlab enumeration

* changed comments wording

* Resolved conflicts

* use features instead of flag

* updated comment
2025-09-04 19:02:33 +05:00
ad1ddc133a (fix) Git Repo Cloning Error (#4223)
* instead of providing list of refs we want to scan, using --mirror parameter .
removed SkipAdditionalRefs flag, cloning using --mirror will include all the refs.
put the check if userinfo is nil to avoid any crash due to invalid memory access.

* keep both -c and --mirror

* keep useGitMirror on by default for OSS

---------

Co-authored-by: Shahzad Haider <76992801+shahzadhaider1@users.noreply.github.com>
Co-authored-by: Dustin Decker <dustin@trufflesec.com>
Co-authored-by: ahrav <ahravdutta02@gmail.com>
2025-07-25 10:30:30 -07:00
Kashif Khan 7907482dec Simplified Gitlab Enumeration (#4283)
* simplified gitlab enumeration

* few more enhancements

* configurable

* added feature flag

* resolved cody's comment
2025-07-09 11:56:17 +05:00
joeleonjrandRichard Gomez 8f2ebc924e Add support for scanning APK files (#3517)
* apk initial

* added a couple tests

* Update pkg/handlers/handlers.go

Co-authored-by: Richard Gomez <32133502+rgmz@users.noreply.github.com>

* updating log status

* refactored + added new integration test

* updated test

* fixed linting error

* added keyword-value pairs during dex file scanning

* fixed test

* performance updates

* fixing decodeXML memory issue

* added feature flag

* refactored keyword matching + ahocorasick

* small updates

* refactored for dextk.WithReadCache()

---------

Co-authored-by: Richard Gomez <32133502+rgmz@users.noreply.github.com>
2024-11-15 13:25:11 -05:00
Dustin Decker 7e78ca385f Add user agent suffix feature flag (#3297)
* Add user agent suffix feature flag

* unecessary concat
2024-09-13 15:20:43 -07:00
Dustin Decker 70c6bb5634 feature flag additional refs (#3282) 2024-09-10 15:51:41 -07:00
Dustin Decker 8999eab89d Add central feature flags (#3264)
* Add central feature flags

* use atomic

* tidy
2024-09-03 15:54:41 -07:00