1. 17 Apr, 2025 3 commits
    • qiuqunfeng's avatar
      debug · 5e152874
      qiuqunfeng authored
      5e152874
    • qiuqunfeng's avatar
      debug · b56b4505
      qiuqunfeng authored
      b56b4505
    • qiuqunfeng's avatar
      Add logging for RDB_PASSWORD in LoadConfig and create new WAF tables · b9c63b91
      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
      b9c63b91
  2. 16 Apr, 2025 1 commit
  3. 17 Mar, 2025 1 commit
    • qiuqunfeng's avatar
      Add CRUD operations for Black/White List management in WAF service · b4061e3b
      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
      b4061e3b
  4. 07 Mar, 2025 2 commits
  5. 06 Mar, 2025 1 commit
    • qiuqunfeng's avatar
      Add Elasticsearch-based WAF attack log and rule listing endpoints · 79468cd7
      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
      79468cd7
  6. 05 Mar, 2025 1 commit
    • qiuqunfeng's avatar
      Add Kafka log consumer with dynamic authentication and configuration · b0527e79
      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
      b0527e79
  7. 28 Feb, 2025 2 commits
    • qiuqunfeng's avatar
      Update config struct tags from YAML to JSON · fac776fe
      qiuqunfeng authored
      - Changed struct tags in `cmd/app/config.go` from `yaml` to `json`
      - Maintains existing configuration structure while switching serialization format
      fac776fe
    • qiuqunfeng's avatar
      Switch from YAML to JSON configuration and rule files · ea21cd21
      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
      ea21cd21
  8. 26 Feb, 2025 1 commit
    • qiuqunfeng's avatar
      Add support for bulk listener WAF configuration · 20c5b6e6
      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
      20c5b6e6
  9. 15 Feb, 2025 1 commit
  10. 06 Feb, 2025 1 commit
  11. 05 Feb, 2025 4 commits