Commit f72081c
committed
Add max file size flag and enhance file processing logic
- Introduced a new flag `--max-file-size` to set the maximum file size for scanning.
- Updated `processLocalFiles` function to accept the max file size parameter.
- Modified file processing logic to skip files exceeding the specified size.
- Added a new pattern for Netlify Access Tokens to improve detection capabilities.1 parent d853832 commit f72081c
File tree
4 files changed
+17
-14
lines changed- cmd
- core
- patterns
- scanner
4 files changed
+17
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| 153 | + | |
153 | 154 | | |
154 | 155 | | |
155 | | - | |
| 156 | + | |
156 | 157 | | |
157 | 158 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
258 | | - | |
| 258 | + | |
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
| |||
556 | 556 | | |
557 | 557 | | |
558 | 558 | | |
559 | | - | |
560 | | - | |
561 | | - | |
562 | | - | |
563 | | - | |
564 | | - | |
565 | | - | |
566 | | - | |
567 | | - | |
| 559 | + | |
568 | 560 | | |
569 | 561 | | |
570 | 562 | | |
| |||
620 | 612 | | |
621 | 613 | | |
622 | 614 | | |
623 | | - | |
| 615 | + | |
624 | 616 | | |
625 | 617 | | |
626 | | - | |
| 618 | + | |
627 | 619 | | |
628 | 620 | | |
629 | 621 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
378 | 388 | | |
379 | 389 | | |
380 | 390 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
| 247 | + | |
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
| |||
0 commit comments