Versions in this module Expand all Collapse all v1 v1.3.0 Sep 16, 2026 Changes in this version type Command + RunAs string + func (c Command) RunAsOr(ruleRunAs string) string v1.2.0 Sep 14, 2026 Changes in this version + func Describe(findings []Finding) string + func Refuses(findings []Finding, acknowledged bool) bool + func Render(user string, r Rule, header string) (string, error) + type Command struct + Args []string + Path string + func (c Command) String() string + type Finding struct + Command string + Escape bool + Reason string + func Validate(r Rule) []Finding + func (f Finding) Refused() bool + type Rule struct + Acknowledged bool + Commands []Command + RunAs string