Migrate to Postgresql for better network handling. Add more user functionality.

This commit is contained in:
Dan Milne
2025-11-06 14:08:39 +11:00
parent 85252a1a07
commit fc567f0b91
69 changed files with 4266 additions and 952 deletions

View File

@@ -428,7 +428,8 @@ suspicious_paths = Event.where(waf_action: :deny)
.pluck(:request_segment_ids)
suspicious_paths.each do |seg_ids|
RuleSet.global.block_path_segments(seg_ids)
# TODO: Implement rule creation for blocking path segments
# Rule.create!(rule_type: 'path_pattern', conditions: { patterns: seg_ids }, action: 'deny')
end
```