We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Consider the following:
type Source struct { secret string // `levee:"source"` } func Bar(s Source) { s.secret = "" Sink(s) // This should not emit a Diagnostic. }
Explicitly setting to zero-values all fields containing source data should be recognized as sanitization.
The text was updated successfully, but these errors were encountered:
Optionally, a user may wish to provide sanctioned non-zero values, e.g. s.secret = "REDACTED".
s.secret = "REDACTED"
Sorry, something went wrong.
Cross-referencing #97, a wrapping type should be able to likewise sanitize via either of Container.content = nil or Container.content.secret = "".
Container.content = nil
Container.content.secret = ""
I think we could handle some of these cases without too much headache, but in general this looks like it's going to be very tricky.
If we do a good job with it though, eventually we may be able to identify sanitizers automatically.
No branches or pull requests
Consider the following:
Explicitly setting to zero-values all fields containing source data should be recognized as sanitization.
The text was updated successfully, but these errors were encountered: