> 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/a/akamai-enterprise-application-access.md).

# Akamai Enterprise Application Access

Akamai Enterprise Application Access (EAA) provides zero trust access to private applications. OctoXLabs reads device posture inventory, directory users and certificates.

## Use cases

* Find EAA users that have no match in your directory.

```
Adapters = akamai-eaa AND NOT Adapters = active-directory
```

* Find devices that Akamai Enterprise Application Access reports but your EDR does not cover.

```
Adapters = akamai-eaa AND NOT Adapters = falcon-crowdstrike
```

* Review devices that Akamai Enterprise Application Access has not seen recently.

```
Adapters = akamai-eaa AND NOT LastSeen last now-30d/d
```

* Check what one Akamai Enterprise Application Access connection collected.

```
Connections = YOUR_CONNECTION_NAME
```

## Before you begin

### Network

| Source              | Destination                                                              | Port | Protocol                                 |
| ------------------- | ------------------------------------------------------------------------ | ---- | ---------------------------------------- |
| OctoXLabs connector | Your Akamai API host from the .edgerc file (akab-\*.luna.akamaiapis.net) | 443  | HTTPS, or HTTP when Is Secure is cleared |

### Required permissions

The API client must be allowed to call the EAA management endpoints listed below. The service name and access level are not documented. Not verified.

## Create credentials in Akamai Enterprise Application Access

{% stepper %}
{% step %}

### Open API client creation

In Akamai Control Center, go to **Identity and Access Management** and click **Create API client**.
{% endstep %}

{% step %}

### Choose the service access

Grant the client access to the Enterprise Application Access APIs. The exact service name is not given in the source.
{% endstep %}

{% step %}

### Download the credentials

Click **Quick**, then **Download** under Credentials. This downloads an `.edgerc` file with `host`, `client_token`, `access_token` and `client_secret`.
{% endstep %}

{% step %}

### Copy the values

Copy each value into the matching field of the connection form.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter     | Required | Type    | Default | Description                                                                 |
| ------------- | -------- | ------- | ------- | --------------------------------------------------------------------------- |
| Host          | Yes      | String  | None    | `host` value from the .edgerc file.                                         |
| Client Token  | Yes      | String  | None    | `client_token` value.                                                       |
| Access Token  | Yes      | String  | None    | `access_token` value.                                                       |
| Client Secret | Yes      | String  | None    | `client_secret` value.                                                      |
| Contract ID   | Yes      | String  | None    | Your Akamai contract ID. Ask your Akamai account team if unsure.            |
| Is Secure     | No       | Boolean | True    | Use HTTPS. Clear it to use HTTP.                                            |
| Thread Count  | No       | Integer | 16      | Parallel threads. Minimum 1, maximum 32.                                    |
| Sleep Time    | No       | Integer | 0       | Delay in seconds between thread starts. Increase it if you hit rate limits. |
| Proxy         | No       | String  | None    | Proxy address. The connector sends requests through `http://<value>`.       |
| Timeout       | No       | Integer | 30      | Time in seconds to wait for API responses.                                  |

## Troubleshooting

| Error message                                                          | Cause                                                                  | Fix                                                                                                                                           |
| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| Invalid JSON response while fetching devices (status=`)`               | The API did not return JSON.                                           | Check the host and the credentials.                                                                                                           |
| Request failed after 5 retries for url                                 | The API kept answering 429.                                            | Increase Sleep Time or reduce Thread Count.                                                                                                   |
| Status Code: `, followed by the URL, the method and the response body` | The API answered with a status other than the one the adapter expects. | Read the code and body. 401 or 403 usually points to wrong credentials or missing permissions. Check the address, port and Is Secure setting. |

## Change history

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