• qiuqunfeng's avatar
    Refactor log consumer service to streamline WAF service updates · f17ae858
    qiuqunfeng authored
    - Simplify the update process for WAF service attack numbers by directly incrementing the attack_num field in the database.
    - Remove redundant queries and error handling for improved code clarity and efficiency.
    - Update attack log filter to clarify the purpose of the AttackApp field as the gateway name.
    - Adjust the WAF service to correctly reference the gateway name in workload creation and modify attack log queries for consistency.
    f17ae858
log_consumer.go 5.09 KB