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

# Red Team Configurations

Red Team Configurations let you save reusable red team presets, so you can kick off evaluations without re-entering target models, system prompts, objectives, severity weighting, and execution limits each time. Start a run from a configuration to apply its defaults; per-run overrides always win.

![Red Team Configurations List](https://mintcdn.com/hiddenlayer/35yE9gt7H5DWeNcS/docs/products/ai-attack-simulation/console/images/attack_simulation_redteam_configurations_list.png?fit=max\&auto=format\&n=35yE9gt7H5DWeNcS\&q=85\&s=70fa27ea2d51a73cf9ba26a8000adefc)

### Configurations Table

The **Red Team Configurations** table lists your saved configurations. Use the refresh button to reload the list and the pagination controls to move between pages. If there are no configurations, the table displays *No configurations yet. Create one to save reusable red team settings.*

| Column | Description |
| - | - |
| Name | The name of the configuration. |
| Config ID | The first eight characters of the configuration ID. Click the copy icon to copy the full ID. |
| Description | The description of the configuration. |
| Target Model | The default target model saved in the configuration. |
| Updated | The date and time the configuration was last updated. |
| Actions | **Run** (play icon), **Edit** (pencil icon), and **Delete** (trash icon). Displays only for users with write permission. |

### Saved Settings

A configuration can store any of the following settings. Every setting except the name is optional.

| Setting | Description |
| - | - |
| Name | The name of the configuration. Required. Maximum 256 characters. |
| Description | A description of the configuration. Maximum 2,048 characters. |
| Target Model | The model to run the evaluation against. See [Supported Target Models](https://docs.hiddenlayer.ai/docs/products/ai-attack-simulation/console/attack_simulation_red_teaming_new_evaluation.md#supported-target-models). |
| Target System Prompt | The system prompt to evaluate. Maximum 100,000 characters. |
| Attacker Guidance | Run-level guidance that focuses the attacker within the selected objectives. Maximum 4,000 characters. Not available with the Prompt Set execution strategy. |
| Objectives | Custom objectives to include and severity overrides for built-in and custom objectives. Only changed severities are saved as overrides. See [Objectives Tab](#objectives-tab). |
| Runtime Project | The Runtime Security project whose rules are applied to each run. If no project is selected, each run uses the tenant's Default Project. |
| Execution Strategy | **Single Technique**, **Random Techniques** (with the random technique count), or **Prompt Set** (with the selected prompt set). |
| Attacker Max Turns to Complete Objective | The maximum number of conversation turns per technique. Not available with the Prompt Set execution strategy. |
| Sessions Per Technique | The number of independent sessions to run for each technique. |

### How Configuration Values Are Applied

When you start an evaluation from a configuration, each setting is resolved in the following order:

1. A value you change for this run.
2. The value saved in the configuration.
3. The HiddenLayer default.

Changing a value when you start a run does not change the saved configuration.

The five built-in objectives are always included in every evaluation, whether or not the configuration lists them.

> [!NOTE]
>
> **Required Settings**
>
> A target model and a target system prompt are required to start an evaluation. If the configuration does not include them, you must enter them before you start the run.

#### Prompt Set and Project References

A configuration that uses a static prompt set or a Runtime project stores a reference to that prompt set or project. The reference is checked when you save the configuration and again when you start a run.

* If the prompt set or project is deleted after the configuration is saved, the configuration is not changed or deleted.
* An evaluation cannot start while the configuration references a prompt set or project that no longer exists. Edit the configuration to select a different prompt set or project, or change it for the run.
* After a Runtime project is saved to a configuration, you cannot clear the reference. To remove it, delete and recreate the configuration.

Each evaluation saves a snapshot of the settings it ran with, so past results are not affected when a configuration, prompt set, project, or custom objective is later changed or deleted.

### Create Configuration

1. In the Console, go to **Attack Simulation > Configurations**. The **Configurations** tab displays by default.

2. Click **Create Configuration**. The Create Configuration slide-out displays.

3. In the **Identity** section:
   * Enter a name for the configuration.
   * Optionally, enter a description.

4. In the **Defaults for runs started from this configuration** section, optionally set any of the following. All defaults are optional, and any of them can be overridden when you start a run.
   * **Target Model**: Select a model that is similar to what you have in your environment to simulate the attacks against your system prompt.
   * **Target System Prompt**: Enter the target system prompt.
   * **Attacker Guidance (optional)**: Enter intent text that focuses the attacker within the selected objectives. This field is hidden when the execution strategy is **Prompt Set**.

5. Optionally, expand the **Objectives** section to add objectives and override their default severity for this configuration.

   * Click **Add objective** to search for and add a built-in or custom objective.
   * For the objective you want to change, select a different severity. Changed severities are marked **Override**.
   * Click the remove icon to remove an added objective.
   * Click **Reset to defaults** to clear all severity overrides.
   * Only changed severities are saved as overrides.

   ![Change Severity](https://mintcdn.com/hiddenlayer/MngCbtFB0OBAHS9B/docs/products/ai-attack-simulation/console/images/attack_simulation_redteam_configurations_severitymap.png?fit=max\&auto=format\&n=MngCbtFB0OBAHS9B\&q=85\&s=6470fcc0cf20a3b23bbdbeebbce3a699)

6. Optionally, expand the **Advanced Options** section to configure Runtime project settings and attacker technique parameters.

   * **Runtime Project**: Select a project. Runtime Security applies the project's rules to each run started from this configuration. If no project is selected, each run uses the tenant's Default Project.
   * **Execution Strategy**: Select one of the following:

     * **Single Technique**: Runs each technique once per objective. This is the default.
     * **Random Techniques**: Runs all techniques plus additional random techniques. Set the **Random Technique Count**. The minimum is one and the maximum is five.
     * **Prompt Set**: Uses a predefined set of static prompts. Select the **Prompt Set**. A prompt set is required for this strategy.
   * **Attacker Max Turns to Complete Objective**: Set the maximum number of conversation turns allowed per technique when attempting to achieve an objective. The minimum is one and the maximum is five. The attack simulator does multi-turn attacks against the target for N turns, and then goes to the next session. Not available with the **Prompt Set** strategy.
   * **Sessions Per Technique**: Set the number of independent sessions to run for each technique. The minimum is one and the maximum is five. This is the number of times you want to run the same technique or static prompt.

   ![Change Advanced Options](https://mintcdn.com/hiddenlayer/MngCbtFB0OBAHS9B/docs/products/ai-attack-simulation/console/images/attack_simulation_redteam_configurations_advancedoptions.png?fit=max\&auto=format\&n=MngCbtFB0OBAHS9B\&q=85\&s=94be53136aa19fd20a261db0c4228baa)

7. Click **Create Configuration**.

### Edit Configuration

1. In the Configurations table, for the configuration you want to change, click the **Edit** (pencil) icon. The Edit Configuration slide-out displays.

2. Update the settings. The fields are the same as when you [create a configuration](#create-configuration).

3. Click **Save Changes**.

### Delete Configuration

1. In the Configurations table, for the configuration you want to delete, click the **Delete** (trash) icon.
2. A confirmation message displays. Click **Delete**. This action cannot be undone.

### Run Configuration

1. In the Configurations table, for the configuration you want to run, click the **Run** (play) icon. The Create Red Team Evaluation slide-out displays, prefilled with the configuration's settings.
   * If a target model and system prompt are not included in the configuration, you must add those before you can run the configuration.
   * Changes you make here apply only to this run and do not change the saved configuration.
2. Click **Start Evaluation**.

   ![Start Evaluation](https://mintcdn.com/hiddenlayer/MngCbtFB0OBAHS9B/docs/products/ai-attack-simulation/console/images/attack_simulation_redteam_configurations_runevaluation.png?fit=max\&auto=format\&n=MngCbtFB0OBAHS9B\&q=85\&s=d1d1cf91e44c13fb8fa0e0dfb0efa7f4)
3. Go to **Attack Simulation > Red Teaming** to view the evaluation.
