Overview Version History Q & A Rating & Review
Azure Network Security Visualizer
Assess your Azure network security posture in one click. Connect via Entra ID, scan across subscriptions, get a grade (A–F), and fix what matters — all inside VS Code.
The Problem
You can't see your Azure network security posture without clicking through 50 portal blades. Open SSH ports, missing NSGs, permissive firewall rules, and no DDoS protection sit undetected until an incident.
The Solution
This extension connects to your Azure tenant, scans your live infrastructure, and tells you:
What's wrong — 26 security checks aligned to Microsoft Zero Trust
How bad it is — posture grade A–F with severity counts
How to fix it — one-line remediation + Microsoft Learn link per finding
Who to share it with — export to Excel, HTML, Markdown, or JSON
Also analyzes Bicep/ARM templates offline for pre-deployment checks.
Quick Start
Assess Live Azure (Recommended)
Ctrl+Shift+P → "Assess Security Posture"
Sign in with your Azure (Entra ID) credentials
Select subscriptions to scan
Review your posture grade and findings
Click 📊 Export Report for Excel/HTML/Markdown
Analyze Bicep/ARM Files (No Azure Account Needed)
Open a folder with .bicep or .json ARM templates
Ctrl+Shift+P → "Analyze Bicep/ARM Templates"
Review findings in the sidebar and inline squiggles
What It Checks (26 Rules)
Commands
Command
What It Does
Assess Security Posture
Connect to Azure → scan → grade → findings
Connect to Azure (Entra ID)
Sign in and list subscriptions
Visualize Live Topology
Draw your deployed network with connections
Export Security Report
CSV, HTML, Markdown, or JSON
Analyze Bicep/ARM Templates
Scan local files (no Azure needed)
Show Effective Rules
View sorted NSG rules for any security group
All commands: Ctrl+Shift+P → type "Azure NetSec"
Resources Scanned
VNets · Subnets · NSGs · Route Tables · Private Endpoints · Azure Firewalls · Application Gateways · Bastion Hosts · VPN Gateways · VNet Peerings
Format
Use Case
CSV
Opens in Excel — sort, filter, pivot for audit
HTML
Visual report — print to PDF via Ctrl+P
Markdown
Add to PRs, wikis, Git repos
JSON
CI/CD pipelines, automation
Settings
Setting
Default
Description
azureNetSec.severityThreshold
warning
Minimum severity to show
azureNetSec.autoAnalyzeOnSave
true
Re-analyze Bicep/ARM on save
azureNetSec.reportFormat
html
Default export format
Requirements
VS Code 1.85+
For live Azure : An Azure account with Reader role on target subscriptions
For Bicep/ARM : No Azure account needed — works offline
Based On
Contributing
See CONTRIBUTING.md .
License
MIT © KimVaddi