Discovery Console for OT API
Summarize
Summary of Discovery Console for OT API
The Discovery Console for Operational Technology (OT) API enables ServiceNow customers to access and manage Discovery Console data through API integrations. The API communicates with the Service Graph Connector (SGC), which acts as a bridge between the Discovery Console, other Discovery components, and the ServiceNow instance. This setup facilitates data exchange for OT asset discovery and monitoring.
Show less
API Settings and Functionality
Within the API settings, customers can manage active and denied tokens and configure endpoints required for secure communication with the SGC. Tokens are importable and exportable, and endpoints can be downloaded for configuration ease.
The SGC enhances connectivity by providing key API functions, including:
- Reporting user license status.
- Importing software program data identified on devices, returning paginated lists with attributes such as software name, version, vendor, last seen date, and asset identifiers.
- Transferring images and screenshots from the Console to ServiceNow, with pagination and filters for update date, creation date, size, OCR words, and titles.
- Sending Discovery Sensor for OT data to ServiceNow, enabling asset discovery and sensor management through sensor IDs.
- Sending health and host metrics of the Discovery Console VM, Sensors, and Scouts, which provides visibility into versioning, installed processes, and system health.
Support for Indirect Network Connections (Air-Gapped Environments)
For environments without direct internet or secure LAN connections, the Discovery Console for OT supports generating JSON export files that can be manually transferred to the MID Server via physical media (e.g., thumb drives). These JSON files, located in the /opt/MSi/srv/apiexports directory, contain data from Discovery components and can be imported through the SGC into the ServiceNow instance. This functionality ensures data synchronization and operational continuity in isolated or secure network setups.
Practical Considerations
- Access API settings on the Discovery Console for OT Settings page under the API tab to manage tokens and endpoints.
- Schedule JSON exports to automate data extraction for air-gapped environments.
- Utilize the SGC to facilitate seamless data flow between OT Discovery components and ServiceNow.
- Edit API settings as needed to tailor integration to your operational requirements.
You can access the Console Discovery data via the API. On the Settings page, select the API tab to view and use the active tokens, denied tokens, and endpoints needed to communicate with the Service Graph Connector (SGC).
API settings
The API settings are used to set up the active tokens, denied tokens, and endpoints needed to communicate with the SGC for ServiceNow Discovery for Operational Technology (OT).
Tokens can be imported or exported, and endpoints can be downloaded.
The SGC enables the API to communicate data from the Discovery Console for OT and other Discovery components to the ServiceNow instance. Data can also be communicated to and from external APIs.
Functionality
The SGC has been enhanced for better connection to and from the Discovery components, the Discovery Console for OT API, and your ServiceNow instance.
- Sends the status of the user license.
- Imports all software programs that are identified on the devices and returns a paginated list from the SoftwaresAPI view.The API ingests software and provides the following program attributes:
inputProduct: the software nameVersion: the version of the installed softwareinputVendor: the manufacturer of the softwarelastSeenOn: the assets' LastSeenOn field added to the objectassetId: derived fro the _id for the asset document containing the software array._id: for the document; should be the _id for the object in the software array
- Transfers images and screen shots from the Console to the ServiceNow instance. This returns images in a paginated list with these filters:
UpdateOnCreatedOnScreenShotSizeOCR WordsTitles
- Pushes Discovery Sensor for OT information to the ServiceNow instance.
- The API can be used to return the
sensorId. - You can gather information about the Sensor and use it to discover assets.
- Sensor information can be pushed via the API to the ServiceNow.
- The API can be used to return the
- Send to the Console virtual machine (VM) health metrics and host metrics of the Sensor and the Scout. This helps with visibility of version, installed processes, and the health of the host machine of Discovery Console for OT, Discovery Sensor for OT, and Discovery Scout for OT.
Indirect network connection (air-gapped)
For security reasons, a computer or system may not be directly connected to the internet or may be on an unsecured LAN. In such a situation, the Discovery for Operational Technology components cannot push files or data to the MID Server and from there via the Service Graph Connector on to the ServiceNow instance.
To solve the air-gap issue, the Discovery Console for OT can generate JSON files. These JSON files are physical files and can be manually copied and then moved to the MID server via an external drive. They can then be manually copied to a specific directory on the MID server and then consumed through the SGC to the ServiceNow instance.
To edit the Console API, see Edit API settings.