# Exploring API Inventory and MCP Servers <a href="https://docs.wallarm.com/6.x/about-wallarm/subscription-plans.md#core-subscription-plans"><img src="../../images/api-security-tag.svg" class="non-zoomable" style="border: none;"></a>

As soon as the [API Discovery](https://docs.wallarm.com/6.x/api-discovery/overview.md) module has built the catalog of your API endpoints and MCP servers, you can explore it in the **API Discovery** section of Wallarm Console. The section has two tabs: **APIs** for REST, GraphQL, SOAP, and gRPC endpoints, and **MCP Servers** for discovered MCP servers and their primitives. Learn from this article how to go through the discovered data.

## API endpoints

Explore your discovered API endpoints using the **APIs** tab of the **API Discovery** section in the [US](https://us1.my.wallarm.com/api-discovery) or [EU](https://my.wallarm.com/api-discovery) Cloud.

![API Discovery - built API inventory](https://docs.wallarm.com/6.x/images/about-wallarm-waf/api-discovery-2.0/api-discovery-built-inventory.png)

By default, endpoints and operations are sorted by host/endpoint or operation name. Also, **Group by host** is on. With grouping by host disabled, you can sort endpoints by risk.

### Filtering

Among a wide range of API endpoint filters, you can choose the ones corresponding to your analysis purpose, e.g.:

* Find the endpoints characterized with the highest [risk level](https://docs.wallarm.com/6.x/api-discovery/risk-score.md) to analyze and mitigate the risks.
* Find the endpoints that have [security issues](https://docs.wallarm.com/6.x/api-attack-surface/security-issues.md) (vulnerabilities) by severity: use the **Security Issues** filter to narrow by **Critical**, **High**, **Medium**, or **Low**.
* Find endpoints related to a specific [application](https://docs.wallarm.com/6.x/user-guides/settings/applications.md).
* Find the endpoints that have been changed or newly discovered in the last week and that process PII data. This kind of request can help you to stay up to date with critical [changes in your APIs](https://docs.wallarm.com/6.x/api-discovery/track-changes.md).
* Find the endpoints being used to upload data to your server by the PUT or POST calls (REST) or mutations (GraphQL) (**API protocols** filter with methods for REST and operation types for GraphQL). Since such endpoints are a frequent attack target, they should be well secured. Using this kind of request you can check that endpoints are known to the team and are well secured from attacks.
* Find the endpoints processing sensitive data to ensure they are properly secured.
* Find the endpoints of a deprecated API version (e.g. by searching `/v1`) and make sure that they are not used by clients.
* Find endpoints without authentication by using the **Authentication** filter and selecting **No authentication**. This helps identify potential security risks where endpoints may be unprotected.
* Find the endpoints that are reachable from the internet by using the **Public exposure** filter and selecting **External** (or **Internal** for endpoints on hosts that are only reachable inside a private network). Internet-facing endpoints without authentication are the highest-priority attack surface. See [Host exposure (external vs. internal)](#host-exposure-external-vs-internal) for how a host is classified.

### Host exposure (external vs. internal)

The **Public exposure** filter classifies every discovered host by whether it is reachable from the public internet. Each host has one of three statuses:

| Status | Meaning |
| --- | --- |
| **External** (`public`) | Reachable from the public internet — the host is a public IP address, or a hostname that resolves to one. |
| **Internal** (`internal`) | Not reachable from the public internet — a private (RFC 1918 / RFC 4193), loopback, or link-local IP; a dot-less short name such as `srv01`; or a hostname that public DNS does not know or that resolves only to private addresses. |
| **Unknown** (`unknown`) | Could not be classified — for example, the hostname could not be resolved. |

How the classification is made:

* If the host is an **IP literal** (IPv4 or IPv6), it is classified directly by its address range — private, loopback, and link-local ranges are **Internal**; any other routable address is **External**.
* If the host is a **hostname**, Wallarm resolves it against **public DNS resolvers** (not your internal DNS) to determine what the public internet sees. This is deliberate: in a split-horizon DNS setup, internal resolvers may return private addresses for a name that is in fact publicly reachable, so Wallarm checks the public view.
* A hostname that public DNS does not know (an authoritative *no such name* answer) is treated as **Internal**, on the assumption it lives on a private network.

!!! info "Refresh and requirements"
    Host exposure is recalculated on a regular schedule (hourly), so a newly discovered host appears as **Unknown** until its first classification, and a host that moves between private and public addressing updates on the next cycle. Classification depends on API Discovery being able to reach public DNS from the Wallarm node environment; where outbound DNS is blocked, hosts stay **Unknown** and self-heal once it is restored.

### Labeling

You can assign labels to endpoints to manage them more effectively.

To assign a label, open the endpoint's [full-screen details page](#endpoint-details-view) and click **Assign label** in the sidebar. You can choose from predefined labels (e.g., `Critical`, `Identity service`) or create your own custom labels.

![API Discovery - assign a label](https://docs.wallarm.com/6.x/images/about-wallarm-waf/api-discovery-2.0/api-discovery-endpoint-assign-label.png)

Once labels are assigned, use the **Label** filter to quickly search and isolate endpoints based on these custom labels.

![API Discovery - labels](https://docs.wallarm.com/6.x/images/about-wallarm-waf/api-discovery-2.0/api-discovery-labels.png)

Note that several labels can be assigned to the same endpoint.

### AI/LLM endpoints

Endpoints that talk to LLMs, ML models, chatbots, or third-party AI services (e.g., OpenAI) are automatically tagged with the **AI/LLM** [sensitive business flow](https://docs.wallarm.com/6.x/api-discovery/sbf.md). Filter by **Business flow → AI/LLM** to see only AI-related endpoints.

You can also adjust the tag manually if automatic detection misses any.

![Agentic AI endpoints in API Discovery](https://docs.wallarm.com/6.x/images/agentic-ai-protection/agentic-ai-in-api-discovery.png)

Sessions that touch AI/LLM-tagged endpoints are themselves tagged with the **AI/LLM** business flow in [API Sessions](https://docs.wallarm.com/6.x/api-sessions/overview.md), so you can isolate user activity that exercises AI-backed APIs.

## MCP Servers

The **MCP Servers** tab lists discovered [Model Context Protocol](https://modelcontextprotocol.io/) servers alongside their primitives — tools, resources, and prompts.

!!! info ""
    MCP discovery requires [NGINX Node](https://docs.wallarm.com/6.x/installation/nginx-native-node-internals.md#nginx-node) 6.12.0 or [Native Node](https://docs.wallarm.com/6.x/installation/nginx-native-node-internals.md#native-node) 0.25.0. For all protocols and their required Node versions, see [Supported protocols](https://docs.wallarm.com/6.x/api-discovery/overview.md#supported-protocols).

![Discovered MCP Servers](https://docs.wallarm.com/6.x/images/about-wallarm-waf/api-discovery-2.0/api-discovery-mcp-servers.png)

**How detection works.** The Wallarm node identifies MCP traffic by JSON-RPC 2.0 requests with MCP-specific methods. When detected, the MCP server is added to the **MCP Servers** tab, and the node automatically enables 100% response parsing for the MCP endpoint to capture the full schema from `tools/list`, `resources/list`, and `prompts/list` responses.

Within 30 minutes of discovering an MCP server, Wallarm automatically creates an [MCP Session Configuration](https://docs.wallarm.com/6.x/api-sessions/mcp-sessions.md#mcp-session-configuration) for it with default session-identification rules. Discovered MCP servers can also be used as the scope when creating [MCP mitigation controls](https://docs.wallarm.com/6.x/agentic-ai/mcp-mitigation-controls.md) — ACL policies, request verification, and tool input schema enforcement.

For what is displayed for each MCP server and its primitives, see [MCP primitive details](#mcp-primitive-details) below.

## Details view

Clicking an endpoint, operation, or MCP primitive opens its details in a **full-screen page**.

Each details page has a **unique URL** that you can share with colleagues or clients for direct access.

When you navigate back from the details page, all your previously applied **filters are preserved**, so you can continue working with the filtered list without re-applying them.

### REST endpoint details

<a name="params"></a>Click the REST endpoint to open its full-screen details page, including transferred sensitive data, risk score and what contributes to it, headers and parameters of requests and responses:

![API Discovery - REST endpoint details](https://docs.wallarm.com/6.x/images/about-wallarm-waf/api-discovery-2.0/api-discovery-endpoint-details-REST.png)

To create a WAF rule, mitigation control or trigger for the endpoint or one of its request parameters, use the **⋯** menu in the page header or in a request parameter row. See [Creating rules, mitigation controls and triggers](#creating-rules-mitigation-controls-and-triggers).

Each request/response parameter information includes:

* Parameter name and the part of request/response this parameter belongs to
* Path: the hierarchical location of a parameter within a REST query structure (not displayed, if all parameters are stored in the same root location)
* Information about parameter changes (new, unused)
* Presence and type of sensitive data transmitted by this parameter, including:

    * Personally identifiable information (PII) like full name, passport number or SSN
    * Login credentials like secret keys and passwords
    * Financial data like bank card numbers
    * Medical data like medical license number
    * Technical data like IP and MAC addresses

* [Type/format](#data_format_rest) of data sent in this parameter
* Date and time when parameter value was last transferred by requests
* [Authentication flows](https://docs.wallarm.com/6.x/api-discovery/authentication.md) and their coverage status — authentication type, per-parameter coverage percentage, parameter key and path

<a id="data_format_rest"></a>**REST format and data type**

In REST endpoint details, in the **Type** column for parameters of request and responses, Wallarm indicates the data format identified through traffic analysis or, if not specific, a general data type.

For REST endpoints, Wallarm attempts to detect various data formats such as `Int32`, `Int64`, `Float`, `Double`, `Datetime`, `IPv4`/`IPv6`, among others. If a value does not conform to any recognized data format, Wallarm classifies it under a general data type, such as `Integer`, `Number`, `String`, or `Boolean`.

This data allows checking that values of the expected format are passed in each parameter. Inconsistencies can be the result of an attack or a scan of your API, for example:

* The `String` values ​​are passed to the field with `IP`
* The `Double` values are passed to the field where there should be a value no more than `Int32`

### GraphQL operation details

!!! info ""
    GraphQL discovery requires [NGINX Node](https://docs.wallarm.com/6.x/installation/nginx-native-node-internals.md#nginx-node) 6.1.0 or [Native Node](https://docs.wallarm.com/6.x/installation/nginx-native-node-internals.md#native-node) 0.15.1. For all protocols and their required Node versions, see [Supported protocols](https://docs.wallarm.com/6.x/api-discovery/overview.md#supported-protocols).

Click the GraphQL operation to open its full-screen details page, including transferred sensitive data, risk score and what contributes to it, schema, parameters and headers of requests and responses:

![API Discovery - GraphQL operation details](https://docs.wallarm.com/6.x/images/about-wallarm-waf/api-discovery-2.0/api-discovery-endpoint-details-GQL.png)

Each request/response parameter information includes:

* Parameter name and the part of request/response this parameter belongs to
* Path: the hierarchical location of a parameter within a GraphQL query structure (not displayed, if all parameters are stored in the same root location)
* Information about parameter changes (new, unused)
* Presence and type of sensitive data transmitted by this parameter
* Date and time when parameter value was last transferred by requests
* [Authentication flows](https://docs.wallarm.com/6.x/api-discovery/authentication.md) and their coverage status — authentication type, per-parameter coverage percentage, parameter key and path

<a name="data_format_graphql"></a>**Format and data type**

In GraphQL operation details, in the **Type** column for parameters and headers, Wallarm indicates the data format identified through traffic analysis.

For GraphQL operations, data formats are detected in accordance with the [scalar types](https://graphql.org/learn/schema/#scalar-types) specification:

* `Int`: A signed 32‐bit integer.
* `Float`: A signed double-precision floating-point value.
* `String`: A UTF‐8 character sequence.
* `Boolean`: true or false.

### SOAP operation details

!!! info ""
    SOAP discovery requires [NGINX Node](https://docs.wallarm.com/6.x/installation/nginx-native-node-internals.md#nginx-node) 6.3.0 or [Native Node](https://docs.wallarm.com/6.x/installation/nginx-native-node-internals.md#native-node) 0.17.1. For all protocols and their required Node versions, see [Supported protocols](https://docs.wallarm.com/6.x/api-discovery/overview.md#supported-protocols).

Click the SOAP operation to open its full-screen details page, including transferred sensitive data, risk score and what contributes to it, XML body parameters, HTTPS and XML headers of requests and responses:

![API Discovery - SOAP operation details](https://docs.wallarm.com/6.x/images/about-wallarm-waf/api-discovery-2.0/api-discovery-endpoint-details-SOAP.png)

Each request/response XML parameter information includes:

* Parameter name (**Key**)
* Path: the hierarchical location of a parameter within an XML structure (not displayed, if all parameters are stored in the same root location)
* Parameter type
* Namespaces for path elements (from more general to more specific)
* Presence and type of sensitive data transmitted by this parameter
* Information about parameter changes (new, unused)
* Date and time when parameter value was last transferred by requests
* [Authentication flows](https://docs.wallarm.com/6.x/api-discovery/authentication.md) and their coverage status — authentication type, per-parameter coverage percentage, parameter key and path

<a name="data_format_soap"></a>**Format and data type**

In SOAP operation details, in the **Type** column for parameters and headers, Wallarm indicates the data format identified through traffic analysis.

For SOAP operations, it is a limited set from the [built-in primitive XML data types](https://www.w3.org/TR/xmlschema-2/#built-in-primitive-datatypes):

* soapTypeString   = `String`
* soapTypeBoolean  = `Boolean`
* soapTypeFloat    = `Float`
* soapTypeDecimal  = `Decimal`
* soapTypeDuration = `Duration`
* soapTypeURI      = `URI`

### gRPC operation details

!!! info ""
    gRPC discovery requires [NGINX Node](https://docs.wallarm.com/6.x/installation/nginx-native-node-internals.md#nginx-node) 6.4.0 and is not available on [Native Node](https://docs.wallarm.com/6.x/installation/nginx-native-node-internals.md#native-node). For all protocols and their required Node versions, see [Supported protocols](https://docs.wallarm.com/6.x/api-discovery/overview.md#supported-protocols).

Click the gRPC operation to open its full-screen details page, including transferred sensitive data, risk score and what contributes to it, parameters and headers of requests and responses:

![API Discovery - gRPC operation details](https://docs.wallarm.com/6.x/images/about-wallarm-waf/api-discovery-2.0/api-discovery-endpoint-details-GRPC.png)

Each request/response parameter information includes:

* Parameter data type and the part of request/response this parameter belongs to

    !!! info "Parameter names"
        Due to gRPC protocol peculiarities, it is impossible to discover parameter names. However, it is useful to understand the nesting depth, type and number of parameters for each operation.

* Information about parameter changes (new, unused)
* Presence and type of sensitive data transmitted by this parameter
* Date and time when parameter value was last transferred by requests
* [Authentication flows](https://docs.wallarm.com/6.x/api-discovery/authentication.md) and their coverage status — authentication type, per-parameter coverage percentage, parameter key and path

**Format and data type**

In gRPC operation details, in the **Type** column for parameters and headers, Wallarm indicates the data format identified through traffic analysis.

Wallarm discovers general gRPC services that use [protocol buffers](https://protobuf.dev/), on which gRPC relies when defining gRPC message data types:

* `Int`: A signed 32‐bit integer.
* `Float`: A signed double-precision floating-point value.
* `String`: A UTF‐8 character sequence.
* `Boolean`: true or false.

### MCP primitive details

!!! info ""
    MCP discovery requires [NGINX Node](https://docs.wallarm.com/6.x/installation/nginx-native-node-internals.md#nginx-node) 6.12.0 or [Native Node](https://docs.wallarm.com/6.x/installation/nginx-native-node-internals.md#native-node) 0.25.0. For all protocols and their required Node versions, see [Supported protocols](https://docs.wallarm.com/6.x/api-discovery/overview.md#supported-protocols).

Discovered MCP servers are displayed in the **MCP Servers** tab of API Discovery. Each MCP server lists its primitives — tools, resources, and prompts. Click a primitive to open its full-screen details page.

The details page displays:

* **Primitive name** and **description** — as reported by the MCP server
* **MCP server version** — protocol version of the MCP server
* **Request counters** — number of requests for the last 7 days

The **Schema** tab content depends on the primitive type:

**Tools:**

Tool primitives display the **Arguments** section with the tool's input parameters as declared in the `tools/list` response:

* Parameter name
* Data type (e.g., `String`, `Integer`, `Boolean`)
* Parameter description

Request and response headers are also displayed.

**Resources:**

Resource primitives display:

* **MIME type** of the resource
* Request and response headers

**Prompts:**

Prompt primitives display:

* **Arguments** — input parameters for the prompt template
* Request and response headers

Each parameter information also includes:

* Information about parameter changes (new, unused)
* Presence and type of sensitive data transmitted by this parameter
* Date and time when parameter value was last transferred by requests

## Activities

The number of requests related to the endpoint or MCP primitive is displayed in the **Requests** column. Click this number to open the [**API Sessions**](https://docs.wallarm.com/6.x/api-sessions/overview.md) section (or [**MCP Sessions**](https://docs.wallarm.com/6.x/api-sessions/mcp-sessions.md) for MCP primitives) with the list of sessions for the last week containing these requests.

Within each found session, only requests to your endpoint or primitive will be initially displayed — within the session, remove the filter to see all requests for context.

A structured view of session activity helps in understanding your endpoint or primitive's place in malicious and legitimate activities, its relation to sensitive business flows and required protection measures.

## Variability

URLs can include diverse elements, such as a user ID. API Discovery supports finding such elements for UUID, INTEGER, FLOAT and HEX path segment types:

* `/api/users/profile/a1b2c3d4-e5f6-7890-1234-567890abcdef12`
* `/api/users/profile/f0e9d8c7-b6a5-4321-fedc-ba9876543210`
* `/api/users/profile/1a2b3c4d-5e6f-7080-9102-34567890fedc`

The **API Discovery** module unifies such elements into the `{parameter_X}` format in the endpoint paths, so for the example above you will not have 3 endpoints, but instead there will be one:

* `/api/articles/author/{parameter_1}`

Click the endpoint to open its details page and view which type was automatically detected for the diverse parameter.

## Notifications

API Discovery can notify you about endpoint changes in two ways:

* [**Email digests**](https://docs.wallarm.com/6.x/api-discovery/track-changes.md#email-notifications) — daily or hourly summaries of new and changed endpoints, delivered to your account email and any additional addresses.
* [**Per-endpoint alerts via triggers**](https://docs.wallarm.com/6.x/api-discovery/track-changes.md#per-endpoint-alerts-via-triggers) — one notification per changed endpoint, delivered through any configured integration (Slack, webhook, SIEM, PagerDuty, Microsoft Teams, Telegram, and others) using the **Changes in API** trigger.

## Creating rules, mitigation controls and triggers

From the details page of a REST endpoint, you can create a [WAF rule](https://docs.wallarm.com/6.x/user-guides/rules/rules.md), a [mitigation control](https://docs.wallarm.com/6.x/about-wallarm/mitigation-controls-overview.md) or a [trigger](https://docs.wallarm.com/6.x/user-guides/triggers/triggers.md) for this endpoint, and a WAF rule or a mitigation control for one of its request parameters. The standard creation form opens with the endpoint's request conditions already set and, for a parameter, its [request point](https://docs.wallarm.com/6.x/user-guides/rules/request-processing.md#identifying-and-parsing-the-request-parts). You do not need to rebuild them by hand in the **WAF Rules**, **Mitigation Controls** or **Triggers** section.

To create an object from API Discovery:

1. Open the REST endpoint details.
1. Click **⋯**:

    * In the page header, to create an object for the whole endpoint.
    * In a parameter row on the **Schema** → **Query/path**, **Request headers** or **Request body** tab, to create an object for this parameter.

1. Select **Create WAF rule**, **Create mitigation control** or **Create trigger**, then select the type.

    ![Create menu in the endpoint details header](https://docs.wallarm.com/6.x/images/about-wallarm-waf/api-discovery-2.0/api-discovery-endpoint-create-menu.png)

1. Check the prefilled settings, complete the remaining ones and save.

The new object is listed in its own section and works the same way as an object created there. Closing the form without saving creates nothing.

The create items are available under the following conditions:

* The entry is a REST endpoint. GraphQL, SOAP and gRPC operations and MCP primitives have no create items, and response parameters have no **⋯** button.
* **Create mitigation control** is listed only when [mitigation controls are enabled](https://docs.wallarm.com/6.x/about-wallarm/mitigation-controls-overview.md#enabling) for your account.
* **Create trigger** is listed only for the whole endpoint and only where the **Triggers** section offers the Brute force, Forced browsing and BOLA templates. See [Triggers](#triggers).
* Only the types your [user role](https://docs.wallarm.com/6.x/user-guides/settings/users.md#user-roles) can create are listed. Users with read-only roles do not see the create items.

### Available types

The menu lists only the types that apply to the selected level. For a request parameter, it offers WAF rules and mitigation controls:

![Create menu of a request parameter](https://docs.wallarm.com/6.x/images/about-wallarm-waf/api-discovery-2.0/api-discovery-parameter-create-menu.png)

| Level | WAF rule | Mitigation control |
| ----- | -------- | ------------------ |
| Endpoint | [Filtration mode](https://docs.wallarm.com/6.x/admin-en/configure-wallarm-mode.md#conditioned-filtration-mode), [Virtual patch](https://docs.wallarm.com/6.x/user-guides/rules/vpatch-rule.md), [Advanced rate limiting](https://docs.wallarm.com/6.x/user-guides/rules/rate-limiting.md), [Override API abuse profiles](https://docs.wallarm.com/6.x/api-abuse-prevention/exceptions.md#exceptions-for-target-urls-and-specific-requests), [File upload restriction policy](https://docs.wallarm.com/6.x/api-protection/file-upload-restriction.md), [Limit request processing time](https://docs.wallarm.com/6.x/user-guides/rules/configure-overlimit-res-detection.md) | [Real-time blocking mode](https://docs.wallarm.com/6.x/admin-en/configure-wallarm-mode.md#conditioned-filtration-mode), [Enumeration attack protection](https://docs.wallarm.com/6.x/api-protection/enumeration-attack-protection.md), [BOLA protection](https://docs.wallarm.com/6.x/api-protection/enumeration-attack-protection.md#bola), [Brute force protection](https://docs.wallarm.com/6.x/api-protection/enumeration-attack-protection.md#brute-force), [Forced browsing protection](https://docs.wallarm.com/6.x/api-protection/enumeration-attack-protection.md#forced-browsing), [DoS protection](https://docs.wallarm.com/6.x/api-protection/dos-protection.md), [File upload restriction policy](https://docs.wallarm.com/6.x/api-protection/file-upload-restriction.md) |
| Request parameter | [Binary data processing](https://docs.wallarm.com/6.x/about-wallarm/protecting-against-attacks.md#ignoring-certain-attack-signs-in-the-binary-data), [Ignore certain attacks](https://docs.wallarm.com/6.x/about-wallarm/protecting-against-attacks.md#ignoring-certain-attack-types), Ignore certain stamps, [Configure parsers](https://docs.wallarm.com/6.x/user-guides/rules/request-processing.md#managing-parsers), [Mask sensitive data](https://docs.wallarm.com/6.x/user-guides/rules/sensitive-data-rule.md) | Enumeration attack protection, BOLA protection, Brute force protection, File upload restriction policy |

For a mitigation control created from a parameter, the parameter is set as follows:

* **Enumeration attack protection**, **BOLA protection** and **Brute force protection**: the only parameter under [**Enumerated parameters**](https://docs.wallarm.com/6.x/api-protection/enumeration-attack-protection.md#enumerated-parameters), in the **Exact match** mode.
* **File upload restriction policy**: the point of the **Exact point size** restriction.

### Prefilled conditions

The prefilled conditions describe exactly one endpoint: the method, the host, every fixed path segment, the action name, the action extension and the endpoint's application. A variable path segment such as `{parameter_1}` gets no condition, so the object applies to any value of this segment.

For example, your API accepts documents as base64 strings in the `file_content` field of `POST api.example.com /api/documents/{parameter_1}/upload`, and Wallarm reports false positives on this content. To stop them for this field only, in the `file_content` row of the **Request body** tab, click **⋯** → **Create WAF rule** → **Binary data processing**. The form opens with the following settings:

* Conditions: `method` = `POST`, `HOST` Aa `api.example.com`, `path 0` = `api`, `path 1` = `documents`, `path 3` ∅, `action_name` = `upload`, `action_ext` ∅, and `instance` set to the endpoint's application.
* Point: `post` › `json_doc` › `hash` › `file_content`.

For other hosts, parameters and endpoints:

* A host with a wildcard, such as `*.example.com`, becomes a [regular expression](https://docs.wallarm.com/6.x/user-guides/rules/rules.md#condition-type-regex) condition: `^[^.]+\.example\.com$`.
* A path parameter becomes the `path N` point, for example, `path 2` for `{parameter_1}` above.
* The endpoint's [application](https://docs.wallarm.com/6.x/user-guides/settings/applications.md), the default one included, is added as the `instance` condition. You can change or remove it in the form.

### Triggers

Triggers are created for the whole endpoint only. **Create trigger** lists the following templates:

* [Brute force](https://docs.wallarm.com/6.x/admin-en/configuration-guides/protecting-against-bruteforce.md#trigger-based-protection)
* [Forced browsing](https://docs.wallarm.com/6.x/admin-en/configuration-guides/protecting-against-forcedbrowsing.md)
* [BOLA](https://docs.wallarm.com/6.x/admin-en/configuration-guides/protecting-against-bola-trigger.md)

Selecting a template opens the trigger wizard with this template and the **URI** filter set to the endpoint conditions.

**Create trigger** is listed only where the **Triggers** section offers these templates. Depending on your [subscription plan](https://docs.wallarm.com/6.x/admin-en/configuration-guides/protecting-against-bruteforce.md#configuration-method), these protections are configured either with triggers or with [mitigation controls](https://docs.wallarm.com/6.x/api-protection/enumeration-attack-protection.md).

### Masking detected sensitive data

When API Discovery has detected [sensitive data](https://docs.wallarm.com/6.x/api-discovery/sensitive-data.md) in a request parameter, the parameter's **⋯** button shows the **Create (sensitive data detected)** tooltip, and the **Create WAF rule** item reads **Mask sensitive data suggested**. In the type list, [Mask sensitive data](https://docs.wallarm.com/6.x/user-guides/rules/sensitive-data-rule.md) comes first, in the **Suggested** section, with the detected data types. Selecting it opens the masking rule with the endpoint conditions and the parameter point prefilled.

![Mask sensitive data suggested for a parameter with detected sensitive data](https://docs.wallarm.com/6.x/images/about-wallarm-waf/api-discovery-2.0/api-discovery-mask-suggestion.png)

The rule is created only when you click **Create** in its form, one rule per parameter. Wallarm does not create masking rules automatically.

## Exporting API inventory data

You can export the discovered API inventory as [OpenAPI (OAS) 3.1](https://spec.openapis.org/oas/v3.1.0) (JSON) or as CSV.

### OpenAPI (OAS) export

Exporting to OAS lets you use the discovered API schema for protection, analysis, and integration with other tools:

* **Upload to API specifications** in Wallarm to [enforce requests](https://docs.wallarm.com/6.x/api-specification-enforcement/overview.md) or enable rogue API detection (when available for your API Discovery version).
* **Open in [Swagger Editor](https://editor.swagger.io/)** to inspect and edit the inventory in OpenAPI format.
* **Export to third-party platforms** (e.g. [Postman](https://www.postman.com/)) for documentation, testing, or further analysis. The specification helps with vulnerability testing and reviewing endpoints for sensitive data and undocumented parameters.

To download the OAS file:

1. In Wallarm Console → **API Discovery**, select a **single host** for which you need the specification.
2. Optionally, apply any additional filters to limit the endpoints included in the export.
3. Click **Download report**.
4. In the popup, choose **OpenAPI (OAS 3.1, JSON)** and click **Generate OAS**.

    ![Export API Inventory - OpenAPI option](https://docs.wallarm.com/6.x/images/about-wallarm-waf/api-discovery-2.0/api-discovery-export-api-inventory.png)

5. Wait until the file is generated. When ready, the browser starts the download automatically and the JSON file is saved to your default download location.

**Limitations:**

* One host per specification (aligned with OpenAPI recommendations)
* REST only
* Maximum 1000 endpoints per host and 100,000 parameters in total per export
* Not supported: `application/xml` and `application/x-www-form-urlencoded` content types
* Not supported: nested lists or objects in headers, path, or query parameters
* Not supported: `oneOf` directive

### CSV export

Use **Download report** → **CSV** to get the filtered endpoints in a comma-separated format. The CSV is generated immediately and includes key endpoint attributes such as risk score and sensitive data types.

!!! info "No parameter information"
    The CSV report does not include information on API endpoint parameters.
