> 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/i/ibm-qradar.md).

# IBM QRADAR

IBM QRADAR is a SIEM. OctoXLabs reads the QRadar log sources and turns each into a device, so you can compare which machines send logs with the rest of your inventory. Use the IBM QRADAR Asset adapter to read the QRadar asset model instead.

## Use cases

* Find devices that appear as QRadar log sources but have no WinCollect agent (needs Fetch WinCollect data).

```
Adapters = ibm-qradar AND OS.Type = Windows
```

* Find servers that are not sending logs to QRadar.

```
Category = Server AND NOT Adapters = ibm-qradar
```

## Before you begin

### Network

| Source              | Destination    | Port          | Protocol |
| ------------------- | -------------- | ------------- | -------- |
| OctoXLabs connector | QRadar console | 443 (default) | HTTPS    |

### Required permissions

| Scope or role                                                                             | Permission | Needed for |
| ----------------------------------------------------------------------------------------- | ---------- | ---------- |
| Authorized service with a user role and a security profile that allow reading log sources | Read       | Devices    |

## Create credentials in IBM QRADAR

{% stepper %}
{% step %}

### Open Authorized Services

On the **Admin** tab, click **Authorized Services** in the User Management section, then click **Add Authorized Service**.
{% endstep %}

{% step %}

### Create the service

Enter a Service Name. Select the User Role and the Security Profile that the service uses. Select an Expiry Date, or **No Expiry**. Click **Create Service**.
{% endstep %}

{% step %}

### Copy the token

Click the row of the new service, then select and copy the string in the **Selected Token** field. Close the Manage Authorized Services window.
{% endstep %}

{% step %}

### Deploy

On the **Admin** tab, click **Deploy Changes**.
{% endstep %}

{% step %}

### Save it in QRadar Operations

In the Operations section of the Admin page, click **QRadar Operations**. Paste the token into the SEC Token field and click **Save**.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter                     | Required | Type    | Default              | Description                                                                                                                                         |
| ----------------------------- | -------- | ------- | -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| IP                            | Yes      | Text    | None                 | Address of the QRadar host.                                                                                                                         |
| Port                          | No       | Integer | `443`                | Port.                                                                                                                                               |
| SEC Token                     | Yes      | Text    | None                 | Authorized service token.                                                                                                                           |
| SSL (Is Secure)               | No       | Boolean | `true`               | Use HTTPS.                                                                                                                                          |
| Use raw name data as hostname | No       | Boolean | `false`              | Use the log source `name` as is, in lower case without spaces (the part after `@` when present). Can raise the device count.                        |
| Get only online machines      | No       | Boolean | `false`              | Only log sources with `enabled=true`.                                                                                                               |
| Fetch WinCollect data         | No       | Boolean | `false`              | Flag each Windows log source with whether a WinCollect agent collects it. No extra request is made.                                                 |
| Map Sending IP                | No       | Boolean | `true`               | Map the log source sending IP to the device IP addresses. Disable it if one shared IP shows on many machines.                                       |
| Separator                     | No       | Text    | `---{{hostname}}---` | Pattern to extract the host name from the log source name. Separate several patterns with commas. Examples: `{{hostname}} @`, `---{{hostname}}---`. |
| Fetch Size                    | No       | Integer | `2000`               | Items per request (1 to 5000).                                                                                                                      |
| Timeout                       | No       | Integer | `30`                 | Seconds to wait for API responses.                                                                                                                  |

## Troubleshooting

| Error message | Cause                                                               | Fix                                                  |
| ------------- | ------------------------------------------------------------------- | ---------------------------------------------------- |
| Not verified  | The connector code does not define adapter specific error messages. | Run the connection test and check the connector log. |

## Change history

{% hint style="info" %}
Available starting from version 2.4.0.
{% endhint %}
