Skip to content

Commit 1d193b2

Browse files
authored
[rails] Don't filter any parameters (#9519)
+----------------------------+---------+------+------+-----+-----+-------+------------+--------------+ | branch_name|plaintext|update| json| db|query|fortune|cached-query|weighted_score| +----------------------------+---------+------+------+-----+-----+-------+------------+--------------+ | master| 19856| 8736| 58300|22475|15399| 15217| 15521| 1094| | rails/empty-param-filters| 20338| 9586| 58739|23154|15566| 16374| 16798| 1162| +----------------------------+---------+------+------+-----+-----+-------+------------+--------------+
1 parent 82b2fc4 commit 1d193b2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

frameworks/Ruby/rails/config/initializers/filter_parameter_logging.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,4 @@
33
# Configure parameters to be partially matched (e.g. passw matches password) and filtered from the log file.
44
# Use this to limit dissemination of sensitive information.
55
# See the ActiveSupport::ParameterFilter documentation for supported notations and behaviors.
6-
Rails.application.config.filter_parameters += [
7-
:passw, :email, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn, :cvv, :cvc
8-
]
6+
Rails.application.config.filter_parameters = []

0 commit comments

Comments
 (0)