mirror of
https://github.com/kjanat/livedash-node.git
synced 2026-01-16 16:52:08 +01:00
feat: implement cache layer, CSP improvements, and database performance optimizations
- Add Redis cache implementation with LRU eviction - Enhance Content Security Policy with nonce generation - Optimize database queries with connection pooling - Add cache invalidation API endpoints - Improve security monitoring performance
This commit is contained in:
@ -119,11 +119,11 @@ export class AuditLogRetentionManager {
|
||||
};
|
||||
|
||||
if (policy.severityFilter && policy.severityFilter.length > 0) {
|
||||
whereClause.severity = { in: policy.severityFilter };
|
||||
whereClause.severity = { in: policy.severityFilter as any };
|
||||
}
|
||||
|
||||
if (policy.eventTypeFilter && policy.eventTypeFilter.length > 0) {
|
||||
whereClause.eventType = { in: policy.eventTypeFilter };
|
||||
whereClause.eventType = { in: policy.eventTypeFilter as any };
|
||||
}
|
||||
|
||||
return whereClause;
|
||||
|
||||
Reference in New Issue
Block a user