Skip to content

Commit

Permalink
Add authorization to REDACT_REPLACE_KEYS (#32)
Browse files Browse the repository at this point in the history
* Update redactor.rb

* Bump version
  • Loading branch information
banduk authored Dec 16, 2021
1 parent 8742fb7 commit 983c5ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/pier_logging/helpers/redactor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ class Redactor
/token/i,
/api[-._]?key/i,
/session[-._]?id/i,
/^connect\.sid$/
/^connect\.sid$/,
/authorization/i
].freeze
REDACT_REPLACE_BY = '*'.freeze

Expand Down
2 changes: 1 addition & 1 deletion lib/pier_logging/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module PierLogging
VERSION = "0.4.1"
VERSION = "0.4.2"
end

0 comments on commit 983c5ec

Please sign in to comment.