- 25 Jun, 2025 2 commits
-
-
qiuqunfeng authored
-
qiuqunfeng authored
Refactor import statements in cmd.go and app.go for improved organization; add logging in WafLogController for better traceability of proxy requests.
-
- 23 Jun, 2025 1 commit
-
-
qiuqunfeng authored
Refactor WAF API routing and configuration to streamline endpoint structure and enhance clarity. Update region configuration to include WAF API server details, improving integration with the WAF controller.
-
- 19 Jun, 2025 1 commit
-
-
qiuqunfeng authored
-
- 12 Jun, 2025 1 commit
-
-
qiuqunfeng authored
Refactor API router and WAF handling to support additional parameters and improve configuration management This update modifies the SetRouters and SetWafRouter functions to accept new parameters, including a debug flag and a region URL map, enhancing the flexibility of the API routing. Additionally, a new SetApiRouters function is introduced for better organization of API routes. The configuration management has been streamlined by moving configuration imports to the internal package, ensuring a more consistent structure across the application.
-
- 01 Jun, 2025 1 commit
-
-
qiuqunfeng authored
This update introduces the ability to set the log level dynamically based on the LOG_LEVEL environment variable, allowing for better control over logging verbosity. Additionally, the Elasticsearch client creation has been refactored to utilize configuration settings from a JSON file, enhancing the application's configurability. The previous LoadConfig function has been replaced with a more structured approach, and unnecessary code has been removed to streamline the log consumer service.
-
- 17 Apr, 2025 3 commits
-
-
qiuqunfeng authored
-
qiuqunfeng authored
-
qiuqunfeng authored
This update adds a log statement to the LoadConfig function to output the RDB_PASSWORD for better visibility during configuration loading. Additionally, it introduces new SQL tables for `waf_listener_histories` and `waf_blackwhitelists`, enhancing the database schema to support WAF functionalities.# Please enter the commit message for your changes. Lines starting
-
- 16 Apr, 2025 1 commit
-
-
qiuqunfeng authored
This update introduces the ability to set the RDB password via an environment variable in the LoadConfig function, enhancing database security. Additionally, the IP info controller file has been removed as it was no longer needed, streamlining the codebase.
-
- 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
-
- 05 Mar, 2025 1 commit
-
-
qiuqunfeng authored
- Implement dynamic Kafka authentication mechanism (PLAIN/SCRAM) - Add environment variable-based Kafka broker and authentication configuration - Modify log consumer service to support flexible Kafka connection setup - Update Elasticsearch store initialization with new index template - Extend WAF service types to support listener name and hosts
-
- 28 Feb, 2025 2 commits
-
-
qiuqunfeng authored
- Changed struct tags in `cmd/app/config.go` from `yaml` to `json` - Maintains existing configuration structure while switching serialization format
-
qiuqunfeng authored
- Updated config loading in `cmd/app/config.go` to use JSON instead of YAML - Modified `internal/service/waf.go` to read WAF rules from JSON file - Removed YAML library imports and replaced with JSON unmarshaling - Updated file extensions from `.yaml` to `.json` in file reading logic
-
- 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
-
- 15 Feb, 2025 1 commit
-
-
qiuqunfeng authored
-
- 06 Feb, 2025 1 commit
-
-
qiuqunfeng authored
-
- 05 Feb, 2025 4 commits
-
-
qiuqunfeng authored
-
qiuqunfeng authored
-
qiuqunfeng authored
-
qiuqunfeng authored
-