- 03 Mar, 2025 2 commits
-
-
qiuqunfeng authored
- Modify `WafService` struct to include listener information - Update `GetWaf` method to retrieve and format listener details - Enhance `ListListenerWafStatus` to return hosts for each listener - Remove commented-out code and unused port list logic
-
qiuqunfeng authored
- Modify `ListenerWaf` struct to use single `HostsAndPort` field instead of separate `Hosts` and `Port` - Update `EnableListenerWafsReq` to use `ListenerWaf` slice for listeners - Change `waf_services` table migration to use `BIGINT` and `AUTO_INCREMENT` - Adjust `EnableListenerWafs` method to parse new listener format - Add logging for listener name during WAF configuration
-
- 01 Mar, 2025 1 commit
-
-
qiuqunfeng authored
- Added `Name` field to `ListenerWaf` struct in `internal/service/types.go` - Updated Go module dependencies, adding Elasticsearch client library - Removed `CreateListener` method from `waf.go` service
-
- 28 Feb, 2025 1 commit
-
-
qiuqunfeng authored
- Updated `EnableListenerWafsReq` struct to use string slice for listeners - Modified WAF service method to parse listener string into hosts and port - Simplified listener WAF configuration logic to work with new listener representation - Added error handling for port parsing and listener format validation
-
- 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 2 commits
-
-
qiuqunfeng authored
-
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
-