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
{{ message }}
Repository navigation
fix(plugins): hide input in validation errors #646
hide_input_in_errors is set on FOCA's own config models only. plugins.available.<id>.config and step params are validated against plugin-owned models, and the error, with its input_value, goes into the startup ValueError. For a mistyped key or a missing field next to a token, this can put a secret into the pod logs. The custom configuration chains the same kind of error with from exc, so a traceback shows it too.
The migration guide to 0.20.0 says that validation errors of the configuration no longer show the input, which is not true for these paths.
Format these errors without input (location and message only), don't chain the original error, and add regression tests for each path.
Activity