class GetImages
Public Instance Methods
info()
click to toggle source
# File lib/dockscan/modules/discover/get-images.rb, line 5 def info return 'Image discovery module' end
run()
click to toggle source
# File lib/dockscan/modules/discover/get-images.rb, line 9 def run sp=Dockscan::Scan::Plugin.new sp.obj = Docker::Image.all sp.output = sp.obj.map{|k,v| "#{k}=#{v}"}.join("\n") return sp end