Versions in this module Expand all Collapse all v0 v0.4.8 Jan 3, 2024 v0.4.7 Jan 2, 2024 Changes in this version type Check + Text string type Controls + Text string type Group + Text string v0.4.6 May 11, 2022 v0.4.5 Aug 1, 2021 Changes in this version + const SKIP type Group + Type string v0.4.4 Nov 23, 2020 v0.4.3 Aug 2, 2020 Changes in this version type Group + Constraints map[string][]string v0.4.2 Jun 26, 2020 v0.4.1 Jun 8, 2020 v0.4.0 Jun 3, 2020 Changes in this version type Check + Reason string v0.3.0 Apr 2, 2020 Changes in this version + const FAIL + const INFO + const PASS + const TypeAudit + const WARN + type Audit string + func (audit Audit) Execute(customConfig ...interface{}) (result string, errMessage string, state State) + type AuditType string + type Auditer interface + Execute func(customConfig ...interface{}) (result string, errMsg string, state State) + type BaseCheck struct + Audit interface{} + AuditType AuditType + Commands []*exec.Cmd + Constraints map[string][]string + Remediation string + Tests *auditeval.Tests + Type string + type Bench interface + NewControls func(in []byte, definitions []string, customConfigs ...interface{}) (*Controls, error) + RegisterAuditType func(auditType AuditType, typeCallback func() interface{}) error + func NewBench() Bench + type Check struct + ActualValue string + Audit interface{} + AuditType AuditType + Commands []*exec.Cmd + Description string + ExpectedResult string + ID string + IsMultiple bool + Remediation string + Scored bool + Set bool + SubChecks []*SubCheck + TestInfo []string + Tests *auditeval.Tests + Type string + func (c *Check) Run(definedConstraints map[string][]string) + type Controls struct + DefinedConstraints map[string][]string + Description string + Groups []*Group + ID string + func NewControls(in []byte, definitions []string) (*Controls, error) + func (controls *Controls) JSON() ([]byte, error) + func (controls *Controls) JUnit() ([]byte, error) + func (controls *Controls) RunChecks(ids ...string) Summary + func (controls *Controls) RunGroup(gids ...string) Summary + type Group struct + Checks []*Check + Description string + Fail int + ID string + Info int + Pass int + Warn int + type State string + type SubCheck struct + type Summary struct + Fail int + Info int + Pass int + Warn int