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
- Command Line Option: Introduce an additional option for
clamscan, such as --exclude that users can set in their workflow configuration.
- Usage Example:
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=