Last active
January 18, 2016 18:46
-
-
Save dustinmm80/6a550265187d58121f12 to your computer and use it in GitHub Desktop.
Patch for core on Conjur 4.5.1 to remove variable values from logs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/config/application.rb b/config/application.rb | |
index 8682244..d233004 100644 | |
--- a/config/application.rb | |
+++ b/config/application.rb | |
@@ -13,10 +13,11 @@ module ConjurCore | |
class Application < Rails::Application | |
config.eager_load_paths << "#{config.root}/app/models/secret_store.rb" | |
config.encoding = "utf-8" | |
- config.filter_parameters += [:password] | |
+ config.filter_parameters += [:password, :value] | |
config.active_support.escape_html_entities_in_json = true | |
config.sequel.schema_format = :sql | |
+ | |
config.sequel.search_path = begin | |
sp = [] | |
sp << ENV['DATABASE_SCHEMA'] if ENV['DATABASE_SCHEMA'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment