@algoan/nestjs-http-exception-filter
Advanced tools
Comparing version 1.0.21 to 1.1.0
@@ -59,2 +59,2 @@ "use strict"; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3IudXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvZXJyb3IudXRpbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQ0EsbUNBQTRDO0FBUTVDLFNBQWdCLE9BQU8sQ0FBQyxVQUFzQztJQUM1RCxJQUFJLE9BQU8sVUFBVSxLQUFLLFFBQVEsRUFBRTtRQUNsQyxPQUFPLGVBQWUsQ0FBQyxVQUFVLENBQUMsQ0FBQztLQUNwQztJQUVELElBQUksT0FBTyxJQUFJLFVBQVUsSUFBSSxPQUFPLFVBQVUsQ0FBQyxLQUFLLEtBQUssUUFBUSxFQUFFO1FBQ2pFLE9BQU8sZUFBZSxDQUFDLFVBQVUsQ0FBQyxLQUFLLENBQUMsQ0FBQztLQUMxQztJQUVELElBQUksTUFBTSxJQUFJLFVBQVUsSUFBSSxPQUFPLFVBQVUsQ0FBQyxJQUFJLEtBQUssUUFBUSxFQUFFO1FBQy9ELE9BQU8sVUFBVSxDQUFDLElBQUksQ0FBQztLQUN4QjtJQUVELE9BQU8sRUFBRSxDQUFDO0FBQ1osQ0FBQztBQWRELDBCQWNDO0FBS0QsU0FBZ0IsZUFBZSxDQUFDLFVBQXNDO0lBQ3BFLElBQUksT0FBTyxVQUFVLEtBQUssUUFBUSxFQUFFO1FBQ2xDLE9BQU8sVUFBVSxDQUFDO0tBQ25CO0lBRUQsSUFBSSxPQUFPLFVBQVUsQ0FBQyxPQUFPLEtBQUssUUFBUSxFQUFFO1FBQzFDLE9BQU8sVUFBVSxDQUFDLE9BQU8sQ0FBQztLQUMzQjtJQUVELElBQUksS0FBSyxDQUFDLE9BQU8sQ0FBQyxVQUFVLENBQUMsT0FBTy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FJLENBQUMsUUFBUSxDQUFDLENBQUMsT0FBTyxDQUFDLENBQUMsR0FBVyxFQUFRLEVBQUU7UUFDbEQsT0FBTyxJQUFJLEdBQUcsT0FBTyxLQUFLLEVBQUUsQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsQ0FBQyxNQUFNLEdBQUcsUUFBUSxDQUFDLEdBQUcsQ0FBQyxFQUFFLENBQUM7SUFDL0QsQ0FBQyxDQUFDLENBQUM7SUFFSCxPQUFPLE9BQU8sQ0FBQztBQUNqQixDQUFDO0FBS0QsU0FBUyxlQUFlLENBQUMsS0FBc0I7SUFDN0MsSUFBSSxlQUFlLEdBQW9CLEtBQUssQ0FBQztJQUM3QyxPQUFPLGVBQWUsQ0FBQyxRQUFRLEtBQUssU0FBUyxFQUFFLENBQUM7UUFDOUMsZUFBZSxHQUFHLGVBQWUsQ0FBQyxRQUFRLENBQUMsQ0FBQyxDQUFDLENBQUM7SUFDaEQsQ0FBQztJQUVELE9BQU8sZUFBZSxDQUFDLFdBQVcsQ0FBQztBQUNyQyxDQUFDIn0= |
import { ArgumentsHost, ExceptionFilter } from '@nestjs/common'; | ||
export type MaskHeaders = Record<string, boolean | ((headerValue: string | string[]) => unknown)>; | ||
export interface HttpExceptionFilterOptions { | ||
disableMasking?: boolean; | ||
maskingPlaceholder?: string; | ||
mask?: { | ||
requestHeader?: MaskHeaders; | ||
}; | ||
} | ||
export declare class HttpExceptionFilter implements ExceptionFilter { | ||
private readonly logger; | ||
private readonly disableMasking; | ||
private readonly maskingPlaceholder; | ||
private readonly mask; | ||
constructor(options?: HttpExceptionFilterOptions); | ||
catch(exception: any, host: ArgumentsHost): void; | ||
private maskHeaders; | ||
} |
@@ -10,4 +10,8 @@ "use strict"; | ||
let HttpExceptionFilter = HttpExceptionFilter_1 = class HttpExceptionFilter { | ||
constructor() { | ||
constructor(options) { | ||
var _a, _b, _c; | ||
this.logger = new common_1.Logger(HttpExceptionFilter_1.name); | ||
this.disableMasking = (_a = options === null || options === void 0 ? void 0 : options.disableMasking) !== null && _a !== void 0 ? _a : false; | ||
this.maskingPlaceholder = (_b = options === null || options === void 0 ? void 0 : options.maskingPlaceholder) !== null && _b !== void 0 ? _b : '****'; | ||
this.mask = (_c = options === null || options === void 0 ? void 0 : options.mask) !== null && _c !== void 0 ? _c : {}; | ||
} | ||
@@ -43,3 +47,3 @@ catch(exception, host) { | ||
message: `${status} [${request.method} ${request.url}] has thrown a critical error`, | ||
headers: request.headers, | ||
headers: this.maskHeaders(request.headers), | ||
}, exceptionStack); | ||
@@ -51,3 +55,3 @@ } | ||
exceptionStack, | ||
headers: request.headers, | ||
headers: this.maskHeaders(request.headers), | ||
}); | ||
@@ -61,7 +65,35 @@ } | ||
} | ||
maskHeaders(headers) { | ||
var _a; | ||
if (this.disableMasking || ((_a = this.mask) === null || _a === void 0 ? void 0 : _a.requestHeader) === undefined) { | ||
return headers; | ||
} | ||
return Object.keys(headers).reduce((maskedHeaders, headerKey) => { | ||
var _a, _b; | ||
const headerValue = headers[headerKey]; | ||
const mask = (_b = (_a = this.mask) === null || _a === void 0 ? void 0 : _a.requestHeader) === null || _b === void 0 ? void 0 : _b[headerKey]; | ||
if (headerValue === undefined) { | ||
return maskedHeaders; | ||
} | ||
if (mask === true) { | ||
return Object.assign(Object.assign({}, maskedHeaders), { [headerKey]: this.maskingPlaceholder }); | ||
} | ||
if (typeof mask === 'function') { | ||
try { | ||
return Object.assign(Object.assign({}, maskedHeaders), { [headerKey]: mask(headerValue) }); | ||
} | ||
catch (error) { | ||
this.logger.warn(`HttpFilterOptions - Masking error for header ${headerKey}`, { error, mask, headerKey }); | ||
return Object.assign(Object.assign({}, maskedHeaders), { [headerKey]: this.maskingPlaceholder }); | ||
} | ||
} | ||
return maskedHeaders; | ||
}, headers); | ||
} | ||
}; | ||
exports.HttpExceptionFilter = HttpExceptionFilter; | ||
exports.HttpExceptionFilter = HttpExceptionFilter = HttpExceptionFilter_1 = tslib_1.__decorate([ | ||
(0, common_1.Catch)() | ||
(0, common_1.Catch)(), | ||
tslib_1.__metadata("design:paramtypes", [Object]) | ||
], HttpExceptionFilter); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaHR0cC1leGNlcHRpb24tZmlsdGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2h0dHAtZXhjZXB0aW9uLWZpbHRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLDJDQUEwRztBQUcxRyxtQ0FBNkI7QUFDN0IsK0NBQXlEO0FBTWxELElBQU0sbUJBQW1CLDJCQUF6QixNQUFNLG1CQUFtQjtJQUF6QjtRQUNZLFdBQU0sR0FBVyxJQUFJLGVBQU0sQ0FBQyxxQkFBbUIsQ0FBQyxJQUFJLENBQUMsQ0FBQztJQTBEekUsQ0FBQztJQXBEUSxLQUFLLENBQUMsU0FBYyxFQUFFLElBQW1CO1FBQzlDLE1BQU0sR0FBRyxHQUFzQixJQUFJLENBQUMsWUFBWSxFQUFFLENBQUM7UUFDbkQsTUFBTSxPQUFPLEdBQVksR0FBRyxDQUFDLFVBQVUsRUFBRSxDQUFDO1FBQzFDLE1BQU0sUUFBUSxHQUFhLEdBQUcsQ0FBQyxXQUFXLEVBQUUsQ0FBQztRQUM3QyxJQUFJLE1BQWMsQ0FBQztRQUVuQixJQUFJLFNBQVMsWUFBWSxzQkFBYSxFQUFFO1lBQ3RDLE1BQU0sR0FBRyxTQUFTLENBQUMsU0FBUyxFQUFFLENBQUM7U0FDaEM7YUFBTTtZQUVMLE1BQU0sSUFBSSxHQUF1QixJQUFBLFlBQUcsRUFBQyxTQUFTLEVBQUUsTUFBTSxDQUFDLENBQUM7WUFDeEQsTUFBTSxHQUFHLElBQUksS0FBSyxrQkFBa0IsQ0FBQyxDQUFDLENBQUMsbUJBQVUsQ0FBQyxpQkFBaUIsQ0FBQyxDQUFDLENBQUMsbUJBQVUsQ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nQkFDbEIsdUNBQ0ssYUFBYSxLQUNoQixDQUFDLFNBQVMsQ0FBQyxFQUFFLElBQUksQ0FBQyxrQkFBa0IsSUFDcEM7WUFDSixDQUFDO1lBRUQsSUFBSSxPQUFPLElBQUksS0FBSyxVQUFVLEVBQUUsQ0FBQztnQkFDL0IsSUFBSSxDQUFDO29CQUNILHVDQUNLLGFBQWEsS0FDaEIsQ0FBQyxTQUFTLENBQUMsRUFBRSxJQUFJLENBQUMsV0FBVyxDQUFDLElBQzlCO2dCQUNKLENBQUM7Z0JBQUMsT0FBTyxLQUFLLEVBQUUsQ0FBQztvQkFDZixJQUFJLENBQUMsTUFBTSxDQUFDLElBQUksQ0FBQyxnREFBZ0QsU0FBUyxFQUFFLEVBQUUsRUFBRSxLQUFLLEVBQUUsSUFBSSxFQUFFLFNBQVMsRUFBRSxDQUFDLENBQUM7b0JBRTFHLHVDQUNLLGFBQWEsS0FDaEIsQ0FBQyxTQUFTLENBQUMsRUFBRSxJQUFJLENBQUMsa0JBQWtCLElBQ3BDO2dCQUNKLENBQUM7WUFDSCxDQUFDO1lBRUQsT0FBTyxhQUFhLENBQUM7UUFDdkIsQ0FBQyxFQUNELE9BQU8sQ0FDUixDQUFDO0lBQ0osQ0FBQztDQUNGLENBQUE7QUFySFksa0RBQW1COzhCQUFuQixtQkFBbUI7SUFEL0IsSUFBQSxjQUFLLEdBQUU7O0dBQ0ssbUJBQW1CLENBcUgvQiJ9 |
{ | ||
"name": "@algoan/nestjs-http-exception-filter", | ||
"version": "1.0.21", | ||
"version": "1.1.0", | ||
"description": "A simple http exception filter for NestJS applications", | ||
@@ -47,3 +47,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "abe09f8dd086ad222fb192cd35546893f1ae7780" | ||
"gitHead": "98878de4615ab865fa0297c6f3ffecada93a5ea0" | ||
} |
18652
184
235