Skip to content
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

filter ServerOp params #205

Closed
catmando opened this issue Jun 21, 2019 · 1 comment
Closed

filter ServerOp params #205

catmando opened this issue Jun 21, 2019 · 1 comment

Comments

@catmando
Copy link
Contributor

ServerOp params can have deeply embedded password and other confidential data that should not be logged in the rails logger.

@catmando
Copy link
Contributor Author

This will be solved by sending all ServerOp data in the hyperstack_secure_json param which by default will be filtered by the rails filtering mechanism.

If you want to log data for specific controllers you can add a

step { .... do some logging ... }

to your Server or ControllerOp.

if you want to turn on all logging (say in development) you can add this to your environments/development.rb file

config.filter_parameters.delete(:hyperstack_secured_json)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant