Sha256: a8ab3afc6ff69dba0971edbf60253ea49175890ef2ca1ee765e9ff11fed3f06e
Contents?: true
Size: 626 Bytes
Versions: 12
Compression:
Stored size: 626 Bytes
Contents
require 'smart_proxy_openscap/shell_wrapper' module Proxy::OpenSCAP class ContentParser < ShellWrapper def initialize(type) @type = type @script_name = 'smart-proxy-scap-validation' end def validate(scap_file) execute_shell_command scap_file end def out_filename "#{in_filename}json-" end def in_filename "#{super}-#{@type}-validate-" end def failure_message "Failure when running script which validates scap files" end def command(in_file, out_file) "#{script_location} #{in_file.path} #{out_file.path} #{@type}" end end end
Version data entries
12 entries across 12 versions & 1 rubygems