Filtering Params

By default, all params and event payload will be logged to CloudWatch in every request. You can override this setting with filtered_parameters to filter out sensitive information and mask it as FILTERED within the request log.

Jets.application.configure do
  config.controllers.filtered_parameters += [:password, :credit_card]
end

You can also use dot notation for nested parameters

class PostsController < ApplicationController
  config.controllers.filtered_parameters += ["user.password"]
end

Pro tip: Use the <- and -> arrow keys to move back and forward.

Edit this page

See a typo or an error? You can improve this page. This website is available on GitHub, and contributions are encouraged and welcomed. We love pull requests from you!