Add getEnabledRuleNum function to WafService for calculating enabled rule count
This new function retrieves the number of enabled WAF rule categories and adjusts the count based on the WAF service's rule category status. The RuleNum field in the GetWaf method is updated to use this new function, enhancing the accuracy of the WAF service response.
Showing
Please register or sign in to comment