CKV_AZURE_131 revert
@@ -18,9 +18,7 @@ class SecureStringParameterNoHardcodedValue(BaseParamCheck):
if not any(decorator["type"] == "secure" for decorator in conf["decorators"]):
# if the decorator '@secure()' is not set, then it is a normal string
return CheckResult.UNKNOWN
- default_value = conf.get("default")
- if default_value: # should be missing, or an empty string
- conf[f'{self.id}_secret'] = default_value
+ if conf.get("default"): # should be missing, or an empty string
return CheckResult.FAILED
else:
return CheckResult.PASSED
