1. 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
  2. 14 Mar, 2025 1 commit
  3. 11 Mar, 2025 1 commit
    • qiuqunfeng's avatar
      Add ServiceID to WAF creation and enable listener WAF flow · a4c820e1
      qiuqunfeng authored
      - Extend CreateWafReq struct with ServiceID field
      - Update CreateWaf method to include ServiceID in WAF configuration
      - Implement getServiceID method to retrieve or create WAF service
      - Modify EnableListenerWaf to handle ServiceID retrieval and creation
      - Ensure consistent WAF service tracking across different operations
      a4c820e1
  4. 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
  5. 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
  6. 04 Mar, 2025 1 commit
    • qiuqunfeng's avatar
      Add WAF mode to CreateWaf and EnableListenerWaf requests · bb958705
      qiuqunfeng authored
      - Extend CreateWafReq and EnableListenerWafReq structs with Mode field
      - Update CreateWaf method to use requested WAF mode
      - Modify EnableListenerWafs to retrieve and apply WAF mode from existing service
      - Ensure mode is consistently passed through WAF service operations
      bb958705
  7. 03 Mar, 2025 2 commits
    • qiuqunfeng's avatar
      Add listener details to WAF service response · 75afb8d4
      qiuqunfeng authored
      - Modify `WafService` struct to include listener information
      - Update `GetWaf` method to retrieve and format listener details
      - Enhance `ListListenerWafStatus` to return hosts for each listener
      - Remove commented-out code and unused port list logic
      75afb8d4
    • qiuqunfeng's avatar
      Update WAF service types and migration for listener configuration · 055b870b
      qiuqunfeng authored
      - Modify `ListenerWaf` struct to use single `HostsAndPort` field instead of separate `Hosts` and `Port`
      - Update `EnableListenerWafsReq` to use `ListenerWaf` slice for listeners
      - Change `waf_services` table migration to use `BIGINT` and `AUTO_INCREMENT`
      - Adjust `EnableListenerWafs` method to parse new listener format
      - Add logging for listener name during WAF configuration
      055b870b
  8. 01 Mar, 2025 1 commit
  9. 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
  10. 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
  11. 18 Feb, 2025 2 commits
  12. 15 Feb, 2025 1 commit
  13. 06 Feb, 2025 2 commits
  14. 05 Feb, 2025 1 commit