Feature Request: Ability to Ignore Specific File Types During Scan
- Dominant language
- Shell
- Stars
- 54
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
### Description
It would be beneficial to have an option that allows users to specify certain file types or patterns to ignore during the scanning process. For instance, users might want to skip scanning large binary files, log files, or any other types of files that are not relevant for security checks but may slow down the scanning process.
### Proposed Implementation
1. **Command Line Option**: Introduce an additional option for `clamscan`, such as `--exclude` that users can set in their workflow configuration.
2. **Usage Example**:
```yaml
on: [push]
jobs:
gitavscan:
runs-on: ubuntu-latest
name: AV scan with exclusions
steps:
- uses: actions/checkout@v3
- name: Git AV Scan
uses: djdefi/gitavscan@main
with:
options: '--exclude=
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.