-
Notifications
You must be signed in to change notification settings - Fork 257
Make URL Redaction more dynamic #2716
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 2 commits
e0651b7
8d1de51
b4d41fd
781fa52
9a25f45
53aa2c8
8368977
ddc2531
0859848
1822734
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -232,19 +232,34 @@ export interface IConfiguration extends IOTelConfig { | |
| expCfg?: IExceptionConfig; | ||
|
|
||
| /** | ||
| * [Optional] A flag to enable or disable the use of the field redaction for urls. | ||
| * [Optional] A flag to enable or disable redaction for username and password in URLs. | ||
| * @defaultValue true | ||
| */ | ||
| redactUrls?: boolean; | ||
|
|
||
| /** | ||
| * [Optional] A flag to enable or disable redaction for query parameters. | ||
| * @defaultValue true | ||
| */ | ||
| redactQueryParams?: boolean; | ||
|
||
|
|
||
| /** | ||
| * [Optional] Additional query parameters to redact beyond the default set. | ||
| * Use this to specify custom parameters that contain sensitive information. | ||
| * These will be combined with the default parameters that are redacted. | ||
| * @defaultValue ["sig", "Signature", "AWSAccessKeyId", "X-Goog-Signature"] | ||
| * @example ["sig", "Signature", "AWSAccessKeyId", "X-Goog-Signature","auth_token", "api_key", "private_data"] | ||
| */ | ||
| redactQueryParams?: string[]; | ||
| appendRedactQueryParams?: string[]; | ||
rads-1996 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| /** | ||
| * [Optional] Replaces the default set with a custom set of query parameters to redact. | ||
| * Use this to specify custom parameters that contain sensitive information. | ||
| * These will replace the default parameters that are redacted. | ||
| * @defaultValue ["sig", "Signature", "AWSAccessKeyId", "X-Goog-Signature"] | ||
| * @example ["auth_token", "api_key", "private_data"] | ||
| */ | ||
| replaceRedactQueryParams?: string[]; | ||
rads-1996 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ///** | ||
| // * [Optional] Internal SDK configuration for developers | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.