audit

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package audit appends mutating actions to the server-side audit log at ~/.ferry/audit.log: time[performer][version] action

Index

Constants

View Source
const Path = ".ferry/audit.log"

Path is the audit log location on the host.

Variables

This section is empty.

Functions

func Record

func Record(h *exec.Host, performer, version, action string) error

Record appends one line; failures are returned but callers may treat the audit trail as best-effort.

func Tail

func Tail(h *exec.Host, n int) (string, error)

Tail returns the last n lines of the audit log.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL