Given a JSON.stringified object that may contain secrets, obfuscate them for logging. It will match parameters with "token," "key," and "secret" in strings and key/value pairs. Specifically looks for object values with : setters``, strings with = setters and Authorization headers.
This regex will p...
Submitted by chadkluck - 2 years ago (Last modified 2 years ago)