Control: Cognitive Search services should maintain SLA for index updates
Description
This control checks if Cognitive Search maintains SLA for index updates.
Usage
Run the control in your terminal:
powerpipe control run azure_compliance.control.search_service_replica_count_3
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run azure_compliance.control.search_service_replica_count_3 --share
SQL
This control uses a named query:
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 subscriptionfrom azure_search_service as s, azure_subscription as subwhere sub.subscription_id = s.subscription_id;