Network security groups should limit inbound UDP port 138 access from the internet
Runs the underlying Trivy check `AZU-0047`, which flags ingress from any IP address. A network security group rule that accepts traffic from any source address is reported as a failure, so open inbound rules are identified.
Opening up ports to allow connections from the public internet is generally to be avoided. You should restrict access to IP addresses or ranges that are explicitly required where possible.
What this control checks
A security group rule should not allow unrestricted ingress from any IP address.
Audit evidence
Evidence that deployed resources meet this control: PowerPipe control azure_compliance.control.network_security_group_restrict_inbound_udp_port_138.
Scans of the Terraform code that flag the same setting before deployment: Trivy check AZU-0047.
Related controls
Tool mappings
Use these identifiers to cross-reference this control across tools, reports, and evidence.
- Compliance.tf Control:
network_security_group_restrict_inbound_udp_port_138 - Powerpipe Control:
azure_compliance.control.network_security_group_restrict_inbound_udp_port_138 - Trivy Check:
AZU-0047
Last reviewed: 2026-10-13