File Scanner #32
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Milestone
Feature request
We propose adding a feature to xGitGuard that allows scanning of a local file system. Currently, xGitGuard supports scanning GitHub repositories, but we aim to extend this capability to local directories.
The solution
The feature would involve specifying a local path as input instead of a GitHub repository. xGitGuard would recursively retrieve a list of all files within the directory. It would then check each file's extension against a predefined list of supported extensions. Files matching these extensions would be logged into a new file (e.g., searchpath.csv). Subsequently, the scanner would be triggered to analyze these files for security issues.
Describe alternatives you've considered
No alternatives have been considered at this stage, but we are open to community suggestions and feedback.
Additional context
Users would initiate the local file system scan via the command-line interface by providing the path to the directory. Upon completion of the scan, users would be able to view any security detections identified by xGitGuard.
The text was updated successfully, but these errors were encountered: