Public IP should use Standard SKU
Medium
Azure
General
publicip-public-standard-sku
Applies to
Microsoft.Network/publicIPAddresses
What CGPulse checks
A resource passes this rule when sku.name must equal Standard. Anything else is reported as a finding with the evaluated property value attached as evidence.
How to fix it
Upgrade to Standard SKU for zone redundancy and better security defaults (may require recreation). In Azure Portal: create new Standard SKU Public IP and migrate. See: https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/public-ip-upgrade-portal
CLI
az network public-ip show --ids "{id}" --query "sku.name" -o tsvBicep
param location string = resourceGroup().location
resource newPip 'Microsoft.Network/publicIPAddresses@2023-11-01' = {{
name: '{name}-standard'
location: location
sku: {{ name: 'Standard', tier: 'Regional' }}
properties: {{
publicIPAllocationMethod: 'Static'
}}
}}
// TODO: Associate the new PIP with the resource that used the old Basic PIP, then delete the old oneTerraform
# Public IP SKU cannot be changed in-place; create new Standard SKU
resource "azurerm_public_ip" "{name}" {
name = "{name}"
resource_group_name = "{rg}"
location = var.location
allocation_method = "Static"
sku = "Standard"
}
Compliance frameworks
Is your environment compliant with this rule?
CGPulse checks it — and 621 others — against your Azure and AWS accounts with read-only access.
Related Azure rules
- Action Group should be enabled
- Activity Log Alert should be enabled
- AKS cluster logs should be sent to Log Analytics
- AKS cluster must enable RBAC
- AKS cluster must enable RBAC
- AKS cluster should be a private cluster
- AKS cluster should disable local accounts
- AKS cluster should enable Azure RBAC for Kubernetes