turbot/terraform_aws_compliance

Query: es_domain_encrypted_using_tls_1_2

Usage

powerpipe query terraform_aws_compliance.query.es_domain_encrypted_using_tls_1_2

Steampipe Tables

SQL

select
address as resource,
case
when (attributes_std -> 'domain_endpoint_options' ->> 'tls_security_policy') = 'Policy-Min-TLS-1-2-2019-07' then 'ok'
else 'alarm'
end status,
split_part(address, '.', 2) || case
when (attributes_std -> 'domain_endpoint_options' ->> 'tls_security_policy') = 'Policy-Min-TLS-1-2-2019-07' then ' encrypted using TLS 1.2'
else ' not encrypted using TLS 1.2'
end || '.' reason
, path || ':' || start_line
from
terraform_resource
where
type = 'aws_elasticsearch_domain';

Controls

The query is being used by the following controls: