-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: redact secrets when logging requests/responses
This commit introduces a number of changes: 1. A new RedactSecrets(string) function that will recognize a few different patterns re: secrets and redact things like passwords, access tokens, api keys, etc. 2. Debug logging of requests and responses was added to the IAM and CP4D authenticators 3. The Iam and CP4D authenticator tests were instrumented to make it easy to enable debug logging while running the tests to facilitate debugging and problem diagnosis. 4. All components that perform debug logging of requests and responses will now use the new RedactSecrets function to sanitize the logged messages.
- Loading branch information
Showing
9 changed files
with
206 additions
and
48 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
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
Oops, something went wrong.