Update security configuration

Updates the security policies for a gateway, including IP filtering, CORS, and request validation settings.