Skip to content

This script will check for any NSG inbound rule with source as allow all, and port *,22 or 3389. Then it will change the access to deny.

License

Notifications You must be signed in to change notification settings

ishanslab/modify-all--nsg-rules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

modify-all-nsg-rules

  • This script will check all NSG rules in the given subscription.
  • If any NSG rule contains source as *, 0.0.0.0/0 or Internet, and destination ports are *, 22 or 3389.
  • Then it will change the access of that NSG rule to deny.

About

This script will check for any NSG inbound rule with source as allow all, and port *,22 or 3389. Then it will change the access to deny.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published