23 lines
660 B
TypeScript
23 lines
660 B
TypeScript
export type SecurityRealtimeEvent = {
|
|
type: 'security.alert.raised';
|
|
alertId: string;
|
|
severity: string;
|
|
title: string;
|
|
alertType: string;
|
|
} | {
|
|
type: 'security.alert.resolved';
|
|
alertId: string;
|
|
} | {
|
|
type: 'security.tamper.detected';
|
|
eventId: string;
|
|
tableName: string;
|
|
severity: string;
|
|
} | {
|
|
type: 'security.notification.new';
|
|
} | {
|
|
type: 'security.audit.new';
|
|
action: string;
|
|
};
|
|
/** Publishes a security event to subscribed admin WebSocket clients. */
|
|
export declare function publishSecurityAdminEvent(event: SecurityRealtimeEvent): Promise<void>;
|
|
//# sourceMappingURL=securityRealtimeService.d.ts.map
|