cloudquery icon indicating copy to clipboard operation
cloudquery copied to clipboard

Debugging File-backed Variables Error

Open bbernays opened this issue 3 years ago • 1 comments

Describe the Issue

Customers use file backed variables as ways of integrating with other systems like vault. When using a filebacked variable for DSN it is nearly impossible to debug the issue as the value is always redacted.

Possible solution

Expose a flag that would remove any redaction on local logs so that users can debug issues

bbernays avatar Mar 18 '22 14:03 bbernays

Create a disable-log-redaction flag. Ensure there is a huge warning to user about sensitive data in logs

bbernays avatar Apr 07 '22 14:04 bbernays

Should be resolved in v2. Also as a side note, if we have this problem in the future we can redact but keep first and last characters (assuming the string is long enough)

erezrokah avatar Sep 06 '22 10:09 erezrokah