20978: Merge branch 'main' into 20978-instance-types
[arvados.git] / services / api / config / initializers / filter_parameter_logging.rb
index f26d0ad223aeb2768f27cc906a739275d008409d..adc6568ce83724d2b01d7232b0873bda7c249b11 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright (C) The Arvados Authors. All rights reserved.
-#
-# SPDX-License-Identifier: AGPL-3.0
-
 # Be sure to restart your server when you modify this file.
 
-# Configure sensitive parameters which will be filtered from the log file.
-Rails.application.config.filter_parameters += [:password]
+# Configure parameters to be filtered from the log file. Use this to limit dissemination of
+# sensitive information. See the ActiveSupport::ParameterFilter documentation for supported
+# notations and behaviors.
+Rails.application.config.filter_parameters += [
+  :passw, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn
+]