Automate gvm and nvt data sync


x-mas is comming and so we decided to share some knowledge, maybe it is helpful for others as well.

Syncing is a daily job and screams for automation. This gitlab ci pipeline example might help in solving this task. In the snippets repo you will find also an example of how to sync back from the s3 bucket onto your various local scan systems. The pretty cool thing is, you will use your locally synced data and this reduces the load put onto the community feed rsync server in case you are using more than one gvm system. This is how it will look inside your gitlab environment:

You could also use systemd to do the the rsync from greenbone, but than it is not that graphically visible :sunglasses:


1 Like