- 17 Apr, 2025 1 commit
-
-
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
-
- 07 Mar, 2025 2 commits
-
-
qiuqunfeng authored
- Add console writer to log output for improved readability - Maintain debug log level configuration
-
qiuqunfeng authored
- Change zerolog global log level from Info to Debug - Improve visibility into application startup and runtime behavior
-
- 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
-