Files
vulncheck/entrypoint.sh
T
vulncheck 6969d0c62e Initial release v1.0.0
VulnCheck - Open Source Vulnerability Management for Wazuh

Features:
- Vulnerability management with Wazuh integration
- AI-powered CVE analysis (OpenAI, Anthropic, Google, DeepSeek, Ollama, Infomaniak)
- SLA policy enforcement with automated email alerts
- Automated patch verification via Wazuh Syscollector
- Role-based access control (Admin, Editor, Readonly)
- PDF/CSV reporting for compliance workflows
- Full audit trail

https://gitea.isuit.ch/vulncheck/vulncheck
2026-02-08 10:15:20 +01:00

20 lines
419 B
Bash
Executable File

#!/bin/bash
set -e
echo "⏳ Waiting for PostgreSQL..."
# Wait for PostgreSQL to be ready
until pg_isready -h "$POSTGRES_HOST" -U "$POSTGRES_USER" -d "$POSTGRES_DB"; do
echo " (waiting for database...)"
sleep 2
done
echo "✅ PostgreSQL is up!"
echo "🔄 Running Database Migrations..."
# Run migrations
alembic upgrade head
echo "🚀 Starting Uvicorn Server..."
# Execute the passed command (CMD)
exec "$@"