> Source: https://docs.cyberelements.io/bastion/4.7/fi/Usage/Reference/AdminConsole/Applications/

# Applications

The **Applications** module is the central module for declaring the **applications** (formerly *resources*) that Bastion users then see in their portal. Each application declares a **service type** (the access protocol: RDP, SSH, VNC, Web, SMB…) and a set of target, user-experience, security and recording parameters. This page describes the module interface: list, filters, add and edit form, agent actions and import/export.

Accessible from the administration console, this module is also opened in **bulk** mode from other modules (for example **RDS servers**) to create several applications at once from a single template.

## Application list

The main window shows a paged list of applications.

| Column | Description |
|---|---|
| **Name** | Application name, preceded by an icon representing the service type. |
| **Application type** | **Privileged** (monitored access) or **Standard**. |
| **Service** | Service type, that is, the access protocol (see table below). |
| **Recorded videos** | Icon showing whether the session is recorded. |
| **Server** | Address of the target server and associated Edge Gateway. For dynamic-target applications, the IP range / IP list / IP + mask. For Citrix Storefront, the URL. For the generic tunnel, the list of `server:port` targets. For a virtual desktop, the reference machine and the host that carries it. |
| **SSO** | Configured SSO mode (**Enabled**, **Disabled**, **Request**, **Fixed** with the alias name). |
| **Tags** | Associated tags. Column **hidden by default**. |
| **Description** | Free text description. Column **hidden by default**. |

The number of rows per page is configurable.

> **Fields covered by the search field**
>
> The search applies by substring, simultaneously across **five** fields: the **name**, the **description**, the **tags**, the **target server** and the **service type**. An application is therefore retained as soon as one of those five fields contains the text entered, including the two columns hidden by default.

### Supported service types

The **Service type** drop-down list of the form offers the following values, sorted alphabetically by label. The right-hand column gives the matching technical identifier, the one used by the public API and by the CSV import / export file.

| Service type *(displayed label)* | Role | Identifier |
|---|---|---|
| **Citrix ICA** | Citrix session through the ICA client. | `ica` |
| **Citrix Storefront** | Citrix Storefront portal. | `nfuse` |
| **HTML5 (RDP)** | RDS session rendered in the browser. | `html5rdp` |
| **HTML5 (SSH)** | SSH terminal in the browser. | `html5ssh` |
| **HTML5 (VNC)** | VNC session in the browser. | `html5vnc` |
| **netBIOS** | NetBIOS share mounted as a drive. | `netBios` |
| **RDS** | Windows Remote Desktop session, native client. | `rdp` |
| **Reverse proxy** | Web application published through a reverse proxy, with recording. | `webrecord_rp` |
| **SMB** | SMB file share. | `smb` |
| **SSH (Secure Shell)** | SSH terminal, native client. | `ssh` |
| **Generic tunnel** | TCP/UDP tunnel towards one or more `server:port` targets. | `redirectionport` |
| **Isolate (Web)** | Web application opened in an isolated browser, run in a container. | `isolate_web` |
| **MCP** | Redirection towards an MCP server. Privileged applications only. | `mcp` |
| **Virtual desktop** | Full Windows or Linux desktop, delivered as a **clone** of a reference virtual machine. | `desktop` |
| **VNC (Virtual Network Computing)** | VNC session, native client. | `vnc` |
| **VPN** | Isolated VPN access. | `vpn` |
| **Web** | Recorded web application. | `webrecord_web` |

> **Availability**
>
> The three **HTML5** types are offered at creation time only when the HTML5 feature is enabled on the platform; otherwise they remain visible for editing only. The **VPN**, **Generic tunnel**, **Citrix Storefront**, **Citrix ICA**, **SMB** and **netBIOS** types exist for **Standard** applications only.

> **Three types have to be enabled on the platform first**
>
> **Virtual desktop**, **Isolate (Web)** and **MCP** are not offered by default: each one depends on a deployment setting, and none of them appears in the drop-down list until that setting is turned on. **MCP** is further restricted to **Privileged** applications.

> **Wording of the **Service** column**
>
> The column has its own set of labels, which is not always the one of the drop-down list. In English, **Isolate (Web)** appears there as **Web (HTML5)** and **MCP** as **MCP redirect**; in French, **MCP** appears as **Redirection MCP**.

> **Agentless mode for RDS**
>
> The **RDS** and **HTML5 (RDP)** types can run **with** or **without** a Bastion agent deployed on the target server: this is a checkbox of the form, not a separate service type. Visually the application icon differs (colour icon with agent, grey icon without), and the list filters do distinguish both variants. The recorded metadata varies accordingly:
>
> | Access | Keystrokes | Clipboard | Window opening / closing | Program launch |
> |---|---|---|---|---|
> | RDS with agent | ✓ | ✓ | ✓ | ✓ |

