Refactor WAF rule category handling for improved clarity and efficiency
- Update the logic in getRulesForService and calculateCrdWafRules methods to simplify the process of enabling rule categories based on the RuleCategoryStatus. - Introduce a new helper method isCategoryEnabled to streamline category checks and enhance code readability.
Showing
Please register or sign in to comment