Sha256: fc8e3edd2357dc82de8f2e4f404b0651376b4ec641b49e777ff4c24e6835ce0d
Contents?: true
Size: 432 Bytes
Versions: 101
Compression:
Stored size: 432 Bytes
Contents
module ::ProxyAPI class Migration < ::ProxyAPI::Resource def initialize(args) @url = args[:url] + '/compliance-importer' super args @connect_params[:headers].merge!(:content_type => 'text/xml', :content_encoding => 'x-bzip2', :multipart => true) end def migrate_arf_report(arf_file, host_name, policy_id, date) parse(post(arf_file, "/arf/#{host_name}/#{policy_id}/#{date}")) end end end
Version data entries
101 entries across 101 versions & 1 rubygems