| RDS without agent | ✓ | ❌ | ❌ | ❌ | | SSH | ✓ | N/A | N/A | N/A | | VNC | ✓ | ❌ | ❌ | ❌ |

### Filters

A collapsible filter area above the grid narrows the list:

| Filter | Description |
|---|---|
| **Application type** | **Privileged** and/or **Standard** check-boxes. |
| **Service type** | A check-box per type, each with its icon. |

Click **Display** to apply, **Reset** to clear every filter.

## Create an application

Click the **+** button. The creation form opens. Creation happens in two steps:

1. pick the **application type** (Privileged / Standard) then the **service type**;
2. fill in the fields: these vary strongly with the chosen service type.

The form is organised into two tabs (three for the **Virtual desktop** type, which adds **Clones management**).

**General information**

> Fields common to almost every application (except a few highly specific types).
>
> | Field | Description |
> |---|---|
> | **Name** | Mandatory, unique. Characters `@` and `,` are forbidden. |
> | **Description** | Free text. |
> | **Category** | Display category in the portal (see the **Categories** module). |
> | **Tags** | Free tags, entered one by one and added with the **Add** button. A tag already attached is rejected. Attached tags are shown in a dedicated fieldset. |
> | **Ask for a comment to the user** | Asks the user to enter the context of their connection before launch. The comment is available in the recorded video. |
> | **Check video integrity at playback** | Computes and checks the hash of recordings. |
> | **Allow manual removal of archives** | Lets an authorised administrator delete a specific video. |
> | **Delete archives automatically** | Turns on automatic retention. |
> | **Archives conservation time (days)** | Duration in days, between 1 and a configured maximum. Only available when the previous box is ticked. Default: 365. |

**Service**

