Network misconfigurations

Network security group rule allows direct SSH access from the internet

Description

Azure network security group rules allow or deny traffic when its conditions are met. The rules allow users to specify the type of traffic, such as ports ,protocols, source and destination of the traffic, including IP addresses, subnets, and instances. {AzureNetworkSecurityGroupRule} allows direct SSH access from the internet, which puts at risk your Azure Virtual Machines.
  • Recommended Mitigation

    Restrict direct SSH access to your Azure Virtual Machines from the Internet. By default, SSH access from internet is disabled.