Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/security / / BridgeSecretsToAuditOptions
Interface: BridgeSecretsToAuditOptions
Defined in: packages/security/src/audit/secrets-bridge.ts:28
Subscribe the audit-log subsystem to the secrets-layer event emitter. Returns a teardown function that detaches the listener.
Failures inside the bridge never propagate — the audit subsystem cannot tear down the secret-access path.
Stable
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
db | readonly | AuditDb | Audit database the bridge writes into. | packages/security/src/audit/secrets-bridge.ts:30 |
onWriteError? | readonly | (event, error) => void | Optional logger called when a write fails. | packages/security/src/audit/secrets-bridge.ts:32 |