Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/security / / OpenAuditDbOptions
Interface: OpenAuditDbOptions
Defined in: packages/security/src/audit/audit-db.ts:41
Options forwarded to a binding factory when openAuditDb(...) runs.
Stable
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
binding? | readonly | AuditDbBindingId | Identifier of the binding to use. Defaults to the default binding. | packages/security/src/audit/audit-db.ts:51 |
cipher? | readonly | string | Cipher name. Defaults to the binding's preferred cipher. | packages/security/src/audit/audit-db.ts:47 |
cipherOptions? | readonly | Readonly<Record<string, unknown>> | Cipher-specific options. Forwarded verbatim to the binding. | packages/security/src/audit/audit-db.ts:49 |
passphrase | readonly | SecretValue | Passphrase used to derive the cipher key. | packages/security/src/audit/audit-db.ts:45 |
path | readonly | string | Filesystem path to the audit database file. | packages/security/src/audit/audit-db.ts:43 |
warn? | readonly | (message) => void | Optional logger for warnings emitted during open. | packages/security/src/audit/audit-db.ts:53 |