References

Manual BIG-IP Integration Guide

This section provides additional manual methods for configuring the BIG-IP integration. Manual configuration is a fallback for cases where the automated wizard can’t complete. For example, when there are WAF policy conflicts or where an administrator prefers manual control.

Configuration sequence

Configure the integration in the following order. Each step builds on the previous one.

  1. External Collector Pool: Create a pool that points at the API Security Collector on port 6514.

  2. Internal Logging Virtual Server: Create a virtual server on service port 6514 that uses the External Collector Pool and has a serverssl profile attached on the server side.

  3. Internal Logging Pool: Create a pool that points at the Internal Logging Virtual Server.

  4. iRule: Create an iRule and configure the Internal Logging Pool name within it.

  5. Attach iRule: Attach the iRule to the existing API Virtual Server.

The required iRule body is provided in the Integration > Integration Guide view of the UI and as a reference file in the installation package.

Integration overview

BIG-IP Integration Guide

Figure: The in-product Integration Guide provides UI, TMSH, and REST configuration methods with environment-specific values, plus the optional Advanced API Discovery enrichment flow.

The UI includes an Integration > Integration Guide view that provides environment-specific configuration values and step-by-step instructions for each configuration method. This Admin Guide describes the canonical configuration sequence.

Configure BIG-IP through the GUI

  1. Go to Local Traffic > Pools and create the External Collector Pool. The pool member port must be 6514.

  2. Create the Internal Logging Virtual Server with service port 6514. Attach the External Collector Pool. Add a serverssl profile in server-side context to encrypt traffic to the API Security Collector.

  3. Create the Internal Logging Pool that points at the Internal Logging Virtual Server.

  4. Create the iRule. Copy the iRule body from the Integration Guide view or the reference file. Update the Internal Logging Pool name inside the iRule to match the pool created in the previous step.

  5. Attach the iRule to the existing API Virtual Server.

Configure BIG-IP through TMSH

  1. Substitute the placeholder IP addresses with values appropriate for your environment:

    # Variables
    COLLECTOR_IP=1.1.1.1
    INTERNAL_LOGGING_VS_IP=2.2.2.2
    
    tmsh -q <<TMSH
    
    # 1. External Collector Pool pointing at the API Security Collector
    create ltm pool API_SECURITY_COLLECTOR_POOL \
      members add { ${COLLECTOR_IP}:6514 { address ${COLLECTOR_IP} } }
    
    # 2. Internal Logging Virtual Server using the External Collector Pool
    create ltm virtual INTERNAL_LOGGING_VS \
      destination ${INTERNAL_LOGGING_VS_IP}:6514 \
      source 0.0.0.0/0 \
      profiles add { tcp } \
      source-address-translation { type automap } \
      pool API_SECURITY_COLLECTOR_POOL
      modify ltm virtual INTERNAL_LOGGING_VS \
      profiles add { serverssl { context serverside } }
    
    # 3. Internal Logging Pool pointing at the Internal Logging Virtual Server
    create ltm pool INTERNAL_LOGGING_POOL \
      members add { ${INTERNAL_LOGGING_VS_IP}:6514 { address ${INTERNAL_LOGGING_VS_IP} } }
    TMSH
    
  2. Create the iRule and attach it to the API Virtual Server (paste the iRule body from the Integration Guide view), and run tmsh save sys config.

Configure BIG-IP through the iControl REST API

  1. Authenticate to BIG-IP using basic authentication or a token.

  2. Create the External Collector Pool, Internal Logging Virtual Server, and Internal Logging Pool through the REST API.

  3. Create the iRule through the REST API.

  4. Patch the existing API Virtual Server to attach the iRule.

  5. For ready-to-use REST API request examples, see the Integration Guide view of the UI.

Register a BIG-IP device for management

To enable enforcement actions, such as blocking shadow APIs, each BIG-IP device must be registered for management connectivity. This step isn’t required for discovery.

  1. Go to Integration > BIG-IPs.

  2. Use the inline form at the bottom of the device list.

  3. Enter the Name, IPv4 or IPv6 address, Port, User, and Password.

  4. Select Add.

