Documentation
¶
Overview ¶
Package needs answers what a scan of a descriptor would run: the scanners its enabled controls select, and the external tools those scanners execute.
One answer for every command that asks. `draugr doctor`, the install offer `draugr scan` makes, `draugr tools install` with a descriptor and the MCP server's check_tools all read it, so a tool one of them calls missing is a tool every one of them calls missing. Two derivations of the same list disagree the first time a control gains a second scanner, and the one that over-counts tells somebody a machine that can scan is not ready.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExternalInstallHint ¶
ExternalInstallHint says where a tool `draugr tools install` does not fetch comes from.
`draugr tools install` fetches pinned releases Draugr has verified, which it can only do for tools it vouched for. For the rest, proprietary ones especially, naming the source is the whole of the help available, and it is much more use than telling somebody to run a command that will not find it.
func Scanners ¶
Scanners returns the scanners a scan of model would run: each one serving a control the model enables, and among several serving one control, only those the control selects.
Types ¶
type Use ¶
type Use struct {
Info plugin.ScannerInfo
Controls []string
}
Use is a scanner a scan would run and the enabled controls it would run for.