@ -67,8 +67,8 @@ type Check struct {
Audit string ` json:"audit" `
Audit string ` json:"audit" `
AuditConfig string ` yaml:"audit_config" `
AuditConfig string ` yaml:"audit_config" `
Type string ` json:"type" `
Type string ` json:"type" `
Tests * tests ` json:" omit "`
Tests * tests ` json:" - "`
Set bool ` json:" omit "`
Set bool ` json:" - "`
Remediation string ` json:"remediation" `
Remediation string ` json:"remediation" `
TestInfo [ ] string ` json:"test_info" `
TestInfo [ ] string ` json:"test_info" `
State ` json:"status" `
State ` json:"status" `
@ -77,8 +77,8 @@ type Check struct {
IsMultiple bool ` yaml:"use_multiple_values" `
IsMultiple bool ` yaml:"use_multiple_values" `
ExpectedResult string ` json:"expected_result" `
ExpectedResult string ` json:"expected_result" `
Reason string ` json:"reason,omitempty" `
Reason string ` json:"reason,omitempty" `
AuditOutput string ` json:" omit "`
AuditOutput string ` json:" - "`
AuditConfigOutput string ` json:" omit "`
AuditConfigOutput string ` json:" - "`
}
}
// Runner wraps the basic Run method.
// Runner wraps the basic Run method.
@ -101,7 +101,6 @@ func (r *defaultRunner) Run(c *Check) State {
// Run executes the audit commands specified in a check and outputs
// Run executes the audit commands specified in a check and outputs
// the results.
// the results.
func ( c * Check ) run ( ) State {
func ( c * Check ) run ( ) State {
// Since this is an Scored check
// Since this is an Scored check
// without tests return a 'WARN' to alert
// without tests return a 'WARN' to alert
// the user that this check needs attention
// the user that this check needs attention