Policy: Azure > Network > Network Security Group > Egress Rules > Approved > Maximum Port Range
The maximum number of ports that may be opened by any single egress rule in a security group.
Examples: - 1 - Allow a single port only (e.g. 8080) - 4 - Allow up to 4 ports (e.g. 8080-8083) - -1 - Allow unlimited number of ports, including -1 for all.
Applies to non-Guardrails managed Security Groups.
Resource Types
This policy targets the following resource types:
Primary Policy
This policy is used with the following primary policy:
Controls
- Azure > Network > Network Security Group > Egress Rules
- Azure > Network > Network Security Group > Egress Rules > Approved
Policy Specification
Schema Type |
|
---|---|
Default |
|
Category
In Your Workspace
Developers
- tmod:@turbot/turbot#/control/categories/resourceApproved
- tmod:@turbot/azure-network#/policy/types/networkSecurityGroupEgressRulesApprovedMaximumPortRange
- turbot graphql policy-type --id "tmod:@turbot/azure-network#/policy/types/networkSecurityGroupEgressRulesApprovedMaximumPortRange"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/azure-network#/policy/types/networkSecurityGroupEgressRulesApprovedMaximumPortRange"
Get Policy TypeGet Policy Settings
Category URI
Policy Type URI
GraphQL
CLI