def apply(name)

      # FIXME.20140325
      # Now if no checks are loaded because knowledge base was not previously called, apply and apply_all proudly refuse to run.
      # Reason is simple, load_knowledge_base now needs enabled check array
      # and I don't want to pollute engine API to propagate this value. It's
      # a param to load_knowledge_base and then bin/dawn calls it
      # accordingly.
      # load_knowledge_base if @checks.nil?
      if @checks.nil?
        $logger.err "you must load knowledge base before trying to apply security checks"
        return false
      end

      return false if @checks.empty?

      @checks.each do |check|
        _do_apply(check) if check.name == name
      end

      false
    end
def apply(name)

      # FIXME.20140325
      # Now if no checks are loaded because knowledge base was not previously called, apply and apply_all proudly refuse to run.
      # Reason is simple, load_knowledge_base now needs enabled check array
      # and I don't want to pollute engine API to propagate this value. It's
      # a param to load_knowledge_base and then bin/dawn calls it
      # accordingly.
      # load_knowledge_base if @checks.nil?
      if @checks.nil?
        $logger.err "you must load knowledge base before trying to apply security checks"
        return false
      end

      return false if @checks.empty?

      @checks.each do |check|
        _do_apply(check) if check.name == name
      end

      false
    end
Output stuff - END

 Security stuff applies here

 Public it applies a single security check given by its name

 name - the security check to be applied

 Examples

   engine.apply("CVE-2013-1800")
   # => boolean

 Returns a true value if the security check was successfully applied or false
 otherwise