turbot/azure_compliance

Query: search_service_replica_count_3

Usage

powerpipe query azure_compliance.query.search_service_replica_count_3

SQL

select
s.id as resource,
case
when replica_count > 3 then 'ok'
else 'alarm'
end as status,
name || ' has ' || replica_count || ' replica count.' as reason
, s.resource_group as resource_group
, sub.display_name as subscription
from
azure_search_service as s,
azure_subscription as sub
where
sub.subscription_id = s.subscription_id;

Controls

The query is being used by the following controls: