turbot/azure_insights

Query: storage_account_blob_logging

Usage

powerpipe query azure_insights.query.storage_account_blob_logging

Steampipe Tables

SQL

select
blob_service_logging ->> 'Delete' as "Delete",
blob_service_logging ->>'Read' as "Read",
blob_service_logging ->> 'Write' as "Write",
blob_service_logging -> 'RetentionPolicy' ->> 'Enabled' as "Retention Policy Enabled",
blob_service_logging -> 'RetentionPolicy' ->> 'Days' as "Retention Days"
from
azure_storage_account
where
lower(id) = $1
and subscription_id = split_part($1, '/', 3);

Dashboards

The query is used in the dashboards: