How to get current feed versions (NVT, SCAP, CERT, GVMD_DATA) from the shell?

Hi everyone,

I was able to solve it. I’m using a Docker-based setup and created a dedicated container (Alpine-based) that runs a docker exec into the Greenbone container on a schedule via cron.

Inside the main container, I call all the individual feed sync commands (greenbone-nvt-sync, greenbone-scapdata-sync, greenbone-certdata-sync, and greenbone-feed-sync --type GVMD_DATA) and write their output to a central log file.

This way, I have both the feed sync logs and timestamps available, and I can parse or forward them as needed for monitoring.

Thanks,
Marc