diff --git a/backend/internal/services/security_service.go b/backend/internal/services/security_service.go index dc8b4e39..5fe756e8 100644 --- a/backend/internal/services/security_service.go +++ b/backend/internal/services/security_service.go @@ -150,6 +150,7 @@ func (s *SecurityService) Upsert(cfg *models.SecurityConfig) error { existing.WAFParanoiaLevel = cfg.WAFParanoiaLevel existing.WAFExclusions = cfg.WAFExclusions existing.RateLimitEnable = cfg.RateLimitEnable + existing.RateLimitMode = cfg.RateLimitMode existing.RateLimitBurst = cfg.RateLimitBurst existing.RateLimitRequests = cfg.RateLimitRequests existing.RateLimitWindowSec = cfg.RateLimitWindowSec diff --git a/scripts/rate_limit_integration.sh b/scripts/rate_limit_integration.sh index eba9bf35..3b91405e 100755 --- a/scripts/rate_limit_integration.sh +++ b/scripts/rate_limit_integration.sh @@ -263,6 +263,7 @@ SEC_CFG_PAYLOAD=$(cat <