prorm API Reference
    Preparing search index...

    Interface SecurityMonitorOptions

    interface SecurityMonitorOptions {
        frameworks?: string[];
        alertLevel?: AlertSeverity;
        onAlert?: (alert: SecurityAlert) => void;
        detectSQLInjection?: boolean;
        monitorSlowQueries?: boolean;
        slowQueryThreshold?: number;
        detectExfiltration?: boolean;
        detectComplianceViolations?: boolean;
        maxAlerts?: number;
        rateLimitThreshold?: number;
        detectAnomalies?: boolean;
        bulkOperationThreshold?: number;
    }
    Index
    frameworks?: string[]

    Active compliance frameworks

    alertLevel?: AlertSeverity

    Minimum severity level to alert on

    onAlert?: (alert: SecurityAlert) => void

    Callback for real-time alerts

    detectSQLInjection?: boolean

    Enable SQL injection detection

    monitorSlowQueries?: boolean

    Enable slow query monitoring

    slowQueryThreshold?: number

    Slow query threshold in ms

    detectExfiltration?: boolean

    Enable data exfiltration detection

    detectComplianceViolations?: boolean

    Enable compliance violation detection

    maxAlerts?: number

    Maximum alerts to keep in memory

    rateLimitThreshold?: number

    Rate limit (queries per minute) per user

    detectAnomalies?: boolean

    Enable anomaly detection

    bulkOperationThreshold?: number

    Bulk operation threshold