> 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/b/broadcom-ca-service-management.md).

# Broadcom CA Service Management

Broadcom CA Service Desk Manager (CA SDM) is an ITSM product. OctoXLabs reads the contact records through the `caisd-rest` REST API and stores them as users.

## Use cases

* List CA SDM contacts and their email domains.

```
Adapters = broadcom-ca-service-management AND Domain = *
```

* List contacts that have a location.

```
Adapters = broadcom-ca-service-management AND Location = *
```

## Before you begin

### Network

| Source              | Destination                     | Port                | Protocol                         |
| ------------------- | ------------------------------- | ------------------- | -------------------------------- |
| OctoXLabs connector | CA SDM REST host (IP you enter) | 8050 (configurable) | HTTPS (HTTP if Is Secure is off) |

### Required permissions

| Scope or role                | Permission                 | Needed for |
| ---------------------------- | -------------------------- | ---------- |
| CA SDM user with REST access | Read on the Contact object | Users      |

## Create credentials in Broadcom CA Service Management

{% stepper %}
{% step %}

### Pick a user

Use a CA SDM user with REST access to the Contact object. A dedicated read-only user is recommended.
{% endstep %}

{% step %}

### Decide on HMAC

Turn on **Use HMAC Auth** only if your server enforces the `hmac_algorithm` option. Requests are then signed as `Authorization: SDM <key>:<hmac>` instead of using the `X-AccessKey` header.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter                | Required | Type    | Default | Description                                |
| ------------------------ | -------- | ------- | ------- | ------------------------------------------ |
| IP                       | Yes      | String  |         | Address of the REST host without a scheme. |
| Port                     | No       | Integer | 8050    | CA SDM REST port.                          |
| Is Secure                | No       | Boolean | True    | Use HTTPS.                                 |
| Username                 | Yes      | String  |         | CA SDM user.                               |
| Password                 | Yes      | String  |         | Password of that user.                     |
| Use HMAC Auth (Advanced) | No       | Boolean | False   | Sign requests with the HMAC secret key.    |
| Page Size (Advanced)     | No       | Integer | 100     | Contacts per page.                         |
| Proxy (Advanced)         | No       | String  |         | Proxy as `host:port`.                      |
| Timeout (Advanced)       | No       | Integer | 30      | Seconds to wait for API responses.         |

## Troubleshooting

| Error message                | Cause                                                                                                                                  | Fix                                                                                                  |
| ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| Max retries exceeded for     | The access key kept expiring or being refused.                                                                                         | Check the user. The adapter signs in again on 401.                                                   |
| Status Code: `, URL, Method` | The API answered with an unexpected HTTP status. The shared request code raises it and logs the status, URL, method and response body. | Check the URL, the credentials and the permissions listed above, then run the connection test again. |

## Change history

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