id: 1 unit: def process_access_layers() file: Azure Firewall/Script - Migrate Checkpoint config to Azure Firewall Policy/chkp2azfw.py start line: 0 end line: 0 size: 100 LOC McCabe index: 59 number of parameters: 2 id: 2 unit: function show_table() file: Lab Templates/Lab Template - WAF for GCP Coffeeshop/sql-injection-demo/lib/show_table.php start line: 2 end line: 94 size: 89 LOC McCabe index: 10 number of parameters: 1 id: 3 unit: def find_members() file: Azure Firewall/Script - Migrate Checkpoint config to Azure Firewall Policy/chkp2azfw.py start line: 0 end line: 0 size: 47 LOC McCabe index: 27 number of parameters: 5 id: 4 unit: private static async Task UpdateLinkedWafPolicy() file: Azure WAF/Alert - Process Azure FrontDoor Alerts/ProcessAFDAlerts.cs start line: 113 end line: 162 size: 40 LOC McCabe index: 5 number of parameters: 4 id: 5 unit: def append_rule() file: Azure Firewall/Script - Migrate Checkpoint config to Azure Firewall Policy/chkp2azfw.py start line: 0 end line: 0 size: 35 LOC McCabe index: 24 number of parameters: 2 id: 6 unit: def create_app_rules() file: Azure Firewall/Script - Migrate Checkpoint config to Azure Firewall Policy/chkp2azfw.py start line: 0 end line: 0 size: 34 LOC McCabe index: 13 number of parameters: 1 id: 7 unit: public static async Task Run() file: Azure WAF/Alert - Process Azure FrontDoor Alerts/ProcessAFDAlerts.cs start line: 49 end line: 90 size: 34 LOC McCabe index: 4 number of parameters: 4 id: 8 unit: def inspect_access_layers() file: Azure Firewall/Script - Migrate Checkpoint config to Azure Firewall Policy/chkp2azfw.py start line: 0 end line: 0 size: 32 LOC McCabe index: 23 number of parameters: 1 id: 9 unit: private static void CreateOrUpdateRateLimitIpsRule() file: Azure WAF/Alert - Process Azure FrontDoor Alerts/ProcessAFDAlerts.cs start line: 206 end line: 243 size: 29 LOC McCabe index: 5 number of parameters: 3 id: 10 unit: def inspect_nat_layers() file: Azure Firewall/Script - Migrate Checkpoint config to Azure Firewall Policy/chkp2azfw.py start line: 0 end line: 0 size: 26 LOC McCabe index: 15 number of parameters: 1 id: 11 unit: function connectdb() file: Lab Templates/Lab Template - WAF for GCP Coffeeshop/sql-injection-demo/lib/connectdb.php start line: 2 end line: 26 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 12 unit: function current_user() file: Lab Templates/Lab Template - WAF for GCP Coffeeshop/sql-injection-demo/lib/helpers.php start line: 13 end line: 33 size: 18 LOC McCabe index: 4 number of parameters: 0 id: 13 unit: function is_admin() file: Lab Templates/Lab Template - WAF for GCP Coffeeshop/sql-injection-demo/lib/helpers.php start line: 40 end line: 60 size: 18 LOC McCabe index: 4 number of parameters: 0 id: 14 unit: def main() file: Azure WAF/Script - Create Exclusions for Multiple rules/generate_waf_exclusion.py start line: 0 end line: 0 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 15 unit: def print_access_layer_rule() file: Azure Firewall/Script - Migrate Checkpoint config to Azure Firewall Policy/chkp2azfw.py start line: 0 end line: 0 size: 17 LOC McCabe index: 14 number of parameters: 3 id: 16 unit: private static string GetCountryCode() file: Azure WAF/Alert - Process Azure FrontDoor Alerts/ProcessAFDAlerts.cs start line: 300 end line: 316 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 17 unit: private static int GetIpRateLimitPriorityByCountry() file: Azure WAF/Alert - Process Azure FrontDoor Alerts/ProcessAFDAlerts.cs start line: 335 end line: 351 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 18 unit: private static CustomRule CreateCountryRateLimitRule() file: Azure WAF/Alert - Process Azure FrontDoor Alerts/ProcessAFDAlerts.cs start line: 269 end line: 285 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 19 unit: private static int GetCountryRateLimitPriority() file: Azure WAF/Alert - Process Azure FrontDoor Alerts/ProcessAFDAlerts.cs start line: 318 end line: 333 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 20 unit: private static void CreateOrUpdateRateLimitCountryRule() file: Azure WAF/Alert - Process Azure FrontDoor Alerts/ProcessAFDAlerts.cs start line: 245 end line: 261 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 21 unit: def filter_ips() file: Azure Firewall/Template - Logic App and Automation Account for Adding O365 Rules to Azure Firewall/o365_rules.py start line: 0 end line: 0 size: 11 LOC McCabe index: 8 number of parameters: 1 id: 22 unit: def verify_urls() file: Azure Firewall/Template - Logic App and Automation Account for Adding O365 Rules to Azure Firewall/o365_rules.py start line: 0 end line: 0 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 23 unit: function setup() file: Lab Templates/Lab Template - WAF for GCP Coffeeshop/sql-injection-demo/lib/helpers.php start line: 3 end line: 11 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 24 unit: private static async Task HandleAlertFired() file: Azure WAF/Alert - Process Azure FrontDoor Alerts/ProcessAFDAlerts.cs start line: 98 end line: 111 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 25 unit: private static void DeleteRateLimitCountryRule() file: Azure WAF/Alert - Process Azure FrontDoor Alerts/ProcessAFDAlerts.cs start line: 170 end line: 180 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 26 unit: private static void DeleteRateLimitIPRule() file: Azure WAF/Alert - Process Azure FrontDoor Alerts/ProcessAFDAlerts.cs start line: 182 end line: 192 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 27 unit: private static void UpdateWafWithRulesToStopAttack() file: Azure WAF/Alert - Process Azure FrontDoor Alerts/ProcessAFDAlerts.cs start line: 194 end line: 204 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 28 unit: private static CustomRule GetCountryRateLimitRule() file: Azure WAF/Alert - Process Azure FrontDoor Alerts/ProcessAFDAlerts.cs start line: 287 end line: 293 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 29 unit: def urls_contain_wildcard() file: Azure Firewall/Template - Logic App and Automation Account for Adding O365 Rules to Azure Firewall/o365_rules.py start line: 0 end line: 0 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 30 unit: def is_number() file: Azure Firewall/Script - Migrate Checkpoint config to Azure Firewall Policy/chkp2azfw.py start line: 0 end line: 0 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 31 unit: def format_to_arm_name() file: Azure Firewall/Script - Migrate Checkpoint config to Azure Firewall Policy/chkp2azfw.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 32 unit: def find_uid() file: Azure Firewall/Script - Migrate Checkpoint config to Azure Firewall Policy/chkp2azfw.py start line: 0 end line: 0 size: 5 LOC McCabe index: 3 number of parameters: 2 id: 33 unit: def is_ipgroup() file: Azure Firewall/Script - Migrate Checkpoint config to Azure Firewall Policy/chkp2azfw.py start line: 0 end line: 0 size: 5 LOC McCabe index: 3 number of parameters: 2 id: 34 unit: def find_ipgroup() file: Azure Firewall/Script - Migrate Checkpoint config to Azure Firewall Policy/chkp2azfw.py start line: 0 end line: 0 size: 5 LOC McCabe index: 3 number of parameters: 2 id: 35 unit: private static void DeleteRulesFromWafPolicy() file: Azure WAF/Alert - Process Azure FrontDoor Alerts/ProcessAFDAlerts.cs start line: 164 end line: 168 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 36 unit: private static CustomRule GetRateLimitIPRuleByCountry() file: Azure WAF/Alert - Process Azure FrontDoor Alerts/ProcessAFDAlerts.cs start line: 263 end line: 267 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 37 unit: function logged_in() file: Lab Templates/Lab Template - WAF for GCP Coffeeshop/sql-injection-demo/lib/helpers.php start line: 35 end line: 38 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 38 unit: private static async Task HandleAlertResolved() file: Azure WAF/Alert - Process Azure FrontDoor Alerts/ProcessAFDAlerts.cs start line: 92 end line: 96 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 39 unit: def is_uid() file: Azure Firewall/Script - Migrate Checkpoint config to Azure Firewall Policy/chkp2azfw.py start line: 0 end line: 0 size: 3 LOC McCabe index: 6 number of parameters: 1 id: 40 unit: def is_ipv4() file: Azure Firewall/Template - Logic App and Automation Account for Adding O365 Rules to Azure Firewall/o365_rules.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 41 unit: def is_fqdn() file: Azure Firewall/Script - Migrate Checkpoint config to Azure Firewall Policy/chkp2azfw.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 42 unit: def is_ipv4() file: Azure Firewall/Script - Migrate Checkpoint config to Azure Firewall Policy/chkp2azfw.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1