Add WafPolicies

This commit is contained in:
Dan Milne
2025-11-10 14:10:37 +11:00
parent af7413c899
commit 772fae7e8b
22 changed files with 1784 additions and 147 deletions

View File

@@ -38,6 +38,7 @@ Rails.application.routes.draw do
# Analytics dashboard
get "analytics", to: "analytics#index"
get "analytics/networks", to: "analytics#networks"
# Root path - analytics dashboard
root "analytics#index"
@@ -66,4 +67,16 @@ Rails.application.routes.draw do
post :enable
end
end
# WAF Policy management
resources :waf_policies, only: [:index, :new, :create, :show, :edit, :update, :destroy] do
member do
post :activate
post :deactivate
end
collection do
get :new_country
post :create_country
end
end
end