> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# UI settings

> Reference for Atoti Limits UI settings, covering required module settings for server name mapping and available application servers, and optional settings for REST endpoints, scopes, and audit trail colors

## Module settings

A module is designed to operate on top of an existing server. This interaction is configured through the **Module Settings**, and because this is specific to each setup, these do not come with a default value.

### Cube-specific module settings

Atoti Limits does not require cube-specific module settings anymore as of version 3.3.0.

### Limits module settings

<table><thead><tr><th>Key</th><th>Type</th><th>Description</th><th>Example</th></tr></thead><tbody><tr><td>`serverNameToServerKey`</td><td>`Record<string, string>`</td><td>Maps an application server name as known by the Limits server to its server key as known by the UI.</td><td>`{"FRTB": "FRTB", "MarketRisk": "MR"}`</td></tr><tr><td>`availableApplicationServers`</td><td>`Array<string>`</td><td>An array of application server keys which will connect to the limits server. A server key not listed in this setting is considered excluded from the scope of the module.</td><td>`["FRTB", "CVARC"]`</td></tr></tbody></table>

## Limits settings

<table><thead><tr><th>Key</th><th>Type</th><th>Description</th><th>Example</th></tr></thead><tbody><tr><td>`auditTrailNodeColors`</td><td>`{green: string[]; blue: string[]; red: string[]}`</td><td>Maps a color to a list of statuses. This helps classifying statuses in the limit and exception audit trail panel.</td><td /></tr><tr><td>`limitsRESTEndpoint`</td><td>`string`</td><td>The service part of the URL of Atoti Limits REST services.</td><td>`/limits/rest/v2`</td></tr><tr><td>`limitsServerName`</td><td>`string`</td><td>The server key for the server hosting Atoti Limits.</td><td>`"LIMITS"`</td></tr><tr><td>`restrictedScopes`</td><td>`Record<CubeName, Array<{dimensionName: string, hierarchyName: string, namePath: string[]}>>`</td><td>The list of scopes which will not appear in the scope selector when adding new limits.</td><td>`{StandardisedApproachCube: [{dimensionName: "Booking", hierarchyName: "Books", namePath: ["AllMember", "CM_OILGAS", "BK_CSR_1"]}]}`</td></tr><tr><td>`maxScopeMembersQueryResult`</td><td>`number`</td><td>The maximum number of members to retrieve per scope when creating limits.</td><td>`1000`</td></tr></tbody></table>
