turbot/terraform_azure_compliance

Query: appservice_function_app_builtin_logging_enabled

Usage

powerpipe query terraform_azure_compliance.query.appservice_function_app_builtin_logging_enabled

Steampipe Tables

SQL

select
address as resource,
case
when (attributes_std ->> 'enable_builtin_logging') = 'false' then 'alarm'
else 'ok'
end status,
split_part(address, '.', 2) || case
when (attributes_std ->> 'enable_builtin_logging') = 'false' then ' builtin logging disabled'
else ' builtin logging enabled'
end || '.' reason
, path || ':' || start_line
from
terraform_resource
where
type in ('azurerm_function_app', 'azurerm_function_app_slot');

Controls

The query is being used by the following controls: