Skip to content
This repository was archived by the owner on May 18, 2022. It is now read-only.
/ azuml Public archive

Diagram Generator for Azure Subnets and NSGs

License

Notifications You must be signed in to change notification settings

navicore/azuml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Diagram Generator for Azure Subnets and NSGs

Automatically create Plantuml sequence diagrams based on ARM API calls against your deployed Azure network.

The resulting sequence diagram shows what ports are open to internal and external domains, making it easy to quickly determine that the deployed system matches your intended design.

Visually verify security policies - ie: if your policy is that all ssh access is via a bastion host, you'll visually verify via the graphic that only the bastion host's port 22 is visible to the Internet.

Example PlantUML Output

PlantUML

See generated PlantUML code in examples.

STATUS

Alpha.

Works for my specific needs.

Assumptions:

  • a single resource group with a single vnet
  • subnets have NSGs with explicit rules (default rules not yet evaluated)
  • expects load balancer rules (NAT rules not yet supported)

PREREQS

  • node >= v7
  • Azure service principal

INSTALL

npm install -g https://github.com/navicore/azuml.git

USAGE

run command with no args to get help

azuml

png files and their source are created in ./out

TODOs

  • outbound rules
  • option to expand all subnets to include VMs
  • option to expand a single subnet to include VMs
  • ID generator should create IDs which are recognizable / meaningful (currently just hashes)

About

Diagram Generator for Azure Subnets and NSGs

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published