Documentation
¶
Overview ¶
Package readlog records what a collector reads from a host: each file and directory it opens or looks at, and each command it runs. Sources gives a collector a host with nothing on it, and no network, so a collector reads what it would try first on a real host, and the log says what that was.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Log ¶
type Log struct {
// contains filtered or unexported fields
}
Log is what one collector read.
func Sources ¶
Sources is an empty host of family, and the log of what is read from it. The host has only the runtime directory of systemd-resolved, so that the dns collector goes on to run resolvectl, as on a host where the service runs. osapi builds its command allowlist from these reads.