Skip to content

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

PropertyModifierTypeDescriptionDefined in
binding?readonlyAuditDbBindingIdIdentifier of the binding to use. Defaults to the default binding.packages/security/src/audit/audit-db.ts:51
cipher?readonlystringCipher name. Defaults to the binding's preferred cipher.packages/security/src/audit/audit-db.ts:47
cipherOptions?readonlyReadonly<Record&lt;string, unknown&gt;>Cipher-specific options. Forwarded verbatim to the binding.packages/security/src/audit/audit-db.ts:49
passphrasereadonlySecretValuePassphrase used to derive the cipher key.packages/security/src/audit/audit-db.ts:45
pathreadonlystringFilesystem path to the audit database file.packages/security/src/audit/audit-db.ts:43
warn?readonly(message) => voidOptional logger for warnings emitted during open.packages/security/src/audit/audit-db.ts:53