Fleet alerts push server notifications to endpoint PCs via the command pipe. Operators acknowledge alerts via toast UI in the tray. Backend tracks acknowledgements per asset to prevent re-showing dismissed alerts. Backend: alertfleet/alertscope/alerttimeout columns, GET/POST /api/endpoints/alerts, NotificationAcknowledgement model with unique constraint, hostname validation. Frontend: Alert Fleet checkbox in notification form. Agent: FleetAlertClient polls alerts, FleetAlertStore tracks acknowledged IDs, FleetAlertForm displays toast (no auto-dismiss), FleetAlertWorker 60s polling. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
7 lines
235 B
Python
7 lines
235 B
Python
"""Notifications plugin models."""
|
|
|
|
from .notification import Notification, NotificationType
|
|
from .acknowledgement import NotificationAcknowledgement
|
|
|
|
__all__ = ['Notification', 'NotificationType', 'NotificationAcknowledgement']
|