Mods
Azure

Policy: Azure > Network > Network Security Group > Ingress Rules > Approved > Prohibited Ports

A YAML list of ports that are prohibited and may not be used for ingress in custom security groups. For example, 21 might be prohibited to prevent the use of FTP. This list is also applied to ICMP rules, so should be checked against valid ICMP numbers.

Applies to non-Guardrails managed Security Groups.

Examples: - 21 # FTP - 25 # SMTP

Resource Types

This policy targets the following resource types:

Primary Policy

This policy is used with the following primary policy:

Controls

Policy Specification

Schema Type
array
Default
[]

Category

In Your Workspace

Developers