Nessuna descrizione

config.py 1.3KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. from pydantic_settings import BaseSettings, SettingsConfigDict
  2. class Settings(BaseSettings):
  3. model_config = SettingsConfigDict(env_file=".env", env_file_encoding="utf-8")
  4. app_name: str = "soc-integrator"
  5. app_env: str = "dev"
  6. log_level: str = "INFO"
  7. soc_integrator_internal_key: str = "dev-internal-key"
  8. soc_integrator_db_host: str = "soc-integrator-db"
  9. soc_integrator_db_port: int = 5432
  10. soc_integrator_db_name: str = "soc_integrator"
  11. soc_integrator_db_user: str = "soc_integrator"
  12. soc_integrator_db_password: str = "soc_integrator_password"
  13. wazuh_base_url: str = "https://wazuh.manager:55000"
  14. wazuh_username: str = "wazuh-wui"
  15. wazuh_password: str = "MyS3cr37P450r.*-"
  16. wazuh_indexer_url: str = "https://wazuh.indexer:9200"
  17. wazuh_indexer_username: str = "admin"
  18. wazuh_indexer_password: str = "SecretPassword"
  19. shuffle_base_url: str = "http://shuffle-backend:5001"
  20. shuffle_api_key: str = ""
  21. shuffle_username: str = ""
  22. shuffle_password: str = ""
  23. pagerduty_base_url: str = "http://pagerduty-stub"
  24. pagerduty_api_key: str = ""
  25. iris_base_url: str = "https://iriswebapp_nginx:8443"
  26. iris_api_key: str = ""
  27. iris_default_customer_id: int = 1
  28. iris_default_soc_id: str = ""
  29. settings = Settings()