Crontab entry to update NVT, SCAP and CERT feeds

Hi,

I am running the below versions.

gsad --version
Greenbone Security Assistant 20.08.0
gvmd --version
Greenbone Vulnerability Manager 20.08.0
openvas --version
OpenVAS 20.8.0
gvm-libs 20.8.0
Most new code since 2005: (C) 2020 Greenbone Networks GmbH
Nessus origin: (C) 2004 Renaud Deraison deraison@nessus.org
License GPLv2: GNU GPL version 2
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
uname -a
Linux openvas 4.18.0-240.1.1.el8_3.x86_64 #1 SMP Thu Nov 19 17:20:08 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
cat /etc/redhat-release
CentOS Linux release 8.3.2011

crontab -l
1 1 * * * /usr/bin/gvm-setup 1>/dev/null 2>/dev/null

Please suggest if the above frequency in crontab entry is correct to update the three feeds NVT, SCAP, and CERT. Thanks in Advance. I look forward to hearing from you.

Best Regards,

Kaushal

Please note that gvm-setup is a third party script of Kali / Debian / Atomicorp not provided by Greenbone. Not sure about it’s functionality but calling something which has setup in it’s name regularly doesn’t sound like an overall good idea.

The documentation how to keep the gvmd related feeds up to date / in sync can be found below. As all GVM feeds are getting updates once a day (not sure about the time the update for the GCF is done) you only need to call it one a day).

Please make sure to read the documentation of the used packages and check how / with which user the feeds needs to be synced as this might be specific to your environment (e.g. a different user might be used).

1 Like