1. 20 Mar, 2025 1 commit
    • qiuqunfeng's avatar
      Enhance GetBlackWhiteLists method to return total count of items · 7aeb7fbb
      qiuqunfeng authored
      - Update the GetBlackWhiteLists method in both the service and controller layers to return the total number of items alongside the list of MatcherExpr.
      - Modify response structure in the controller to include total items for improved client-side handling.
      - Ensure proper error handling and maintain existing functionality while enhancing data retrieval capabilities.
      7aeb7fbb
  2. 19 Mar, 2025 2 commits
    • qiuqunfeng's avatar
      Implement Update and Enable methods for Black/White List in WAF service · d3c57913
      qiuqunfeng authored
      - Add UpdateBlackWhiteList method in WafController to handle updates to black/white list entries
      - Introduce EnableBlackWhiteList method in WafController for enabling/disabling black/white lists
      - Enhance WafService with logic to update and manage configuration maps for black/white lists
      - Ensure proper error handling and response assembly for both methods
      d3c57913
    • qiuqunfeng's avatar
      debug · ca1f82d6
      qiuqunfeng authored
      ca1f82d6
  3. 18 Mar, 2025 1 commit
    • qiuqunfeng's avatar
      Add ListWafs endpoint and service method for WAF management · f9077078
      qiuqunfeng authored
      - Introduce ListWafs method in WafController to retrieve a list of WAF services
      - Update WAF router to include new GET routes for listing WAFs
      - Implement ListWafs method in the service layer to fetch WAF data from the database
      - Enhance the MatcherExpr and WafService structures to support new functionality
      f9077078
  4. 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
  5. 14 Mar, 2025 1 commit
  6. 07 Mar, 2025 1 commit
    • qiuqunfeng's avatar
      Add debug logging for WAF attack log retrieval · 2e7672eb
      qiuqunfeng authored
      - Add log statements to track Elasticsearch query hits and source data
      - Improve visibility into WAF attack log retrieval process
      - Log raw Elasticsearch response and individual hit sources for debugging
      2e7672eb
  7. 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
  8. 04 Mar, 2025 1 commit
  9. 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
  10. 18 Feb, 2025 1 commit
    • qiuqunfeng's avatar
      Add hosts column to gateway_listeners and update related WAF service methods · 17e6a17f
      qiuqunfeng authored
      - Modified SQL migration to add 'hosts' column to gateway_listeners table
      - Updated model, service, and controller to support hosts in gateway listener operations
      - Added new GetWafGatewayInfo method to retrieve WAF gateway information
      - Refactored WAF service methods to handle hosts and improve flexibility
      17e6a17f
  11. 15 Feb, 2025 1 commit
  12. 06 Feb, 2025 2 commits
  13. 05 Feb, 2025 2 commits