mirror of
https://github.com/Unleash/unleash.git
synced 2025-08-13 13:48:59 +02:00
feat: feature flag for webhook logging domain of url
This commit is contained in:
parent
48423fa980
commit
eeddadba04
@ -154,6 +154,7 @@ exports[`should create default config 1`] = `
|
||||
"useProjectReadModel": false,
|
||||
"userAccessUIEnabled": false,
|
||||
"webhookServiceNameLogging": false,
|
||||
"webhookUrlDomainLogging": false,
|
||||
},
|
||||
"externalResolver": {
|
||||
"getVariant": [Function],
|
||||
|
@ -67,7 +67,8 @@ export type IFlagKey =
|
||||
| 'useProjectReadModel'
|
||||
| 'webhookServiceNameLogging'
|
||||
| 'addonUsageMetrics'
|
||||
| 'timeAgoRefactor';
|
||||
| 'timeAgoRefactor'
|
||||
| 'webhookUrlDomainLogging';
|
||||
|
||||
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
||||
|
||||
@ -328,6 +329,10 @@ const flags: IFlags = {
|
||||
process.env.UNLEASH_TIMEAGO_REFACTOR,
|
||||
false,
|
||||
),
|
||||
webhookUrlDomainLogging: parseEnvVarBoolean(
|
||||
process.env.UNLEASH_EXPERIMENTAL_WEBHOOK_URL_DOMAIN_LOGGING,
|
||||
false,
|
||||
),
|
||||
};
|
||||
|
||||
export const defaultExperimentalOptions: IExperimentalOptions = {
|
||||
|
@ -60,6 +60,7 @@ process.nextTick(async () => {
|
||||
webhookServiceNameLogging: true,
|
||||
addonUsageMetrics: true,
|
||||
timeAgoRefactor: true,
|
||||
webhookUrlDomainLogging: true,
|
||||
},
|
||||
},
|
||||
authentication: {
|
||||
|
Loading…
Reference in New Issue
Block a user