1. 26 Jun, 2025 3 commits
  2. 25 Jun, 2025 5 commits
  3. 23 Jun, 2025 4 commits
  4. 22 Jun, 2025 1 commit
  5. 21 Jun, 2025 2 commits
  6. 20 Jun, 2025 1 commit
    • qiuqunfeng's avatar
      Add Signal struct and enhance WAF detection handling in LogConsumerService · 8af8dde1
      qiuqunfeng authored
      This update introduces a new Signal struct to encapsulate details related to WAF detections, including severity, tags, and context. The genWafDetectionSignal function has been implemented to generate signals based on attacked logs, improving the overall detection process. Additionally, the handling of bulk indexing for signals has been integrated into the existing workflow, ensuring that signals are properly indexed alongside events.
      8af8dde1
  7. 19 Jun, 2025 1 commit
  8. 18 Jun, 2025 2 commits
  9. 17 Jun, 2025 5 commits
  10. 16 Jun, 2025 2 commits
  11. 12 Jun, 2025 3 commits
    • qiuqunfeng's avatar
      Comment out WAF detection and event generation logic in LogConsumerService to... · 4835dac7
      qiuqunfeng authored
      Comment out WAF detection and event generation logic in LogConsumerService to simplify handling and improve readability. This change prepares the code for future enhancements while maintaining the current functionality.
      4835dac7
    • qiuqunfeng's avatar
      Refactor WAF detection handling in LogConsumerService to improve event generation and error logging · 9d8c640a
      qiuqunfeng authored
      This update replaces direct assignment of WAF detection properties with a new method for generating WAF detections and events, enhancing code clarity and maintainability. Additionally, error handling has been improved to log failures during the generation process, ensuring better visibility into issues that may arise.
      9d8c640a
    • qiuqunfeng's avatar
      Refactor API router and WAF handling to support additional parameters and... · eb384897
      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.
      eb384897
  12. 05 Jun, 2025 1 commit
  13. 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
  14. 28 Apr, 2025 1 commit
  15. 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
  16. 16 Apr, 2025 2 commits
  17. 15 Apr, 2025 1 commit
  18. 03 Apr, 2025 1 commit
    • qiuqunfeng's avatar
      Add attack log counting to GetWaf method for current day · d00530ed
      qiuqunfeng authored
      This update introduces functionality to count attack logs for the current day within the GetWaf method. It utilizes a boolean query to filter logs based on the service ID and the attack time range, enhancing the WAF service's ability to track and report attack activity accurately.
      d00530ed
  19. 02 Apr, 2025 1 commit