diff --git a/src/lib/__snapshots__/create-config.test.ts.snap b/src/lib/__snapshots__/create-config.test.ts.snap index 65e8849f64..5020b2bfec 100644 --- a/src/lib/__snapshots__/create-config.test.ts.snap +++ b/src/lib/__snapshots__/create-config.test.ts.snap @@ -73,6 +73,7 @@ exports[`should create default config 1`] = ` "flagResolver": FlagResolver { "experiments": { "anonymiseEventLog": false, + "automatedActions": false, "caseInsensitiveInOperators": false, "celebrateUnleash": false, "customRootRolesKillSwitch": false, diff --git a/src/lib/types/experimental.ts b/src/lib/types/experimental.ts index 1f41d2f882..1e440f833c 100644 --- a/src/lib/types/experimental.ts +++ b/src/lib/types/experimental.ts @@ -34,6 +34,7 @@ export type IFlagKey = | 'newStrategyConfiguration' | 'stripHeadersOnAPI' | 'incomingWebhooks' + | 'automatedActions' | 'celebrateUnleash' | 'increaseUnleashWidth' | 'featureSearchFeedback' @@ -151,6 +152,10 @@ const flags: IFlags = { process.env.UNLEASH_EXPERIMENTAL_INCOMING_WEBHOOKS, false, ), + automatedActions: parseEnvVarBoolean( + process.env.UNLEASH_EXPERIMENTAL_AUTOMATED_ACTIONS, + false, + ), celebrateUnleash: parseEnvVarBoolean( process.env.UNLEASH_EXPERIMENTAL_CELEBRATE_UNLEASH, false,