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:
- Name {String} : The name of the customer
- ID {String} : The ID of the customer
Defined in: customer.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Customer(properties)
Creates an instance of the Customer class.
|
Field Attributes | Field Name and Description |
---|---|
<static> |
Customer.getId
The getId method returns an ID for a given customer name.
|
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
Example:
var id = Customer.getId("Novell")