Path matching
This commit is contained in:
@@ -41,10 +41,11 @@ class EventNormalizer
|
||||
return unless raw_action.present?
|
||||
|
||||
action_enum = case raw_action.to_s.downcase
|
||||
when 'allow', 'pass' then :allow
|
||||
when 'deny', 'block' then :deny
|
||||
when 'challenge' then :challenge
|
||||
when 'allow', 'pass' then :allow
|
||||
when 'redirect' then :redirect
|
||||
when 'challenge' then :challenge
|
||||
when 'log', 'monitor' then :log
|
||||
else :allow
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user