@microsoft/ocsdk
Advanced tools
Comparing version 0.4.2-main.1b891ac to 0.4.2-main.543077b
@@ -8,2 +8,5 @@ # Changelog | ||
### Changed | ||
- Removal of `recursive call` in `LoggingSanitizer` as preventive measure for `stack overflow` | ||
## [0.4.1] - 2023-11-10 | ||
@@ -10,0 +13,0 @@ |
@@ -5,3 +5,6 @@ export declare class LoggingSanitizer { | ||
static stripGeolocation(data: any): void; | ||
static stripAuthenticationUserToken(headers: any): void; | ||
static stripRequestPayloadData(configObject: any): void; | ||
static stripAxiosErrorSensitiveProperties(errorObject: any): void; | ||
static stripErrorSensitiveProperties(errorObject: any): void; | ||
} |
@@ -66,52 +66,85 @@ "use strict"; | ||
}, { | ||
key: "stripErrorSensitiveProperties", | ||
value: function stripErrorSensitiveProperties(errorObject) { | ||
var _Object$keys2, | ||
_this = this; | ||
key: "stripAuthenticationUserToken", | ||
value: function stripAuthenticationUserToken(headers) { | ||
// eslint-disable-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types | ||
if (headers) { | ||
if (Object.keys(headers).includes('AuthenticatedUserToken')) { | ||
headers['AuthenticatedUserToken'] = _Constants["default"].hiddenContentPlaceholder; | ||
} | ||
if (Object.keys(headers).includes('AuthCodeNonce')) { | ||
headers['AuthCodeNonce'] = _Constants["default"].hiddenContentPlaceholder; | ||
} | ||
} | ||
} | ||
}, { | ||
key: "stripRequestPayloadData", | ||
value: function stripRequestPayloadData(configObject) { | ||
// eslint-disable-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types | ||
if (errorObject && (0, _typeof2["default"])(errorObject) === 'object' && ((_Object$keys2 = Object.keys(errorObject)) === null || _Object$keys2 === void 0 ? void 0 : _Object$keys2.length) > 0) { | ||
var _Object$keys3; | ||
if (configObject !== null && configObject !== void 0 && configObject.data) { | ||
var data; | ||
(_Object$keys3 = Object.keys(errorObject)) === null || _Object$keys3 === void 0 ? void 0 : _Object$keys3.forEach(function (key) { | ||
if (_Constants["default"].sensitiveProperties.indexOf(key) !== -1) { | ||
// remove sensitive properties from error object | ||
delete errorObject["".concat(key)]; | ||
if (typeof configObject.data === 'string') { | ||
// eslint-disable-line security/detect-object-injection | ||
try { | ||
data = JSON.parse(configObject.data); // eslint-disable-line security/detect-object-injection | ||
} catch (_unused) { | ||
data = undefined; | ||
} | ||
} | ||
if (key === 'data') { | ||
var data; | ||
if (data) { | ||
if (Object.keys(data).includes('preChatResponse')) { | ||
LoggingSanitizer.stripPreChatResponse(data.preChatResponse); | ||
} | ||
if (typeof errorObject[key] === 'string') { | ||
// eslint-disable-line security/detect-object-injection | ||
try { | ||
data = JSON.parse(errorObject[key]); // eslint-disable-line security/detect-object-injection | ||
} catch (_unused) { | ||
data = undefined; | ||
} | ||
} | ||
if (Object.keys(data).includes('customContextData')) { | ||
LoggingSanitizer.stripCustomContextDataValues(data.customContextData); | ||
} | ||
if (data) { | ||
if (Object.keys(data).includes('preChatResponse')) { | ||
LoggingSanitizer.stripPreChatResponse(data.preChatResponse); | ||
} | ||
LoggingSanitizer.stripGeolocation(data); | ||
configObject.data = JSON.stringify(data); // eslint-disable-line security/detect-object-injection | ||
} | ||
} | ||
} | ||
}, { | ||
key: "stripAxiosErrorSensitiveProperties", | ||
value: function stripAxiosErrorSensitiveProperties(errorObject) { | ||
// eslint-disable-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types | ||
if (errorObject.isAxiosError) { | ||
var _errorObject$config, _errorObject$config3, _errorObject$response, _errorObject$response2, _errorObject$response4, _errorObject$response5; | ||
if (Object.keys(data).includes('customContextData')) { | ||
LoggingSanitizer.stripCustomContextDataValues(data.customContextData); | ||
} | ||
if (errorObject !== null && errorObject !== void 0 && (_errorObject$config = errorObject.config) !== null && _errorObject$config !== void 0 && _errorObject$config.headers) { | ||
var _errorObject$config2; | ||
LoggingSanitizer.stripGeolocation(data); | ||
errorObject[key] = JSON.stringify(data); // eslint-disable-line security/detect-object-injection | ||
} | ||
} | ||
LoggingSanitizer.stripAuthenticationUserToken(errorObject === null || errorObject === void 0 ? void 0 : (_errorObject$config2 = errorObject.config) === null || _errorObject$config2 === void 0 ? void 0 : _errorObject$config2.headers); | ||
} | ||
if (errorObject["".concat(key)] !== null && (0, _typeof2["default"])(errorObject["".concat(key)]) === 'object') { | ||
// check sensitive properties in nested error object | ||
_this.stripErrorSensitiveProperties(errorObject["".concat(key)]); | ||
if (errorObject !== null && errorObject !== void 0 && (_errorObject$config3 = errorObject.config) !== null && _errorObject$config3 !== void 0 && _errorObject$config3.data) { | ||
this.stripRequestPayloadData(errorObject === null || errorObject === void 0 ? void 0 : errorObject.config); | ||
} | ||
return; | ||
} | ||
}); | ||
if (errorObject !== null && errorObject !== void 0 && (_errorObject$response = errorObject.response) !== null && _errorObject$response !== void 0 && (_errorObject$response2 = _errorObject$response.config) !== null && _errorObject$response2 !== void 0 && _errorObject$response2.data) { | ||
var _errorObject$response3; | ||
this.stripRequestPayloadData(errorObject === null || errorObject === void 0 ? void 0 : (_errorObject$response3 = errorObject.response) === null || _errorObject$response3 === void 0 ? void 0 : _errorObject$response3.config); | ||
} | ||
if (errorObject !== null && errorObject !== void 0 && (_errorObject$response4 = errorObject.response) !== null && _errorObject$response4 !== void 0 && (_errorObject$response5 = _errorObject$response4.config) !== null && _errorObject$response5 !== void 0 && _errorObject$response5.headers) { | ||
var _errorObject$response6, _errorObject$response7; | ||
LoggingSanitizer.stripAuthenticationUserToken(errorObject === null || errorObject === void 0 ? void 0 : (_errorObject$response6 = errorObject.response) === null || _errorObject$response6 === void 0 ? void 0 : (_errorObject$response7 = _errorObject$response6.config) === null || _errorObject$response7 === void 0 ? void 0 : _errorObject$response7.headers); | ||
} | ||
} | ||
} | ||
}, { | ||
key: "stripErrorSensitiveProperties", | ||
value: function stripErrorSensitiveProperties(errorObject) { | ||
var _Object$keys2; | ||
// eslint-disable-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types | ||
if (errorObject && (0, _typeof2["default"])(errorObject) === 'object' && ((_Object$keys2 = Object.keys(errorObject)) === null || _Object$keys2 === void 0 ? void 0 : _Object$keys2.length) > 0) { | ||
this.stripAxiosErrorSensitiveProperties(errorObject); | ||
} | ||
} | ||
}]); | ||
@@ -122,2 +155,2 @@ return LoggingSanitizer; | ||
exports.LoggingSanitizer = LoggingSanitizer; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9VdGlscy9Mb2dnaW5nU2FuaXRpemVyLnRzIl0sIm5hbWVzIjpbIkxvZ2dpbmdTYW5pdGl6ZXIiLCJjdXN0b21Db250ZXh0RGF0YSIsIk9iamVjdCIsImtleXMiLCJmb3JFYWNoIiwiY29udGV4dEtleSIsInZhbHVlIiwiQ29uc3RhbnRzIiwiaGlkZGVuQ29udGVudFBsYWNlaG9sZGVyIiwicHJlQ2hhdFJlc3BvbnNlIiwicmVzcG9uc2VLZXkiLCJkYXRhIiwiaW5jbHVkZXMiLCJlcnJvck9iamVjdCIsImxlbmd0aCIsImtleSIsInNlbnNpdGl2ZVByb3BlcnRpZXMiLCJpbmRleE9mIiwiSlNPTiIsInBhcnNlIiwidW5kZWZpbmVkIiwic3RyaXBQcmVDaGF0UmVzcG9uc2UiLCJzdHJpcEN1c3RvbUNvbnRleHREYXRhVmFsdWVzIiwic3RyaXBHZW9sb2NhdGlvbiIsInN0cmluZ2lmeSIsInN0cmlwRXJyb3JTZW5zaXRpdmVQcm9wZXJ0aWVzIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7QUFBQTs7SUFFYUEsZ0I7Ozs7Ozs7V0FDWCxzQ0FBMkNDLGlCQUEzQyxFQUF5RTtBQUFFO0FBQ3pFLFVBQUlBLGlCQUFKLEVBQXVCO0FBQUE7O0FBQ3JCLHdCQUFBQyxNQUFNLENBQUNDLElBQVAsQ0FBWUYsaUJBQVosK0RBQWdDRyxPQUFoQyxDQUF3QyxVQUFDQyxVQ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zIGZyb20gZXJyb3Igb2JqZWN0XG4gICAgICAgICAgICBkZWxldGUgZXJyb3JPYmplY3RbYCR7a2V5fWBdO1xuICAgICAgICAgIH1cblxuICAgICAgICAgIGlmIChrZXkgPT09ICdkYXRhJykge1xuICAgICAgICAgICAgbGV0IGRhdGE7XG4gICAgICAgICAgICBpZiAodHlwZW9mIGVycm9yT2JqZWN0W2tleV0gPT09ICdzdHJpbmcnKSB7IC8vIGVzbGludC1kaXNhYmxlLWxpbmUgc2VjdXJpdHkvZGV0ZWN0LW9iamVjdC1pbmplY3Rpb25cbiAgICAgICAgICAgICAgdHJ5IHtcbiAgICAgICAgICAgICAgICBkYXRhID0gSlNPTi5wYXJzZShlcnJvck9iamVjdFtrZXldKTsgLy8gZXNsaW50LWRpc2FibGUtbGluZSBzZWN1cml0eS9kZXRlY3Qtb2JqZWN0LWluamVjdGlvblxuICAgICAgICAgICAgICB9IGNhdGNoIHtcbiAgICAgICAgICAgICAgICBkYXRhID0gdW5kZWZpbmVkO1xuICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIGlmIChkYXRhKSB7XG4gICAgICAgICAgICAgIGlmIChPYmplY3Qua2V5cyhkYXRhKS5pbmNsdWRlcygncHJlQ2hhdFJlc3BvbnNlJykpIHtcbiAgICAgICAgICAgICAgICBMb2dnaW5nU2FuaXRpemVyLnN0cmlwUHJlQ2hhdFJlc3BvbnNlKGRhdGEucHJlQ2hhdFJlc3BvbnNlKTtcbiAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgIGlmIChPYmplY3Qua2V5cyhkYXRhKS5pbmNsdWRlcygnY3VzdG9tQ29udGV4dERhdGEnKSkge1xuICAgICAgICAgICAgICAgIExvZ2dpbmdTYW5pdGl6ZXIuc3RyaXBDdXN0b21Db250ZXh0RGF0YVZhbHVlcyhkYXRhLmN1c3RvbUNvbnRleHREYXRhKTtcbiAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgIExvZ2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5cGVzY3JpcHQtZXNsaW50L25vLWV4cGxpY2l0LWFueSwgQHR5cGVzY3JpcHQtZXNsaW50L2V4cGxpY2l0LW1vZHVsZS1ib3VuZGFyeS10eXBlc1xuICAgIGlmIChlcnJvck9iamVjdCAmJiB0eXBlb2YgZXJyb3JPYmplY3QgPT09ICdvYmplY3QnICYmIE9iamVjdC5rZXlzKGVycm9yT2JqZWN0KT8ubGVuZ3RoID4gMCkge1xuICAgICAgdGhpcy5zdHJpcEF4aW9zRXJyb3JTZW5zaXRpdmVQcm9wZXJ0aWVzKGVycm9yT2JqZWN0KTtcbiAgICB9XG4gIH1cbn1cbiJdfQ== |
{ | ||
"name": "@microsoft/ocsdk", | ||
"version": "0.4.2-main.1b891ac", | ||
"version": "0.4.2-main.543077b", | ||
"description": "Microsoft Omnichannel SDK", | ||
@@ -5,0 +5,0 @@ "files": [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6055304
7030