From fdc2938dab994f70a6e872cec862c367c9b3f679 Mon Sep 17 00:00:00 2001 From: ingleiv Johansen Date: Wed, 24 Apr 2024 09:54:18 +0200 Subject: [PATCH] Ikke logg sensitivt --- .../src/main/kotlin/config/SimuleringOppdragConfig.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/etterlatte-proxy/src/main/kotlin/config/SimuleringOppdragConfig.kt b/apps/etterlatte-proxy/src/main/kotlin/config/SimuleringOppdragConfig.kt index fe357659..c2a0053c 100644 --- a/apps/etterlatte-proxy/src/main/kotlin/config/SimuleringOppdragConfig.kt +++ b/apps/etterlatte-proxy/src/main/kotlin/config/SimuleringOppdragConfig.kt @@ -24,6 +24,7 @@ class SimuleringOppdragConfig(config: Config, private val enableLogging: Boolean if (enableLogging) add(LoggingFeature().apply { setVerbose(true) setPrettyLogging(true) + setSensitiveElementNames(setOf("wsse:Security", "oppdragGjelderId", "utbetalesTilId")) }) }