fix: updated FirewallZonePolicy.json to handle port list and ranges (#68)

This commit is contained in:
Brendann
2025-04-02 09:49:39 +02:00
committed by GitHub
parent e51afcaf1d
commit 88d631c434
2 changed files with 4 additions and 10 deletions
+2 -2
View File
@@ -16,7 +16,7 @@
"match_opposite_ports": "true|false",
"matching_target": "ANY|APP|APP_CATEGORY|IP|REGION|WEB",
"matching_target_type": "ANY|OBJECT|SPECIFIC",
"port": "^[0-9][0-9]?$|^",
"port": "^[0-9]+(?:-[0-9]+)?(?:,[0-9]+(?:-[0-9]+)?)*$",
"port_group_id": "",
"port_matching_type": "ANY|SPECIFIC|OBJECT",
"regions": [""],
@@ -53,7 +53,7 @@
"matching_target": "ANY|CLIENT|NETWORK|IP|MAC",
"matching_target_type": "OBJECT|SPECIFIC",
"network_ids": [""],
"port": "^[0-9][0-9]?$|^",
"port": "^[0-9]+(?:-[0-9]+)?(?:,[0-9]+(?:-[0-9]+)?)*$",
"port_group_id": "",
"port_matching_type": "ANY|SPECIFIC|OBJECT",
"zone_id": ""