You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues, and I could not find an existing issue for this bug
Current Behavior
When secrets are used in the jinja log function, they do not get scrubbed to ***** as they do elsewhere in logs. They appear in the log as the literal text we use to ensure they are not leaked.
To be clear, the secrets are not currently leaked but the behavior is inconsistent with how secrets appear elsewhere in logs.
Expected Behavior
Secrets should display as ***** in logs.
Steps To Reproduce
Define a packages.yml
packages:
- local: "{{ log(env_var('DBT_ENV_SECRET_MINE'), info = true) }}"
Is this a new bug in dbt-core?
Current Behavior
When secrets are used in the jinja log function, they do not get scrubbed to
*****
as they do elsewhere in logs. They appear in the log as the literal text we use to ensure they are not leaked.To be clear, the secrets are not currently leaked but the behavior is inconsistent with how secrets appear elsewhere in logs.
Expected Behavior
Secrets should display as
*****
in logs.Steps To Reproduce
packages.yml
DBT_ENV_SECRET_MINE=abc dbt deps
Relevant log output
No response
Environment
Which database adapter are you using with dbt?
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: