Sha256: c26b7a7df698d685fe5f956450d26f40b7d4352633364a6c678fe8da70893b3d
Contents?: true
Size: 593 Bytes
Versions: 9
Compression:
Stored size: 593 Bytes
Contents
class VeracodeTasks < Thor include Rails.application.config.dradis.thor_helper_module namespace 'dradis:plugins:veracode' desc 'upload FILE', 'upload Veracode results in XML format' long_desc 'This plugin expects a XML file generated by Veracode' def upload(file_path) require 'config/environment' unless File.exists?(file_path) $stderr.puts "** the file [#{file_path}] does not exist" exit(-1) end detect_and_set_project_scope importer = Dradis::Plugins::Veracode::Importer.new(task_options) importer.import(file: file_path) end end
Version data entries
9 entries across 9 versions & 1 rubygems