# HackGPT Enterprise Environment Variables # Copy this file to .env and fill in your actual values # Database Configuration DATABASE_URL=postgresql://hackgpt:hackgpt123@localhost:5432/hackgpt REDIS_URL=redis://localhost:6379/0 # AI Configuration OPENAI_API_KEY=your_openai_api_key_here OPENAI_MODEL=gpt-4 OPENAI_MAX_TOKENS=4096 OPENAI_TEMPERATURE=0.7 # Local LLM Configuration LOCAL_LLM_ENDPOINT=http://localhost:11434 LOCAL_LLM_MODEL=llama2:7b # Security Configuration SECRET_KEY=your_secret_key_here_generate_with_uuid JWT_SECRET_KEY=your_jwt_secret_key_here JWT_ALGORITHM=HS256 JWT_EXPIRY=3600 ENCRYPTION_KEY=your_encryption_key_here_32_chars # LDAP/Active Directory Configuration LDAP_SERVER=ldaps://your-ldap-server.com:636 LDAP_BIND_DN=cn=admin,dc=example,dc=com LDAP_BIND_PASSWORD=your_ldap_password LDAP_BASE_DN=dc=example,dc=com LDAP_USER_FILTER=(&(objectClass=person)(uid=%s)) LDAP_GROUP_FILTER=(&(objectClass=group)(member=%s)) # Cloud Services Configuration DOCKER_HOST=unix:///var/run/docker.sock KUBECONFIG=/path/to/kubeconfig SERVICE_REGISTRY_BACKEND=consul # AWS Configuration AWS_ACCESS_KEY_ID=your_aws_access_key AWS_SECRET_ACCESS_KEY=your_aws_secret_key AWS_REGION=us-east-1 AWS_S3_BUCKET=hackgpt-reports # Azure Configuration AZURE_SUBSCRIPTION_ID=your_azure_subscription_id AZURE_CLIENT_ID=your_azure_client_id AZURE_CLIENT_SECRET=your_azure_client_secret AZURE_TENANT_ID=your_azure_tenant_id # Google Cloud Configuration GCP_PROJECT_ID=your_gcp_project_id GCP_SERVICE_ACCOUNT_FILE=/path/to/service-account.json GCP_REGION=us-central1-a # Monitoring and Observability PROMETHEUS_ENDPOINT=http://localhost:9090 GRAFANA_ENDPOINT=http://localhost:3000 GRAFANA_API_KEY=your_grafana_api_key ELASTICSEARCH_ENDPOINT=http://localhost:9200 ELASTICSEARCH_USERNAME=elastic ELASTICSEARCH_PASSWORD=your_elasticsearch_password # Third-party API Keys SHODAN_API_KEY=your_shodan_api_key CENSYS_API_ID=your_censys_api_id CENSYS_API_SECRET=your_censys_api_secret VIRUSTOTAL_API_KEY=your_virustotal_api_key HYBRID_ANALYSIS_API_KEY=your_hybrid_analysis_api_key # Notification Settings SLACK_WEBHOOK_URL=https://hooks.slack.com/services/your/webhook/url SLACK_TOKEN=your_slack_bot_token SLACK_CHANNEL=#security-alerts DISCORD_WEBHOOK_URL=https://discord.com/api/webhooks/your/webhook/url DISCORD_BOT_TOKEN=your_discord_bot_token EMAIL_SMTP_SERVER=smtp.gmail.com EMAIL_SMTP_PORT=587 EMAIL_USERNAME=your_email@gmail.com EMAIL_PASSWORD=your_email_password EMAIL_USE_TLS=true EMAIL_FROM=hackgpt@yourcompany.com EMAIL_TO_ALERTS=security-team@yourcompany.com # Webhook Configuration WEBHOOK_URL=https://your-webhook-endpoint.com/alerts WEBHOOK_SECRET=your_webhook_secret # Logging Configuration LOG_LEVEL=INFO LOG_FORMAT=json LOG_FILE=/var/log/hackgpt/hackgpt.log LOG_ROTATION=daily LOG_RETENTION=30 # Performance Settings MAX_WORKERS=10 WORKER_TIMEOUT=300 MAX_CONCURRENT_SCANS=5 CACHE_TTL=3600 # Security Settings RATE_LIMIT_ENABLED=true RATE_LIMIT_REQUESTS=100 RATE_LIMIT_WINDOW=3600 PASSWORD_HASH_ROUNDS=12 # Feature Flags ENABLE_VOICE=true ENABLE_WEB_DASHBOARD=true ENABLE_REALTIME_DASHBOARD=true ENABLE_API_SERVER=true ENABLE_CLOUD_DEPLOYMENT=true ENABLE_COMPLIANCE_FRAMEWORK=true ENABLE_ZERO_DAY_DETECTION=true ENABLE_ADVANCED_EXPLOITATION=false ENABLE_AUTO_EXPLOIT=false # Compliance Settings COMPLIANCE_FRAMEWORKS=OWASP,NIST,ISO27001,SOC2,PCI-DSS AUTO_COMPLIANCE_CHECK=true GENERATE_COMPLIANCE_REPORTS=true # API Server Settings API_HOST=0.0.0.0 API_PORT=8000 API_WORKERS=4 API_TIMEOUT=300 API_KEY_REQUIRED=true CORS_ENABLED=true CORS_ORIGINS=* # Web Dashboard Settings WEB_HOST=0.0.0.0 WEB_PORT=8080 WEB_SSL_ENABLED=false WEB_SSL_CERT_PATH=/path/to/cert.pem WEB_SSL_KEY_PATH=/path/to/key.pem # Session Management SESSION_COOKIE_SECURE=true SESSION_COOKIE_HTTPONLY=true SESSION_LIFETIME=3600 SESSION_SECRET_KEY=your_session_secret_key # Backup Configuration AUTO_BACKUP=true BACKUP_INTERVAL=24 BACKUP_RETENTION=30 BACKUP_COMPRESSION=true BACKUP_ENCRYPTION=true LOCAL_BACKUP_PATH=/var/backups/hackgpt REMOTE_BACKUP_ENABLED=false REMOTE_BACKUP_URL=s3://your-backup-bucket/hackgpt/ # Development Settings (only for development) DEBUG=false DEBUG_TOOLBAR=false RELOAD_ON_CHANGE=false PROFILING_ENABLED=false MOCK_SERVICES=false # Testing Environment TEST_DATABASE_URL=postgresql://test:test@localhost:5432/hackgpt_test TEST_REDIS_URL=redis://localhost:6379/15