Fix get expected value
from typing import Any, Dict, List
+from checkov.common.models.consts import ANY_VALUE
from checkov.common.models.enums import CheckCategories, CheckResult
from checkov.terraform.checks.resource.base_resource_value_check import BaseResourceValueCheck
@@ -19,5 +20,8 @@ class DBInstanceLogging(BaseResourceValueCheck):
logs_exports = conf.get('enabled_cloudwatch_logs_exports', [[]])[0]
return CheckResult.PASSED if logs_exports else CheckResult.FAILED
+ def get_expected_value(self) -> Any:
+ return ANY_VALUE
+
check = DBInstanceLogging()
