Class: Nexpose::ScanSummary

Inherits:
Object
  • Object
show all
Defined in:
lib/nexpose.rb

Overview

Description

Object that represents a summary of a scan.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(scan_id, engine_id, name, startTime, endTime, status) ⇒ ScanSummary

Constructor ScanSummary(can_id, $engine_id, $name, tartTime, $endTime, tatus)



2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
# File 'lib/nexpose.rb', line 2023

def initialize(scan_id, engine_id, name, startTime, endTime, status)

	@scan_id = scan_id
	@engine_id = engine_id
	@name = name
	@startTime = startTime
	@endTime = endTime
	@status = status

end

Instance Attribute Details

#endTimeObject (readonly)

The scan finish time



1985
1986
1987
# File 'lib/nexpose.rb', line 1985

def endTime
  @endTime
end

#engine_idObject (readonly)

The Engine ID used to perform the scan



1979
1980
1981
# File 'lib/nexpose.rb', line 1979

def engine_id
  @engine_id
end

#nameObject (readonly)

TODO: add description



1981
1982
1983
# File 'lib/nexpose.rb', line 1981

def name
  @name
end

#nodes_deadObject (readonly)

The number of “dead” nodes



1997
1998
1999
# File 'lib/nexpose.rb', line 1997

def nodes_dead
  @nodes_dead
end

#nodes_filteredObject (readonly)

The number of filtered nodes



1999
2000
2001
# File 'lib/nexpose.rb', line 1999

def nodes_filtered
  @nodes_filtered
end

#nodes_liveObject (readonly)

The number of “live” nodes



1995
1996
1997
# File 'lib/nexpose.rb', line 1995

def nodes_live
  @nodes_live
end

#nodes_otherObject (readonly)

The number of “other” nodes



2003
2004
2005
# File 'lib/nexpose.rb', line 2003

def nodes_other
  @nodes_other
end

#nodes_unresolvedObject (readonly)

The number of unresolved nodes



2001
2002
2003
# File 'lib/nexpose.rb', line 2001

def nodes_unresolved
  @nodes_unresolved
end

#not_vuln_exploitObject (readonly)

Not vulnerable checks run (confirmed)



2011
2012
2013
# File 'lib/nexpose.rb', line 2011

def not_vuln_exploit
  @not_vuln_exploit
end

#not_vuln_versionObject (readonly)

Not vulnerable checks run (unconfirmed)



2013
2014
2015
# File 'lib/nexpose.rb', line 2013

def not_vuln_version
  @not_vuln_version
end

#scan_idObject (readonly)

The Scan ID of the Scan



1977
1978
1979
# File 'lib/nexpose.rb', line 1977

def scan_id
  @scan_id
end

#startTimeObject (readonly)

The scan start time



1983
1984
1985
# File 'lib/nexpose.rb', line 1983

def startTime
  @startTime
end

#statusObject (readonly)

The scan status (running|finished|stopped|error| dispatched|paused|aborted|uknown)



1987
1988
1989
# File 'lib/nexpose.rb', line 1987

def status
  @status
end

#tasks_activeObject (readonly)

The number of active tasks



1991
1992
1993
# File 'lib/nexpose.rb', line 1991

def tasks_active
  @tasks_active
end

#tasks_completedObject (readonly)

The number of completed tasks



1993
1994
1995
# File 'lib/nexpose.rb', line 1993

def tasks_completed
  @tasks_completed
end

#tasks_pendingObject (readonly)

The number of pending tasks



1989
1990
1991
# File 'lib/nexpose.rb', line 1989

def tasks_pending
  @tasks_pending
end

#vuln_disabledObject (readonly)

Vulnerability checks disabled



2017
2018
2019
# File 'lib/nexpose.rb', line 2017

def vuln_disabled
  @vuln_disabled
end

#vuln_errorObject (readonly)

Vulnerability check errors



2015
2016
2017
# File 'lib/nexpose.rb', line 2015

def vuln_error
  @vuln_error
end

#vuln_exploitObject (readonly)

Associative array, indexed by severity



2006
2007
2008
# File 'lib/nexpose.rb', line 2006

def vuln_exploit
  @vuln_exploit
end

#vuln_otherObject (readonly)

Vulnerability checks other



2019
2020
2021
# File 'lib/nexpose.rb', line 2019

def vuln_other
  @vuln_other
end

#vuln_versionObject (readonly)

Associative array, indexed by severity



2009
2010
2011
# File 'lib/nexpose.rb', line 2009

def vuln_version
  @vuln_version
end