- 28 Mar, 2025 1 commit
-
-
qiuqunfeng authored
- Introduce a new GET endpoint for listing attack classes in the WAF router. - Implement AttackClassesList method in WafController to handle requests and return attack class data based on the specified language. - Enhance the WAF service with ListAttackClasses method to retrieve attack classes and support localization for descriptions. - Define AttackClasses struct to standardize the response format for attack class data.
-
- 20 Mar, 2025 2 commits
-
-
qiuqunfeng authored
- Introduce a new GET endpoint for listing listener history in the WAF router. - Implement ListListenerHistory method in the WafController to handle requests and return paginated results based on query parameters. - Enhance the WAF service to log listener creation and deletion events, capturing relevant details for auditing purposes. - Update the WafListenerHistory model and service methods to support querying and storing listener history data effectively.
-
qiuqunfeng authored
- Update the GetBlackWhiteLists method in both the service and controller layers to return the total number of items alongside the list of MatcherExpr. - Modify response structure in the controller to include total items for improved client-side handling. - Ensure proper error handling and maintain existing functionality while enhancing data retrieval capabilities.
-
- 18 Mar, 2025 1 commit
-
-
qiuqunfeng authored
- Introduce ListWafs method in WafController to retrieve a list of WAF services - Update WAF router to include new GET routes for listing WAFs - Implement ListWafs method in the service layer to fetch WAF data from the database - Enhance the MatcherExpr and WafService structures to support new functionality
-
- 17 Mar, 2025 1 commit
-
-
qiuqunfeng authored
- Implement Create, Update, Enable, Delete, and Get methods for managing Black/White Lists - Introduce new routes in the WAF router for handling Black/White List operations - Update service and model layers to support new functionality - Refactor cluster client management to accommodate new Kubernetes client structure
-
- 06 Mar, 2025 1 commit
-
-
qiuqunfeng authored
- Integrate Elasticsearch client for querying WAF attack logs - Add new API endpoints for listing attack logs and WAF rules - Implement pagination and filtering for attack log retrieval - Support language-based rule category display - Update service and controller layers to support new functionality
-
- 26 Feb, 2025 1 commit
-
-
qiuqunfeng authored
- Introduced new API endpoint and service method to enable/disable WAF for multiple listeners - Updated router, controller, and service to support bulk listener WAF operations - Added new request type `EnableListenerWafsReq` to handle multiple listener configurations - Implemented logic to add or remove WAF configurations for specific listeners based on input
-
- 18 Feb, 2025 1 commit
-
-
qiuqunfeng authored
- Modified SQL migration to add 'hosts' column to gateway_listeners table - Updated model, service, and controller to support hosts in gateway listener operations - Added new GetWafGatewayInfo method to retrieve WAF gateway information - Refactored WAF service methods to handle hosts and improve flexibility
-
- 15 Feb, 2025 1 commit
-
-
qiuqunfeng authored
-
- 06 Feb, 2025 2 commits
-
-
qiuqunfeng authored
-
qiuqunfeng authored
-
- 05 Feb, 2025 1 commit
-
-
qiuqunfeng authored
-