Summarizing NSX Security Policy Firewall Rules
I've been working with one of my customers to implement the NSX Distribtued Firewall via Security Policies instead of hand-crafted rules. For auditing and reporting purposes, we needed to be able to display all of the policies that have been created and the DFW rules within each one. Ideally, we'd need to be able to generate this report on demand, with real-time data... and since the NSX GUI doesn't make that easily visible, I figured that I should put together a script to do it for me! Enter the summarize-NSXSecurityPolicy.ps1 script. This script uses PowerNSX to get all of the defined Security Policies in the environment, then builds a table with one row per DFW Rule. Each row contains several columns, including one for the policy that defines the rule, so we can easily filter the table to show what's going on with specific policies or we can easily search it to find a policy that involves specific traffic. That later use case is almost certainly more im...