> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/adapters/t/tr7-lb-waf.md).

# TR7 LB WAF

TR7 LB-WAF is a load balancer and web application firewall. OctoXLabs reads the static host records (domain and IP address) of every route table on the TR7 host and adds them to the domain inventory.

## Use cases

* **Review domains served through the TR7 LB-WAF.** List the domain assets from this adapter in the domain inventory.

## Before you begin

### Network

| Source              | Destination                                    | Port                 | Protocol                         |
| ------------------- | ---------------------------------------------- | -------------------- | -------------------------------- |
| OctoXLabs connector | TR7 LB-WAF management interface (IP parameter) | 443 (Port parameter) | HTTPS (HTTP if Is Secure is off) |

### Required permissions

| Scope or role      | Permission                        | Needed for          |
| ------------------ | --------------------------------- | ------------------- |
| User type readOnly | Read the route tables of the host | Static host records |

A read-only account is enough.

## Create credentials in TR7 LB-WAF

{% stepper %}
{% step %}

### Open user management

Sign in to the TR7 management interface and open **User management**.
{% endstep %}

{% step %}

### Create a read-only user

Create a user with the **readOnly** user type. It can read the route tables of the host, which is all this integration needs.
{% endstep %}

{% step %}

### Note the credentials

Enter the username and password in OctoXLabs.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter | Required | Type    | Default | Description                                                    |
| --------- | -------- | ------- | ------- | -------------------------------------------------------------- |
| IP        | Yes      | String  | None    | IP address or hostname of the TR7 LB-WAF management interface. |
| Port      | No       | Integer | 443     | Port of the management interface.                              |
| Username  | Yes      | String  | None    | TR7 account username. A read-only account is enough.           |
| Password  | Yes      | String  | None    | Password of the account.                                       |
| Is Secure | No       | Boolean | True    | Use HTTPS.                                                     |
| Timeout   | No       | Integer | 30      | Seconds to wait for an API response.                           |

## Troubleshooting

| Error message | Cause                                    | Fix                                                             |
| ------------- | ---------------------------------------- | --------------------------------------------------------------- |
| Not verified  | No error texts could be checked in code. | Run the connection test and check the credentials, IP and port. |

## Change history
