Skip to content

Instantly share code, notes, and snippets.

@dustinmm80
Last active January 18, 2016 18:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dustinmm80/6a550265187d58121f12 to your computer and use it in GitHub Desktop.
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
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