From fcdc1949de503f7226346363fdd96d9434f3d8bf Mon Sep 17 00:00:00 2001 From: Ingleiv Johansen Date: Wed, 8 May 2024 12:37:20 +0200 Subject: [PATCH] EY-3398 Sensurere respons i logg (#262) --- .../src/main/kotlin/config/SimuleringOppdragConfig.kt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/apps/etterlatte-proxy/src/main/kotlin/config/SimuleringOppdragConfig.kt b/apps/etterlatte-proxy/src/main/kotlin/config/SimuleringOppdragConfig.kt index e7380163..e100ce9f 100644 --- a/apps/etterlatte-proxy/src/main/kotlin/config/SimuleringOppdragConfig.kt +++ b/apps/etterlatte-proxy/src/main/kotlin/config/SimuleringOppdragConfig.kt @@ -25,7 +25,16 @@ class SimuleringOppdragConfig(config: Config, private val enableLogging: Boolean setSensitiveDataHelper(SoapSecurityMaskSensitiveHelper()) setVerbose(true) setPrettyLogging(true) - setSensitiveElementNames(setOf("oppdragGjelderId", "utbetalesTilId")) + setSensitiveElementNames(setOf( + /* request */ + "oppdragGjelderId", + "utbetalesTilId", + /* response */ + "gjelderId", + "gjelderNavn", + "utbetalesTilId", + "utbetalesTilNavn", + )) }) }