2022-01-01 13:38:12 +00:00
|
|
|
# Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
|
2021-07-14 16:19:46 +00:00
|
|
|
|
|
|
|
# The API key is used only inside the base64 encoded Basic Auth string, so mask that as well.
|
|
|
|
VCR.configure do |c|
|
2021-07-16 13:38:01 +00:00
|
|
|
c.filter_sensitive_data('<IMPORT_FRESHDESK_ENDPOINT_BASIC_AUTH>') { Base64.encode64("#{ENV['IMPORT_FRESHDESK_ENDPOINT_KEY']}:X").chomp }
|
2021-07-14 16:19:46 +00:00
|
|
|
end
|