Control: Key vault managed hardware security modules should be tagged
Description
Check if Key vault managed hardware security modules have at least 1 tag.
Usage
Run the control in your terminal:
powerpipe control run azure_tags.control.key_vault_managed_hardware_security_module_untagged
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run azure_tags.control.key_vault_managed_hardware_security_module_untagged --share
Steampipe Tables
SQL
select id as resource, case when tags is not null or tags::text <> '{}' then 'ok' else 'alarm' end as status, case when tags is not null or tags::text <> '{}' then title || ' has tags.' else title || ' has no tags.' end as reason , subscription_id as subscription_id from azure_key_vault_managed_hardware_security_module;