diff --git a/CHANGELOG.md b/CHANGELOG.md index 3457adf..5d275fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.3.1 (October 7th, 2023) + +- up config to omit token from logging + ## 1.3.0 (October 7th, 2023) - up node and dependencies diff --git a/cfg/config.json b/cfg/config.json index 43746e7..e9bb6c4 100644 --- a/cfg/config.json +++ b/cfg/config.json @@ -41,8 +41,24 @@ "prettyPrint": true }, "fieldOptions": { + "maskFields": [ + "password", + "request.password", + "request.token", + "items.[0].password" + ], "omitFields": [ - "custom_arguments" + "context", + "custom_arguments", + "subject.token", + "token", + "tokens", + "items.[0].tokens", + "messages.[0].tokens", + "request.items.[0].tokens", + "response.payload.token", + "response.payload.tokens", + "request.subject.token" ] } }, diff --git a/package-lock.json b/package-lock.json index ca04944..d91aec1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@restorecommerce/resource-srv", - "version": "1.3.0", + "version": "1.3.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@restorecommerce/resource-srv", - "version": "1.3.0", + "version": "1.3.1", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 241596d..9f28872 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@restorecommerce/resource-srv", - "version": "1.3.0", + "version": "1.3.1", "description": "Restore Commerce Resource Microservice", "main": "lib/start.js", "author": "n-fuse GmbH",