How to redact sensitive parameters in GraphQL and Rails?
13-May-2021 2028
Every application holds a sensitive or private information that needs to be protected from being leaked. Most application will writes details to the logs which are accessible to the application developer to debug and trace activities whenever needed.A best practice is to hide the sensitive information from the logs by redacting the sensitive parameters.You can redact specific parameters in the logs for GraphQL APIs when using with Rails on the server side by setting the config.filter_parameters.Example: A creditCardNumber should be redacted in the logs.
How to redact sensitive parameters in GraphQL and Rails? #ruby #rubydeveloper #rubyonrails #redact #sensitive #parameters #GraphQL #Rails? #parameters https://rubyonrails.ba/link/how-to-redact-sensitive-parameters-in-graphql-and-rails