Unmatched API extension classes
Summarize
Summary of Unmatched API Extension Classes
The CMDB CI Class Models store app enhances the management of unmatched APIs by adding or updating classes within the CMDB class hierarchy. This enables users to effectively manage application programming interfaces that do not conform to structured formats, allowing for better integration and data handling within ServiceNow.
Show less
Key Features
- Unmatched API Endpoint Class: Introduces the Unmatched API Endpoint [cmdbciunmatchedapiendpoint] class to manage APIs with unstructured endpoints that cannot populate existing API classes.
- Class Attributes: The Unmatched API Endpoint class includes attributes such as Method, Protocol, URL, ID, Internet Facing, Authorization, Request data types, and Response data types to capture essential data about APIs.
- API Endpoint Discovered Table: Acts as a staging area for unstructured API data, allowing it to be processed and integrated into the appropriate CMDB classes as per customer-defined integrations.
- Integration with Non-CMDB Tables: Utilizes the API Deployment [apideployment] non-CMDB table to link API deployments with unmatched endpoints, enabling streamlined relationships and data tracking.
Key Outcomes
By utilizing the unmatched API extension classes, ServiceNow customers can:
- Effectively manage and populate Configuration Items (CIs) for APIs that do not meet standard structured requirements.
- Improve data quality and integration processes through the use of custom-defined integrations that ensure well-structured data is captured.
- Enhance visibility and control over API management, leading to better decision-making and operational efficiency.
The CMDB CI Class Models store app adds or updates classes for unmatched APIs (application programming interface).
The app adds class models that extend the CMDB class hierarchy, including class descriptions, identification rules, identifier entries, and dependent relationships (if applicable). You can use the added classes as any other CMDB class. Applications such as Discovery and Service Mapping Patterns can use these class extensions to populate CIs and discover various technologies and software.
Request apps on the Store
Visit the ServiceNow Store website to view all the available apps and for information about submitting requests to the store. For cumulative release notes information for all released apps, see the ServiceNow Store version history release notes.
Unmatched APIs
API endpoints that are not structured well enough to populate the API [cmdb_ci_api] and API Component [cmdb_ci_api_component] classes instead populate the Unmatched API Endpoint [cmdb_ci_unmatched_api_endpoint] class. Unmatched APIs are typically used by integrations like security scanners or observability tools.
Classes
This section lists the classes that the CMDB CI Class Models store app adds or updates.
CMDB CI Class Models: Release 1.49.0 adds the following class for unmatched API endpoints. For the list of CMDB classes in a base system, including ones that this store app might be extending, see CMDB tables descriptions.
| Class | Extends | Description |
|---|---|---|
| Unmatched API Endpoint [cmdb_ci_unmatched_api_endpoint] |
Configuration Item [cmdb_ci] |
APIs with unstructured endpoints that cannot populate cmdb_ci_api or cmdb_ci_api_component. |
Class attributes
CMDB CI Class Models: Release 1.49.0 adds the following attributes to the Unmatched API Endpoint [cmdb_ci_unmatched_api_endpoint] class.
| Attribute | Data type | Description |
|---|---|---|
| Method | String | Backend protocol types of the API. Examples:
|
| Protocol | String | Communication protocol. Example: HTTP, HTTPS. |
| URL | String (1024) | URL of the resource being called. |
| ID | String (1024) | Unique identifier from the source system. |
| Internet Facing | Boolean | Boolean that denotes whether the component is reachable from the public internet. Specify 1 or "true" if the component is reachable. |
| Authorization | String | Type of authorization or authentication method. Example:
|
| Request data types | String (255) | List of data types in the request. Examples:
|
| Response data types | String (255) | List of data types in the response. Examples:
|
Key Relationship Structures
The Unmatched API Endpoint [cmdb_ci_unmatched_api_endpoint] CMDB class and API Endpoint Discovered [api_endpoint_discovered] non-CMDB table are intended for scenarios where unstructured API data is ingested and needs to be processed beyond the capabilities of IntegrationHub-ETL.
API Endpoint Discovered [api_endpoint_discovered] can serve as a staging table for raw data for the API [cmdb_ci_api] and API Component [cmdb_ci_api_component] classes. API data that does not come from a well-structured data source or cannot have standard identification rules applied can first populate the API Endpoint Discovered [api_endpoint_discovered] table. You can then use a customer-defined integration to ensure that well-formed data that matches the quality and condition requirements for API [cmdb_ci_api] and API Component [cmdb_ci_api_component] populates the most appropriate table.
In cases where the data cannot be correctly parsed or is structured in an unexpected fashion, you can instead use a customer-defined integration to populate the Unmatched API Endpoint [cmdb_ci_unmatched_api_endpoint] table.
Data that populates the API Endpoint Discovered [api_endpoint_discovered] table is purged every 30 days.
| Attribute | Data type | Description |
|---|---|---|
| Name | String (100) | Name of the API endpoint. |
| Method | String | REST API methods. Examples:
|
| URL | String (1024) | URL of the resource being called. |
| Type | Choice list | Type of API. You can specify:
|
| Authorization | String | Type of authorization or authentication method. Example:
|
| Internet Facing | Boolean | Boolean that denotes whether the component is reachable from the public internet. Specify 1 or "true" if the component is reachable. |
| Request Datatypes | String (255) | List of data types in the request. Examples:
|
| Response Datatypes | String (255) | List of data types in the response. Examples:
|
| Headers | String (255) | Comma-separated list of header names. |
| Configuration Item | Reference | Reference to a matching CMDB CI (API Component or Unmatched API Endpoint). |
Related non-CMDB tables
The Unmatched API extension class uses the API Deployment [api_deployment] non-CMDB table as a related list:
| Attribute | Data type | Description |
|---|---|---|
| Name | String (100) | Name of the API deployment. |
| API | Reference | Reference to the deployed API (cmdb_ci_api). |
| Unmatched API Endpoint | Reference | Reference to the unmatched API endpoint, if the API doesn't match an existing API (cmdb_ci_unmatched_api_endpoint). |
| Configuration Item | Reference | Reference to the Configuration Item. This is typically manually specified as a reference, if you know what CI the API is deployed to. |