sui_security_watchdog/
lib.rsuse clap::Parser;
use std::path::PathBuf;
mod metrics;
mod pagerduty;
mod query_runner;
pub mod scheduler;
#[derive(Parser, Clone, Debug)]
#[clap(
name = "Sui Security Watchdog",
about = "Watchdog service to monitor chain data.",
rename_all = "kebab-case"
)]
pub struct SecurityWatchdogConfig {
#[clap(long)]
pub pd_wallet_monitoring_service_id: String,
#[clap(long)]
pub config: PathBuf,
#[clap(long, default_value = None, global = true)]
pub sf_account_identifier: Option<String>,
#[clap(long, default_value = None, global = true)]
pub sf_warehouse: Option<String>,
#[clap(long, default_value = None, global = true)]
pub sf_database: Option<String>,
#[clap(long, default_value = None, global = true)]
pub sf_schema: Option<String>,
#[clap(long, default_value = None, global = true)]
pub sf_username: Option<String>,
#[clap(long, default_value = None, global = true)]
pub sf_role: Option<String>,
#[clap(long, default_value = "127.0.0.1", global = true)]
pub client_metric_host: String,
#[clap(long, default_value = "8081", global = true)]
pub client_metric_port: u16,
}