Attributes associated with certificate reputations
returned by
the Enterprise reputation provider
.
Name | Numeric | Description |
---|---|---|
FIRST_CONTACT | 2109589 | The time the certificate was first seen (Epoch time). |
PREVALENCE | 2109333 | The count of unique systems that have executed a file that is associated with the certificate (via signing). |
HAS_FILE_OVERRIDES | 2122901 | Whether one or more files associated with the certificate is overriding its reputation. |
IS_PREVALENT | 2125972 | Whether the certificate is considered to be prevalent within the enterprise. |
SERVER_VERSION | 2139285 | The version of the TIE server that returned the reputations (encoded version string). |
Members
(static) FIRST_CONTACT
The time the certificate was first seen (Epoch time).
See the EpochUtil module for helper methods used to parse the Epoch time.
(static) HAS_FILE_OVERRIDES
Whether one or more files associated with the certificate is overriding its reputation.
(static) IS_PREVALENT
Whether the certificate is considered to be prevalent
within the
enterprise.
(static) PREVALENCE
The count of unique systems that have executed a file that is associated with the certificate (via signing).
(static) SERVER_VERSION
The version of the TIE server that returned the reputations
(encoded
version string).
See the toVersionArray and toVersionString helper methods used to parse the encoded version string.
Methods
(static) toVersionArray(versionAttrib) → {Array.<Number>}
Returns an array of version values corresponding to the specified encoded version string. This method will return an array containing the server version values in the following order:
- The major version
- The minor version
- The patch version
- The build version
For example, for a versionAttrib
value of "73183493944770750", this
would return:
[1, 4, 0, 190]
- Major version: 1
- Minor version: 4
- Patch version: 0
- Build version: 190
Parameters:
Name | Type | Description |
---|---|---|
versionAttrib |
String | The encoded version string |
Returns:
- An array corresponding to the specified encoded version string
- Type
- Array.<Number>
Example
var entRep = reputationsObj[CertProvider.ENTERPRISE]
var entRepAttribs = entRep[CertReputationProp.ATTRIBUTES]
var versionArray = CertEnterpriseAttrib.toVersionArray(
entRepAttribs[CertEnterpriseAttrib.SERVER_VERSION])
(static) toVersionString(versionAttrib) → {String}
Returns a version string corresponding to the specified encoded version string.
For example, for a versionAttrib
value of "73183493944770750", this would
return "1.4.0.190".
Parameters:
Name | Type | Description |
---|---|---|
versionAttrib |
String | The encoded version string |
Returns:
- A version string corresponding to the specified encoded version string
- Type
- String
Example
var entRep = reputationsObj[CertProvider.ENTERPRISE]
var entRepAttribs = entRep[CertReputationProp.ATTRIBUTES]
var versionArray = CertEnterpriseAttrib.toVersionString(
entRepAttribs[CertEnterpriseAttrib.SERVER_VERSION])