> Pick the **service type** and fill the specific parameters. Once a type is chosen, several fieldsets appear:
>
> - **Access**: target server, port, dynamic mode (IP range, IP list, IP + mask), authentication domain, RDS broker…
> - **SSO**: see section [SSO](#sso).
> - **Remote application**: only for RDP types: RemoteApp mode, published application name, launch directory, parameters.
> - **View**: resolution, colour depth, dynamic resize, keyboard layout, wallpaper, console mode.
> - **Advanced settings**: collapsible fieldset with options specific to the service type (CREDSSP/NLA, Restricted Admin, Kerberos disabling, redirections, timeouts, etc.).
>
> > **Dynamic mode**
> >
> > For the **RDS**, **HTML5 (RDP)**, **SSH**, **HTML5 (SSH)**, **VNC**, **HTML5 (VNC)** and **Generic tunnel** types, the target can be entered as an **IP range**, an **IP list** or an **IP + mask** instead of a fixed server. The end user then enters the exact address at launch time.

**Clones management**

> Only shown for the **Virtual desktop** service type. It designates the reference virtual machine the desktops are cloned from, then holds the clones themselves. See [Virtual desktops](#virtual-desktops) below.

Click **Validate** to save. Before saving, several checks apply:

- the form must be valid;
- pre-authentication SSO data (for Web resources) is validated;
- if SSO is **Fixed** while an external vault (Keeper Security, LockSelf or Bitwarden) is active, at least one alias of that vault must be selected;
- for the generic tunnel, at least one target must be defined (except in dynamic mode);
- for non-dynamic targets, a duplicate target-server check is run; a list of applications already sharing the same target is shown and the administrator is asked to confirm.

### Options that depend on more than the service type

Most fields of the **Service** tab show up as soon as a compatible service type is picked. The options below carry a second condition (the application type, the **Without agent mode** box or the chosen SSO mode), so they can stay hidden or greyed out on a service type that supports them.

**SSH and HTML5 (SSH)**

> **Access mode** is a mandatory group of two boxes, offered on **Privileged** applications only.
>
> | Field | Description |
> |---|---|
> | **Enable terminal** | Opens an interactive terminal. Ticked by default, and offered on the **SSH** type only. Unticking it greys out the message shown to the user, the command run at launch and the **Use another client program** fieldset. |
> | **Enable file transfer** | Authorises file transfer over the session, and enables the **Use another client program (SFTP)** fieldset below. |
>
> **Use another client program (SFTP)** is a collapsible fieldset, collapsed by default, offered on the **SSH** type. Both of its fields become mandatory once it is expanded.
>
> | Field | Description |
> |---|---|
> | **Alternate client program executable** | Full path of the program launched in place of the built-in client. Example: `C:\Program Files\FileZilla FTP Client\filezilla.exe`. |
> | **Client program arguments** | Arguments handed to that program. Example: `sftp://%USER%:%PASSWORD%@%IP%:%PORT%`. The console lists the keywords substituted at launch below the field: `%IP%`, `%PORT%`, `%USER%`, `%PASSWORD%`, `%RESOURCENAME%`. |

**RDS and HTML5 (RDP)**

> | Field | Service | Description |
> |---|---|---|
> | **Network type (Gateway - target server)** | RDS, HTML5 (RDP) | Mandatory. Describes the link between the Edge Gateway and the target server, so that the session is tuned to it. Only available in **Without agent mode**. |
> | **Enable hostname redirection for mstsc.exe** | RDS | Resolves target host names on the client side. Hidden in **Without agent mode**, except on **Standard** applications. |
> | **Keep session active if the RDP client is minimized** | RDS, VNC, Virtual desktop | Keeps the session running when the user minimises the client. **Privileged** applications only. |
> | **Launch recorder using the share on the gateway (requires activating the share)** | RDS, HTML5 (RDP) | Starts the recording agent from the share carried by the Edge Gateway. Unavailable in **Without agent mode**, and mutually exclusive with the option below. |
> | **Launch recorder from a local disk redirect (Windows client only)** | RDS | Starts the recording agent from a redirected local disk. Unavailable in **Without agent mode**, and mutually exclusive with the option above. |
>
> The six values offered by **Network type (Gateway - target server)**:
>
> | Value | Description |
> |---|---|
> | **Modem (56 Kbps)** | Slowest link. |
> | **High-speed broadband (2 Mbps - 10 Mbps)** |  |
> | **Satellite (2Mbps - 16Mbps with high latency)** |  |
> | **WAN (10 Mbps or higher with high latency)** |  |
> | **LAN (10 Mbps or higher)** | Fastest link. |
> | **Detect connection quality automatically** | The link is measured instead of declared. |

**Web and Reverse proxy**

> | Field | Description |
> |---|---|
> | **Ignore SVG elements when recording** | Leaves SVG elements out of the recording. **Privileged** applications only. |

**Isolate (Web)**

> | Field | Description |
> |---|---|
> | **Browser image** | Mandatory. The container image the isolated browser runs from. The list comes from the declared image templates. |
> | **SSO injection configuration** | Free-text area. Shown as soon as **Enable SSO** is set to a mode other than **Disabled**. |
> | **Display titlebar** | Shows the browser title bar inside the isolated session. |

### Addresses relayed by Citrix Storefront

The **IP or domain list** field of a Citrix Storefront application gives the destinations the platform agrees to relay for sessions opened from the Citrix portal, in the form `IP:PORT` or `DOMAIN:PORT`; `*` can replace the IP, the domain or the port. With no entry, sessions launched from Storefront do not succeed.

The recommended entries are the following:

| Entry | Role |
|---|---|
| `*:1494` | Default port of Citrix (ICA) sessions, almost always required. |
| `*:2598` | Session Reliability; can be optional depending on the NetScaler configuration. |
| `*:443` | Access to the Citrix portal over HTTPS. |
| `*:80` | Access to the Citrix portal over HTTP. |

Ports `443` and `80` are adapted to the protocol used to reach the Citrix portal.

## Virtual desktops

A **Virtual desktop** application hands the user a complete Windows or Linux desktop instead of a single application. The desktop is not the reference machine itself: the platform **clones** a reference virtual machine, and hands out one clone per session.

ⓘ The type is only offered once virtual machine management is enabled on the platform. The hosts themselves are declared in [Container or virtualization hosts](https://docs.cyberelements.io/bastion/4.7/fi/Usage/Reference/AdminConsole/ContainerOrVirtualizationHosts/).

### Service settings

Three drop-downs of the **Service** tab are specific to this type.

| Field | Description |
|---|---|
| **Without agent mode** | The clones run without the recording agent. See the warning below. |
| **Access mode** | How the user reaches the desktop. **Console (Bastion proxy)** *(default)*. |
| **Recording mode** | What records the session. **Recording agent** *(default)* or **Bastion proxy**. |
| **Desktop closed** | What ends the session and releases the clone. **On Bastion cloud logout** *(default)*. |

#### Access mode

| Value | Available for a Standard application |
|---|---|
| **Console (Web)** | ✓ |
| **Console (Bastion proxy)** | ❌ |
| **RDP** | ✓ |
| **Chosen by the user** | ✓ |

> **The access mode governs the other fields**
>
> Choosing **Console (Web)** disables every RDP-specific setting of the tab: desktop background, SSO, CredSSP, recording marker, launch directory, `mstsc` arguments and options. And SSO is only available for **RDP** and **Chosen by the user**. ⚠ **Recording mode** follows too: outside of **Console (Bastion proxy)**, only **Recording agent** remains selectable.

#### Desktop closed

| Value | Without agent | Standard application |
|---|---|---|
| **On Windows session logoff** | ❌ | ❌ |
| **On Bastion cloud logout** | ✓ | ✓ |
| **At the user's request** | ✓ | ✓ |

> **Without agent mode narrows every choice at once**
>
> Ticking **Without agent mode** forces **Access mode** to **Console (Bastion proxy)**, **Recording mode** to **Bastion proxy**, and restricts **Desktop closed** to the two values that do not need the agent. The **Generate Configuration** button disappears as well: without the agent, clones are frozen at cloning time: they never enrol, so they have no use for the configuration file.

### Clones management

The tab opens on the reference machine, then lists the clones drawn from it.

#### Reference machine configuration

| Field | Description |
|---|---|
| **Virtual machine host** | Mandatory. The declared host that carries the reference machine. Only virtualisation hosts are offered. |
| **Reference virtual machine** | Mandatory. The machine the clones are drawn from. The list is loaded from the chosen host. |
| **Site for clones** | The site the clones are attached to. |
| **Generate Configuration** | Downloads the configuration file of the reference machine. Stays disabled until both the reference machine and the site are set. |

> **What to do with the generated file**
>
> The console displays the instruction next to the button: the configuration file must be copied **onto the reference virtual machine**, in the installation folder of the Bastion agent. It is what lets each clone enrol itself once it starts.

> **Configure the reference machine before creating clones**
>
> When the application is being created, an orange notice states it: the reference virtual machine must be configured first. The clone grid stays disabled until the application has been saved.

#### Clones

| Field | Description |
|---|---|
| **Automatic management** | The platform keeps the number of clones by itself. Ticking it disables manual addition. |
| **Desired clones count** | Number of clones to maintain. Only available with automatic management. Default: 10. |

The grid below lists the clones, paginated 15 rows at a time. When it is empty it displays *No clone*.

| Column | Description |
|---|---|
| **Name** | Name of the clone. A clone that is not created yet shows **Add clone**. |
| **State** | Current state (see the table below). |

| Toolbar icon | Effect |
|---|---|
| **Add clone** | Queues one more clone. Disabled under automatic management. |
| **Delete** | Marks the selected clones for deletion. Disabled in automatic management. If one of them is being cloned, a confirmation warns that deleting it may leave an orphaned clone, to be deleted afterwards on the host. |
| **Toggle maintenance mode** | Puts the selected clones in or out of maintenance. Only for clones that are **Available** or already **In maintenance**. |
| **Close desktop** | Ends the session running on the selected clones. Only for clones that are in use, closing, in error or awaiting manual startup. |

##### Clone states

| State | Meaning |
|---|---|
| **Available** | Ready to be handed to a user. |
| **In use** | A session is running on it. |
| **Closing** | The session is ending. |
| **Cloning in progress** | The clone is being created from the reference machine. |
| **Waiting to be cloned** | The clone is waiting its turn: a host only creates a limited number of clones at a time (**Maximum number of clones that can be created simultaneously** setting of the host), the next ones wait. |
| **Preparation in progress** | The clone is being prepared. |
| **In maintenance** | Withdrawn from the pool by an administrator. |
| **Manual startup** | Waiting for someone to start it. |
| **Creation** | Queued by the administrator, not created yet. |
| **Delete** | Marked for deletion, removed on save. |
| **An error occured** | The operation failed. |
| **Unknown state** | The state returned by the host is not recognised. |

> **The grid refreshes on its own**
>
> The state of every clone is polled **every ten seconds**: the column follows what actually happens on the host without any action from the administrator.

#### Cloning parameters

These settings apply to the clones **created from now on**: the console says so above the fieldset. The fields that appear depend on the type of the chosen host.

| Field | Host | Description |
|---|---|---|
| **Linked clone** | all | Draws the clones from a snapshot instead of a full copy. |
| **Snapshot** | all | The snapshot to draw from. Only available with **Linked clone**. |
| **Datacenter** | VMware | Mandatory. |
| **Datastore** | VMware | Mandatory. |
| **Folder** | VMware | Destination folder. The **Browse** button opens the vSphere tree. |
| **Pool** | Proxmox | Resource pool. |
| **Target node** | Proxmox | Node the clones are created on. |
| **Storage** | Proxmox | Storage the clones are created on. |

> **Virtual desktops cannot be exported**
>
> The CSV export leaves them out. When the selection holds one, the console warns that virtual desktop resources will not be included in the file and asks whether to continue.

## Edit or delete an application

- **Edit**: select an application and click the **Properties** icon, or double-click the row. The form is identical to the creation form.
- **Delete**: select one or more applications and click the **×** button. A confirmation is asked; the text differs between a single-selection and a multi-selection.
- **Duplicate**: select one or more applications and click **Duplicate Application**. Each copy takes the original name followed by a number in brackets: `(1)`, then `(2)`, `(3)`… up to the first free name. The following are copied over: the service parameters, the **tags**, the associated **administrator groups** and, when SSO is in **Fixed** mode, the attached vault **aliases**. The button stays disabled as soon as the selection holds a non-duplicable application.

## SSO

For every compatible service type, an **SSO** field picks the authentication method used at launch.

| Mode | Description |
|---|---|
| **Enabled** | The Bastion user's credentials are passed to the target service. |
| **Disabled** | No credentials are sent; the user authenticates manually. |
| **Request** | The user enters credentials just before launch. |
| **Fixed** | Credentials are taken from a **vault alias**. An **Alias** field appears to pick the alias to use. |

> **SSO not available**
>
> For the **SMB** and **netBIOS** types, SSO is conceptually unavailable: the field shows a greyed-out label instead of the drop-down list.

> **SSO is incompatible with SAML domains**
>
> The **Enabled** mode assumes the platform knows the user's password, so that it can forward it to the target service. That is not the case when the user authenticates against a **SAML authentication domain**: the password is entered at the identity provider, which does not pass it on. An application in **Enabled** SSO mode is therefore unusable by the users of such domains: reserve the **Request** or **Fixed** mode for them, as both take the credentials elsewhere.

### SSO for Reverse proxy and Web types

For the **Reverse proxy** and **Web** types, if the SSO mode is different from **Disabled**, an extra **SSO** section appears in the Service tab.

For **Reverse proxy**, the section exposes three summary fields:

| Field | Description |
|---|---|
| **Login attribute** | Name of the parameter that will carry the login. |
| **Password attribute** | Name of the parameter that will carry the password. |
| **Extra attributes** | Complementary parameters. |

An **Advanced settings** check-box gives access to a free-form configuration (parameters and headers).

For **Web**, the section additionally exposes an **SSO type** field:

| Type | Description |
|---|---|
| **Classic** | Behaviour identical to Reverse proxy. |
| **Form preload** | The HTML form is fetched, filled and submitted automatically. Additional fields: **SSO URL**, **Form mode** (HTTP method), **CSRF token input name**. |
| **Preauthentication (deprecated)** | A series of HTTP requests is sent before the final redirect. A **Configuration of preauthentication steps** button opens a dedicated window. |

### Pre-authentication step configuration

The configuration window lists the already-defined requests (URL, method, sending order).

Adding a request with the **+** button opens a form with:

| Field | Description |
|---|---|
| **URL** | Request URL, prefixed by the service's configured host. |
| **Method** | `GET` or `POST`. |
| **Enable cache** | Useful only for `GET`. |
| **Login parameter** / **Password parameter** | Optional parameter names. |
| **ContentType (MIME)** | Lets you specify for example `application/json`. |

The **Advanced settings** check-box exposes two extra tabs: **Settings** and **Headers**, each used to add name/value pairs.

### Special value syntax

The **Value** field (parameters, headers, cookie values) accepts placeholder strings. The **Disable special syntax** check-box takes the value literally; entries created this way are shown in italics in the list.

| Placeholder | Effect |
|---|---|
| `%user%` | Login used for SSO. |
| `%password%` | Password used for SSO. |
| `%base64([...])%` | Base64-encode. |
| `%lowercase([...])%` / `%uppercase([...])%` | Lowercase / uppercase. |
| `%trim([...])%` | Trim leading and trailing whitespace. |
| `%uriencoded([...])%` | URI-encode special characters. |
| `%md5([...])%` | MD5 hash. |
| `%sha256([...])%` | SHA-256 hash. |
| `%hmacmd5(data,key)%` | HMAC-MD5 (parameters separated by `%,%`). |
| `%rsa(key,data)%` | RSA encryption. |
| `%rsaoaep(key,data)%` | RSA-OAEP encryption (PEM key). |
| `%reqresult(n)%` / `%reqresult(n,key)%` | Fetches the result of the n-th previously sent request, optionally filtered by key name. |
| `\%` | Literal percent sign. |

### Data-creation steps

A submenu of the add button lets you add a **data creation** step (as opposed to a request). The data **type** can be:

| Type | Effect |
|---|---|
| **Local variable** | Stored in the browser's local storage. |
| **Session variable** | Stored in the browser's session storage. |
| **Cookie** | Stored in a cookie. Exposes extra fields: **Path** (default `/`), **Lifetime** (in hours; empty = no expiration, 0 or negative = immediate expiration), **Secured cookie** (HTTPS required), **SameSite** (`Strict`, `Lax`, `None`). |

## Agent actions

Agent actions are only offered for privileged applications of the **RDS** or **HTML5 (RDP)** type, and only when the **agentless mode** is unchecked. Two buttons are available in the toolbar.

### Deploy the agent

Clicking **Agent deployment** opens a form pre-filled with the selected server list.

| Field | Description |
|---|---|
| **Target server** | Target server address (auto-filled for a single server). |
| **Target drive** | Drive letter on which to install the agent (for example `C`). |
| **Target directory** | Installation path. |
| **Gateway** | Edge Gateway used for deployment. |
| **Domain** | Active Directory domain. |
| **Username** / **Password** | Local or domain administrator account allowed to install the agent. |

Click **Validate**; the installation status is then polled by the console.

### Remove the agent

Clicking **Agent removal** opens a similar form that collects the same authentication and target information to uninstall the agent.

## Export / import

- **Export**: downloads the **filtered** list as a `.csv` file. A preliminary check may show warnings that the administrator must confirm one by one.
- **Import**: opens the `.csv` import window. Fields to fill in:

  After validation, a window summarises the result for each line of the file.

  If a delimiter entered does not match the file's, the console finds no column and returns the message "the file is empty or the delimiter is not the correct one". A file that is not a `.csv`, a file with the wrong encoding and a file missing a mandatory column, which the message names, are refused as well. The import does not stop at the first error, and there is neither preview nor undo.
    - **File**: the `.csv` file;
    - **Record delimiter**: the column separator, `;` for a file produced by the export;
    - **Field values delimiter**: the separator for multiple values, `+` for a file produced by the export.

### File columns

The file holds one header row, then one row per application. **The columns are the same throughout the file**, whatever the service types exported: the export produces the union of every possible parameter, and each row then fills in only the columns that concern its own type. The others stay **empty**.

The columns are laid out below by family of service types. The **common trunk** is filled in whatever the type; the other tabs only concern applications of the stated type.

> **In practice, start from an export**
>
> To create applications in bulk, the simplest route remains to export an already configured application of the target type, then duplicate and edit its rows: unused columns are left empty, and the header gives the exact titles in the console language.

> **A shared column appears only once in the file**
>
> Several service types use the same parameters: a column such as **Resolution** is therefore listed in each tab concerned, but the file holds it **only once**.

**Common trunk**

> | Column | Expected format |
> |---|---|
> | **Name** *(mandatory)* | text |
> | **Description** | text |
> | **Category** *(mandatory)* | text |
> | **Comment** | `True` / `False` |
> | **Integrity** | `True` / `False` |
> | **Manual deletion** | `True` / `False` |
> | **Archives conservation time** | integer |
> | **Service Type** *(mandatory)* | text |
> | **Presented message** | text |
> | **Authorized IP address** | text |
> | **End IP range** | IP address |
> | **Start IP range** | IP address |
> | **Subnet IP** | IP address |
> | **SSO** | text |
> | **Subnet mask** | text |
> | **Authorized networks** | text |
> | **Dynamic** | `True` / `False` |
> | **Vidéo recording** | text |
> | **Server** | text |
> | **Port** | integer |
> | **Application type** | text |
> | **Launch VNC application** | `True` / `False` |

**RDS and HTML5 (RDP)**

> | Column | Types concerned | Expected format |
> |---|---|---|
> | **Without agent** | HTML5 (RDP), RDS | `True` / `False` |
> | **Embedded gateway** | HTML5 (RDP), RDS | `True` / `False` |
> | **Gateway name** | HTML5 (RDP), RDS | text |
> | **Resolution** | HTML5 (RDP), RDS | text |
> | **Console mode** | HTML5 (RDP), RDS | `True` / `False` |
> | **Remote Executable** | HTML5 (RDP), RDS | text |
> | **Launch Directory** | HTML5 (RDP), RDS | text |
> | **Authentication Domain** | HTML5 (RDP), RDS | text |
> | **Background** | HTML5 (RDP), RDS | `True` / `False` |
> | **RemoteApp mode** | HTML5 (RDP), RDS | `True` / `False` |
> | **RemoteApp name** | HTML5 (RDP), RDS | text |
> | **RDS Broker** | HTML5 (RDP), RDS | `True` / `False` |
> | **Disable Kerberos** | HTML5 (RDP), RDS | `True` / `False` |
> | **Acquire the Kerberos TGT** | HTML5 (RDP), RDS | text |
> | **Time before disconnection (seconds)** | HTML5 (RDP), RDS | integer |
> | **RDP broker server collection** | HTML5 (RDP), RDS | text |
> | **Use another client program** | RDS | `True` / `False` |
> | **Alternate client program executable** | RDS | text |
> | **Client program arguments** | RDS | text |
> | **Full Screen** | RDS | `True` / `False` |
> | **CSSP** | RDS | `True` / `False` |
> | **Clipboard** | RDS | `True` / `False` |
> | **Plug and play** | RDS | text |
> | **Redirect Audio** | RDS | `True` / `False` |
> | **Install Disks** | RDS | `True` / `False` |
> | **Install Printers** | RDS | `True` / `False` |
> | **Connect COM Ports** | RDS | `True` / `False` |
> | **Colors** | HTML5 (RDP), RDS | integer |
> | **Change title of RDP** | RDS | `True` / `False` |
> | **Enable the restrictedadmin option** | RDS | `True` / `False` |
> | **Custom RDP file parameters** | RDS | text |
> | **Mstsc args** | RDS | text |
> | **Enable AUP** | RDS | `True` / `False` |
> | **Launch TSE executable** | RDS | `True` / `False` |
> | **Force RDP auth on client side** | RDS | `True` / `False` |
> | **Enable wallpaper** | RDS | `True` / `False` |
> | **Ignore client-side cert** | RDS | `True` / `False` |
> | **Ask interaction mode** | HTML5 (RDP) | `True` / `False` |
> | **Redirect Clipboard** | HTML5 (RDP) | `True` / `False` |
> | **Keyboard format** | HTML5 (RDP) | text |
> | **Security** | HTML5 (RDP) | text |
> | **User Domain** | HTML5 (RDP) | `True` / `False` |
> | **Visual styles** | HTML5 (RDP) | text |
> | **Customize variable clientname** | HTML5 (RDP) | text |
> | **RemoteApp parameters** | HTML5 (RDP) | text |
> | **Resize method** | HTML5 (RDP) | text |
> | **Extended Clipboard (HTML)** | HTML5 (RDP) | `True` / `False` |
> | **Font smoothing** | HTML5 (RDP) | `True` / `False` |
> | **Change the title of tab** | HTML5 (RDP) | `True` / `False` |
> | **Enable file transfer** | HTML5 (RDP) | `True` / `False` (default: `False`) |

**SSH and HTML5 (SSH)**

> | Column | Types concerned | Expected format |
> |---|---|---|
> | **Command to execute at launch** | HTML5 (SSH), SSH | text |
> | **Enable file transfer** | HTML5 (SSH), SSH | `True` / `False` |
> | **Password injection settings** | HTML5 (SSH), SSH | list (`+`) |
> | **Use another client program** | SSH | `True` / `False` |
> | **Alternate client program executable** | SSH | text |
> | **Client program arguments** | SSH | text |
> | **Remote Executable** | SSH | text |
> | **Parameters** | SSH | text |
> | **Local Port** | SSH | integer |
> | **Remote Server** | SSH | text |
> | **Enable X11 forwarding** | SSH | `True` / `False` |
> | `local ip` | SSH | IP address |
> | `local port` | SSH | integer |
> | **Launch Executable** | SSH | `True` / `False` |
> | **Remote commands file** | SSH | text |
> | **Ask interaction mode** | HTML5 (SSH) | `True` / `False` |
> | **Redirect Clipboard** | HTML5 (SSH) | `True` / `False` |
> | **Authentication Domain** | HTML5 (SSH) | text |
> | **Console mode** | HTML5 (SSH) | `True` / `False` |
> | **Backspace character** | HTML5 (SSH) | integer |
> | **Terminal type (xterm, vt100 ...)** | HTML5 (SSH) | text |

**VNC and HTML5 (VNC)**

> | Column | Types concerned | Expected format |
> |---|---|---|
> | **VNC proxy address** | HTML5 (VNC), VNC | text |
> | **Resize method** | HTML5 (VNC), VNC | integer |
> | **Encoding** | HTML5 (VNC), VNC | text |
> | **VNC proxy port** | HTML5 (VNC), VNC | text |
> | **Compression level** | HTML5 (VNC), VNC | integer |
> | **JPEG Quality** | HTML5 (VNC), VNC | integer |
> | **Change title of RDP** | HTML5 (VNC), VNC | `True` / `False` |
> | **Change the title of tab** | HTML5 (VNC), VNC | `True` / `False` |
> | **Ignore client-side cert** | HTML5 (VNC), VNC | `True` / `False` |
> | **Custom RDP file parameters** | HTML5 (VNC), VNC | text |
> | **Use another client program** | VNC | `True` / `False` |
> | **Alternate client program executable** | VNC | text |
> | **Client program arguments** | VNC | text |
> | **Resolution** | VNC | text |
> | **Ask interaction mode** | HTML5 (VNC) | `True` / `False` |
> | **Redirect Clipboard** | HTML5 (VNC) | `True` / `False` |

**Web and Reverse proxy**

> | Column | Types concerned | Expected format |
> |---|---|---|
> | **Virtualhost** | Reverse proxy, Web | text |
> | **URL** | Reverse proxy, Web | text |
> | `https` | Reverse proxy, Web | `True` / `False` |
> | **Authentication type** | Reverse proxy, Web | integer |
> | **SSO type** | Reverse proxy, Web | text |
> | **Form mode** | Reverse proxy, Web | integer |
> | **Login attribute** | Reverse proxy, Web | text |
> | **Password attribute** | Reverse proxy, Web | text |
> | **Extra attributes** | Reverse proxy, Web | text |
> | **SSO settings** | Reverse proxy, Web | text |
> | **SSO URL** | Reverse proxy, Web | text |
> | **Forbidden Urls** | Reverse proxy, Web | list (`+`) |
> | **SSO on classic HTML forms** | Reverse proxy, Web | `True` / `False` |
> | **Advanced settings** | Reverse proxy, Web | `True` / `False` |
> | `csrf` | Reverse proxy, Web | text |
> | **IP address(es)** | Web | list (`+`) |
> | **additional networks** | Web | `True` / `False` |

**Citrix**

> | Column | Types concerned | Expected format |
> |---|---|---|
> | **Authentication Domain** | Citrix ICA, Citrix Storefront | text |
> | **Number of colors** | Citrix ICA | integer |
> | **Resolution** | Citrix ICA | text |
> | **Keyboard type** | Citrix ICA | text |
> | **Keyboard Configuration** | Citrix ICA | text |
> | **Remote application** | Citrix ICA | text |
> | **Borderless window** | Citrix ICA | `True` / `False` |
> | **Launch ICA application** | Citrix ICA | `True` / `False` |
> | **Storefront server URL** | Citrix Storefront | text |
> | **Protocol** | Citrix Storefront | text |
> | **URL** | Citrix Storefront | text |
> | **composed URL** | Citrix Storefront | text |
> | **List of IPs or domains** | Citrix Storefront | text |
> | **Citrix version** | Citrix Storefront | integer |
> | **Enable SSO for web portal access** | Citrix Storefront | text |
> | **Enable SSO for ICA connections** | Citrix Storefront | text |
> | **Enable web parsing** | Citrix Storefront | `True` / `False` |
> | **Enable handling of Session Reliability mode** | Citrix Storefront | `True` / `False` |

**Network**

> | Column | Types concerned | Expected format |
> |---|---|---|
> | **Display VPN state graphical user interface** | VPN | `True` / `False` |
> | **Mode** | VPN | text |
> | **Protocol** | Generic tunnel, VPN | text |
> | **Network** | VPN | IP address |
> | **Netmask** | VPN | IP address |
> | **User IP address allocation policy** | VPN | text |
> | **DNS suffixes** | VPN | text |
> | **Redirect all network flows in the VPN tunnel (full tunneling)** | VPN | `True` / `False` |
> | **Routes pushed** | VPN | list (`+`) |
> | **Authorized IP addresses** | VPN | list (`+`) |
> | **Forbidden IP** | VPN | list (`+`) |
> | **IP ranges** | VPN | list (`+`) |
> | **Allowed network masks** | VPN | list (`+`) |
> | **DNS Servers** | VPN | list (`+`) |
> | **URL** | Generic tunnel | text |
> | **Remote Server** | Generic tunnel | text |
> | **Remote port** | Generic tunnel | integer |
> | **Local server** | Generic tunnel | text |
> | **Local Port** | Generic tunnel | integer |
> | **Default remote port** | Generic tunnel | integer |
> | **Inform user** | Generic tunnel | `True` / `False` |
> | **Launch Executable** | Generic tunnel | `True` / `False` |
> | **Launch in a web client** | Generic tunnel | `True` / `False` |
> | **Executable** | Generic tunnel | text |
> | **Parameters** | Generic tunnel | text |
> | **Enable URL rewriting** | Generic tunnel | `True` / `False` |
> | **Avoid windows authentication** | Generic tunnel | `True` / `False` |
> | **Preserve Host header** | Generic tunnel | `True` / `False` |
> | **SSO on classic HTML forms** | Generic tunnel | text |
> | **Login attribute** | Generic tunnel | text |
> | **Password attribute** | Generic tunnel | text |
> | **Form mode** | Generic tunnel | integer |
> | **Extra attributes** | Generic tunnel | text |
> | **Redirections** | Generic tunnel | list (`+`) |

**File shares**

> | Column | Types concerned | Expected format |
> |---|---|---|
> | **Share(s)** | SMB | text |
> | **Force download** | SMB | `True` / `False` |
> | **Display IP** | SMB | `True` / `False` |
> | **Drive choice** | netBIOS | text |
> | **Drive label** | netBIOS | text |
> | **Replace an existing network drive** | netBIOS | `True` / `False` |
> | **Launch Windows explorer** | netBIOS | `True` / `False` |
> | **Share** | netBIOS | text |

### Syntax

| Element | Separator | Example |
|---|---|---|
| Columns | `;` | `Name;Description;Category;…` |
| Multiple values inside one cell | `+` | `10.0.0.1+10.0.0.2` |
| Delegated administrator group | `@` between the group and its domain | `AdminsAccounting@AD-Internal` |
| Booleans | ❌ | `True` or `False`; an empty cell counts as `False` |
| Integers | ❌ | Bare value; an empty cell takes the field default |

The **Name**, **Category** and **Service Type** columns are mandatory: a row missing one of them is rejected. The **category** is the only case where an unknown value is **created** on import; every other referenced value must already exist.

## Access contracts

Declaring an application does not make it available to users. You then have to create an [**access contract**](https://docs.cyberelements.io/bastion/4.7/fi/Usage/Reference/AdminConsole/AccessContracts/) that binds an application, one or more user groups and an optional access condition.
