-
Notifications
You must be signed in to change notification settings - Fork 520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redact dynamic values from logs and report #3543
Comments
And then:
|
Yes, good alternative also. I find the filter to make less change to the grammar... Also this file, with an existing
|
Thinking on it, I find a kind of possible way to implement it without changing anything. Actually, secrets are readonly.
Will trigger a runtime error. Instead of readonly, let's say secrets are "write-once". This way you can declare a secret without value, and when the secret is assigned for the first time, it gets its value to redact:
It's a little hacky but I like that it doesn't need any new syntax. I'm suspecting @fabricereix will not like this solution 👀 |
Other solution: make convention on naming.
|
What about namespace hierarchy using
|
What about one char identifier :
|
Secrets are being introduced in 6.1.0 and allow to redact known values. We need to have a way to hide values that are not known before execution. We could introduce a
redact
filter that will make a value secret:In this sample
my_secret
is a new variable whose value must be redacted from report and logs.The text was updated successfully, but these errors were encountered: