Releases: Secure-Compliance-Solutions-LLC/GVM-Docker
Releases · Secure-Compliance-Solutions-LLC/GVM-Docker
Hotfix
Creation of Docker Compose File & Fixed firstrun and firstsync
- Fix firstrun and firstsync #179
Added
/data/
tofirstrun
andfirstsync
Result
/data/firstrun
/data/firstsync
- Create docker-compose file #186
version: "3"
services:
gvm:
image: securecompliance/gvm
volumes:
- <path to data>:/data
environment:
- USERNAME="admin"
- PASSWORD="admin"
- RELAYHOST="smtp"
- SMTPPORT=25
- AUTO_SYNC=true
- HTTPS=true
- TZ="UTC"
- SSHD=false
- DB_PASSWORD="none"
ports:
- "8080:9392" # Web interface
#- "5432:5432" # Access PostgreSQL database from external tools
#- "2222:22" # SSH for remote sensors
restart: unless-stopped
If you test this new release and run into any issues please add your comments to this release discussion and please make sure to include the following information
Host Device:
- OS:
- Version:
Disabled Weak SSL and Add Tar download for First Sync
- Disable weak SSL ciphers and TLS protocols for gvmd API #174
su -c "gvmd --listen=0.0.0.0 --port=9390 --gnutls-priorities=SECURE128:-AES-128-CBC:-CAMELLIA-128-CBC:-VERS-SSL3.0:-VERS-TLS1.0:-VERS-TLS1.1" gvm
- Add tar download for first sync #177
if [ ! -f "/firstsync" ]; then
echo "Downloading data TAR to speed up first sync..."
curl -o /tmp/data.tar.xz https://vulndata.securecompliance.solutions/file/VulnData/data.tar.xz # This file is updated at 0:00 UTC every day
mkdir /tmp/data
echo "Extracting data TAR..."
tar --extract --file=/tmp/data.tar.xz --directory=/tmp/data
mv /tmp/data/nvt-feed/* /usr/local/var/lib/openvas/plugins
mv /tmp/data/gvmd-data/* /usr/local/var/lib/gvm/data-objects
mv /tmp/data/scap-data/* /usr/local/var/lib/gvm/scap-data
mv /tmp/data/cert-data/* /usr/local/var/lib/gvm/cert-data
chown gvm:gvm -R /usr/local/var/lib/openvas/plugins
chown gvm:gvm -R /usr/local/var/lib/gvm/data-objects
chown gvm:gvm -R /usr/local/var/lib/gvm/scap-data
chown gvm:gvm -R /usr/local/var/lib/gvm/cert-data
rm /tmp/data.tar.xz
rm -r /tmp/data
fi
If you test this new release and run into any issues please add your comments to this release discussion and please make sure to include the following information
Host Device:
- OS:
- Version:
21.4.0-v2
If you are upgrading from an older version please run docker exec --user gvm -it gvmd --rebuild
after first start or your reports may look broken.
21.4.0-v1
21.4.0-v1
21.4.0
21.4.0
20.8.1-v1
Changes: 20.08-v2...20.8.1-v1