turbot/aws_compliance

Query: es_domain_in_vpc

Usage

powerpipe query aws_compliance.query.es_domain_in_vpc

Steampipe Tables

SQL

select
arn as resource,
case
when vpc_options ->> 'VPCId' is null then 'alarm'
else 'ok'
end status,
case
when vpc_options ->> 'VPCId' is null then title || ' not in VPC.'
else title || ' in VPC ' || (vpc_options ->> 'VPCId') || '.'
end reason
, region, account_id
from
aws_elasticsearch_domain;

Controls

The query is being used by the following controls: