diff --git a/pkg/engine/clamav_exec.go b/pkg/engine/clamav_exec.go index 4e6bb2a..d87e066 100644 --- a/pkg/engine/clamav_exec.go +++ b/pkg/engine/clamav_exec.go @@ -21,7 +21,7 @@ func init() { func (c *clamAVEngine) Execute(ctx context.Context, _ *avv1beta1.VirusScan, scanDirs []string) (*ScanReport, error) { stdout := bytes.Buffer{} - args := []string{"-i", "--no-summary"} + args := []string{"-i", "--no-summary", "--recursive"} args = append(args, scanDirs...) tee := io.MultiWriter(&stdout, os.Stdout)