• qiuqunfeng's avatar
    Implement WAF rules calculation and update logic · 7df18457
    qiuqunfeng authored
    - Add calculateCrdWafRules method to compute WAF rules based on enabled categories.
    - Introduce updateRulesForCrd method to update WAF service rules in the cluster.
    - Modify UpdateRule method to include rules update after fetching the WAF service record.
    - Remove commented-out GetRuleCategories method for code clarity.
    7df18457
waf.go 44.8 KB