module ForemanOpenscap::LogExtensions

def self.othered_result_constants

def self.othered_result_constants
  SCAP_RESULT.reject { |item| item == "pass" || item == "fail" }
end

def scap_result

def scap_result
  if report.is_a? ForemanOpenscap::ArfReport
    errors.add(:result, _('is not included in SCAP_RESULT')) unless SCAP_RESULT.include? result
  end
end