Sha256: 91d9d058e9429efa0be2c0be1451210c48cf9056d326db70213def24026e8817
Contents?: true
Size: 518 Bytes
Versions: 31
Compression:
Stored size: 518 Bytes
Contents
class NetsparkerTasks < Thor include Rails.application.config.dradis.thor_helper_module namespace "dradis:plugins:netsparker" desc "upload FILE", "upload Netsparker XML results" 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::Netsparker::Importer.new(task_options) importer.import(file: file_path) end end
Version data entries
31 entries across 31 versions & 1 rubygems