turbot/aws_insights

Query: vpc_security_groups_for_opensearch

Usage

powerpipe query aws_insights.query.vpc_security_groups_for_opensearch

Steampipe Tables

SQL

select
jsonb_array_elements_text(vpc_options -> 'SecurityGroupIds') AS security_group_id
from
aws_opensearch_domain
where
arn = $1
and account_id = split_part($1, ':', 5)
and region = split_part($1, ':', 4);