Update st2common/st2common/util/output_schema.py
switch to using Collection instead of bool check
@@ -69,7 +69,7 @@ def mask_secret_output(ac_ex, output_value):
return output_value
for key, spec in output_schema.items():
- if not isinstance(output_value[output_key], bool):
+ if isinstance(output_value[output_key], Collection):
if key in output_value[output_key] and spec.get("secret", False):
output_value[output_key][key] = MASKED_ATTRIBUTE_VALUE
