How to update feed status


#1

Hi All,

I am very new to Kali linux.

Have installed Greenbone Security Assistant the feed status for NVT is 7 days old, SCAP is 8 days old, CERT is 8 days old.

Kindly assist in updating feeds.

Regards
ganraya3000
:slight_smile:


#2

There are scripts in /usr/local/sbin to update the feeds. You can also create a cronjob that runs once a day to update your feeds.

I’ve created a script /usr/local/sbin/update-greenbone-feeds

#!/bin/bash
/usr/local/sbin/greenbone-nvt-sync
/usr/local/sbin/greenbone-certdata-sync
/usr/local/sbin/greenbone-scapdata-sync

and added that via sudo crontab -e

1 1 * * * /usr/local/sbin/update-greenbone-feeds 1>/dev/null 2>/dev/null

so it runs every night at 1:01 am :slight_smile:

Best regards,

Chris


#3

Thanks a lot for your assistance, Chris, had to run it manually, couldn’t find /usr/local have bin & share folder.

Regards
ganraya3000
:slight_smile:


#4

The location of the files depends on your installation :slight_smile: Just adjust it to your needs