Table: azure_storage_blob_services
This table shows data for Azure Storage Blob Services.
The primary key for this table is id.
Relations
This table depends on azure_storage_accounts.
Columns
Name | Type |
---|---|
_cq_id | uuid |
_cq_parent_id | uuid |
subscription_id | utf8 |
properties | json |
id (PK) | utf8 |
name | utf8 |
sku | json |
type | utf8 |
Example Queries
These SQL queries are sampled from CloudQuery policies and are compatible with PostgreSQL.
Ensure soft delete is enabled for Azure Storage
SELECT
'Ensure soft delete is enabled for Azure Storage' AS title,
subscription_id AS subscription_id,
id AS resource_id,
CASE
WHEN (properties->'deleteRetentionPolicy'->>'enabled')::BOOL THEN 'pass'
ELSE 'fail'
END
AS status
FROM
azure_storage_blob_services;