Skip to content

Commit

Permalink
feat(STONEINTG-1030): added db version to clamav report
Browse files Browse the repository at this point in the history
Signed-off-by: Pat O'Connor <[email protected]>
  • Loading branch information
chipspeak authored and dirgim committed Sep 11, 2024
1 parent dce379e commit b78b6a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion task/clamav-scan/0.1/clamav-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ spec:
--alert-encrypted=yes --alert-encrypted-archive=yes --alert-encrypted-doc=yes --alert-macros=yes \
--alert-phishing-ssl=yes --alert-phishing-cloak=yes --alert-partition-intersection=yes \
| tee /work/logs/clamscan-result-$arch.log || true
echo "Executed-on: Scan was executed on version - $(clamscan --version)" | tee -a /work/logs/clamscan-result-$arch.log
db_version=$(sigtool --info /var/lib/clamav/daily.cvd | grep 'Version')
echo "Executed-on: Scan was executed on clamscan version - $(clamscan --version) Database $db_version" | tee -a "/work/logs/clamscan-result-$arch.log"
digests_processed+=("\"$arch_sha\"")
Expand Down

0 comments on commit b78b6a3

Please sign in to comment.