You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Traverse into the `github-enterprise` script folder
126
127
@@ -515,6 +516,126 @@ Pass the Console Logging as Yes or No. Default is Yes
515
516
516
517
> **Note:** By Default, the detected secrets will be masked to hide sensitive data. If needed, user can skip the masking to write raw secret using command line argument `-u Yes or --unmask_secret Yes`. Refer command line options for more details.
517
518
519
+
### FileScan
520
+
521
+
**Detecting Exposed Secrets on File System at Scale**
522
+
523
+
- xGitGuard Filescanner detects secrets, such as keys and credentials, exposed on the filesystem.
524
+
- Traverse into the `file-scanner` folder
525
+
526
+
```
527
+
cd file-scanner
528
+
```
529
+
530
+
#### Running Extension Filter
531
+
532
+
By default, the extension Search script runs for configured directories/files under config/xgg_search_paths.csv & config/extesnions.csv,
533
+
534
+
```
535
+
# Run with Default configs
536
+
python xgg_extension_search.py
537
+
```
538
+
539
+
To run with specific directories or file path,
540
+
541
+
```
542
+
# Run with targetted directories/filepaths for all extensions
543
+
python extension_search.py -p "file-path"
544
+
```
545
+
546
+
To run with specific extensions & directories/filepaths,
547
+
548
+
```
549
+
# Run with targetted filepaths/directories for specific extensions
> **Note:** By default extensions are picked from extensions.csv config file.But user can also search for targeted extensions either by proving in CLI option/updating extensions.csv
By default, the Secrets Detection script runs for given processed search paths(output/xgg_search_files.csv) with ML Filter detecting both keys and credentials.xGitGuard has an additional ML filter to reduce the false positives from the detection.
Pass the Console Logging as Yes or No. Default is Yes
619
+
```
620
+
621
+
- Inputs used for search and scan
622
+
623
+
> **Note:** Command-line argument keywords have precedence over config files (Default). If no keywords are passed in cli, data from config files will be used for the search.
624
+
625
+
> **Note:** If ML Prediction flag is set to false the -model_preference flag is not required.
626
+
627
+
- xgg_search_files.csv file has a default list of file paths for search based on extension scan, which can be updated by users based on their requirement.
0 commit comments