From 061791b7d4ed8c661169f65557467602185ba488 Mon Sep 17 00:00:00 2001 From: Kayla Firestack Date: Mon, 5 Aug 2024 15:41:48 -0400 Subject: [PATCH] feat: add MFA to logs (#2726) --- config/config.exs | 2 +- config/prod.exs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/config.exs b/config/config.exs index 061b5ea86..b27479095 100644 --- a/config/config.exs +++ b/config/config.exs @@ -140,7 +140,7 @@ config :skate, Oban, # Configures Elixir's Logger config :logger, :console, format: "$time $metadata[$level] $message\n", - metadata: [:request_id] + metadata: [:mfa, :request_id] # "code" is the secret value returned by AWS to /auth/cognito/callback log_filter_params = diff --git a/config/prod.exs b/config/prod.exs index 871961bd7..ed4d37f96 100644 --- a/config/prod.exs +++ b/config/prod.exs @@ -49,7 +49,7 @@ config :logger, level: :info config :logger, :console, format: "$time $metadata[$level] node=$node $message\n", - metadata: [:request_id] + metadata: [:mfa, :request_id] # Configure Ueberauth to use Cognito / Keycloak config :ueberauth, Ueberauth,