Skip to content

Commit 702ec4a

Browse files
authored
Obfuscate log stream secrets (#800)
* Obfuscating Datadog API key from export * Re-recording tests --------- Co-authored-by: Will Vedder <[email protected]>
1 parent 9c358ee commit 702ec4a

11 files changed

+2553
-2103
lines changed

src/tools/auth0/handlers/logStreams.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,11 @@ export default class LogStreamsHandler extends DefaultAPIHandler {
4141
type: 'logStreams',
4242
stripUpdateFields: ['type'],
4343
stripCreateFields: ['status', 'sink.awsPartnerEventSource'],
44-
sensitiveFieldsToObfuscate: ['sink.httpAuthorization'],
44+
sensitiveFieldsToObfuscate: [
45+
'sink.httpAuthorization',
46+
'sink.splunkToken',
47+
'sink.datadogApiKey',
48+
],
4549
});
4650
}
4751

test/e2e/recordings/should-deploy-directory-(JSON)-config-with-keyword-replacements.json

-2
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@
110110
"enable_public_signup_user_exists_error": true,
111111
"enable_sso": true,
112112
"enforce_client_authentication_on_passwordless_start": true,
113-
"new_universal_login_experience_enabled": true,
114113
"universal_login": true,
115114
"use_scope_descriptions_for_consent": false,
116115
"revoke_refresh_token_grant": false,
@@ -171,7 +170,6 @@
171170
"enable_legacy_logs_search_v2": false,
172171
"enable_public_signup_user_exists_error": true,
173172
"enable_sso": true,
174-
"new_universal_login_experience_enabled": true,
175173
"universal_login": true,
176174
"use_scope_descriptions_for_consent": false,
177175
"revoke_refresh_token_grant": false,

0 commit comments

Comments
 (0)