B#46280 filter the env vars using a whitelist