تخطَّ إلى المحتوى

audit-log

هذا المحتوى غير متوفر بلغتك بعد.

Append-only audit log for security-relevant events. Free: MIT licensed. Always free per Security-Always-Free Doctrine.

Terminal window
nself plugin install audit-log

Records security-relevant events (authentication, privilege changes, secrets access, admin actions) to an append-only Postgres table. No data is deleted from the log — it is a sidecar that reads events from other services and writes structured log rows. No fixed port; runs as an internal sidecar with no external routes.

Env VarDefaultDescription
AUDIT_LOG_RETENTION_DAYS365Days to retain log entries (0 = forever)
AUDIT_LOG_LEVELinfoMinimum event level to record (debug, info, warn, error)

No fixed port. The audit-log plugin runs as an internal sidecar; it has no externally exposed service port.

1 table added to your Postgres database:

  • np_audit_log: append-only security event log

Schema:

ColumnTypeNotes
idUUIDPrimary key
event_typeTEXTe.g. auth.login, secrets.read, privilege.grant
actor_idUUIDUser or service that triggered the event
resourceTEXTAffected resource identifier
metaJSONBAdditional context
created_atTIMESTAMPTZEvent timestamp (immutable)

None. Internal only.

This plugin is always free per the Security-Always-Free Doctrine. No paywall on audit logging.