Expand description
Lightweight audit logging for sensitive operations.
Functions§
- audit_
log_ path - Where audit events are written, for surfaces that point a person at the
full record (for example
/permissions).Nonewhen no Codewhale home resolves; callers show a placeholder rather than guessing a path. - log_
sensitive_ event - Append an audit event to
$CODEWHALE_HOME/audit.log(or the default~/.codewhale/audit.logwhen no explicit CodeWhale home is configured). - log_
sensitive_ event_ in - Append an audit event to
<codewhale_home>/audit.logfor a caller that already owns an explicit Codewhale home (for example the DSH integration’sDshPaths), so its audit record lands beside the rest of its state rather than in whatever home the process environment names (#6534).