turbot/azure_compliance

Query: signalr_service_no_free_tier_sku

Usage

powerpipe query azure_compliance.query.signalr_service_no_free_tier_sku

SQL

select
a.id as resource,
case
when sku ->> 'tier' = 'Free' then 'alarm'
else 'ok'
end as status,
a.name || ' is of ' || (sku ->>'tier' )|| ' tier.' as reason
, a.resource_group as resource_group
, sub.display_name as subscription
from
azure_signalr_service as a,
azure_subscription as sub
where
sub.subscription_id = a.subscription_id;

Controls

The query is being used by the following controls: