Initial vibeproxy implementation
Self-contained HTTP/HTTPS/TCP/UDP reverse proxy manager written in Go, with SQLite storage, a Bootstrap 5 admin UI (Go templates, no JS framework), and a REST API under /api/v1. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QTXFrNP1imCW7jtfL5SZrw
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package logging
|
||||
|
||||
import (
|
||||
"database/sql"
|
||||
|
||||
"github.com/owen/vibeproxy/internal/database"
|
||||
)
|
||||
|
||||
// Audit records a configuration-change event. Callers must never pass
|
||||
// passwords, API tokens, or private key material in details.
|
||||
func Audit(db *sql.DB, actor, action, target, details string) {
|
||||
_ = database.InsertAuditLog(db, actor, action, target, details)
|
||||
}
|
||||
Reference in New Issue
Block a user