Conformance Analysis
Use Conformance Analysis in Traceable to compare observed API behavior with specifications and detect drift, including for MCP Servers
Harness's Conformance Analysis helps you identify deviations between the APIs and MCP assets defined in your documentation and those observed by Harness based on live traffic. This enables you to identify undocumented or unused endpoints and MCP assets, as well as discrepancies between documented and observed behavior.
Harness provides two options for performing conformance analysis: One-Time and Scheduled, both of which are described in the Setting Up Conformance Analysis section.
What you will learn from this topic
By the end of this topic, you will be able to:
Understand how Harness classifies API endpoints and MCP assets during conformance analysis.
Configure and run a one-time or scheduled conformance analysis.
Read the analysis report and interpret its categorized results.
Create tickets for detected issues and locate them on the Issues page.
Before you begin
Before performing a conformance analysis, make sure you have a clear understanding of the following terminology used to classify API endpoints and MCP assets. These categories are based on whether an asset is defined in the uploaded documentation and the traffic observed by Harness.
Shadow assets
These are APIs or MCP assets that Harness identifies from live traffic but that are not defined in the uploaded documentation.
For API documentation, shadow endpoints are those Harness identifies through traffic analysis, but these endpoints were not part of the specification you uploaded. For example, if the uploaded API specification contains
GET /cartandGET /checkout, but Harness also identifiesGET /adminas an API endpoint, thenGET /adminis classified as a shadow endpoint.For MCP Server documentation, shadow assets are MCP assets that Harness identifies from live traffic but that are not defined in the uploaded MCP Server documentation. Shadow assets can include MCP servers, tools, resources, and prompts.
Orphan assets
These are APIs or MCP assets defined in the uploaded documentation but not observed by Harness during the analysis.
For API documentation, orphan endpoints are the endpoints that are part of the API specification uploaded by the user. However, Harness has either not observed or is still learning these API endpoints. For example, if the API specification contains
GET /cartandGET /checkout, but Harness does not observeGET /checkoutduring analysis, thenGET /checkoutis classified as an orphan endpoint.For MCP Server documentation, orphan assets are MCP assets defined in the uploaded documentation but not observed by Harness in live traffic during analysis. Orphan assets can include MCP servers, tools, resources, and prompts.
Matched assets with drift
These are API endpoints or MCP assets defined in the documentation you uploaded and that Harness has also observed. However, Harness identified discrepancies between the documented and observed definitions.
For API endpoints, discrepancies can include type mismatches, missing parameters, and authentication issues. For MCP assets, discrepancies can include differences in MCP Tool request and response bodies, MCP Prompt request bodies, and MCP Resource content types.
Matched assets without drift
These are API endpoints or MCP assets defined in the documentation you uploaded and that Harness has also observed. Harness did not identify any discrepancies between the documented and observed definitions.
Set up Conformance Analysis
The one-time conformance analysis is designed to execute a comprehensive evaluation once, according to the parameters you specify while starting the analysis. However, you can manually re-run the conformance analysis according to your requirements. To start a conformance analysis, navigate to Discovery → Conformance Analysis → One Time and click Start Analysis. A slide-out panel is displayed with the following sections:

