Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

OpenVAS image for Docker

A Docker container for OpenVAS 7 on the Ubuntu 14.04 image with EMAIL/HTTPS/LDAP support. By default, the latest images includes the OpenVAS Base as well as the NVTs and Certs required to run OpenVAS.

Requirements

Docker
Ports available: 443, 9390, 9391

LDAP Support

A simple script was added to sync ldap admin user(defined by LDAP_ADMIN_FILTER) with openvas admin users. This is owing to openvas not support full ldap integration but only per-user authentication(click here).

Usage

Simply run:

docker run -d -p 443:443 -p 9390:9390 -p 9391:9391 -e OV_ADMIN_USERNAME=admin -e OV_ADMIN_PASSWORD=openvas xetusoss/openvas

with custom HTTPs:


docker run -d -p 443:443 -p 9390:9390 -p 9391:9391 --name openvas -v /path/to/ssl/certs/:/data -e SSL_PRIVATE_KEY_PATH=/data/openvas.key -e SSL_CERTIFICATE_PATH=/data/openvas.crt -e CA_CERT=/data/ca.crt  -e OV_ADMIN_USERNAME=admin -e OV_ADMIN_PASSWORD=openvas lhan/openvas

with Email support:

docker run -d -p 443:443 -p 9390:9390 -p 9391:9391 -e SMTP_HOST=smtp.server.company.com -e OV_ADMIN_USERNAME=admin -e OV_ADMIN_PASSWORD=openvas xetusoss/openvas

with LDAP support:


docker run -d -p 443:443 -p 9390:9390 -p 9391:9391 --name openvas -e LDAP_HOST=your.ldap.host -e LDAP_BIND_DN=uid=binduid,dc=company,dc=com -e LDAP_BASE_DN=cn=accounts,dc=company,dc=com -e LDAP_AUTH_DN=uid=%s,cn=users,cn=accounts,dc=company,dc=com -e LDAP_ADMIN_FILTER=memberOf=cn=admins,cn=groups,cn=accounts,dc=company,dc=com -e LDAP_PASSWORD=password  -e OV_ADMIN_USERNAME=admin -e OV_ADMIN_PASSWORD=openvas xetusoss/openvas

This will grab the container from the docker registry and start it up. Openvas startup can take some time (4-5 minutes while NVT's are scanned and databases rebuilt), so be patient. Once you see a gasd process in the top command below, the web ui is good to go. Goto https://<machinename>

Username: admin
Password: openvas
# Can be changed by modifing OV_ADMIN_USERNAME and OV_ADMIN_PASSWORD

Thanks

Improved based on mikesplain's great docker image: https://github.com/mikesplain/openvas-docker

Docker Pull Command
Owner
xetusoss
Source Repository

Comments (0)