- Create a new script `run.sh` for initializing and launching the GVM add-on. - Ensure required environment variables `USERNAME` and `PASSWORD` are set. - Set the timezone if the `TZ` variable is provided. - Initialize a data directory at `/data` if it does not exist. - Launch the GVM service and log output to a file. fix(sonarqube): fix config.json
Home Assistant Add-on: GVM (OpenVAS)
This Home Assistant add-on deploys the GVM (OpenVAS) vulnerability scanner inside a Docker container.
🚀 Features
- Full GVM Scanner in a managed container
- Web UI available on port
9392 - Username and password configurable from UI
⚙️ Configuration
Example options in config.json:
{
"username": "admin",
"password": "changeme",
"ui_port": 9392,
"TZ": "Europe/Rome",
"HTTPS": "false",
"SSHD": "true",
"DB_PASSWORD": "changeme"
}
🌐 Access
Once installed, access the GVM web interface at:
http://<your-home-assistant-ip>:9392
📂 Repository Structure
gvm/
├── CHANGELOG.md # Changelog for the add-on
├── config.json # Add-on configuration definition
├── Dockerfile # Dockerfile for the GVM container
├── icon.png # Icon for the add-on
├── logo.png # Logo for the add-on
├── README.md # This file
└── run.sh # Startup script for GVM
🛡 Security
⚠️ Always use strong passwords and ensure secure network settings, especially for database connections.
Made with ❤️ for automation and resilience.