Control: Security center pricing should be set to standard
Description
This control checks whether Security center pricing is set to standard. This control is non-compliant if pricing is set to free.
Usage
Run the control in your terminal:
powerpipe control run azure_compliance.control.securitycenter_pricing_standard
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run azure_compliance.control.securitycenter_pricing_standard --share
SQL
This control uses a named query:
select sub_pricing.id as resource, case when pricing_tier = 'Standard' then 'ok' else 'alarm' end as status, sub_pricing.name || ' is using ' || pricing_tier || ' pricing tier.' as reason , sub.display_name as subscriptionfrom azure_security_center_subscription_pricing sub_pricing right join azure_subscription sub on sub_pricing.subscription_id = sub.subscription_id;