Documentation Type: The type of documentation that you wish to upload or choose from, for example, MCP Server.
Documentation ID: The Conformance Analysis is done against the API specification or MCP Server manifest you choose from this drop-down list. You can either select one or all entries available in the drop-down list or upload the documentation below. The list is populated either from the Click to upload section or from Discovery → Settings → Documentation.
Click to Upload: The API specifications or MCP Server manifests you upload here are added to the Documentation ID drop-down list. You can upload a maximum of 10 API specifications, with a total size not exceeding 20 MB. Harness supports the following file types based on the Documentation Type:
Documentation TypeSupported file typesOpen API Spec
.yaml, .yml, .json
WSDL
.wsdl
MCP Server
.yaml, .yml
For information on the MCP server manifest format, go to Sample MCP server manifest format.
Job name: Specify the name of the analysis job.
Environment: Select an environment from the drop-down list against which you want to run the conformance analysis.
Select API Endpoints/MCP Servers: Select the assets (API endpoints or MCP servers) against which you wish to run the analysis. You can run the analysis against:
All Endpoints/MCP Servers
Specific Endpoints/MCP Servers
Endpoint/MCP Server Selection Condition
Drift Scope: The API elements you wish to run the analysis on, such as Path, Query, Request Cookie, and Request Header. You can select from the available options in the drop-down according to your requirements.
Click Submit to start the analysis.
The scheduled analysis is designed to conduct a comprehensive evaluation at regular intervals, ensuring consistent analysis. Traceable provides two options for performing scheduled conformance analysis: Manual and System-Generated.
Manual analysis
The configuration of a manual analysis is similar to that of a one-time analysis; however, you can set it to run at specific intervals according to your requirements. To do so, navigate to Discovery → Conformance Analysis → Scheduled and click on Start Analysis. A slide-out panel is displayed containing the options described in the following sections.
Documentation Type: The type of documentation that you wish to upload or choose from, for example, MCP Server.
Documentation ID: The Conformance Analysis is done against the API specification or MCP Server manifest you choose from this drop-down list. You can either select one or all entries available in the drop-down list or upload the documentation below. The list is populated either from the Click to upload section or from Discovery → Settings → Documentation.
Click to Upload: The API specifications or MCP Server manifests you upload here are added to the Documentation ID drop-down list. You can upload a maximum of 10 API specifications, with a total size not exceeding 20 MB. Harness supports the following file types based on the Documentation Type:
Documentation TypeSupported file typesOpen API Spec
.yaml, .yml, .json
WSDL
.wsdl
MCP Server
.yaml, .yml
For the sample manifest of an MCP server, which you should upload, see Sample MCP manifest.
Job name: Specify the name of the analysis job.
Environment: Select an environment from the drop-down list against which you want to run the conformance analysis.
Select API Endpoints/MCP Servers: Select the assets (API endpoints or MCP servers) against which you wish to run the analysis. You can run the analysis against:
All Endpoints/MCP Servers
Specific Endpoints/MCP Servers
Endpoint/MCP Server Selection Condition
Schedule: Select the schedule according to which Harness should run the analysis, for example, Daily 8:30 AM.
Drift Scope: The API elements you wish to run the analysis on, such as Path, Query, Request Cookie, and Request Header. You can select from the available options in the drop-down according to your requirements.
Click Submit to start the analysis.
System-generated analysis
The system-generated analysis is an automated analysis that runs independently every 12 hours from the last automated job run. The automated job runs for API documentation that is enabled for naming. For example, if 12 API documentations are available, out of which 8 are enabled for naming, then the automated conformance analysis job runs for 8 API documentations.
To enable API documentation for naming, navigate to Discovery → Settings → Documentation, edit an existing API specification, and select the Enabled for Naming toggle, as shown below.
You can also use the Documentation tab to upload a new API specification or delete existing documentation. Any API specification uploaded from the Documentation tab is visible in the Documentation ID drop-down list, as displayed in the One-time and Manual analysis sections. In one-time and manual analysis, you can choose the environment in which you want to run the conformance analysis. In contrast, the system-generated conformance analysis job runs for all the environments.
The results of the system-generated conformance analysis are available in the Discovery → Conformance Analysis → Scheduled → System Generated tab. These results are available for 3 days. To view results for the analysis of specific environments, select the Environment from the drop-down list in the top right corner.
Analysis report
Once you start the conformance analysis, Harness runs the job according to your configured settings. After the analysis is complete, click the job to view the analysis results.
The conformance analysis report provides a summary of the analysis, the scope used, and details of the APIs or MCP assets identified by Harness. The information displayed in the report depends on the Documentation Type you selected when configuring the analysis. The following tabs highlight these details according to your requirements.
When you perform a conformance analysis using Open API Spec or WSDL, the analysis report provides information about the API endpoints defined in the documentation and the API endpoints observed by Harness.

