1. 07 Mar, 2025 2 commits
  2. 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
  3. 01 Mar, 2025 2 commits
    • qiuqunfeng's avatar
      Implement Kafka log consumer with Elasticsearch and database integration · 22159493
      qiuqunfeng authored
      - Add log consumer service to process WAF detection messages
      - Implement message handling with JSON unmarshaling
      - Save WAF detection logs to Elasticsearch
      - Update WAF service attack number in database
      - Modify ESStore to support bulk indexing with channel-based approach
      - Add constants for Kafka topics and Elasticsearch indices
      22159493
    • qiuqunfeng's avatar
      Add name field to ListenerWaf struct and update dependencies · 6f4bd708
      qiuqunfeng authored
      - Added `Name` field to `ListenerWaf` struct in `internal/service/types.go`
      - Updated Go module dependencies, adding Elasticsearch client library
      - Removed `CreateListener` method from `waf.go` service
      6f4bd708