turbot/azure_insights

Query: sql_database_transparent_data_encryption

Usage

powerpipe query azure_insights.query.sql_database_transparent_data_encryption

Steampipe Tables

SQL

select
'TDE' as label,
case when transparent_data_encryption ->> 'status' = 'Enabled' then 'Enabled' else 'Disabled' end as value,
case when transparent_data_encryption ->> 'status' = 'Enabled' then 'ok' else 'alert' end as type
from
azure_sql_database
where
lower(id) = $1
and subscription_id = split_part($1, '/', 3);

Dashboards

The query is used in the dashboards: