feat: show notification source (agent vs SAC) in alerts and reports
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -66,7 +66,8 @@ def send_telegram_test_message(*, config: TelegramConfig | None = None) -> None:
|
||||
if not cfg.configured:
|
||||
raise TelegramNotConfiguredError("Не задан bot token или chat_id")
|
||||
send_telegram_text(
|
||||
"✅ <b>SAC: тестовое сообщение</b>\nКанал Telegram для оповещений работает.",
|
||||
"✅ <b>SAC: тестовое сообщение</b>\nКанал Telegram для оповещений работает.\n"
|
||||
"📡 Оповещение: SAC (Security Alert Center)",
|
||||
config=cfg,
|
||||
force=True,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user