19 lines
691 B
TypeScript
19 lines
691 B
TypeScript
/** Security alert row from `security_alerts`. */
|
|
export type SecurityAlert = {
|
|
id: string;
|
|
user_id: string | null;
|
|
severity: 'low' | 'medium' | 'high' | 'critical';
|
|
alert_type: string;
|
|
status: 'open' | 'investigating' | 'resolved' | 'dismissed';
|
|
title: string;
|
|
details_encrypted: string | null;
|
|
metadata: Record<string, unknown> | null;
|
|
resolved_by: string | null;
|
|
resolved_at: Date | null;
|
|
resolution_note_encrypted: string | null;
|
|
created_at: Date;
|
|
updated_at: Date;
|
|
};
|
|
export type SecurityAlertSeverity = SecurityAlert['severity'];
|
|
export type SecurityAlertStatus = SecurityAlert['status'];
|
|
//# sourceMappingURL=security.model.d.ts.map
|