def METHOD_NAME(self):
    hcl_res = hcl2.loads("""
       resource "azurerm_monitor_log_profile" "example" {
          name = "default"
          categories = [
            "Action",
            "Delete",
            "Write",
          ]
          locations = [
            "westus",
            "global",
          ]
          retention_policy {
            enabled = true
            days    = 7
          }
        }
            """)
    resource_conf = hcl_res['resource'][0]['azurerm_monitor_log_profile']['example']
    scan_result = check.scan_resource_conf(conf=resource_conf)
    self.assertEqual(CheckResult.FAILED, scan_result)