forked from zammad/zammad
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Maintenance: Added general VCR cassette BasicAuth mask handling for F…
…reshdesk.
- Loading branch information
1 parent
7dda3cd
commit ee62e47
Showing
9 changed files
with
71 additions
and
156 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/ | ||
|
||
# The API key is used only inside the base64 encoded Basic Auth string, so mask that as well. | ||
VCR.configure do |c| | ||
c.filter_sensitive_data('<IMPORT_FRESHDESK_ENDPOINT_BASIC_AUTH>') { Base64.encode64( "#{ENV['IMPORT_FRESHDESK_ENDPOINT_KEY']}:X" ).chomp } | ||
end |
30 changes: 15 additions & 15 deletions
30
...settes/system/import/freshdesk/import_freshdesk_fields_validation_invalid_credentials.yml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
10 changes: 5 additions & 5 deletions
10
...cassettes/system/import/freshdesk/import_freshdesk_fields_validation_invalid_hostname.yml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
26 changes: 13 additions & 13 deletions
26
...ssettes/system/import/freshdesk/import_freshdesk_fields_validation_shows_start_button.yml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
30 changes: 15 additions & 15 deletions
30
...assettes/system/import/freshdesk/import_freshdesk_fields_validation_valid_credentials.yml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.