Secure-Compliance-Solutions-LLC / GVM-Docker

Greenbone Vulnerability Management Docker Image with OpenVAS
https://securecompliance.gitbook.io/projects/
MIT License
249 stars 91 forks source link

About update Feeds #326

Closed n11dmeo closed 2 years ago

n11dmeo commented 2 years ago

Dear: How to update Feeds manually?

markdesilva commented 2 years ago

I think in /opt/setup/scripts there is a shell script "sync-all.sh". But restarting the docker container will automatically update the feeds as the container restarts.

landonstewart commented 2 years ago

I think in /opt/setup/scripts there is a shell script "sync-all.sh". But restarting the docker container will automatically update the feeds as the container restarts.

Is there a way to not update every time the container starts?

Dexus commented 2 years ago

I think in /opt/setup/scripts there is a shell script "sync-all.sh". But restarting the docker container will automatically update the feeds as the container restarts.

Is there a way to not update every time the container starts?

there is a automatic update included that is running every day https://github.com/Secure-Compliance-Solutions-LLC/GVM-Docker/blob/master/config/supervisord.conf#L164-L180

v1c5anchez commented 2 years ago

I think in /opt/setup/scripts there is a shell script "sync-all.sh". But restarting the docker container will automatically update the feeds as the container restarts.

Is there a way to not update every time the container starts?

Maybe by commenting out the line that spawns the update process?:

https://github.com/Secure-Compliance-Solutions-LLC/GVM-Docker/blob/master/scripts/start.sh#L212