gitavscan icon indicating copy to clipboard operation
gitavscan copied to clipboard

Feature Request: Ability to Ignore Specific File Types During Scan

Open grasmarcussanti129 opened this issue 7 months ago • 0 comments

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:
    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=
    

grasmarcussanti129 avatar Sep 27 '25 12:09 grasmarcussanti129