@ithena-one/mcp-governance
Version:
Governance layer (Identity, RBAC, Credentials, Audit, Logging, Tracing) for Model Context Protocol (MCP) servers.
7 lines (6 loc) • 302 B
TypeScript
import { AuditRecord } from '../types.js';
/**
* Default function to sanitize sensitive information from an AuditRecord
* before logging. Masks common secret patterns and truncates long strings.
*/
export declare function defaultSanitizeForAudit(record: Partial<AuditRecord>): Partial<AuditRecord>;