audit

Append-only JSONL audit trail for privileged platform actions (permissions changes and app lifecycle). Config: gingee.jsonaudit Engine-internal (not for sandboxed app require).
Description:
  • Append-only JSONL audit trail for privileged platform actions (permissions changes and app lifecycle). Config: gingee.jsonaudit Engine-internal (not for sandboxed app require).

Members

(inner) config :object

Type:
  • object

(inner) logger :object|null

Type:
  • object | null

(inner) projectRoot :string

Type:
  • string

(inner) resolvedPath :string

Type:
  • string

Methods

(inner) emit(event, detailsopt, optionsopt)

Description:
  • Emit one audit event as a single JSON line.
Parameters:
Name Type Attributes Description
event string Stable event name (e.g. permission.set, app.install)
details object <optional>
options object <optional>
Properties
Name Type Attributes Description
actor string <optional>
Override actor (defaults to current app or system)
app string <optional>
Target application name

(inner) initServer(cfg, root, logRefopt)

Parameters:
Name Type Attributes Description
cfg object | null | undefined
root string
logRef object <optional>