Azure · Free CLI guide · kloudaudit.eu

Audit Azure NSGs With Port 22 Open to the Internet

⚡ Quick answer — copy and run

az network nsg list --query [*].name --output tsv
1

Make sure you have the AWS CLI configured: aws configure

2

Run the command above. Review the output for resources to clean up.

3

Delete or stop resources that are confirmed idle or unused.

🔍

Don't want to script this manually?

KloudAudit finds this — and 17 other cost leaks — in 15 minutes. No credentials. No agents. Just your answers.

18 structured checks across compute, storage, network, database, governance
Waste Score + savings estimate for your exact bill size
AI Blueprint with exact CLI commands — $79, delivered in 2 minutes
Run Free Audit →

Why this matters

Azure NSGs with port 22 open to any source (0.0.0.0/0 or *) expose VMs to SSH brute force attacks. This is one of the most common misconfigurations in Azure environments.

⚠ Always verify resources are genuinely unused before deleting. Check with your team — a "stopped" instance may be intentional.

Find all 18 cost leaks at once

Teams typically find $500–$4,000+/month. Free. No credentials.

kloudaudit.eu →