Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
17 lines
734 B
Plaintext
17 lines
734 B
Plaintext
/**
|
|
* PII filtering for MCP server spans
|
|
*
|
|
* Removes network-level sensitive data when sendDefaultPii is false.
|
|
* Input/output data (request arguments, tool/prompt results) is controlled
|
|
* separately via recordInputs/recordOutputs options.
|
|
*/
|
|
import { SpanAttributeValue } from '../../types-hoist/span';
|
|
/**
|
|
* Removes network PII attributes from span data when sendDefaultPii is false
|
|
* @param spanData - Raw span attributes
|
|
* @param sendDefaultPii - Whether to include PII data
|
|
* @returns Filtered span attributes
|
|
*/
|
|
export declare function filterMcpPiiFromSpanData(spanData: Record<string, unknown>, sendDefaultPii: boolean): Record<string, SpanAttributeValue>;
|
|
//# sourceMappingURL=piiFiltering.d.ts.map
|