User Tools

Site Tools


toolsandtechnologies:greenbone_security_assistant

This is an old revision of the document!


Greenbone Security Assistant

Details

Accessible at Greenbone GSA - Moved to Greenbone GSA Feed Status 21.4.3

2021/12/21 - Version 20.08.0~git-fdd51705e-gsa-20.08

Feed Status

Visible at the feed status page

Manual updates currently (2021/12)

  1. Login to server as ubuntu@
  2. sudo su gvm
  3. cd /opt/gvm
  4. ./manual-greenbone-feed-sync.sh

Logging is recorded in gvm@errigal-openvas:/opt/gvm/gvm_log


  • cat manual-sync.log
  • 2021-12-21 16:16:43 Start GVM_DATA Sync
  • 2021-12-21 16:16:43 Start SCAP Sync
  • 2021-12-21 16:16:43 Start CERT Sync
  • 2021-12-21 16:16:43 Start CERT NVT Sync
  • 2021-12-21 16:16:43 Completed CERT NVT Sync

—-

New Install / Initial execution

On install, the feeds can sometimes be wiped, so the following commands should be executed


  • sudo su gvm
  • greenbone-feed-sync –type GVMD_DATA
  • greenbone-scapdata-sync
  • greenbone-certdata-sync
  • greenbone-nvt-sync –rsync

—-

this should create a feeds folder at /var/lib/gvm as follows


  • scap-data
  • cert-data
  • data-objects

—-

Scanner Connection problems

Could not connect to Scanner

md manage:WARNING:2022-02-16 21h55.57 UTC:3858146: Could not connect to Scanner at /opt/gvm/var/run/ospd.sock md manage:WARNING:2022-02-16 21h55.57 UTC:3858146: OSP start_scan 1a77266d-fa7e-428e-b25c-2a2f8fa16ca3: Could not connect to Scanner

Issue: The installation places the ospd.sock file at a different location than the expected /opt/gvm/var/run/ospd.sock

Resolution is to update the location as follows

  1. gvmd –get-scanners
  2. gvmd –modify-scanner=08b69003-5fc2-4037-a479-93b440211c73 –scanner-host=/opt/gvm/var/run/ospd.sock

The scanner UUID is the value returned by the gvmd –get-scanners response for the Openvas default scanner

as per

* 08b69003-5fc2-4037-a479-93b440211c73 OpenVAS /opt/gvm/var/run/ospd.sock 0 OpenVAS Default

Feeds aging

* check the /var/lib/gvm folder for a feed-status.lock file. If this exists then no feed updates will happen. Remove file and re-run the syncs again

Report Monitoring

Tasks
toolsandtechnologies/greenbone_security_assistant.1646419771.txt.gz · Last modified: 2022/03/04 18:49 by 10.91.120.28