report

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: GPL-3.0 Imports: 11 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package report renders one session as a single HTML file: what the agent did, what was stopped and why, and where the calls sit in the audit chain. The file has no scripts and loads nothing, so it can be mailed, attached to a ticket or archived and still open in ten years.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Write

func Write(w io.Writer, in Input) error

Write renders the report.

Types

type Input

type Input struct {
	Session *audit.Session
	Calls   []*audit.Call
	// Chain is the verification of the whole log, if it was run.
	Chain *audit.VerifyReport
	// Version is agentgate's, for the footer.
	Version string
	// Now is when the report was made.
	Now time.Time
}

Input is what a report is made from.

Jump to

Keyboard shortcuts

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