Azure firewall rule

prasantc 836 Reputation points
2024-05-08T23:28:20.4233333+00:00

Is there an azure firewall powershell script to import from CSV or converted json and deploy to Azure NetworkPolicyCollectiongroup.

  1. I have used powershell to export to CSV
  2. I am adding 10 rule collection which repeats through the rules on the row wherever there are multiple rules belonging to that rule
  3. it needs to create 10 rules collection and average of 8-10 rules per collection group
  4. I have one github repo which only works for rules in one collection group https://www.cloudcorner.gr/microsoft/azure/azure-firewall-policy-rules-to-csv/
  5. Single collection rule script is not scalable in production.
  6. I tried nested loop using excel but that did not work
  7. Now I am trying by converting from the excel to json. Is there any resource in that context?
Azure Firewall
Azure Firewall
An Azure network security service that is used to protect Azure Virtual Network resources.
580 questions
{count} votes