Documentation
¶
Overview ¶
Package exports lays out the lists authama shows as tables for CSV: one set of columns per kind of thing, shared by the CLI's --csv and the web UI's downloads, so the two cannot drift. No table here ever holds a secret.
Index ¶
- func Deployments(inv *inventory.Inventory) csvout.Table
- func Events(evs []events.Event) csvout.Table
- func History(ops []history.Op) csvout.Table
- func Hosts(groups []query.ProfileGroup) csvout.Table
- func Keys(rows []keysvc.Row) csvout.Table
- func Profiles(rows []Profile) csvout.Table
- func Snapshots(list []string) csvout.Table
- func Tokens(items []tokens.Installed) csvout.Table
- type Profile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Deployments ¶
Deployments is `ssh audit --csv`: one row per place each key is deployed, and one row with no target for a key deployed nowhere, ordered by key path.
func History ¶
History is `history`: one row per operation, with what it was about ("kind:name" each) and the audit events it raised, so a reviewer can see "token.revealed" against npm/registry.npmjs.org without opening the op.
func Hosts ¶
func Hosts(groups []query.ProfileGroup) csvout.Table
Hosts is `ssh list`: every host, with its profile.
Types ¶
type Profile ¶
type Profile struct {
Name, Category, KeyScope, KeyStore, KeyComment string
Hosts, Keys int
// KeyNames are the profile's keys, which key_names lists, space-separated
// (a key name never holds a space), so a download can keep the profiles
// holding some keys.
KeyNames []string
}
Profile is one row of Profiles: what the profiles page shows of each.