mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-01-06 05:48:17 -05:00
Alpine Docker tests
This is intended to be run as Root user as permissions are altered. It will create and analyze the results of various configurations on containers. The test craeates a container, logs the results, terminates the container, then starts the next test 0. No errors on startup
- missing config/db generation
- After config/db generation
- root user mount on
- /app/db
- /app/config
- /app/log
- /app/api
- /services/config/nginx/conf.active
- /services/run/
- 000 permissions on
- /app/db
- /app/db/app.db
- /app/config
- /app/config/app.conf
- /app/log
- /app/api
- /services/config/nginx/conf.active
- /services/run/
- Container read-only missing mounts
- /app/db
- /app/config
- /app/log
- /app/api
- /services/config/nginx/conf.active
- /services/run/
- Custom port/listen address without /services/config/nginx/conf.active mount
- Missing cap NET_ADMIN, NET_RAW, NET_BIND_SERVICE
- Run as Root user
- Run as user 1000
- Run without network_mode host
- Missing /app/config/app.conf
- Missing /app/db/app.db
- Ramdisk mounted on
- /app/config
- /app/db