turbot/azure_compliance

Query: redis_cache_in_virtual_network

Usage

powerpipe query azure_compliance.query.redis_cache_in_virtual_network

SQL

select
redis.id as resource,
case
when subnet_id is not null then 'ok'
else 'alarm'
end as status,
case
when subnet_id is not null then redis.name || ' in virtual network.'
else redis.name || ' not in virtual network.'
end as reason,
redis.resource_group as resource_group,
sub.display_name as subscription
from
azure_redis_cache as redis,
azure_subscription as sub
where
sub.subscription_id = redis.subscription_id;

Controls

The query is being used by the following controls: