I have used clamav for years in a jail on truenas core and over that time i have developed my own script to run the scans and email me a report of the scan. I run this script via cronjob monthly.
On truenas scale my understanding is that we can install clamav from the truecharts catalog and its settings has a cron section where we can set a schedule for the scans.
All that is great but i prefer to run the scans via my script as i would like to receive an email with the results of the scans.
Can this be done? Do any of you know how can i use my own script to run scans with the clamav app in truenas scale?
I don't mind modifying the script but the main limitation i have is that i don't know how to pass a command from the truenas scale host to the clamav kubernetes pod. (I'm not well versed in kubernetes).
On truenas scale my understanding is that we can install clamav from the truecharts catalog and its settings has a cron section where we can set a schedule for the scans.
All that is great but i prefer to run the scans via my script as i would like to receive an email with the results of the scans.
Can this be done? Do any of you know how can i use my own script to run scans with the clamav app in truenas scale?
I don't mind modifying the script but the main limitation i have is that i don't know how to pass a command from the truenas scale host to the clamav kubernetes pod. (I'm not well versed in kubernetes).