Class: Nexpose::ScanSummary
- Inherits:
-
Object
- Object
- Nexpose::ScanSummary
- Defined in:
- lib/nexpose.rb
Overview
Description
Object that represents a summary of a scan.
Instance Attribute Summary collapse
-
#endTime ⇒ Object
readonly
The scan finish time.
-
#engine_id ⇒ Object
readonly
The Engine ID used to perform the scan.
-
#name ⇒ Object
readonly
TODO: add description.
-
#nodes_dead ⇒ Object
readonly
The number of “dead” nodes.
-
#nodes_filtered ⇒ Object
readonly
The number of filtered nodes.
-
#nodes_live ⇒ Object
readonly
The number of “live” nodes.
-
#nodes_other ⇒ Object
readonly
The number of “other” nodes.
-
#nodes_unresolved ⇒ Object
readonly
The number of unresolved nodes.
-
#not_vuln_exploit ⇒ Object
readonly
Not vulnerable checks run (confirmed).
-
#not_vuln_version ⇒ Object
readonly
Not vulnerable checks run (unconfirmed).
-
#scan_id ⇒ Object
readonly
The Scan ID of the Scan.
-
#startTime ⇒ Object
readonly
The scan start time.
-
#status ⇒ Object
readonly
The scan status (running|finished|stopped|error| dispatched|paused|aborted|uknown).
-
#tasks_active ⇒ Object
readonly
The number of active tasks.
-
#tasks_completed ⇒ Object
readonly
The number of completed tasks.
-
#tasks_pending ⇒ Object
readonly
The number of pending tasks.
-
#vuln_disabled ⇒ Object
readonly
Vulnerability checks disabled.
-
#vuln_error ⇒ Object
readonly
Vulnerability check errors.
-
#vuln_exploit ⇒ Object
readonly
Associative array, indexed by severity.
-
#vuln_other ⇒ Object
readonly
Vulnerability checks other.
-
#vuln_version ⇒ Object
readonly
Associative array, indexed by severity.
Instance Method Summary collapse
-
#initialize(scan_id, engine_id, name, startTime, endTime, status) ⇒ ScanSummary
constructor
Constructor ScanSummary(can_id, $engine_id, $name, tartTime, $endTime, tatus).
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
#endTime ⇒ Object (readonly)
The scan finish time
1985 1986 1987 |
# File 'lib/nexpose.rb', line 1985 def endTime @endTime end |
#engine_id ⇒ Object (readonly)
The Engine ID used to perform the scan
1979 1980 1981 |
# File 'lib/nexpose.rb', line 1979 def engine_id @engine_id end |
#name ⇒ Object (readonly)
TODO: add description
1981 1982 1983 |
# File 'lib/nexpose.rb', line 1981 def name @name end |
#nodes_dead ⇒ Object (readonly)
The number of “dead” nodes
1997 1998 1999 |
# File 'lib/nexpose.rb', line 1997 def nodes_dead @nodes_dead end |
#nodes_filtered ⇒ Object (readonly)
The number of filtered nodes
1999 2000 2001 |
# File 'lib/nexpose.rb', line 1999 def nodes_filtered @nodes_filtered end |
#nodes_live ⇒ Object (readonly)
The number of “live” nodes
1995 1996 1997 |
# File 'lib/nexpose.rb', line 1995 def nodes_live @nodes_live end |
#nodes_other ⇒ Object (readonly)
The number of “other” nodes
2003 2004 2005 |
# File 'lib/nexpose.rb', line 2003 def nodes_other @nodes_other end |
#nodes_unresolved ⇒ Object (readonly)
The number of unresolved nodes
2001 2002 2003 |
# File 'lib/nexpose.rb', line 2001 def nodes_unresolved @nodes_unresolved end |
#not_vuln_exploit ⇒ Object (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_version ⇒ Object (readonly)
Not vulnerable checks run (unconfirmed)
2013 2014 2015 |
# File 'lib/nexpose.rb', line 2013 def not_vuln_version @not_vuln_version end |
#scan_id ⇒ Object (readonly)
The Scan ID of the Scan
1977 1978 1979 |
# File 'lib/nexpose.rb', line 1977 def scan_id @scan_id end |
#startTime ⇒ Object (readonly)
The scan start time
1983 1984 1985 |
# File 'lib/nexpose.rb', line 1983 def startTime @startTime end |
#status ⇒ Object (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_active ⇒ Object (readonly)
The number of active tasks
1991 1992 1993 |
# File 'lib/nexpose.rb', line 1991 def tasks_active @tasks_active end |
#tasks_completed ⇒ Object (readonly)
The number of completed tasks
1993 1994 1995 |
# File 'lib/nexpose.rb', line 1993 def tasks_completed @tasks_completed end |
#tasks_pending ⇒ Object (readonly)
The number of pending tasks
1989 1990 1991 |
# File 'lib/nexpose.rb', line 1989 def tasks_pending @tasks_pending end |
#vuln_disabled ⇒ Object (readonly)
Vulnerability checks disabled
2017 2018 2019 |
# File 'lib/nexpose.rb', line 2017 def vuln_disabled @vuln_disabled end |
#vuln_error ⇒ Object (readonly)
Vulnerability check errors
2015 2016 2017 |
# File 'lib/nexpose.rb', line 2015 def vuln_error @vuln_error end |
#vuln_exploit ⇒ Object (readonly)
Associative array, indexed by severity
2006 2007 2008 |
# File 'lib/nexpose.rb', line 2006 def vuln_exploit @vuln_exploit end |
#vuln_other ⇒ Object (readonly)
Vulnerability checks other
2019 2020 2021 |
# File 'lib/nexpose.rb', line 2019 def vuln_other @vuln_other end |
#vuln_version ⇒ Object (readonly)
Associative array, indexed by severity
2009 2010 2011 |
# File 'lib/nexpose.rb', line 2009 def vuln_version @vuln_version end |