1. 17 Mar, 2025 2 commits
  2. 14 Mar, 2025 5 commits
  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. 07 Mar, 2025 9 commits
  5. 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
  6. 05 Mar, 2025 7 commits
  7. 04 Mar, 2025 8 commits
  8. 03 Mar, 2025 7 commits
    • qiuqunfeng's avatar
      Enhance WAF service mode update with listener synchronization · 0fabf210
      qiuqunfeng authored
      - Implement concurrent listener mode updates for WAF services
      - Add client retrieval and listing of listeners by gateway name
      - Return updated WAF service metadata after mode modification
      - Improve error handling for client and listener operations
      0fabf210
    • 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
    • qiuqunfeng's avatar
      Fix listener host parsing in EnableListenerWafs method · bf474a69
      qiuqunfeng authored
      - Add error logging for listener list retrieval
      - Modify host extraction to use substring before port separator
      - Improve error handling and logging in WAF service method
      bf474a69
    • qiuqunfeng's avatar
      Refactor EnableListenerWaf method and remove host column from WAF services table · 4bb0b53d
      qiuqunfeng authored
      - Commented out database operations in `EnableListenerWaf` method
      - Simplified WAF creation and deletion logic using request parameters
      - Removed `host` column from `waf_services` table migration
      - Updated logging to use request parameters instead of listener object
      4bb0b53d
    • 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 listener port parsing in WAF service · 286f81ee
      qiuqunfeng authored
      - Modify comment to clarify port extraction from `HostsAndPort` field
      - Improve code readability by updating inline documentation
      286f81ee
    • 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