list_dfw_exclusions
Lists DFW exclusion members—VMs that bypass all distributed firewall rules—so you can identify unprotected VMs and verify microsegmentation coverage.
Instructions
[READ] List the DFW exclusion list — the members no distributed-firewall rule reaches.
Read this before answering any question about a VM being micro-segmented or protected by DFW policy. A VM on this list has no DFW in its datapath: rules that name it, groups that contain it and policies scoped to it all still exist and none of them apply. On a VCF estate the management VMs (vCenter, VCF Operations, NSX managers) are commonly on it.
Returns the list envelope. 'items' holds one row per excluded member: the group 'path', its 'id' and 'display_name', the 'virtual_machines' in it and 'vm_count'. A row with 'members_error' is a group whose members could not be read — that is not an empty group, so do not read it as one.
'scope' says which list answered: "system_and_user" includes NSX's own system-owned exclusions, "user" means this manager refused that variant and system exclusions are NOT in the answer. An empty list under "user" is not proof that nothing is excluded.
Page with 'next_offset': pass the value back as 'offset' and stop when it is null. The list holds at most 100 groups, so one page is normally all of it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Page size, 1..1000 (default 50). Not a way to ask for everything — 0 or negative is rejected. | |
| offset | No | Excluded members to skip, 0 or more. Pass the previous response's 'next_offset'. | |
| target | No | Optional NSX Manager target from config. |