lib/nexpose/engine.rb
# Removes a scan engine from the list of available engines.
#
# @param [Fixnum] engine_id Unique ID of an existing engine to remove.
# @param [String] scope Whether the engine is global or silo scoped.
# @return [Boolean] true if engine successfully deleted.
#
Removes a scan engine from the list of available engines.
Removes a scan engine from the list of available engines .
def delete_engine(engine_id, scope = 'silo')
      xml = make_xml('EngineDeleteRequest',
                     {'engine-id' => engine_id, 'scope' => scope})
      response = execute(xml, '1.2')
      response.success
    end
def delete_engine ( engine_id , scope = 'silo' ) xml = make_xml ( 'EngineDeleteRequest' , { 'engine-id' => engine_id , 'scope' => scope } ) response = execute ( xml , '1.2' ) response . success end
Removes a scan engine from the list of available engines.
Removes a scan engine from the list of available engines .
true if engine successfully deleted.
true if engine successfully deleted .
Boolean
engine_id
<not_specific>
scope
<not_specific>
<not_specific>
scope Whether the engine is global or silo scoped.
scope Whether the engine is global or silo scoped .