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.
External Collector Pool: Create a pool that points at the API Security Collector on port 6514.
Internal Logging Virtual Server: Create a virtual server on service port 6514 that uses the External Collector Pool and has a
serversslprofile attached on the server side.Internal Logging Pool: Create a pool that points at the Internal Logging Virtual Server.
iRule: Create an iRule and configure the Internal Logging Pool name within it.
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¶
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¶
Go to Local Traffic > Pools and create the External Collector Pool. The pool member port must be 6514.
Create the Internal Logging Virtual Server with service port 6514. Attach the External Collector Pool. Add a
serversslprofile in server-side context to encrypt traffic to the API Security Collector.Create the Internal Logging Pool that points at the Internal Logging Virtual Server.
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.
Attach the iRule to the existing API Virtual Server.
Configure BIG-IP through TMSH¶
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
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¶
Authenticate to BIG-IP using basic authentication or a token.
Create the External Collector Pool, Internal Logging Virtual Server, and Internal Logging Pool through the REST API.
Create the iRule through the REST API.
Patch the existing API Virtual Server to attach the iRule.
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.
Go to Integration > BIG-IPs.
Use the inline form at the bottom of the device list.
Enter the Name, IPv4 or IPv6 address, Port, User, and Password.
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¶
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.
Create the supporting iRule: This iRule reformats the Advanced API Discovery data. Copy the iRule body from the Integration Guide view.
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.
Enable the iRule on the reporting server: Attach the supporting iRule to the Internal Logging Virtual Server.
Enable the policy and HSL profile on the API Virtual Server: On the existing API Virtual Server, attach the
websecurityprofile, apply the WAF policy, and attach the HSL logging profile.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.
Figure: API Documentation — the REST API reference, grouped by area, with the required role for each endpoint.¶
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.
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.