Column

Meaning

Discovered

Indicates whether API Security Local Edition received metadata from the device.

Management Connectivity

Indicates whether API Security Local Edition can reach the device on its management interface.

Both columns must report a successful state before you can perform enforcement actions against the device.

Optional: Advanced API Discovery with BIG-IP WAF

Advanced API Discovery is an optional enrichment layer that builds on top of the standard BIG-IP integration. It uses BIG-IP WAF inspection and High-Speed Logging (HSL) to collect additional API signals and enrich the data already gathered by the standard integration.

Important

Configure Advanced API Discovery only after the standard BIG-IP integration is configured and confirmed to work. Advanced API Discovery doesn’t replace the standard integration. It adds API context on top of the standard metadata collected by the API Security iRule flow.

What Advanced API Discovery adds

The standard integration collects per-request HTTP metadata through the API Security iRule. Advanced API Discovery adds a second signal source: BIG-IP WAF inspects API traffic and forwards additional API signals through HSL logging to the existing API Security Collector. The result is a richer endpoint inventory with additional API context.

Before you begin

Before you begin, make sure you have:

  • The standard BIG-IP integration. Configured and confirmed to work (endpoints already appear in the dashboard).

  • BIG-IP WAF provisioned on the BIG-IP system.

Configure Advanced API Discovery through the GUI

  1. Create an API Protection (WAF) policy: Create a security policy, upload a Swagger (OpenAPI) file. An empty Swagger file can be copied from the Integration Guide view. Set the enforcement mode to Transparent.

  2. Create the supporting iRule: This iRule reformats the Advanced API Discovery data. Copy the iRule body from the Integration Guide view.

  3. Create the HSL logging profile: Configure the remote storage destination to point at the Internal Logging Virtual Server on port 6514, and select all required fields in the order shown in the UI.

  4. Enable the iRule on the reporting server: Attach the supporting iRule to the Internal Logging Virtual Server.

  5. Enable the policy and HSL profile on the API Virtual Server: On the existing API Virtual Server, attach the websecurity profile, apply the WAF policy, and attach the HSL logging profile.

  6. Save the configuration. Validate that additional data is reflected in the API Security dashboard.

TMSH and iControl REST examples for the Advanced API Discovery flow are provided in the API Security Local Edition (in-product) Integration Guide view.

API documentation

API Security Local Edition includes an API Documentation reference covering the REST API endpoints and MCP Server tools — parameters, roles, return values, side effects, and inter-API dependencies.

API Documentation

Figure: API Documentation — the REST API reference, grouped by area, with the required role for each endpoint.

API Documentation — MCP Server

Figure: API Documentation — the MCP Server reference (HTTP admin endpoints and MCP tools).

MCP documentation

The MCP Documentation view is a guide for enabling and using the MCP (Model Context Protocol) Server, which exposes discovered API data, vulnerabilities, risk scores, and traffic analytics to AI agents and MCP-compatible clients. For example, Claude Desktop, or custom scripts.

MCP Documentation

Figure: The MCP Documentation view — check the server, open an SSH tunnel, create a bearer token, and connect an MCP client.

  • What the MCP Server is: a component that exposes API Security data to MCP-compatible AI clients as a live data source.

  • Enabling the MCP Server: it ships as a Docker Compose profile and starts with API Security Local Edition by default (the installer sets COMPOSE_PROFILES=mcp). The MCP server listens on its own port (8080), separate from the main UI (8000).

  • Creating a token: MCP access requires a bearer token. Tokens are created by an admin from System > Users. The token is shown only once and must be stored immediately.

  • Using the token: set the Authorization: Bearer <token> header in the MCP client.

  • Available capabilities: the MCP Server provides tools for hosts, APIs, discovery data, vulnerabilities, risk scoring, and analytics. For the complete set, see the in-product API Documentation.

For BIG-IP WAF API security, API protection policies, and OpenAPI (Swagger) handling, see the BIG-IP documentation (BIG-IP 17.1 and later): BIG-IP WAF — Working with OpenAPI.