gitavscan icon indicating copy to clipboard operation
gitavscan copied to clipboard

Allow to scan specific files/dirs

Open gsantner opened this issue 5 years ago • 2 comments

hey, it would be cool to if it also scanning specific files/dirs in jobs would be possible.

For example, my workflow builds something, fetched dependencies from wherever, and there is a final binary there.
I'm not really interested in scanning the git history, more on what gets into from external.
As post-build step I would like to add a scan "dist/" folder with clamav step then.

gsantner avatar Dec 08 '20 13:12 gsantner

Hello, we need to support an use case very similar to the one described here, @djdefi are PRs welcome on this topic?

gionn avatar Jul 28 '22 16:07 gionn

@gionn yes, I'd be happy to review a pull request for such a feature. Cheers!

djdefi avatar Jul 28 '22 16:07 djdefi

With https://github.com/djdefi/gitavscan/pull/86 it should now be possible to use clamscan's --include option to specify a subset of files to scan.

djdefi avatar Apr 19 '23 18:04 djdefi