@ithena-one/mcp-governance
Version:
Governance layer (Identity, RBAC, Credentials, Audit, Logging, Tracing) for Model Context Protocol (MCP) servers.
21 lines (20 loc) • 723 B
TypeScript
import { AuditLogStore } from '../interfaces/audit.js';
import { AuditRecord } from '../types.js';
/**
* An AuditLogStore that does nothing. Used as the default if no store is provided.
*/
export declare class NoOpAuditLogStore implements AuditLogStore {
initialize(): Promise<void>;
log(_record: AuditRecord): Promise<void>;
shutdown(): Promise<void>;
}
/**
* An AuditLogStore that logs audit records as JSON to the console.
* Suitable for development and debugging.
*/
export declare class ConsoleAuditLogStore implements AuditLogStore {
initialize(): Promise<void>;
log(record: AuditRecord): Promise<void>;
shutdown(): Promise<void>;
}
export declare const defaultAuditStore: AuditLogStore;