Sha256: fcc576622db9979a636063c665e4affa344f81714f1e05141b17d609083b9b98
Contents?: true
Size: 597 Bytes
Versions: 1
Compression:
Stored size: 597 Bytes
Contents
class AcunetixTasks < Thor include Rails.application.config.dradis.thor_helper_module namespace "dradis:plugins:acunetix" desc "upload FILE", "upload Acunetix XML results" def upload(file_path) require 'config/environment' logger = Logger.new(STDOUT) logger.level = Logger::DEBUG 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::Acunetix::Importer.new(logger: logger) importer.import(file: file_path) logger.close end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dradis-acunetix-3.6.0 | lib/tasks/thorfile.rb |