Skip to content

Graphorin API reference v0.7.0


Graphorin API reference / @graphorin/security / / AuditDbBinding

Interface: AuditDbBinding

Defined in: packages/security/src/audit/audit-db.ts:65

Shape of a registered binding. The factory is asynchronous so it can perform the file-mode check and run the cipher self-test before returning. (It does NOT write an audit:db-opened chain entry - the database is not yet ready to record its own opening; an operator that wants one appends it after openAuditDb(...) resolves.)

Stable

Properties

PropertyModifierTypeDescriptionDefined in
descriptionreadonlystringHuman-readable description for diagnostics.packages/security/src/audit/audit-db.ts:69
idreadonlyAuditDbBindingIdIdentifier of the binding.packages/security/src/audit/audit-db.ts:67
openreadonly(options) => Promise<AuditDb>Open the audit database.packages/security/src/audit/audit-db.ts:71