Files
rengine/shared/enums/notification.py
T
2026-02-09 14:14:26 +05:30

19 lines
658 B
Python

from enum import Enum
class NotificationType(Enum):
SCAN = "scan" # scan specific notifications
SYSTEM = "system" # system-wide notifications like updates
SECURITY = "security" # security alerts like invalid logins
VULNERABILITY = "vulnerability" # vulnerability related notifications
TARGET = "target" # target related notifications like imports
RESOURCE = "resource" # resource related notifications like storage etc limits
INTEGRATION = "integration" # like failed telegram/webhook notifications
class NotificationSeverity(Enum):
SUCCESS = "success"
INFO = "info"
WARNING = "warning"
ERROR = "error"