π‘οΈ Premium Azure Service Bus namespace has no queues or topicsπ’
- Contextual name: π‘οΈ Premium namespace has no queues or topicsπ’
- ID:
/ce/ca/azure/service-bus/premium-namespace-without-entities - Tags:
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
COST
Statsβ
not available
Logicβ
- π§ prod.logic.yamlπ’
Descriptionβ
Descriptionβ
This policy identifies Premium Azure Service Bus namespaces older than the initial 30-day deployment window that contain no current queues or topics.
Rationaleβ
Premium namespaces reserve dedicated messaging capacity and incur capacity charges even when they contain no messaging entities. An empty namespace cannot carry messages through a queue or topic, so its reserved capacity is a strong indicator of avoidable spend.
Impactβ
An empty namespace may retain network, identity, authorization, disaster-recovery, or imminent deployment dependencies. Confirm ownership and architecture before deleting it or moving workloads.
Auditβ
This policy flags an Azure Service Bus Namespace as
INCOMPLIANTif it is in theSucceededprovisioning state, uses thePremiumSKU tier, was created more than 30 days ago, and has no non-disappeared related Azure Service Bus Queue or Azure Service Bus Topic records.
Remediationβ
Remediationβ
Verify the entity inventory directly in Azure before changing or deleting the namespace.
Verify the Findingβ
Azure portalβ
- Open Service Bus namespaces and select the affected namespace.
- Under Entities, confirm that both Queues and Topics are empty.
Azure CLIβ
List the queues and topics currently reported by Azure:
az servicebus queue list \
--namespace-name {{namespace-name}} \
--resource-group {{resource-group-name}} \
--subscription {{subscription-id}} \
--query "[].name" \
--output tsv
az servicebus topic list \
--namespace-name {{namespace-name}} \
--resource-group {{resource-group-name}} \
--subscription {{subscription-id}} \
--query "[].name" \
--output tsvNo output from either command confirms that Azure currently reports no queues or topics. If Azure contains entities that are absent from Cloudaware CMDB, resolve collection permissions or synchronization before proceeding.
Review Dependenciesβ
Before remediation:
- Confirm the namespace owner and whether a deployment is planned.
... see more
policy.yamlβ
Linked Framework Sectionsβ
| Section | Sub Sections | Internal Rules | Policies | Flags | Compliance |
|---|---|---|---|---|---|
| πΌ Cloudaware Framework β πΌ Waste Reduction | 30 | no data |