Class Index | File Index

Classes


Class Scanner

The Scanner class provides methods for defining and storing vulnerabilities detected on enterprise assets. It depends on several other classes, including the Asset class, the Vuln class, and the Scan class. In general, a vulnerability scanner will perform a scan of an enterprise asset checking all ports on that asset for known vulnerabilities. The entire result set of that scan will be placed in a file which is then processed by a Collector. The process followed is usually to construct a Scanner object which describes the vulnerability scanner, then a Scan object which describes the full scan that took place. Then, a Vuln object is created for each detected vulnerability, attached to the relevant Asset, and stored in the database. It is also possible for the vulnerability scanner to perform a 'partial' scan which means that only specific ports are scanned. In this case, the scan data will not replace the entire set of vulnerability information known for an asset, but only for those ports which were scanned. The class accepts a pre-defined set of vulnerability attributes:


Defined in: vuln.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Scanner(properties)
Constructs an instance of the Scanner class which represents an enterprise vulnerability scanner.
Field Summary
Field Attributes Field Name and Description
 
The type of scanner; currently hard-coded to 'VULN'
Class Detail
Scanner(properties)
Constructs an instance of the Scanner class which represents an enterprise vulnerability scanner.
Author: Novell Engineering.
instance.CONFIG.scanner = new Scanner({"Vendor":"Tenable","Product":"Nessus"});
// See Scan class for a full example
Parameters:
{Object} properties
Set of pre-defined properties used to initialize this object
See:
Scan
Vuln
Asset
Field Detail
Type
The type of scanner; currently hard-coded to 'VULN'

©2008
Documentation generated by JsDoc Toolkit 2.0.2 on Thu Oct 07 2010 07:23:17 GMT-0400 (EDT)