You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
terrascan version: last I presume (I use github/super-linter)
Operating System: github/super-linter in docker container
Description
I got this error:
- rule_name: reme_keyVaultAuditLoggingEnabled
description: Ensure that logging for Azure KeyVault is 'Enabled'
rule_id: accurics.azure.EKM.20
severity: HIGH
category: Encryption and Key Management
resource_name: main
resource_type: azurerm_key_vault
file: main.tf
line: 145
Hello @siwon, thanks for the bug report. I took a first look at the policy, and from what I can tell, it seems to be failing trying to link the azurerm_monitor_diagnostic_setting resource to the corresponding keyvault resource. Hence, it thinks no logging is set. I'll check with the policy folks tonight.
One change that made the match work (just based on what I saw in the policy):
target_resource_id = "azurerm_key_vault.main"
It could be a rendering issue as well; will investigate.
Description
I got this error:
What I Did
Here is my terraform config :
What am I missing ?
The text was updated successfully, but these errors were encountered: