1. 01 Jun, 2025 1 commit
    • qiuqunfeng's avatar
      Implement dynamic log level configuration and refactor Elasticsearch client creation · 5f22de38
      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.
      5f22de38
  2. 30 Mar, 2025 1 commit
    • qiuqunfeng's avatar
      Add res_name field to WAF detection index template · 4e84ed3d
      qiuqunfeng authored
      - Introduce a new field 'res_name' of type 'keyword' in the WAF detection index template to enhance data categorization and querying capabilities.
      - This addition aims to improve the structure and usability of the index for WAF-related data.
      4e84ed3d
  3. 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
  4. 03 Mar, 2025 1 commit
    • qiuqunfeng's avatar
      Update configuration and database migration for deployment · 4d18b503
      qiuqunfeng authored
      - Update region configuration with new API server and cluster details
      - Modify database configuration to use Kubernetes service endpoint
      - Change WAF rule categories table migration to use BIGINT with AUTO_INCREMENT
      - Standardize JSON configuration formatting
      4d18b503
  5. 28 Feb, 2025 1 commit
    • qiuqunfeng's avatar
      Refactor EnableListenerWafs to support new listener format · 59201340
      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
      59201340
  6. 15 Feb, 2025 1 commit
  7. 06 Feb, 2025 3 commits
  8. 05 Feb, 2025 3 commits