Turbot Guardrails Hub 
Hub
  • Mods
  • Policy Packs
  • Docs
  • Home
ModsPolicy PacksDocsHome
Mods
Azure
Loading policies...

Policy: Azure > Network > Network Security Group > Ingress Rules > Approved > Maximum Port Range

The maximum number of ports that may be opened by any single ingress 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.

Targets

This policy targets the following resource types:

  • Azure > Network > Network Security Group

Primary Policy

This policy is used with the following primary policy:

  • Azure > Network > Network Security Group > Ingress Rules > Approved

Policy Specification

Schema Type
integer
Default
-1

Category

  • Resource > Approved

In Your Workspace

  • Policy Settings by Type report

Developers

    Category URI
    • tmod:@turbot/turbot#/control/categories/resourceApproved
  • Policy Type URI
    • tmod:@turbot/azure-network#/policy/types/networkSecurityGroupIngressRulesApprovedMaximumPortRange
  • GraphQL
    • query policyType(id: "tmod:@turbot/azure-network#/policy/types/networkSecurityGroupIngressRulesApprovedMaximumPortRange") { … }
    • query policySettings(filter: "policyTypeId:'tmod:@turbot/azure-network#/policy/types/networkSecurityGroupIngressRulesApprovedMaximumPortRange'") { … }
    • query policyValues(filter: "policyTypeId:'tmod:@turbot/azure-network#/policy/types/networkSecurityGroupIngressRulesApprovedMaximumPortRange'") { … }
  • CLI
    • Get Policy Type
    • turbot graphql policy-type --id "tmod:@turbot/azure-network#/policy/types/networkSecurityGroupIngressRulesApprovedMaximumPortRange"
    • Get Policy Settings
    • turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/azure-network#/policy/types/networkSecurityGroupIngressRulesApprovedMaximumPortRange"
Guardrails
Guardrails Hub
  • Hub
  • Docs
  • Blog
  • Changelog
Products
  • GuardrailsGuardrails
  • PipesPipes
  • SteampipeSteampipe
  • PowerpipePowerpipe
  • FlowpipeFlowpipe
  • TailpipeTailpipe
Turbot
  • Home
  • About us
  • We're hiring!
  • Contact us
Community

Our community of practitioners love to discuss cloud governance & security.

Slack logoJoin us on Slack →

System StatusLegalSecurity
Terms of UseSecurityPrivacy
50
Mods
204
Resource Types
3,575
Policies
1,941
Controls
103
Quick Actions
111
IAM