GVM 20.08 how to keep it updated

How would I go about keeping the feeds updated?
I was thinking about creating a script with below commands to run on a regular basis:

/usr/sbin/greenbone-feed-sync --type GVMD_DATA
/usr/sbin/greenbone-feed-sync --type SCAP
/usr/sbin/greenbone-feed-sync --type CERT

Below commands were for the older versions. Are these needed on 20.08?

/usr/sbin/openvasmd --update --verbose --progress
/etc/init.d/openvas-manager restart
/etc/init.d/openvas-scanner restart

Greenbone Security Assistant 20.08.0
Greenbone Vulnerability Manager 20.08.0
OpenVAS 20.8.0
gvm-libs 20.8.0
CentOS Linux release 8.2.2004 (Core)
Linux localhost.localdomain 4.18.0-193.19.1.el8_2.x86_64 #1 SMP Mon Sep 14 14:37:00 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

You can find the info on how to keep the gvmd related feeds in sync is available here:

https://github.com/greenbone/gvmd/blob/v20.8.0/INSTALL.md#keeping-the-feeds-up-to-date

In addition running the greenbone-nvt-sync from openvas is required as well.

Not sure where the info about restarting openvas-manager and openvas-scanner is coming from. This was never required and is still not required. If you’re using the sync scripts greenbone-nvt-sync and greenbone-feed-sync provided with GVM all feed updates happen automatically in the background (given that all GVM components like gvmd and ospd-openvas are in a working state and up and running).

2 Likes