Bez popisu

config.py 1.1KB

12345678910111213141516171819202122232425262728293031323334353637
  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. shuffle_base_url: str = "http://shuffle-backend:5001"
  17. shuffle_api_key: str = ""
  18. shuffle_username: str = ""
  19. shuffle_password: str = ""
  20. pagerduty_base_url: str = "http://pagerduty-stub"
  21. pagerduty_api_key: str = ""
  22. iris_base_url: str = "https://iriswebapp_nginx:8443"
  23. iris_api_key: str = ""
  24. iris_default_customer_id: int = 1
  25. iris_default_soc_id: str = ""
  26. settings = Settings()