@platform-sec/sensitive-string-core 0.6.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bson.d.ts +28 -0
- package/dist/bson.d.ts.map +1 -0
- package/dist/bson.js +37 -0
- package/dist/bson.js.map +1 -0
- package/dist/classification.d.ts +69 -0
- package/dist/classification.d.ts.map +1 -0
- package/dist/classification.js +104 -0
- package/dist/classification.js.map +1 -0
- package/dist/compare.d.ts +36 -0
- package/dist/compare.d.ts.map +1 -0
- package/dist/compare.js +123 -0
- package/dist/compare.js.map +1 -0
- package/dist/context.d.ts +78 -0
- package/dist/context.d.ts.map +1 -0
- package/dist/context.js +110 -0
- package/dist/context.js.map +1 -0
- package/dist/derive.d.ts +110 -0
- package/dist/derive.d.ts.map +1 -0
- package/dist/derive.js +153 -0
- package/dist/derive.js.map +1 -0
- package/dist/destination.d.ts +120 -0
- package/dist/destination.d.ts.map +1 -0
- package/dist/destination.js +352 -0
- package/dist/destination.js.map +1 -0
- package/dist/deterministic.d.ts +145 -0
- package/dist/deterministic.d.ts.map +1 -0
- package/dist/deterministic.js +352 -0
- package/dist/deterministic.js.map +1 -0
- package/dist/dev-mode.d.ts +177 -0
- package/dist/dev-mode.d.ts.map +1 -0
- package/dist/dev-mode.js +503 -0
- package/dist/dev-mode.js.map +1 -0
- package/dist/environment.d.ts +181 -0
- package/dist/environment.d.ts.map +1 -0
- package/dist/environment.js +558 -0
- package/dist/environment.js.map +1 -0
- package/dist/errors.d.ts +23 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +21 -0
- package/dist/errors.js.map +1 -0
- package/dist/global-state.d.ts +8 -0
- package/dist/global-state.d.ts.map +1 -0
- package/dist/global-state.js +22 -0
- package/dist/global-state.js.map +1 -0
- package/dist/hash.d.ts +74 -0
- package/dist/hash.d.ts.map +1 -0
- package/dist/hash.js +253 -0
- package/dist/hash.js.map +1 -0
- package/dist/hygiene.d.ts +242 -0
- package/dist/hygiene.d.ts.map +1 -0
- package/dist/hygiene.js +257 -0
- package/dist/hygiene.js.map +1 -0
- package/dist/index.d.ts +85 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +233 -0
- package/dist/index.js.map +1 -0
- package/dist/mask.d.ts +51 -0
- package/dist/mask.d.ts.map +1 -0
- package/dist/mask.js +461 -0
- package/dist/mask.js.map +1 -0
- package/dist/own-property.d.ts +20 -0
- package/dist/own-property.d.ts.map +1 -0
- package/dist/own-property.js +34 -0
- package/dist/own-property.js.map +1 -0
- package/dist/patterns.d.ts +12 -0
- package/dist/patterns.d.ts.map +1 -0
- package/dist/patterns.js +19 -0
- package/dist/patterns.js.map +1 -0
- package/dist/policy.d.ts +51 -0
- package/dist/policy.d.ts.map +1 -0
- package/dist/policy.js +181 -0
- package/dist/policy.js.map +1 -0
- package/dist/probe.d.ts +141 -0
- package/dist/probe.d.ts.map +1 -0
- package/dist/probe.js +213 -0
- package/dist/probe.js.map +1 -0
- package/dist/redact-copy.d.ts +61 -0
- package/dist/redact-copy.d.ts.map +1 -0
- package/dist/redact-copy.js +217 -0
- package/dist/redact-copy.js.map +1 -0
- package/dist/redact.d.ts +141 -0
- package/dist/redact.d.ts.map +1 -0
- package/dist/redact.js +514 -0
- package/dist/redact.js.map +1 -0
- package/dist/redaction-marker.d.ts +48 -0
- package/dist/redaction-marker.d.ts.map +1 -0
- package/dist/redaction-marker.js +138 -0
- package/dist/redaction-marker.js.map +1 -0
- package/dist/redaction-observer.d.ts +108 -0
- package/dist/redaction-observer.d.ts.map +1 -0
- package/dist/redaction-observer.js +103 -0
- package/dist/redaction-observer.js.map +1 -0
- package/dist/redaction-scope.d.ts +21 -0
- package/dist/redaction-scope.d.ts.map +1 -0
- package/dist/redaction-scope.js +44 -0
- package/dist/redaction-scope.js.map +1 -0
- package/dist/reference.d.ts +101 -0
- package/dist/reference.d.ts.map +1 -0
- package/dist/reference.js +123 -0
- package/dist/reference.js.map +1 -0
- package/dist/regexp.d.ts +25 -0
- package/dist/regexp.d.ts.map +1 -0
- package/dist/regexp.js +61 -0
- package/dist/regexp.js.map +1 -0
- package/dist/release.d.ts +88 -0
- package/dist/release.d.ts.map +1 -0
- package/dist/release.js +108 -0
- package/dist/release.js.map +1 -0
- package/dist/reveal-budget.d.ts +148 -0
- package/dist/reveal-budget.d.ts.map +1 -0
- package/dist/reveal-budget.js +314 -0
- package/dist/reveal-budget.js.map +1 -0
- package/dist/revocation.d.ts +168 -0
- package/dist/revocation.d.ts.map +1 -0
- package/dist/revocation.js +541 -0
- package/dist/revocation.js.map +1 -0
- package/dist/sealing.d.ts +283 -0
- package/dist/sealing.d.ts.map +1 -0
- package/dist/sealing.js +523 -0
- package/dist/sealing.js.map +1 -0
- package/dist/sensitive-string.d.ts +919 -0
- package/dist/sensitive-string.d.ts.map +1 -0
- package/dist/sensitive-string.js +2260 -0
- package/dist/sensitive-string.js.map +1 -0
- package/dist/serialized.d.ts +33 -0
- package/dist/serialized.d.ts.map +1 -0
- package/dist/serialized.js +65 -0
- package/dist/serialized.js.map +1 -0
- package/dist/template.d.ts +69 -0
- package/dist/template.d.ts.map +1 -0
- package/dist/template.js +158 -0
- package/dist/template.js.map +1 -0
- package/dist/ttl.d.ts +104 -0
- package/dist/ttl.d.ts.map +1 -0
- package/dist/ttl.js +330 -0
- package/dist/ttl.js.map +1 -0
- package/dist/types.d.ts +859 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +13 -0
- package/dist/types.js.map +1 -0
- package/dist/winston.d.ts +114 -0
- package/dist/winston.d.ts.map +1 -0
- package/dist/winston.js +170 -0
- package/dist/winston.js.map +1 -0
- package/dist/worker.d.ts +398 -0
- package/dist/worker.d.ts.map +1 -0
- package/dist/worker.js +861 -0
- package/dist/worker.js.map +1 -0
- package/dist/wrap.d.ts +287 -0
- package/dist/wrap.d.ts.map +1 -0
- package/dist/wrap.js +553 -0
- package/dist/wrap.js.map +1 -0
- package/package.json +10 -10
|
@@ -0,0 +1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;;;;;;;;;;;;;OAyBG;IACH,kBAAkB,CAAC,CACjB,GAAG,EAAE,aAAa,GAAG,IAAI,EACzB,KAAK,EAAE,gBAAgB,EACvB,MAAM,EAAE,YAAY,GACnB,SAAS,CAAC;IAEb;;;OAGG;IACH,cAAc,CAAC,CAAC,CAAC,EAAE,gBAAgB,EAAE,CAAC,EAAE,gBAAgB,GAAG,gBAAgB,CAAC;IAE5E,6FAA6F;IAC7F,QAAQ,CAAC,EAAE,mBAAmB,CAAC;CAChC;AAED;;;;;GAKG;AACH,MAAM,WAAW,yBAAyB;IACxC,+DAA+D;IAC/D,WAAW,EAAE,IAAI,CAAC;IAClB,qCAAqC;IACrC,KAAK,EAAE,gBAAgB,CAAC;IACxB,iCAAiC;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,yDAAyD;IACzD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;;;;OAQG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;;;;;;;;OAYG;IACH,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,iEAAiE;IACjE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;;;;;;;;;;;OAcG;IACH,YAAY,CAAC,EAAE,iCAAiC,EAAE,CAAC;IACnD;;;;;;;;OAQG;IACH,YAAY,CAAC,EAAE,4BAA4B,EAAE,CAAC;CAC/C"}
|
package/dist/types.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SENSITIVITY_PRECEDENCE = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Precedence ordering for combining sensitivity classes.
|
|
6
|
+
* Higher index = more restrictive.
|
|
7
|
+
* credential > sensitive (credentials require constant-time comparison)
|
|
8
|
+
*/
|
|
9
|
+
exports.SENSITIVITY_PRECEDENCE = [
|
|
10
|
+
'sensitive',
|
|
11
|
+
'credential',
|
|
12
|
+
];
|
|
13
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":";;;AAWA;;;;GAIG;AACU,QAAA,sBAAsB,GAAgC;IACjE,WAAW;IACX,YAAY;CACJ,CAAC"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import type { SensitivityClass } from './types.js';
|
|
2
|
+
/**
|
|
3
|
+
* A winston log record.
|
|
4
|
+
*
|
|
5
|
+
* Symbol-keyed entries carry the level, the finished output string, and the
|
|
6
|
+
* splat arguments. They are not expressible in an interface, which is precisely
|
|
7
|
+
* why {@link sensitiveFormat} preserves the record by identity instead of
|
|
8
|
+
* rebuilding it.
|
|
9
|
+
*/
|
|
10
|
+
export interface WinstonInfo {
|
|
11
|
+
level: string;
|
|
12
|
+
message: unknown;
|
|
13
|
+
[key: string | symbol]: unknown;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* The shape winston and logform require of a format.
|
|
17
|
+
*
|
|
18
|
+
* Declared structurally so that this package keeps zero runtime dependencies:
|
|
19
|
+
* `format.combine()` validates only that each entry owns a `transform`
|
|
20
|
+
* function, so a plain object satisfies it.
|
|
21
|
+
*/
|
|
22
|
+
export interface WinstonFormat {
|
|
23
|
+
transform(info: WinstonInfo, opts?: unknown): WinstonInfo | false;
|
|
24
|
+
options?: object;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Options for {@link sensitiveFormat}.
|
|
28
|
+
*/
|
|
29
|
+
export interface SensitiveFormatOptions {
|
|
30
|
+
/**
|
|
31
|
+
* Sensitivity classes whose presence discards the whole record instead of
|
|
32
|
+
* redacting it. Empty by default.
|
|
33
|
+
*
|
|
34
|
+
* This is the one operation that still works when the format is installed on
|
|
35
|
+
* a transport, which makes it the way to express per-transport policy such as
|
|
36
|
+
* "the debug sink never receives a record carrying a credential".
|
|
37
|
+
*/
|
|
38
|
+
dropClasses?: readonly SensitivityClass[];
|
|
39
|
+
/**
|
|
40
|
+
* Also redact the raw argument array winston keeps under
|
|
41
|
+
* `Symbol.for('splat')`. Defaults to true.
|
|
42
|
+
*
|
|
43
|
+
* Interpolation is already safe, because `util.format` reaches values through
|
|
44
|
+
* `toString`, `toJSON`, or the inspect hook. This closes the remaining path
|
|
45
|
+
* where a custom format reads the splat array and serializes it itself.
|
|
46
|
+
*/
|
|
47
|
+
redactSplat?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Record which sensitivity classes the record carried, so that a `dropClasses`
|
|
50
|
+
* check further down the pipeline still works after redaction has replaced the
|
|
51
|
+
* instances with strings. Defaults to false.
|
|
52
|
+
*
|
|
53
|
+
* Set it on the logger-level format when a transport-level format uses
|
|
54
|
+
* `dropClasses`. It costs one extra traversal per record, which is why it is
|
|
55
|
+
* not on by default. Setting `dropClasses` implies it, since that check
|
|
56
|
+
* already computes the classes.
|
|
57
|
+
*/
|
|
58
|
+
stampClasses?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Emit a process warning the first time the format runs after a terminal
|
|
61
|
+
* format has already built `Symbol.for('message')`, where redaction cannot
|
|
62
|
+
* affect the output. Defaults to true.
|
|
63
|
+
*
|
|
64
|
+
* Not emitted when `dropClasses` is set, because dropping is exactly the
|
|
65
|
+
* operation that still works in that position.
|
|
66
|
+
*/
|
|
67
|
+
warnOnLateInstall?: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* Called when redaction throws. The record is still emitted, scrubbed.
|
|
70
|
+
*
|
|
71
|
+
* The error is passed through untouched, so a handler that logs it must
|
|
72
|
+
* treat it as potentially carrying sensitive data.
|
|
73
|
+
*/
|
|
74
|
+
onError?: (error: unknown) => void;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Redact every SensitiveString in a winston record before a terminal format or
|
|
78
|
+
* a transport serializes it.
|
|
79
|
+
*
|
|
80
|
+
* Winston is already safe for the paths it controls, because SensitiveString
|
|
81
|
+
* overrides `toString()`, `toJSON()`, and the Node inspect hook. This format
|
|
82
|
+
* exists for the paths it does not control: transports that walk own enumerable
|
|
83
|
+
* properties, or hand the record to a BSON or protobuf encoder, or pass it
|
|
84
|
+
* through `structuredClone`, none of which call `toJSON()`. It also normalizes
|
|
85
|
+
* the redacted text, so two transports on one logger record a field the same
|
|
86
|
+
* way.
|
|
87
|
+
*
|
|
88
|
+
* Install it at the FRONT of `format.combine(...)`. In any later position the
|
|
89
|
+
* output string already exists and redaction has no effect on what is written.
|
|
90
|
+
*
|
|
91
|
+
* @param options - Redaction and policy options
|
|
92
|
+
* @returns A format object accepted by `winston.format.combine()` and by the
|
|
93
|
+
* `format` option of a logger or a transport
|
|
94
|
+
*
|
|
95
|
+
* @example
|
|
96
|
+
* ```ts
|
|
97
|
+
* const logger = winston.createLogger({
|
|
98
|
+
* format: winston.format.combine(sensitiveFormat(), winston.format.json()),
|
|
99
|
+
* transports: [new winston.transports.Console()],
|
|
100
|
+
* });
|
|
101
|
+
* ```
|
|
102
|
+
*
|
|
103
|
+
* @example
|
|
104
|
+
* ```ts
|
|
105
|
+
* // Per-transport policy: this sink refuses credential-bearing records
|
|
106
|
+
* // outright, while other transports still receive them redacted.
|
|
107
|
+
* new winston.transports.File({
|
|
108
|
+
* filename: 'debug.log',
|
|
109
|
+
* format: sensitiveFormat({ dropClasses: ['credential'] }),
|
|
110
|
+
* });
|
|
111
|
+
* ```
|
|
112
|
+
*/
|
|
113
|
+
export declare function sensitiveFormat(options?: SensitiveFormatOptions): WinstonFormat;
|
|
114
|
+
//# sourceMappingURL=winston.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"winston.d.ts","sourceRoot":"","sources":["../src/winston.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAwBnD;;;;;;;GAOG;AACH,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;CACjC;AAED;;;;;;GAMG;AACH,MAAM,WAAW,aAAa;IAC5B,SAAS,CAAC,IAAI,EAAE,WAAW,EAAE,IAAI,CAAC,EAAE,OAAO,GAAG,WAAW,GAAG,KAAK,CAAC;IAClE,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;;;;;;OAOG;IACH,WAAW,CAAC,EAAE,SAAS,gBAAgB,EAAE,CAAC;IAE1C;;;;;;;OAOG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;;;;;;;;OASG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;;;;;;OAOG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B;;;;;OAKG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CACpC;AASD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,wBAAgB,eAAe,CAAC,OAAO,GAAE,sBAA2B,GAAG,aAAa,CA2DnF"}
|
package/dist/winston.js
ADDED
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.sensitiveFormat = sensitiveFormat;
|
|
4
|
+
const redact_js_1 = require("./redact.js");
|
|
5
|
+
/**
|
|
6
|
+
* Winston stores the finished output string, the immutable level, and the raw
|
|
7
|
+
* interpolation arguments under registry symbols. They are read through
|
|
8
|
+
* Symbol.for() rather than by importing triple-beam, which is how this module
|
|
9
|
+
* stays free of runtime dependencies. triple-beam defines them the same way.
|
|
10
|
+
*/
|
|
11
|
+
const MESSAGE = Symbol.for('message');
|
|
12
|
+
const SPLAT = Symbol.for('splat');
|
|
13
|
+
/**
|
|
14
|
+
* Where this format records the sensitivity classes a record carried before it
|
|
15
|
+
* was redacted.
|
|
16
|
+
*
|
|
17
|
+
* Redaction destroys the evidence a later `dropClasses` check needs: once an
|
|
18
|
+
* instance has become the string `[REDACTED:credential]`, nothing downstream
|
|
19
|
+
* can tell what class it was. Stamping the classes keeps per-transport policy
|
|
20
|
+
* working behind a logger-level redaction. The key is symbol-based, so it never
|
|
21
|
+
* reaches a serializer, and namespaced, so duplicate installations of this
|
|
22
|
+
* package agree on it.
|
|
23
|
+
*/
|
|
24
|
+
const CLASSES = Symbol.for('@platform-sec/sensitive-string-core/classes');
|
|
25
|
+
const SCRUBBED_MESSAGE = '[sensitive-format-error]';
|
|
26
|
+
const LATE_INSTALL_WARNING = 'sensitiveFormat() ran after the output string was already built, so redaction ' +
|
|
27
|
+
'cannot affect it. Move it to the front of format.combine(). Dropping by class ' +
|
|
28
|
+
'still works in this position.';
|
|
29
|
+
/**
|
|
30
|
+
* Redact every SensitiveString in a winston record before a terminal format or
|
|
31
|
+
* a transport serializes it.
|
|
32
|
+
*
|
|
33
|
+
* Winston is already safe for the paths it controls, because SensitiveString
|
|
34
|
+
* overrides `toString()`, `toJSON()`, and the Node inspect hook. This format
|
|
35
|
+
* exists for the paths it does not control: transports that walk own enumerable
|
|
36
|
+
* properties, or hand the record to a BSON or protobuf encoder, or pass it
|
|
37
|
+
* through `structuredClone`, none of which call `toJSON()`. It also normalizes
|
|
38
|
+
* the redacted text, so two transports on one logger record a field the same
|
|
39
|
+
* way.
|
|
40
|
+
*
|
|
41
|
+
* Install it at the FRONT of `format.combine(...)`. In any later position the
|
|
42
|
+
* output string already exists and redaction has no effect on what is written.
|
|
43
|
+
*
|
|
44
|
+
* @param options - Redaction and policy options
|
|
45
|
+
* @returns A format object accepted by `winston.format.combine()` and by the
|
|
46
|
+
* `format` option of a logger or a transport
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* ```ts
|
|
50
|
+
* const logger = winston.createLogger({
|
|
51
|
+
* format: winston.format.combine(sensitiveFormat(), winston.format.json()),
|
|
52
|
+
* transports: [new winston.transports.Console()],
|
|
53
|
+
* });
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* ```ts
|
|
58
|
+
* // Per-transport policy: this sink refuses credential-bearing records
|
|
59
|
+
* // outright, while other transports still receive them redacted.
|
|
60
|
+
* new winston.transports.File({
|
|
61
|
+
* filename: 'debug.log',
|
|
62
|
+
* format: sensitiveFormat({ dropClasses: ['credential'] }),
|
|
63
|
+
* });
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
66
|
+
function sensitiveFormat(options = {}) {
|
|
67
|
+
const { dropClasses = [], redactSplat = true, stampClasses = false, warnOnLateInstall = true, onError, } = options;
|
|
68
|
+
const collectClasses = stampClasses || dropClasses.length > 0;
|
|
69
|
+
let warned = false;
|
|
70
|
+
return {
|
|
71
|
+
options,
|
|
72
|
+
transform(info) {
|
|
73
|
+
try {
|
|
74
|
+
if (warnOnLateInstall && !warned && dropClasses.length === 0 && MESSAGE in info) {
|
|
75
|
+
warned = true;
|
|
76
|
+
process.emitWarning(LATE_INSTALL_WARNING, 'SensitiveStringWarning');
|
|
77
|
+
}
|
|
78
|
+
if (collectClasses) {
|
|
79
|
+
const present = classesInRecord(info);
|
|
80
|
+
if (dropClasses.some((klass) => present.has(klass))) {
|
|
81
|
+
return false;
|
|
82
|
+
}
|
|
83
|
+
info[CLASSES] = present;
|
|
84
|
+
}
|
|
85
|
+
// Assign redacted copies onto the record, which winston creates per
|
|
86
|
+
// call and owns. Never recurse into it in place: winston merges
|
|
87
|
+
// caller-supplied meta shallowly, so every nested object is still
|
|
88
|
+
// shared with the caller and with the other transports.
|
|
89
|
+
for (const key of Object.keys(info)) {
|
|
90
|
+
// `level` is winston's severity string and is never sensitive.
|
|
91
|
+
// Skipping it also keeps its declared string type intact.
|
|
92
|
+
if (key !== 'level') {
|
|
93
|
+
info[key] = (0, redact_js_1.redactInStructure)(info[key]);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
if (redactSplat) {
|
|
97
|
+
const splat = info[SPLAT];
|
|
98
|
+
if (Array.isArray(splat)) {
|
|
99
|
+
info[SPLAT] = splat.map((arg) => (0, redact_js_1.redactInStructure)(arg));
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
return info;
|
|
103
|
+
}
|
|
104
|
+
catch (error) {
|
|
105
|
+
onError?.(error);
|
|
106
|
+
return scrub(info);
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Every sensitivity class this record carries.
|
|
113
|
+
*
|
|
114
|
+
* The union of three sources, because a class missed here is a record that
|
|
115
|
+
* `dropClasses` fails to refuse: the record's own fields, the interpolation
|
|
116
|
+
* arguments under `Symbol.for('splat')`, where `logger.info('%s', secret)` puts
|
|
117
|
+
* a value that never becomes a field, and the stamp left by an upstream format
|
|
118
|
+
* that already redacted the instances away.
|
|
119
|
+
*/
|
|
120
|
+
function classesInRecord(info) {
|
|
121
|
+
// Unioned here rather than by handing one accumulator to both walks: the
|
|
122
|
+
// accumulator is not part of `sensitiveClassesIn`'s signature, because a
|
|
123
|
+
// caller who primes it gets back a set naming a class the payload does not
|
|
124
|
+
// hold. The two walks were already independent, sharing no `seen`.
|
|
125
|
+
const found = new Set(readStamp(info));
|
|
126
|
+
for (const klass of (0, redact_js_1.sensitiveClassesIn)(info)) {
|
|
127
|
+
found.add(klass);
|
|
128
|
+
}
|
|
129
|
+
const splat = info[SPLAT];
|
|
130
|
+
if (Array.isArray(splat)) {
|
|
131
|
+
for (const klass of (0, redact_js_1.sensitiveClassesIn)(splat)) {
|
|
132
|
+
found.add(klass);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
return found;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Read the classes an upstream format stamped on the record.
|
|
139
|
+
*
|
|
140
|
+
* Anything other than a Set is ignored rather than trusted: the key is a
|
|
141
|
+
* registry symbol, so another package could in principle have written it.
|
|
142
|
+
*/
|
|
143
|
+
function readStamp(info) {
|
|
144
|
+
const stamped = info[CLASSES];
|
|
145
|
+
return stamped instanceof Set ? stamped : new Set();
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Fail closed after a redaction error.
|
|
149
|
+
*
|
|
150
|
+
* The record is kept, because dropping it would remove evidence that something
|
|
151
|
+
* happened, and stripped, because passing it through would emit the fields
|
|
152
|
+
* redaction did not finish processing. The symbol-keyed entries survive, so the
|
|
153
|
+
* record still routes and still counts.
|
|
154
|
+
*/
|
|
155
|
+
function scrub(info) {
|
|
156
|
+
for (const key of Object.keys(info)) {
|
|
157
|
+
if (key !== 'level') {
|
|
158
|
+
delete info[key];
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
info['message'] = SCRUBBED_MESSAGE;
|
|
162
|
+
// A transport writes Symbol.for('message'), not the record's fields. When it
|
|
163
|
+
// already holds output built upstream, clearing the fields alone changes
|
|
164
|
+
// nothing that gets written, and the scrub would be silently cosmetic.
|
|
165
|
+
if (MESSAGE in info) {
|
|
166
|
+
info[MESSAGE] = SCRUBBED_MESSAGE;
|
|
167
|
+
}
|
|
168
|
+
return info;
|
|
169
|
+
}
|
|
170
|
+
//# sourceMappingURL=winston.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"winston.js","sourceRoot":"","sources":["../src/winston.ts"],"names":[],"mappings":";;AAsJA,0CA2DC;AAjND,2CAAoE;AAGpE;;;;;GAKG;AACH,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;AACtC,MAAM,KAAK,GAAG,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;AAElC;;;;;;;;;;GAUG;AACH,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,CAAC,6CAA6C,CAAC,CAAC;AAmF1E,MAAM,gBAAgB,GAAG,0BAA0B,CAAC;AAEpD,MAAM,oBAAoB,GACxB,gFAAgF;IACh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