Download the PHP package ausus/audit-database without Composer
On this page you can find all versions of the php package ausus/audit-database. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ausus/audit-database
More information about ausus/audit-database
Files in ausus/audit-database
Package audit-database
Short Description AUSUS — Database TransactionalSink (RFC-007). Skeleton: name reserved; V0 ships an inline DatabaseAuditSink inside ausus/persistence-sql.
License MIT
Homepage https://github.com/adonko3xBitters/audit-database
Informations about the package audit-database
ausus/audit-database
⚠️ Name reservation only — not yet implemented. This package ships an empty composer manifest so the
ausus/audit-databasename is reserved on Packagist. The actual in-database audit sink is already provided byausus/persistence-sqlasAusus\Persistence\Sql\DatabaseAuditSink— every successful action writes tokernel_audit_login the same transaction as the row it changed. This standalone package will house the eventual split-out implementation; v0.1.x consumers do not need to require it.
L3 — TransactionalSink implementation writing audit entries to the same database as ausus/persistence-sql.
Owned RFC surfaces
- RFC-007 Draft-02 + Amendment-01 — Auditor implementation,
TransactionalSinkfor thekernel_audit_logtable. - Per RFC-007 §5.3: recommended default. No orphans architecturally possible because audit writes share the active transaction with data writes.
Capabilities advertised
Schema (created via package migration)
kernel_audit_log:
entry_id (PK, ULID) · sequence · actor_* · tenant_id · action_fqn · subject_kind · subject_* · inputs (jsonb) · outputs (jsonb) · timestamp · correlation_id · trace_id · invocation_class · elevation (jsonb nullable) · emitter_version.
outputs.bulk_entities lives inside the outputs JSONB per RFC-007 Amendment-01 §A-7.1.
Append-only enforced via database-role grant: INSERT only.