Class Index | File Index

Classes


Class Customer

The Customer class represents the MSSP Customer information that is assigned to data stored in Sentinel. All data (events, identities, assets, vulnerabilities) are flagged as belonging to one or more customers. This is intended for use in Managed Security Service Provider environments where data from each customer should be kept separate, but can also be used by single customers to keep different sections of the enterprise's data apart. Each customer is identified by a name and an internal ID. In most cases you only need to know the name, which is usually set as the instance.CONFIG.params.MSSP_Customer parameter. Ordinarily you will just place this name in events sent to the ESM framework. In some cases, however, other data objects want the Customer ID instead of the name; use this class for this situation. The class accepts these pre-defined attributes:

Note that if the Customer has not yet been seen by the system, there will be no corresponding record in the database and the getId() method will fail. This will only happen the first time, however; after a single event or data object referencing the customer has been sent, the Customer object will be created and stored.
Defined in: customer.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Customer(properties)
Creates an instance of the Customer class.
Field Summary
Field Attributes Field Name and Description
<static>  
Customer.getId
The getId method returns an ID for a given customer name.
Class Detail
Customer(properties)
Creates an instance of the Customer class.
Author: Novell Engineering.
instance.CONFIG.customer = new Customer({"Name":instance.CONFIG.params.MSSP_Customer});
var asset = new Asset({IPv4:"10.0.0.24",Vendor:"Novell","Customer":instance.CONFIG.customer});
Parameters:
{Object} properties
Set of pre-defined properties used to initialize this object
Field Detail
<static> {ID} Customer.getId
The getId method returns an ID for a given customer name.

Example:

var id = Customer.getId("Novell")

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