turbot/azure_compliance

Query: appservice_plan_minimum_sku

Usage

powerpipe query azure_compliance.query.appservice_plan_minimum_sku

SQL

select
a.id as resource,
case
-- The below basic plans are used for development and testing purposes.
when sku_name in ('F1', 'D1', 'B1', 'B2', 'B3') then 'alarm'
else 'ok'
end as status,
a.name || ' is of ' || sku_family || ' SKU family.' as reason
, a.resource_group as resource_group
, sub.display_name as subscription
from
azure_app_service_plan as a,
azure_subscription as sub
where
sub.subscription_id = a.subscription_id;

Controls

The query is being used by the following controls: