1. 25 Jun, 2025 1 commit
  2. 23 Jun, 2025 3 commits
  3. 12 Jun, 2025 1 commit
    • 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
  4. 31 Mar, 2025 1 commit
    • qiuqunfeng's avatar
      Implement ListWafsV2 method and update API route · be45ca84
      qiuqunfeng authored
      - Introduce ListWafsV2 method in WafController to enhance the WAF listing functionality with a new response structure.
      - Update the API route for listing WAFs to point to the new ListWafsV2 method, improving clarity and consistency in the API design.
      be45ca84
  5. 30 Mar, 2025 1 commit
    • qiuqunfeng's avatar
      Add endpoints for detailed attack log retrieval in WAF API · 85023784
      qiuqunfeng authored
      - Introduce new API routes for fetching attack log details and response packages.
      - Implement corresponding methods in the WafController and wafService to handle the new functionality.
      - Update service interface and types to support the new data structures for attack logs and responses.
      85023784
  6. 28 Mar, 2025 1 commit
    • qiuqunfeng's avatar
      Add attack classes endpoint and service implementation · c38228a3
      qiuqunfeng authored
      - Introduce a new GET endpoint for listing attack classes in the WAF router.
      - Implement AttackClassesList method in WafController to handle requests and return attack class data based on the specified language.
      - Enhance the WAF service with ListAttackClasses method to retrieve attack classes and support localization for descriptions.
      - Define AttackClasses struct to standardize the response format for attack class data.
      c38228a3
  7. 20 Mar, 2025 1 commit
    • qiuqunfeng's avatar
      Add listener history endpoint and implement history logging · 7a0e8ca0
      qiuqunfeng authored
      - Introduce a new GET endpoint for listing listener history in the WAF router.
      - Implement ListListenerHistory method in the WafController to handle requests and return paginated results based on query parameters.
      - Enhance the WAF service to log listener creation and deletion events, capturing relevant details for auditing purposes.
      - Update the WafListenerHistory model and service methods to support querying and storing listener history data effectively.
      7a0e8ca0
  8. 19 Mar, 2025 1 commit
  9. 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
  10. 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
  11. 07 Mar, 2025 1 commit
  12. 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
  13. 05 Mar, 2025 2 commits
    • qiuqunfeng's avatar
      Enable authentication middleware for API routes · 0fd78686
      qiuqunfeng authored
      - Uncomment and activate AuthMiddleware in router configuration
      - Add conditional skip for ping endpoint in authentication middleware
      - Restore authentication checks for both release and debug modes
      0fd78686
    • 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
  14. 04 Mar, 2025 3 commits
  15. 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
  16. 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
  17. 15 Feb, 2025 1 commit
  18. 06 Feb, 2025 2 commits
  19. 05 Feb, 2025 3 commits