Skip to content

DataSources

The JS DataSources object can be used in user customizable scripts within Cyberquest Data Transformation Service (DTS) and in Alerts. This Object can be called using subobjects, such as:

DataSourceStatus

This class has methods that return the timestamp at which the last modification was made.

It returns the timestamp in different formats:

Usage

CQ.DataSources.DataSourceStatus.getLastLocalTimeAsUTCAsTimeStampMilliseconds();
CQ.DataSources.DataSourceStatus.getLastLocalTimeUTCTimeStampSeconds();
CQ.DataSources.DataSourceStatus.getLastLocalTimestampSeconds();
CQ.DataSources.DataSourceStatus.getLastLocalTimestampMilliSeconds();