Skip to content

Commit

Permalink
Update Public IPs query
Browse files Browse the repository at this point in the history
Exclude NAT Gateways Public IPs
  • Loading branch information
dolevshor authored Nov 13, 2022
1 parent dbf390f commit 52ea4f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Queries/orphan-resources-queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Resources
```
Resources
| where type == "microsoft.network/publicipaddresses"
| where properties.ipConfiguration == ""
| where properties.ipConfiguration == "" and properties.natGateway == ""
| extend Details = pack_all()
| project Resource=id, resourceGroup, location, subscriptionId, sku.name, tags ,Details
```
Expand Down

0 comments on commit 52ea4f1

Please sign in to comment.