turbot / steampipe-mod-azure-tags

Is your Azure tagging strategy following best practice? This mod checks if your Azure resource tags are set correctly to help you manage them effectively using Powerpipe and Steampipe.
https://hub.powerpipe.io/mods/turbot/azure_tags
Apache License 2.0
6 stars 3 forks source link

Add a new benchmark to check specific tag values. Closes #23 #24

Closed Priyanka-Chatterjee-2000 closed 1 year ago

Priyanka-Chatterjee-2000 commented 1 year ago

Output of expected benchmark control virtual_network_expected_tag_values with all the test cases :-

steampipe-mod-azure-tags % steampipe check control.virtual_network_expected_tag_values   

+ Virtual networks should have appropriate tag values .......................... 1 / 4 [==========]
  | 
  ALARM: Vnet-cmk has unexpected tag values for tags: CostCenter, Environment. ............................ demo d44d4444-f99f-4444-bbb8-555555555555
  OK   : turbot_rgvnet281 has expected tag values for tags: Environment, created_by. ................... turbot_rg d44d4444-f99f-4444-bbb8-555555555555
  SKIP : turbot_rg-vnet resource has no matching tag keys. ..................................... turbot_rg d44d4444-f99f-4444-bbb8-555555555555
  SKIP : demo-vnet has no tags. ........................... demo d44d4444-f99f-4444-bbb8-555555555555