Migrate to Postgresql for better network handling. Add more user functionality.
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user