Summary
The Summary section provides an overview of the API endpoints identified in the uploaded documentation and observed by Harness.
The API Endpoints section displays the following:
Spec: The number of API endpoints defined in the uploaded API documentation.
Traceable: The number of API endpoints observed by Harness through live traffic.
Scope
The Scope section summarizes the configuration used for the conformance analysis, including:
Environment: The environment against which the analysis was performed.
API Documentation: The API documentation used for the analysis.
API Endpoints: The API endpoints included in the analysis.
Drift Scope: The API elements included in the drift analysis.
Details of API
The Details of API section categorizes the API endpoints identified during the analysis and displays the number of endpoints in each category.
The section includes:
Matched Endpoints with Drift
Shadow Endpoints
Orphan Endpoints
Matched Endpoints without Drift
Click an endpoint category to view the corresponding endpoints in the right pane. The endpoint list provides details such as API Endpoint, Service, Sensitivity, Risk, and Last Seen. Further, you can click the endpoint to view detailed information about it.
When you perform a conformance analysis using MCP Server, the analysis report provides information about the MCP assets defined in the MCP Server manifest and the assets observed by Traceable through live traffic.

Summary
The Summary section provides an overview of the MCP assets identified in the MCP Server manifest and observed by Traceable through live traffic.
The Assets section is divided into Documentation and Live Traffic:
Documentation: Displays the number of MCP assets defined in the MCP Server manifest.
Live Traffic: Displays the number of MCP assets observed by Traceable through live traffic.
The assets are categorized as:
MCP Servers
MCP Tools
MCP Resources
MCP Prompts
For example, in the screenshot above, the documentation contains 1 server, 2 tools, 2 resources, and 1 prompt, while Traceable has observed 1 server, 2 tools, 2 resources, and 2 prompts through live traffic.
Scope
The Scope section summarizes the configuration used for the conformance analysis. It includes:
Environment: The environment against which the analysis was performed.
Documents: The MCP Server manifest used for the analysis.
MCP Servers: The MCP servers included in the analysis.
Drift Scope: The MCP elements included in the drift analysis. For MCP Server documentation types, the drift scope is predefined and cannot be configured during conformance analysis.
For example, in the above screenshot, the job was run against all MCP servers in the Fintech-app environment using the dev-development-external-shadow_orphan_EPs_params.yaml MCP Server manifest.
Details of MCP Server
The Details of MCP Server section categorizes the MCP assets identified during the analysis.
The section includes:
Matched Endpoints with Drift
Shadow Assets
Orphan Assets
Matched Endpoints without Drift
Click an asset category to view the corresponding assets in the right pane. The asset list provides details such as Asset Name, Asset Type, Server Name, Host Name, Risk, and Last Called. Further, you can click an asset to view its detailed information.
Create tickets
From the analysis result page, you can create tickets for API endpoints and MCP assets identified in the analysis directly from the corresponding rows. Harness supports integrations with Jira, ServiceNow ITSM, and Azure DevOps.
To create a ticket, click the Integration icon in the corresponding column for an API endpoint or MCP asset. You can create tickets for:
API endpoints: Shadow Endpoints and Matched Endpoints with Drift.
MCP assets: Shadow Assets and Matched Assets with Drift, where supported.
When creating a ticket, Harness provides a Link to job that takes you to the corresponding conformance analysis job. The link is available for all supported ticketing integrations.
View detected issues
Harness highlights security gaps (issues) identified through conformance analysis directly on the Issues page. The Issues page offers a detailed view of each issue. This enables you to view the issues directly in a centralized dashboard and take the necessary actions for remediation.
To view the issues raised via conformance analysis, navigate to Discovery → Risk → Issues, and in the page’s top right corner, click the Filter icon and select either of the following:
Source: Conformance Analysis
Category: Select the applicable category based on the issue type:
API Governance for API endpoint issues.
MCP Tools, MCP Resources, or MCP Prompts for MCP asset issues.
This detailed issues view ensures that you can identify, track, and resolve the conformance-related security gaps within your application ecosystem. Go to Issues Overview and Issue Management for details.
Last updated
Was this helpful?