turbot/aws_compliance

Query: ec2_client_vpn_endpoint_client_connection_logging_enabled

Usage

powerpipe query aws_compliance.query.ec2_client_vpn_endpoint_client_connection_logging_enabled

SQL

select
client_vpn_endpoint_id as resource,
case
when (connection_log_options ->> 'Enabled')::bool then 'ok'
else 'alarm'
end as status,
case
when (connection_log_options ->> 'Enabled')::bool then title || ' client connection logging enabled.'
else title || ' client connection logging disabled.'
end as reason
, region, account_id
from
aws_ec2_client_vpn_endpoint;

Controls

The query is being used by the following controls: