# What data Agent Hub collects Source: https://docs.cimento.ai/agent-hub/data-collected The allowlist of fields the Cimento endpoint agent sends, what stays on the device, the opt-in full-content mode, and how to verify it yourself. The hook payloads Cursor, Claude Code and Codex hand to the endpoint agent contain source code, prompts, model output, file contents and tool arguments. By default none of that leaves the machine. The agent applies an explicit allowlist: only the fields below are ever written to the buffer, and the ingest endpoint rejects any event carrying a field not in the schema. Prompts, responses and tool content are sent only when an admin turns on [full-content capture](#full-content-capture). ## Stays on the device by default | Data | What is sent instead | | - | - | | Prompts and model output | Nothing, unless full-content capture is on. | | Source code, file contents, diffs | Nothing, unless full-content capture is on. | | Tool inputs and outputs, terminal output, MCP request and response bodies | Nothing, unless full-content capture is on. Agent Hub rules check a call's command and arguments for credentials on the device, and only the decision is sent. | | Raw shell command lines | Only the binary name, for example `git`, unless full-content capture is on. For Codex, the files a simple read command such as `cat` or `grep` names are also sent, as `file_path`. | | Absolute file paths | A file's path relative to the workspace folder, or its file name when it is outside the workspace. `cwd` and MCP server commands keep their full paths, with the home folder written as `~`. | | Conversation transcript paths, and the email address in the hook payload | Nothing. | ## What is sent Every event carries: | Field | Description | | - | - | | `event_id` | Time-ordered UUID minted on the device. Used to de-duplicate. | | `schema_version` | Version of this contract. | | `hook_event_name` | Which hook fired, for example a tool call, a file edit, or a prompt submission. Names only. | | `agent_kind` | `cursor`, `claude_code` or `codex`. | | `user_email` | Resolved by the drain from the MDM-managed source, or the device serial when unattributed. | | `occurred_at` | Timestamp. | Events also carry these fields when the coding agent supplies them: | Field | Description | | - | - | | `conversation_id` | The coding agent's session ID, which groups one conversation's events. | | `cwd` | The session's working directory as a full path, with the home folder written as `~`, for example `~/code/acme-api`. | | `workspace_root_basename` | The last path segment of the project folder. | | `config_hash` | Hash of the agent's latest [configuration snapshot](#configuration-snapshot). | | `model` | The model the agent reports. | | `agent_version` | Version of the coding agent, where the agent reports one (Cursor). | | `tool_name` | Which built-in or MCP tool was called. | | `tool_call_id` | The coding agent's ID for one tool call, which pairs its request and result events. | | `mcp_server`, `mcp_server_fingerprint` | The MCP server's configured name, and the fingerprint of its [identity](#mcp-server-identity) when the call resolves to exactly one server. | | `command_prefix` | The binary name from a shell command, with arguments removed. | | `file_path` | A file the call read or edited, relative to the workspace folder, or its file name when it is outside the workspace. | | `duration_ms`, `failure_type` | How long the call took, and whether it failed, timed out or was denied. | | `gate` | When an Agent Hub rule matched the call: the rule IDs, the decision (watch, nudge or block) and the message the agent was given. | Once per run, the drain also reports on the device itself: | Field | Description | | - | - | | `device_serial` | The hardware serial number. Sent with every batch. | | `hostname`, `os` | The device name and operating system release. | | `collector_version`, `identity_source` | The endpoint agent's version, and which [identity source](/agent-hub/how-it-works#identity-resolution) produced `user_email`. | | `runtime_controls` | Whether Cimento's hooks and policy are in force: the Claude Code version and the managed settings source it applies, the scope of the Cursor hook, whether Codex is locked to managed hooks, and the policy revision the device enforces. | | Install outcome | Whether the hooks were installed cleanly. The cause of a failure stays in the local log. | | Configuration snapshot | Facts about how each coding agent is configured, described below. | ### MCP server identity To answer "is this MCP server what it claims to be", the agent reports each configured server's command and URL rather than only a hash, since a hash cannot be triaged. Before they leave the device, credential-shaped flags and values in the command (`--token=...`, `KEY=value`, the value after `--header`) are replaced with ``, paths under the home folder start at `~`, and every query-string value in the URL is stripped, keeping only the scheme, host, path and parameter names. Where it can, the agent adds the package name and version and a SHA-256 of the launch binary. ### Configuration snapshot Periodically the agent reports how each coding agent is configured so misconfigurations can be flagged: the permission mode, the tool names in permission rules (never the paths, domains or commands they name), Codex's sandbox mode and approval policy, a count of additional directories, each MCP server's identity as above, the names (never values) of environment variables and headers each MCP server is given, which hook events have handlers and how many, the number of rules files per scope (never their contents or paths), and aggregate project trust levels for Codex (never project paths). ## Full-content capture Full-content capture is off by default. An admin turns it on for the whole organization with **Capture full content** on the Agent Hub **Settings** tab. Devices pick up the change on their next policy fetch, and stop sending content if they have not fetched one for 24 hours. While it is on, each event also carries a `body` with what the call said, ran and got back: | Body field | Contents | | - | - | | `prompt` | The prompt the person submitted. | | `response` | The agent's last message of the turn. | | `command` | The full shell command line. | | `tool_input` | The tool call's arguments, including file edits and patches. | | `tool_result` | The tool call's result, including file contents read, command output, MCP responses and errors. | | `truncated` | Which fields were cut at the size cap. | * **Secrets are masked on the device.** Before a field is written to the buffer, every match of the gitleaks rule set is replaced with `[secret:]`, and the event is labeled `secret:`. This happens whatever the masking setting. * **Each field is capped at 32 KiB** on the device, after masking. * **Email addresses and phone numbers are masked on ingest.** The event is labeled `email` or `phone`, and while **Mask secrets and personal data before storing** is on, which is the default, they are stored as `[email:]` and `[phone:…]`. * **Bodies are stored apart from events,** encrypted, and only admins with permission to read agent content can open them. * **Bodies feed generated text.** Cimento titles each session from its first prompt and explains findings from the bodies around them, with a model that runs on Amazon Bedrock in Cimento's own AWS account. * **Turning it off** stops ingest keeping bodies, and devices stop sending them on their next policy fetch. Bodies already kept are not deleted; they expire on the schedule below. ## Retention | Data | Kept for | | - | - | | Events | Your **Keep sessions for** setting, 30 days by default or 90 or 180, and up to a week more. | | Sessions, with their titles | The **Keep sessions for** setting, counted from the session's last event. | | Bodies | One week, or the **Keep sessions for** setting once their session has a finding. | | Findings | One year after they close, or after they occurred if never closed. | | Agent and configuration records | One year after the person leaves your directory. | ## Enforcement on both ends The allowlist is a closed schema. The hook can only serialize the declared fields, and the ingest endpoint validates every event against the same schema with unknown fields rejected. A body that arrives while full-content capture is off is dropped, not stored. ## Verify it yourself The buffer is a readable text file at `~/.cimento/telemetry.ndjson` on every device. Open it to see what the next drain will send; the drain adds `user_email` and the device serial as it sends. The agent has no environment variable or local setting that stops collection. To stop it, click **Disconnect** on the integration, which uninstalls the agent from the targeted devices. # Deploy Agent Hub with Microsoft Intune Source: https://docs.cimento.ai/agent-hub/deploy/intune Grant Cimento tenant-wide consent to three Microsoft Graph permissions so it can deploy the endpoint agent to Windows PCs in an Entra security group. Cimento deploys the agent to your Windows fleet over Microsoft Graph. A Microsoft Entra Global Administrator grants access once, you choose a group, and Cimento uploads the package to Intune and assigns it. Nothing is downloaded or distributed by hand. > [!NOTE] > > This flow covers Windows PCs. Macs enrolled in Intune are not covered; deploy those through a macOS MDM. ## Prerequisites * A **Microsoft Entra Global Administrator** for the one-time consent. Cimento never receives or stores Microsoft credentials. * A **security-enabled Entra group** containing the pilot PCs. Intune scopes app assignments to security-enabled groups; distribution groups and default Microsoft 365 groups cannot be used. ## Steps **1. Grant consent** Under **Admin → Integrations → AI agents → Microsoft Intune**, click **Grant consent** and sign in as a Global Administrator. Tick **Consent on behalf of your organization**. Without it the permissions apply only to your own account and the deployment fails. **2. Verify** Cimento makes read-only Graph calls to confirm the consent took effect and to list the security-enabled groups you can deploy to. **3. Deploy** Search for and choose a group. The search matches from the start of the group name, as in the Entra portal. Cimento uploads the Windows package to Intune as a Win32 app named **Cimento Telemetry**, assigns it to the group as a required install, and installs it in System context. Nothing is installed until you click **Deploy**. The page then tracks install and check-in status per device. ## Permissions granted and why All three are Microsoft Graph application permissions, granted tenant-wide by the consent step. | Permission | Purpose | | - | - | | `DeviceManagementApps.ReadWrite.All` | Uploads the agent as a Win32 app, assigns it to the group, and updates it in place on each release. | | `DeviceManagementManagedDevices.Read.All` | Reads per-device install status so the rollout can be reported. | | `Group.Read.All` | Lists security-enabled groups so you can choose a deployment target, and reads their membership for per-device progress. | Cimento does not request `DeviceManagementConfiguration.Read.All` or any permission on mail, files or users. ## What lands on each PC * Signed binaries under `C:\ProgramData\Cimento\bin` and a per-user scheduled task that runs the drain every five minutes and at logon. * Hook configuration for Claude Code and Codex written machine-wide as SYSTEM; the Cursor hook written in the signed-in user's profile. * The user's email resolved from the signed-in user's UPN, so one assignment serves every user without per-user configuration or extra Graph permissions. * The Intune detection rule is the registry string `HKLM\SOFTWARE\Cimento\Telemetry\Version`. Installer diagnostics are written to `C:\ProgramData\Cimento\logs\install.log`. Installation needs an interactive user session. If Intune attempts it at the login screen the installer exits nonzero and Intune retries later. See [How it works](/agent-hub/how-it-works#code-signing) for signing details and the EKU to pin in WDAC policies. ## Disconnecting **Disconnect** in Cimento uninstalls the agent from the targeted PCs and removes the Win32 app and assignment Cimento created before deleting the stored consent. # Deploy Agent Hub with Iru Source: https://docs.cimento.ai/agent-hub/deploy/iru Create a least-privilege Iru (formerly Kandji) API token so Cimento can deploy the endpoint agent to a blueprint, with every endpoint permission explained. Cimento authenticates to Iru (the platform formerly known as Kandji) with a bearer API token, uploads the agent package as a Custom App and the configuration profile as a Custom Profile, assigns both to a blueprint you choose, and tracks the install per Mac. ## Prerequisites * API access enabled on your Iru tenant. In the Iru sidebar, open the **Account** menu and choose **Access**. If there is no **API tokens** tab, ask your Iru Customer Success Manager to enable the Endpoint API first. * Your organization API URL from the **Access › API tokens** tab. Iru shows it as a bare hostname such as `yourcompany.api.kandji.io` (US) or `yourcompany.api.eu.kandji.io` (EU). The hostname still uses `kandji.io`; use exactly what your console shows. * A blueprint to use as the pilot target. * Macs with an assigned user. The profile uses the `$EMAIL` variable to attribute each Mac, so Cimento never reads your directory. ## Steps **1. Create an API token** On **Access › API tokens**, click **Add Token**, name it something like `Cimento Agent Deployment`, and click **Create**. Iru shows the token once; copy it before closing the dialog. **2. Grant only the listed permissions** On **Manage API Permissions**, click **Configure**. Expand the **Blueprints**, **Library** and **Devices** categories and enable exactly the endpoints in the table below. Leave everything else off and click **Save**. You can revisit this later by opening the token and clicking **Edit**. **3. Enter the credentials in Cimento** Under **Admin → Integrations → AI agents → Iru**, paste the API host with `https://` in front of it, and the token. Both are stored encrypted per tenant and never shown again. **4. Verify** Cimento makes read-only calls to confirm the token can authenticate and to list your blueprints. **5. Deploy** Choose a blueprint. Cimento uploads the signed `.pkg` as a Custom App and the `.mobileconfig` as a Custom Profile, assigns both to the blueprint, and triggers the install. Nothing is installed until you click **Deploy**. The page then tracks install status per Mac. ## Permissions to enable and why Iru labels these by endpoint under a category heading, so the wording in your console may differ slightly from the paths below. ### Blueprints | Endpoint | Purpose | | - | - | | `GET /blueprints` | Lists the blueprints you pick a deployment target from. | | `GET /blueprints/{id}/list-library-items` | Checks that the agent's app and profile are still attached to the blueprint, so the deployment can report whether it is live. | | `POST /blueprints/{id}/assign-library-item` | Attaches the agent's app and profile to the blueprint. | | `POST /blueprints/{id}/remove-library-item` | Detaches them when you change the deployment target, and when you disconnect. | ### Library | Endpoint | Purpose | | - | - | | `POST /library/custom-apps/upload` | Uploads the agent package to your library. | | `POST /library/custom-apps` | Creates the Custom App that installs the agent. | | `PATCH /library/custom-apps/{id}` | Updates that Custom App in place on each new release, instead of adding another copy. | | `POST /library/custom-profiles` | Creates the Custom Profile carrying the agent's configuration. | | `PATCH /library/custom-profiles/{id}` | Updates that profile in place on later releases. | | `GET /library/library-items/{id}/status` | Reads how many Macs in the blueprint have the agent installed. | ### Devices | Endpoint | Purpose | | - | - | | `GET /devices` | Lists the Macs in the target blueprint so install progress can be shown per device. | ### Needed only to disconnect | Endpoint | Purpose | | - | - | | `GET /library/custom-scripts` | Finds an uninstall script Cimento created previously. | | `POST /library/custom-scripts` | Creates the script that uninstalls the agent. | | `PATCH /library/custom-scripts/{id}` | Updates that uninstall script when one already exists. | | `DELETE /library/custom-apps/{id}` | Removes the Custom App Cimento created. | | `DELETE /library/custom-profiles/{id}` | Removes the Custom Profile Cimento created. | | `DELETE /library/custom-scripts/{id}` | Removes the uninstall script once it has run. | | `POST /devices/{id}/action/dailycheckin` | Asks a Mac to check in now rather than waiting for its next daily check-in. | ## Why a dedicated token A token scoped to this deployment can do only what the deployment needs, and you can revoke Cimento's access by deleting one token. ## Disconnecting **Disconnect** in Cimento runs the uninstall script on the targeted Macs, removes the Custom App, Custom Profile and script Cimento created, and then deletes the stored credentials. # Deploy Agent Hub with Jamf Pro Source: https://docs.cimento.ai/agent-hub/deploy/jamf Create a least-privilege Jamf Pro API Role and Client so Cimento can deploy the endpoint agent to a computer group, with every privilege explained. Cimento authenticates to Jamf Pro as an API Client using the client-credentials flow, uploads the agent package and configuration profile, scopes them to a computer group you choose, and tracks the install per Mac. ## Prerequisites * Your Jamf Pro instance URL, for example `https://yourcompany.jamfcloud.com`. * A Jamf Pro administrator who can create API Roles and API Clients. * A smart or static computer group to use as the pilot target. * Macs with an assigned user in Jamf inventory. The profile uses Jamf's `$EMAIL` variable to attribute each Mac, so Cimento never reads your directory. ## Steps **1. Create an API Role** In Jamf Pro, open **Settings › System › API roles and clients › API Roles** and create a role named something like `Cimento Agent Deployment`. Grant exactly the privileges in the table below and leave every other privilege unselected. **2. Create an API Client bound to that role** On the **API Clients** tab, create a client, assign it the role, enable it, and generate a client secret. Jamf shows the secret once; copy it before closing the dialog. **3. Enter the credentials in Cimento** Under **Admin → Integrations → AI agents → Jamf Pro**, paste the instance URL, client ID and client secret. All three are stored encrypted per tenant and never shown again. **4. Verify** Cimento makes read-only calls to confirm the client can authenticate and to list your computer groups. **5. Deploy** Choose a computer group. Cimento uploads the signed `.pkg` as a Package and the `.mobileconfig` as a macOS Configuration Profile, creates a Policy scoped to the group, and triggers the install. Nothing is installed until you click **Deploy**. The page then tracks install status per Mac. ## Privileges to grant and why | Privilege target | Privilege | Purpose | | - | - | - | | Computers | Read | Required by the calls above. | | Smart Computer Groups and Static Computer Groups | Read | Lists the groups you pick a deployment target from, and reads their membership. | | Packages | Create, Read, Update | Uploads the agent package and replaces it with each new release. | | macOS Configuration Profiles | Create, Read, Update | Creates the profile carrying the agent's configuration and updates it in place on later releases. | | Policies | Create, Read, Update | Creates the policy that installs the agent on the target group. | | Policies | Delete | Required by Jamf, together with Flush Policy Logs, to clear a policy's run history when the agent is re-deployed. | | Jamf Pro Server Actions | Flush Policy Logs | Clears the policy's run history so Macs that already installed an earlier version install the new one. Without it those Macs stay on the older version. | If a privilege is missing, Cimento names the specific one to add, so you can start with this set. ## Why a dedicated API Role A role scoped to this deployment can do only what the deployment needs, and you can revoke Cimento's access by disabling one API Client. ## Disconnecting **Disconnect** in Cimento uninstalls the agent from the targeted Macs, removes the package, profile and policy Cimento created, and then deletes the stored credentials. # Deploy Agent Hub with SimpleMDM Source: https://docs.cimento.ai/agent-hub/deploy/simplemdm Create a least-privilege SimpleMDM API key and confirm your SAML-mapped email attribute so Cimento can deploy the endpoint agent to a device group. Cimento authenticates to SimpleMDM with an API key, uploads the agent package and configuration profile, pairs them with a device group you choose through an assignment group, pushes the install, and tracks it per device. ## Prerequisites * A SimpleMDM custom attribute that holds each device user's email address. SimpleMDM has no built-in email variable, so the profile substitutes a custom attribute you name. For a trustworthy mapping, populate it from your identity provider during SAML-authenticated (Automated) enrollment. Manually or API-populated attributes work but are best-effort and can be blank or spoofed. * A device group to use as the pilot target. ## Steps **1. Confirm the email attribute** In SimpleMDM, open **Settings › Custom Attributes** and note the exact name of the attribute that holds the user email, for example `email`. Cimento does not create it. **2. Create an API key** Open **Settings › API** and create a key for Cimento with exactly the permissions in the table below. Set every other resource to **none**. **3. Enter the values in Cimento** Under **Admin → Integrations → AI agents → SimpleMDM**, enter the attribute name exactly as it appears in SimpleMDM, then paste the API key. The key is stored encrypted per tenant and never shown again. If the attribute name does not match, SimpleMDM substitutes nothing and devices report unattributed. **4. Verify** Cimento makes read-only calls to confirm the key works and to list your device groups. **5. Deploy** Choose a device group. Cimento uploads the signed `.pkg` as an app and the `.mobileconfig` as a custom configuration profile with attribute support enabled, pairs both with the group through an assignment group, and pushes the install. Nothing is pushed until you click **Deploy**. The page then tracks install status per device. ## Permissions to set and why ### Set to write | Resource | Purpose | | - | - | | Apps | Uploads the agent package and updates it in place on each release. | | Assignment Groups | Pairs the app and profile with the device group you deploy to. | | Custom Configuration Profiles | Installs the profile carrying the agent's configuration. | ### Set to read | Resource | Purpose | | - | - | | Account | Confirms the key works before the deployment runs. | | Device Groups | Lists the groups you pick a deployment target from. | | Devices | Lists the Macs in that group so the rollout can be reported per device. | | Installed Apps | Reads how much of the group has the agent installed. | ### Needed only to disconnect | Resource | Purpose | | - | - | | Scripts, write | Stores the uninstall script and runs it as a job. | | Devices, raised from read to write | Runs that uninstall job against the devices in the group. | If a permission is missing, Cimento names the specific one to grant, so you can start with this set. ## Disconnecting **Disconnect** in Cimento runs the uninstall script against the targeted devices, removes the app, profile and assignment group Cimento created, and then deletes the stored key. # How the Agent Hub endpoint agent works Source: https://docs.cimento.ai/agent-hub/how-it-works Components, data flow, scheduling, identity resolution, egress, fail-open behavior and code signing of the Cimento endpoint agent. The endpoint agent is two small signed binaries and a configuration profile. Neither binary runs as a resident daemon. ## Components | Component | Role | | - | - | | `cimento-telemetry-hook` | Invoked by the coding agent on each hook event. Projects the payload onto a fixed allowlist, mints an event ID and appends one line to the local buffer. Holds no network code. | | `cimento-telemetry-drain` | Runs on a schedule. Resolves the user's identity, posts the buffer to Cimento, and re-asserts the hook configuration for any agent present on the device. | | Configuration profile (macOS) or machine policy (Windows) | Carries your tenant identifier, the ingest URL, and the per-device user email your MDM substitutes. | ## Data flow **1. An agent fires a hook event** Cursor, Claude Code or Codex invokes the hook with the event payload on stdin. The hook keeps only the allowlisted fields described in [What data is collected](/agent-hub/data-collected) and appends the result to `~/.cimento/telemetry.ndjson`. **2. The drain runs** Every five minutes, and once at login, the scheduler starts the drain. On macOS this is the LaunchAgent `ai.cimento.telemetry.drain`; on Windows, a per-user scheduled task. **3. Identity is resolved** The drain stamps each event with the user email from the MDM-managed source. The hook never writes identity, so a spoofed hook payload cannot attribute events to someone else. **4. Events are posted** The drain POSTs to `https://api.cimento.ai/api/agent-hub/telemetry/events` in server-capped chunks. Delivery is at-least-once and the server de-duplicates on event ID. On a network error, proxy failure, 429 or 5xx it leaves the buffer in place and backs off until the next run. The buffer is plain newline-delimited JSON and is bounded at 100,000 events or 64 MB, oldest trimmed first, which is sized to ride out a multi-day outage without losing events. ## Identity resolution The drain resolves `user_email` in fixed order and never trusts the hook payload for it: 1. **MDM-managed value.** macOS: the forced managed preference `user_email` in the `ai.cimento.telemetry` domain, delivered by the configuration profile. Windows: the machine-policy registry value `HKLM\SOFTWARE\Policies\Cimento\telemetry\user_email`, or the signed-in user's UPN when no explicit value is set. 2. **Identity file** written by the installer: `/Library/Application Support/Cimento/identity.json` on macOS, `%PROGRAMDATA%\Cimento\identity.json` on Windows. 3. **Unattributed.** Events still ship, carrying the device serial in place of an email, and show in the dashboard as an unattributed device. ## Where the hook is registered | Agent | Location | Managed by policy? | | - | - | - | | Claude Code | macOS: `/Library/Application Support/ClaudeCode/managed-settings.json` and `managed-settings.d/10-cimento-telemetry.json`. Windows: the same two files under `%ProgramFiles%\ClaudeCode`. | Yes. Claude Code merges managed hooks with the user's own and does not let a user setting disable them. The user's `settings.json` is never written. | | Codex | macOS: `/etc/codex/config.toml`. Windows: the Codex managed configuration under `%ProgramData%`. | Yes. Codex treats hooks from the system layer as administrator-managed and trusted by policy. If no `/etc/codex/requirements.toml` exists, the package creates one that keeps hooks enabled and allows managed hooks only. | | Cursor | `~/.cursor/hooks.json` | No. Cursor has no managed layer, so the entry is per-user. The drain re-asserts it before every run. | If a managed location cannot be written, the installer falls back to the per-user file so the device still reports. ## Fail-open by design The hook always exits 0, and its own failures, such as malformed input, an unwritable disk or an internal error, do not stop the coding agent. The one exception is an MCP call in Cursor, which Cursor denies if the hook dies without answering, so a crash cannot let the call skip your rules. Otherwise the hook changes what an agent does only through your Agent Hub rules, while **Let Cimento block and nudge** is on: a call a rule blocks is denied, and one a rule nudges goes ahead with a message to the agent. If you set **If Cimento can't reach its service** to **Block**, calls are also denied while the device has not fetched your policy for more than 24 hours. There is no environment variable or local setting that turns the agent off on a device; to stop collection, disconnect the integration as described below. ## Updates and removal * **Updates.** On each release Cimento updates the package in place in your MDM, so devices upgrade through the same assignment without anyone re-uploading anything. * **Removal.** Clicking **Disconnect** on the integration runs an uninstall across the targeted devices and removes the objects Cimento created in your MDM before deleting the stored credential. ## Code signing * **macOS.** The `.pkg` is signed and notarized. * **Windows.** The hook, the drain and the install and uninstall scripts are Authenticode-signed through Azure Artifact Signing with an RFC 3161 timestamp. The signing certificate rotates daily, so do not pin its thumbprint. For WDAC or signature-based detection rules, pin the durable identity EKU `1.3.6.1.4.1.311.97.707736870.60106188.709977328.172420691`. ### Windows install details Binaries install to `C:\ProgramData\Cimento\bin`. The installer writes its log to `C:\ProgramData\Cimento\logs\install.log`, and the detection value Intune checks is the registry string `HKLM\SOFTWARE\Cimento\Telemetry\Version`. Installation needs an interactive user session because the scheduled task and Cursor's per-user hook configuration are created in that session; if Intune installs at the login screen the installer exits nonzero and Intune retries later. # Agent Hub overview Source: https://docs.cimento.ai/agent-hub/overview Visibility into the AI coding agents on your fleet: what Agent Hub shows, what it deploys, and how to set it up through your MDM. Agent Hub shows you which AI coding agents are in use across your fleet, by whom, with which tools and MCP servers, and against what data. By default it does this without collecting prompts, source code or file contents; an admin can opt in to [full-content capture](/agent-hub/data-collected#full-content-capture). > [!NOTE] > > Agent Hub isn't enabled for every organization. If you don't see **AI agents** under **Admin → Integrations**, ask your Cimento contact. ## How it works A small endpoint agent, deployed through your MDM, registers as a hook with Cursor, Claude Code and OpenAI Codex. Each time one of those agents fires a hook event, the hook writes a stripped-down record (event type, tool name, agent version, timestamp) to a local buffer. Every five minutes a scheduled task posts the buffer to `api.cimento.ai`. The Agent Hub dashboard in the Cimento admin console then shows adoption, tool and MCP usage, data-access patterns and findings per person and per agent. Read [How it works](/agent-hub/how-it-works) for the mechanics and [What data is collected](/agent-hub/data-collected) for the privacy contract. ## Supported platforms | | macOS | Windows | | - | - | - | | Package | Signed and notarized `.pkg` plus a `.mobileconfig` configuration profile | Authenticode-signed Win32 app (`.intunewin`) | | Agents | Cursor, Claude Code, Codex | Cursor, Claude Code, Codex | | Deployment | Jamf Pro, Iru, SimpleMDM | Microsoft Intune | ## Setup at a glance **1. Open the wizard for your MDM** Under **Admin → Integrations → AI agents**, pick the card for your MDM. **2. Grant least-privilege access** You create a dedicated API role, token, key or consent with only the permissions listed on that MDM's page. Cimento performs the upload and assignment itself and never asks for your MDM administrator credentials. **3. Deploy to a pilot group** Choose a small computer group, blueprint, device group or Entra group first. Nothing is installed until you click Deploy. **4. Confirm egress** Devices need outbound HTTPS to `api.cimento.ai`. Standard proxy environment variables are honored. **5. Watch the rollout** The wizard shows per-device install status. Once devices report, they appear in the Agent Hub dashboard. ## Deploy with your MDM > [card] [Jamf Pro](/agent-hub/deploy/jamf) > > API Role and API Client, deployed to a computer group. > [card] [Iru](/agent-hub/deploy/iru) > > API token with per-endpoint permissions, deployed to a blueprint. > [card] [SimpleMDM](/agent-hub/deploy/simplemdm) > > API key and a SAML-mapped email attribute, deployed to a device group. > [card] [Microsoft Intune](/agent-hub/deploy/intune) > > Entra admin consent, deployed to a security-enabled group of Windows PCs. ## Attribution Telemetry is attributed to a person by the email address your MDM supplies to the device. Jamf Pro and Iru fill it from the assigned user (`$EMAIL`), and SimpleMDM from a custom attribute you map from your identity provider at enrollment. On Windows the agent reads the signed-in user's UPN. Cimento does not read your directory to do this. # Changelog Source: https://docs.cimento.ai/changelog New features, improvements and fixes in Cimento, week by week. **Nov 2 – Nov 8, 2026** ### New * **Phishing history for each employee.** If you use AutoPhish, switch the Employees page's Training column to Phishing to see how each person is doing. Expand a row to list their simulations, then open one to see the exact email they got, its red flags, and what they did with it. * **Red flags training for phishing campaigns.** In the template editor, the click step can now generate red flags training. Cimento finds the warning signs in your email, and employees who click see that same email with each red flag pointed out. It works on your existing templates too. * **Exempt several employees at once.** Select employees on the Employees page and choose Exempt from campaigns to exempt them all in one step, with one end date and one note. * **Search a campaign's assignments.** A training campaign's Assignments table now has a search by name or email, and lists people by name, so you can find one person in a large campaign quickly. ### Improvements * **Every round reaches everyone, at the difficulty you choose.** Each AutoPhish round now goes to everyone in the program instead of a subset. You can also pick any mix of Basic, Moderate and Advanced, and each person gets a level from your mix. * **Clearer AutoPhish targeting.** Manage recipients now has Send to and Exclusions, which take groups or individual people. People in Exclusions never get simulations, even if they're in Send to. You can open it from the setup screen before you turn AutoPhish on, and a Done button confirms your changes are saved. * **Quicker AutoPhish setup.** Topics to avoid are now a Never use checklist with sensible defaults, and you can still add your own. It replaces the sensitivity slider. When you enter company details, AutoPhish pre-selects the vendors your company appears to use, so you only confirm them. * **Clearer AutoPhish schedule.** Expand an upcoming simulation to switch between the email and its red flags, shown at full height. A round whose sends were all cancelled no longer shows as scheduled. * **More convincing simulations.** Simulations now use your company's name, branded emails match the kinds of messages that vendor really sends, and new hires get messages that fit their first week. Messages that pretend to come from a colleague never use your real company domain. Red flags only point to text in the email itself, and emails with garbled characters are caught before they send. * **New hire due dates follow the start date.** New training campaigns with a New hires audience count due dates from the employee's start date when it's later than their enrollment. If a start date changes, open due dates move with it. ### Fixes * **Editing a running campaign's audience.** Changing the audience of a training campaign that has already launched no longer removes people who should stay enrolled. The campaign keeps its setting for people who leave the audience. * **Exports include everyone you select.** When you select employees across several pages, or use Select all, Export CSV now includes all of them, not only the page on screen. * **Find the right campaign.** The campaign picker in Notifications searches all your training campaigns, not only the newest, and shows each one by its own name instead of its course name. Searches for campaigns and lessons now match characters like % and \_ exactly. * **Outlook fixes.** The Phish Alert Button for Outlook works again for organizations whose Outlook integration was set up the older way, and phishing campaigns can now send through every type of Outlook integration. * **Privacy and security improvements.** Phishing simulation landing pages no longer keep anything employees type into them, and single sign-on has security improvements. **Oct 26 – Nov 1, 2026** ### New * **Training history on the Employees page.** Click any employee to see every training they've been assigned, with its status and due date. A new Training column shows who's behind at a glance. * **AutoPhish calibration.** Choose how difficult simulations should be, how sensitive their content can get, and which topics to avoid. Set it during setup or change it any time in program settings. * **AutoPhish review reminders.** Get a heads-up by email, Slack, or both when each upcoming round is ready to review, two business days before it sends. You can turn reminders off in program settings. * **Red flags after a click.** When an employee clicks a simulated phishing link, they now see the email they received with its warning signs pointed out, so the lesson is about the exact message they fell for. Finished reviews show up in the AutoPhish activity feed. * **Quicker testing for new hires.** New employees get their first AutoPhish simulation about a week after they join, instead of waiting for the next scheduled round. * **Start over.** You can reset an AutoPhish program back to setup from program settings. ### Improvements * **AutoPhish controls up front.** Pause and Resume now sit at the top of the AutoPhish page, and you can change how often rounds go out at any time. * **Clearer round details.** Each round shows its real send dates, shows progress while its emails are being prepared, and lets you preview the exact email each recipient will get. Trend charts no longer dip to 0% in weeks when nothing was sent. * **More realistic simulations.** Feedback you leave when you flag a round now shapes the next one, each simulated vendor is picked to fit the recipient's role, and some advanced simulations reference a vendor's real website, as real attacks often do. * **Company details first.** AutoPhish asks for your company details, such as your industry and the vendors you use, before it turns on, so simulations match your business from the first round. * **No double testing.** When you turn on AutoPhish, Cimento offers to stop any phishing campaigns that are still sending, so employees aren't tested by both at once. * **Automatic exclusions are labeled.** If an employee's mailbox can't be found two rounds in a row, AutoPhish stops sending to it and marks the person in Recipients as excluded automatically. ### Fixes * **Search by full name.** Searching for a full name like "Jane Smith" now finds the person on employee lists, course completion pages and exports. Before, only a first or last name on its own worked. * **Direct training assignments stay put.** Employees you assign to a training campaign directly now stay enrolled if they later leave the campaign's target group. * **More reliable AutoPhish rounds.** Rounds for large organizations now generate in full, and a round that gets interrupted picks back up on its own. Enrolled employees are no longer skipped, people whose start date hasn't arrived are left out, and special characters in subject lines display correctly. # Before you begin Source: https://docs.cimento.ai/getting-started/before-you-begin What to have in place before setting up Cimento: a directory source, the admins who own each tool, and pilot groups. Cimento provisions your tenant and your first administrator account during onboarding. Everything below is configured from the Cimento admin console under **Admin → Integrations**. ## Where setup happens Integrations are grouped by what they connect: | Section | Cards | Used by | | - | - | - | | Identity & directory | Employee data, Sync exclusions | Every product area | | Delivery channels | Phishing, Messaging & SMS | Phishing simulations and notifications | Each card opens a step-by-step wizard. Progress is saved between steps, so one person can start a wizard and the owner of the vendor console can finish it. Every tool also has a follow-along guide under [Integrations](/integrations/overview). > [!NOTE] > > If a card you expect is missing for your tenant, ask your Cimento contact to enable it. ## Checklist **1. Choose a directory source** Okta, Microsoft Entra ID or Google Workspace. You will need an administrator of that system to connect it. See [Employee directory](/getting-started/employee-directory). **2. Line up tool owners** Each tool needs someone who administers it, such as your Google Workspace Super Admin or Microsoft Entra Global Administrator. The [Who you will need](/integrations/overview#who-you-will-need) table lists the role for each. **3. Pick pilot groups** A small group of employees for the first phishing campaign, and a small audience for the first training campaign. **4. Choose a sender address (optional)** Training and notification emails come from `no-reply@cimento.ai` unless you send them from your own domain. That needs your branding in Cimento and someone who can edit your DNS. See [Send training emails from your domain](/training/sending-domain). ## What Cimento does not need Cimento never asks for the password of a Google, Microsoft or Okta administrator account. Instead, you authorize Cimento's own service account or application in your admin console, with only the permissions listed on the relevant page. # Connect your employee directory Source: https://docs.cimento.ai/getting-started/employee-directory Choose where Cimento imports employees and groups from, whether Okta, Microsoft Entra ID or Google Workspace, and what gets imported. Cimento's employee list drives everything else: phishing audiences, training assignments and reporting. Import it from the directory your organization already uses. Cimento supports three: Okta and Microsoft Entra ID, which send employees to Cimento over SCIM, and Google Workspace, which Cimento reads with read-only access. ## Choose your directory | | Okta | Microsoft Entra ID | Google Workspace | | - | - | - | - | | How employees reach Cimento | Okta sends users and groups to Cimento over SCIM | Entra sends users and groups to Cimento over SCIM | Cimento reads users and groups from Google once a day | | Setup guide | [Connect Okta](/integrations/okta) | [Connect Microsoft Entra ID](/integrations/microsoft-entra-id) | [Connect Google Workspace](/integrations/google-workspace#import-your-directory) | | Admin you need | An Okta Super Administrator or Application Administrator | An Entra Application Administrator, Cloud Application Administrator or Global Administrator | A Google Workspace Super Admin | | Who is imported | The people and groups you assign to the app in Okta | The people and groups you assign to the application in Entra | Active users in your organization's email domains, and their groups | | Single sign-on | Set up in the same app | Set up in the same application | Not part of this setup | | Access Cimento gets | None. Cimento only receives what Okta sends. | None. Cimento only receives what Entra sends. | Read-only access to users, groups and group memberships | > [!NOTE] > > Your organization connects one directory. Once it's configured, the choice is locked; contact support to change it. ## Before you start * **Where to start.** Go to **Admin → Integrations → Employee data** in Cimento and choose your provider under **Directory provider**. If you don't see **Employee data**, ask your Cimento contact to enable it. * **Your email domains.** Cimento records your organization's email domains when it creates your account. Single sign-on covers only those domains, and Google Workspace sync imports only people in them. Ask your Cimento contact to add any that are missing. * **Manual employee management turns off.** As soon as you click **Begin Setup**, employees come from your directory. You can no longer add or upload employees in Cimento, or edit their names, email addresses, status or departments. You can still change their roles. ## What Okta and Microsoft Entra ID send ### Employee attributes | SCIM attribute | In Cimento | | - | - | | `userName` | The identifier your directory uses to match the employee | | `emails`, the entry marked primary | The employee's email address | | `name.givenName`, `name.familyName`, `displayName` | The employee's name | | `active` | Whether the employee is active | | `title` | Title | | `phoneNumbers` | Phone numbers, used to enroll employees in [SMS and voice](/phishing/sms-and-voice) simulations | | `addresses` | Location, from the primary address | | Enterprise `department` | Department. Cimento matches the name exactly, including capitalization, and creates the department if none matches. | | Enterprise `manager` | Manager | | Enterprise `employeeNumber`, `costCenter`, `organization`, `division` | Stored on the employee's record | ### Groups Pushed groups become Cimento groups with the same members. A group can only include people your directory has already provisioned to Cimento. Group names must be unique in Cimento regardless of capitalization, so rename any existing Cimento group that has the same name as one you push. ### When someone leaves When you deactivate or unassign someone in Okta or Entra, Cimento deactivates them. They can no longer sign in, and they drop out of campaign audiences. If your directory deletes the account, Cimento also removes them from their groups. Cimento never deletes the employee record, so their history stays in your reports. > [!WARNING] > > The API token (Okta) or secret token (Entra) lets your directory create, update and deactivate employees in Cimento. Store it like a password. To stop provisioning, turn it off in Okta or Entra. ## What Cimento imports from Google Workspace * **Users** in your email domains: primary email, name, and the department and job title from their employee information. Suspended and archived users aren't imported. * **Groups** in your email domains, with their names and descriptions. * **Group members** who are users in your directory. Members of nested groups and addresses outside your directory are skipped. Cimento doesn't import phone numbers, managers, aliases or locations from Google. Its scopes give it no access to mail, files or anything else outside the directory. ### When someone leaves At the next daily sync, anyone suspended, archived or deleted in Google, or moved out of your email domains, is deactivated in Cimento and signed out of Cimento. Cimento never deletes the employee record, so their history stays in your reports. Restoring the user in Google reactivates them at the following sync. ### Keep accounts out of Cimento If your organization has **Admin → Integrations → Sync exclusions**, use it to keep service accounts, shared mailboxes or whole Google groups out of Cimento. Excluded people and groups are hidden everywhere and aren't imported again. Re-including one brings it back with an immediate re-import. # Cimento Documentation Source: https://docs.cimento.ai/index Setup and reference documentation for security administrators deploying Cimento phishing simulation and security training. Cimento is a human-risk security platform. It runs phishing simulations across email, SMS and voice, and delivers security awareness training and policy acknowledgments. These docs are written for the security administrator setting Cimento up and for the IT and identity teams they need help from. Every page that asks for access in a vendor console lists the exact permissions involved and what each one is for, so you can hand the link to whoever owns that console. ## Product areas > [card] [Phishing](/phishing/overview) > > Connect Google Workspace or Microsoft 365 for inbox delivery, enroll employees for SMS and voice simulations, and run campaigns. > [card] [Training](/training/overview) > > Build or import courses, publish policies for acknowledgment, and assign them to employees through campaigns. ## How setup works **1. Connect your employee directory** Every product area targets people, departments and groups, so the directory comes first. Okta and Microsoft Entra ID send employees to Cimento over SCIM, and Cimento reads Google Workspace with read-only scopes. See [Employee directory](/getting-started/employee-directory). **2. Connect your tools** Follow the guide for each tool your organization uses: [Okta](/integrations/okta), [Microsoft Entra ID](/integrations/microsoft-entra-id), [Google Workspace](/integrations/google-workspace), [Microsoft 365](/integrations/microsoft-365), the [Phish Alert Button for Outlook](/integrations/outlook-phish-alert-button) and [Slack](/integrations/slack). Each guide follows the same steps as the setup wizard in Cimento. [Integrations](/integrations/overview#who-you-will-need) lists the admin each tool needs. **3. Pilot, then roll out** Start small: one group of employees for a phishing campaign and one course for training. Widen once you have confirmed results in the admin console. ## How Cimento handles access * **Least privilege.** Every integration asks for a dedicated credential scoped to what that deployment does, never an administrator account. * **No admin credentials.** Cimento never receives or stores your Google, Microsoft or Okta administrator passwords. Any API key or client secret you do provide is stored encrypted per tenant and never displayed again. * **Revocable in one place.** Removing the delegation, consent or app integration you set up for Cimento removes its access. # Connect Google Workspace Source: https://docs.cimento.ai/integrations/google-workspace Import your Google Workspace directory and place phishing simulations directly in Gmail inboxes, step by step, using domain-wide delegation. Cimento uses Google Workspace for two things, each with its own setup wizard: importing your employee directory, and placing phishing simulations directly in Gmail inboxes. Both work through domain-wide delegation to a service account Cimento creates for your organization. You never create credentials or share a password. ## Before you start * A Google Workspace Super Admin. Only a Super Admin can authorize domain-wide delegation. * For the directory, an administrator contact on file with Cimento who is a Google Workspace admin able to view users and groups. Cimento reads the directory as that account. Your Cimento contact can tell you which address is on file. * For the directory, your organization's email domains registered with Cimento. Only people in those domains are imported. > [!TIP] > > Both setups use the same client ID, and Google keeps one list of scopes per client ID. If you set up both, the second time you'll find the client ID already listed. Edit that entry and add the new scopes to it; don't replace it. ## Import your directory In Cimento this is **Google Workspace User Provisioning**. Cimento reads users, groups and group memberships with read-only access, and never changes your directory. > [!NOTE] > > Your organization connects one directory, and switching to another later needs Cimento support. As soon as you click **Begin Setup**, employees come from Google: you can no longer add or upload employees in Cimento, or edit their names, email addresses, status or departments. **1. Start setup in Cimento** Go to **Admin → Integrations → Employee data**. Under **Directory provider**, choose **Google Workspace User Provisioning** and click **Begin Setup**. **2. Open domain-wide delegation** Sign in to [admin.google.com](https://admin.google.com) as a Super Admin. Go to **Security › Access and data control › API controls**, click **Manage Domain Wide Delegation** near the bottom of the page, then **Add new**. If Cimento's client ID is already listed, point to it and click **Edit** instead. **3. Authorize Cimento** In Cimento's **Service Account** step, click **Copy** next to **Client ID** and paste it into Google. Do the same with **OAuth scopes**; Google accepts them comma-separated. The three scopes are listed below. Click **Authorize**. **4. Test the connection** In Cimento's **Review** step, click **Test connection**. Cimento lists one user from your directory, acting as your administrator contact. Google can take up to 24 hours to apply a delegation change, so if the test fails straight away, try again later. Once the test passes, Cimento imports your directory immediately and then every 24 hours. | Scope | Purpose | | - | - | | `https://www.googleapis.com/auth/admin.directory.user.readonly` | Reads user accounts so Cimento's employee list stays in sync. | | `https://www.googleapis.com/auth/admin.directory.group.readonly` | Reads groups so Cimento can mirror them for targeting and reporting. | | `https://www.googleapis.com/auth/admin.directory.group.member.readonly` | Reads group memberships so Cimento knows who belongs to which group. | See [What Cimento imports from Google Workspace](/getting-started/employee-directory#what-cimento-imports-from-google-workspace) for which fields are used and what happens when someone leaves. ## Deliver phishing simulations In Cimento this is **Google Workspace Email**. Cimento places each simulation straight into the employee's Gmail inbox through the Gmail API, so nothing crosses your mail gateway and there's nothing to allowlist. **1. Start setup in Cimento** Go to **Admin → Integrations → Phishing**, choose **Google Workspace Email** and click **Begin Setup**. Your organization can have one email provider active at a time. **2. Open domain-wide delegation** Sign in to [admin.google.com](https://admin.google.com) as a Super Admin. Go to **Security › Access and data control › API controls**, click **Manage Domain Wide Delegation**, then **Add new**. If Cimento's client ID is already listed because you imported your directory, point to it and click **Edit** instead. **3. Authorize Cimento** In Cimento's **Service Account** step, copy the **Client ID** and the **OAuth scopes** into Google, and click **Authorize**. If you're editing an existing entry, add these scopes after the ones already there. **4. Test the connection** In Cimento's **Review** step, click **Test connection**. Cimento reads the Gmail profile of your administrator contact using `gmail.readonly`. The test doesn't use the other scopes, so before your first campaign, point to Cimento's client ID in Google, click **View details**, and check that every scope is listed. | Scope | Purpose | | - | - | | `https://www.googleapis.com/auth/gmail.insert` | Places simulations, and follow-up messages in multi-turn simulations, in the Inbox. | | `https://www.googleapis.com/auth/gmail.readonly` | Checks whether a simulation was opened and looks for replies in the simulation's own thread. | | `https://www.googleapis.com/auth/gmail.modify` | Not used by email delivery. Cimento's Gmail report add-on uses it. | [Mailbox permissions](/phishing/mailbox-permissions#google-workspace) explains exactly what Cimento does with each scope, and what it never does. ## Revoke access * **To remove one setup,** open **Manage Domain Wide Delegation**, point to Cimento's client ID, click **Edit**, and delete that setup's scopes. * **To remove everything,** point to Cimento's client ID and click **Delete**. Google says apps that depend on it stop working immediately. * **Disconnecting in Cimento** doesn't change anything in Google, so remove the delegation there too. # Connect Microsoft 365 Source: https://docs.cimento.ai/integrations/microsoft-365 Place phishing simulations directly in Outlook inboxes with Microsoft 365 Direct Inject, step by step: admin consent, mailbox scoping and a connection test. In Cimento this is **Microsoft 365 Direct Inject**. Cimento writes each simulation straight into the employee's Inbox through Microsoft Graph, so nothing crosses your mail gateway and there's nothing to allowlist. Setup takes one admin consent in Microsoft Entra, then an Exchange Online policy that limits Cimento to the people you plan to target. ## Before you start * A Global Administrator or Privileged Role Administrator, to grant admin consent. * An Exchange Administrator or Global Administrator, to create the access policy in Exchange Online PowerShell. * A mail-enabled security group containing everyone you plan to send simulations to. Distribution lists and Microsoft 365 groups don't work for this. * The ExchangeOnlineManagement PowerShell module, installed on the computer you'll run the commands from. ## Steps **1. Start setup in Cimento** Go to **Admin → Integrations → Phishing**, choose **Microsoft 365 Direct Inject** and click **Begin Setup**. Your organization can have one email provider active at a time. Read the **Before you start** step, then click **Next**. **2. Grant admin consent** In the **Grant consent** step, click **Grant admin consent** and sign in to Microsoft as a Global Administrator or Privileged Role Administrator. Select **Consent on behalf of your organization**, then click **Accept**. Without that checkbox, the mail permission isn't granted. **3. Return to the setup guide** Microsoft sends you back to Cimento, which reports the integration as connected. Setup isn't finished: go back to **Admin → Integrations → Phishing** and open **Microsoft 365 Direct Inject** to continue. **4. Limit Cimento to your targets** In the **Scope mailboxes** step, copy the **Application (client) ID**. If it's blank, find it in the Microsoft Entra admin center under **Enterprise applications**: search for **Cimento M365 DMI** and copy its **Application ID**. Then run: ```powershell theme={null} Connect-ExchangeOnline New-ApplicationAccessPolicy -AppId -PolicyScopeGroupId -AccessRight RestrictAccess -Description "Cimento simulation targets" ``` Replace `` with the ID you copied and `` with your security group's email address. **5. Check the restriction** Test one mailbox inside the group and one outside it: ```powershell theme={null} Test-ApplicationAccessPolicy -Identity -AppId Test-ApplicationAccessPolicy -Identity -AppId ``` `AccessCheckResult` should read `Granted` for the first and `Denied` for the second. **6. Name a test mailbox** In the **Test mailbox** step, enter the address of a mailbox in the group and click **Save configuration**. Cimento only reads that mailbox's Inbox folder details, never its messages. **7. Verify** In the **Verify** step, click **Test connection**. Policy changes can take up to 30 minutes to reach Microsoft Graph, so if the test fails right after you ran the commands, wait and try again. > [!WARNING] > > Admin consent grants Cimento access to every mailbox in your tenant until the access policy in step 4 is in place. Apply it before you launch a campaign. ## Permissions | Permission | Type | What Cimento uses it for | | - | - | - | | `Mail.ReadWrite` | Application | Places simulations and follow-up messages in the Inbox, checks whether a simulation was read, and runs the connection test. | | `openid` | Delegated | Used once during consent, to learn your tenant ID. | Cimento never sends mail as your employees, searches their mail or changes their settings. [Mailbox permissions](/phishing/mailbox-permissions#microsoft-365) explains each call Cimento makes and why the access policy is needed. ## Revoke access * **Remove the application.** In the Microsoft Entra admin center, open **Enterprise applications**, select **Cimento M365 DMI**, then **Properties** and **Delete**. * **Don't rely on removing the access policy.** Without it, Microsoft lets the application reach every mailbox again. * **Disconnecting in Cimento** stops deliveries, but doesn't remove the consent or the policy from your tenant. # Connect Microsoft Entra ID Source: https://docs.cimento.ai/integrations/microsoft-entra-id Import employees and groups from Microsoft Entra ID over SCIM and set up single sign-on, step by step, with an enterprise application you create in Entra. Entra sends Cimento the people and groups you assign to a Cimento enterprise application and keeps them up to date over SCIM. The same application sets up SAML single sign-on, so assigned employees can sign in to Cimento through Entra. ## Before you start * An Entra Application Administrator, Cloud Application Administrator or Global Administrator, to create the application and set up provisioning and single sign-on. * A Cimento user with the Admin role, to reveal the secret token in step 4. Integrations admins can do every other step. * An email address on everyone you'll assign. Cimento matches people by email, so each person needs the **Email** field set on their Entra account. * Microsoft Entra ID P1 or P2 if you want to assign groups. With Microsoft Entra ID Free, you assign people one at a time. * Your organization's email domains registered with Cimento. Single sign-on only covers those domains, so ask your Cimento contact to add any that are missing. > [!NOTE] > > Your organization connects one directory, and switching to another later needs Cimento support. As soon as you click **Begin Setup**, employees come from Entra: you can no longer add or upload employees in Cimento, or edit their names, email addresses, status or departments. ## Steps **1. Start setup in Cimento** Go to **Admin → Integrations → Employee data**. Under **Directory provider**, choose Microsoft Entra ID and click **Begin Setup**. The setup guide opens at **Before you start**. Read it, then click **Next**. **2. Create the application** Click **Open the Microsoft Entra admin center**. Go to **Entra ID › Enterprise apps** (**Enterprise applications** in the Azure portal) and click **New application**, then **Create your own application**. Name it Cimento, choose **Integrate any other application you don't find in the gallery (Non-gallery)** and click **Create**. The application's **Overview** page opens after a few seconds. Back in Cimento, click **Next**. ![The Enterprise applications page in Microsoft Entra, with the New application button highlighted](https://mintcdn.com/cimento/kKBfkqUDeQkrYoIW/images/integrations/microsoft-entra-id/new-application.png?fit=max\&auto=format\&n=kKBfkqUDeQkrYoIW\&q=85\&s=3d1a16ae4a93a02899054ec58921f0a4) Enterprise applications › New application ![The Create your own application panel, with the name field empty and the Non-gallery option selected](https://mintcdn.com/cimento/kKBfkqUDeQkrYoIW/images/integrations/microsoft-entra-id/create-your-own-application.png?fit=max\&auto=format\&n=kKBfkqUDeQkrYoIW\&q=85\&s=031f8129b5b5701d91deba20e75e3b30) Name the application, choose Non-gallery and click Create **3. Assign people** In the Cimento application, open **Users and groups** and click **Add user/group**. Choose the people and groups who should use Cimento, then click **Select** and **Assign**. Assign yourself too, so you can sign in to Cimento through Entra. Entra only sends direct members of a group you assign, not members of groups nested inside it. Back in Cimento, click **Next**. ![The Users and groups page of the application, with the Add user/group button highlighted](https://mintcdn.com/cimento/kKBfkqUDeQkrYoIW/images/integrations/microsoft-entra-id/add-user-group.png?fit=max\&auto=format\&n=kKBfkqUDeQkrYoIW\&q=85\&s=74d358ad8c90d10d9b3955bc314bc183) Users and groups › Add user/group ![The Add Assignment page with the Users panel open and one user checked](https://mintcdn.com/cimento/kKBfkqUDeQkrYoIW/images/integrations/microsoft-entra-id/select-users.png?fit=max\&auto=format\&n=kKBfkqUDeQkrYoIW\&q=85\&s=7b2a6a06f57ddb76fe83d281a9080c56) Pick the people to assign, then click Select and Assign **4. Connect provisioning** In the Cimento application, open **Provisioning** and click **Connect your application**. If you see **Get started** instead, click it and set **Provisioning Mode** to **Automatic**. Keep **Bearer authentication**. From Cimento's **Provisioning** step, copy the **Tenant URL** into Entra, then click **Copy** next to **Secret Token** and paste it into Entra's **Secret token** field. Click **Test connection**, and when it succeeds, click **Create** or **Save**. You don't need to change the attribute mappings. ![The application's Overview page, with Provisioning highlighted in the left menu](https://mintcdn.com/cimento/kKBfkqUDeQkrYoIW/images/integrations/microsoft-entra-id/open-provisioning.png?fit=max\&auto=format\&n=kKBfkqUDeQkrYoIW\&q=85\&s=7cd357a75d39e5e330bebfc2fd8a4fb7) Open Provisioning from the application's menu ![The Provisioning page with Provisioning Mode set to Automatic and the Admin Credentials section expanded, showing Bearer Authentication, the Tenant URL, a masked Secret Token and the Test Connection button](https://mintcdn.com/cimento/kKBfkqUDeQkrYoIW/images/integrations/microsoft-entra-id/provisioning-credentials.png?fit=max\&auto=format\&n=kKBfkqUDeQkrYoIW\&q=85\&s=e7b93d730411186c7ab94e5ab86c60ba) Bearer authentication, the Tenant URL and the Secret Token, shown in the older Provisioning layout **5. Start provisioning** On the provisioning **Overview**, click **Start provisioning**. In the older layout, set **Provisioning Status** to **On** and click **Save**. Keep the scope at **Sync only assigned users and groups**. Entra syncs about every 40 minutes. To check it right away, use **Provision on demand** with your own account. Back in Cimento, click **Next**. **6. Set up single sign-on** In the Cimento application, open **Single sign-on** and choose **SAML**. Click **Edit** in **Basic SAML Configuration**. Click **Add identifier** and paste the **Identifier (Entity ID)** from Cimento's **Single sign-on** step. Click **Add reply URL** and paste the **Reply URL** from the same Cimento step. It ends in `/auth/v1/sso/saml/acs`. Leave the **Index** box next to it empty: Cimento has a single reply URL, so Entra doesn't need an index to choose between them. Leave **Default** as it is. Leave **Sign on URL**, **Relay State** and **Logout Url** empty, and click **Save**. ![The Select a single sign-on method page, with the SAML option highlighted](https://mintcdn.com/cimento/kKBfkqUDeQkrYoIW/images/integrations/microsoft-entra-id/choose-saml.png?fit=max\&auto=format\&n=kKBfkqUDeQkrYoIW\&q=85\&s=54f270d08d74b5fce10d0c9eaddce5bd) Single sign-on › SAML ![The Basic SAML Configuration panel, with Add identifier and Add reply URL links and empty optional fields](https://mintcdn.com/cimento/kKBfkqUDeQkrYoIW/images/integrations/microsoft-entra-id/basic-saml-configuration.png?fit=max\&auto=format\&n=kKBfkqUDeQkrYoIW\&q=85\&s=3237082874e589780e214406054797eb) Add the Identifier and the Reply URL; leave the optional fields empty **7. Send email addresses as the user identifier** In **Attributes & Claims**, click **Edit**, then the **Unique User Identifier (Name ID)** claim. Set **Name identifier format** to **Email address**, **Source** to **Attribute** and **Source attribute** to `user.mail`, and click **Save**. Back in Cimento, click **Next**. ![The Attributes & Claims page, listing the required Unique User Identifier (Name ID) claim with the value user.userprincipalname](https://mintcdn.com/cimento/kKBfkqUDeQkrYoIW/images/integrations/microsoft-entra-id/attributes-and-claims.png?fit=max\&auto=format\&n=kKBfkqUDeQkrYoIW\&q=85\&s=79f918604432380b730c1930061d1cca) Click the Unique User Identifier (Name ID) claim ![The Manage claim page, with Name identifier format set to Email address, Source set to Attribute and Source attribute set to user.mail](https://mintcdn.com/cimento/kKBfkqUDeQkrYoIW/images/integrations/microsoft-entra-id/manage-claim-user-mail.png?fit=max\&auto=format\&n=kKBfkqUDeQkrYoIW\&q=85\&s=c0b133f193fafb7b5b48ad3cd7d70332) Email address format, Attribute source, user.mail **8. Turn on single sign-on** > [!NOTE] > > Single sign-on adds a way to sign in; it doesn't replace email sign-in links. Everyone can still sign in with a link sent to their work email. Signing in through Entra works only for people assigned to the Cimento application who are already in Cimento, so finish steps 3 to 5 first. On Entra's **Single sign-on** page, copy the **App Federation Metadata Url** from **SAML Certificates**. Paste it into Cimento's **Metadata URL** step and click **Save configuration**. When Cimento shows **SSO configured**, people with an address in your domains can click **Sign in with SSO** on Cimento's sign-in page to sign in through Entra, or **Email me a sign-in link** instead. ![The SAML Certificates section, with the copy button next to App Federation Metadata Url highlighted](https://mintcdn.com/cimento/kKBfkqUDeQkrYoIW/images/integrations/microsoft-entra-id/app-federation-metadata-url.png?fit=max\&auto=format\&n=kKBfkqUDeQkrYoIW\&q=85\&s=6a5ee750d187c40d23238e5720aa4ec1) Copy the App Federation Metadata Url from SAML Certificates **9. Verify** In Cimento's **Verify** step, click **Test connection**. It checks that single sign-on is connected to your Entra tenant and activates the integration. Then try it yourself: open [My Apps](https://myapps.microsoft.com) and select Cimento, or enter your work email on Cimento's sign-in page and click **Sign in with SSO**. Entra's **Test connection** in step 4 is the check for provisioning, and Entra's **Provisioning logs** show each person it sent. ## If something goes wrong | Cimento shows | What to do | | - | - | | That isn't the App Federation Metadata Url | Copy the **App Federation Metadata Url** from **SAML Certificates** on the Cimento application's **Single sign-on** page. It starts with `https://login.microsoftonline.com/` and ends with `?appid=` and the application's ID. | | Microsoft didn't return a SAML signing certificate for that app | Check that you copied the URL from the Cimento application and that its **SAML Certificates** section has an active certificate, then save the URL again. | | The Cimento app's SAML signing certificate has expired | In **SAML Certificates**, create a new certificate and make it active, then save the URL again. | | The Cimento app's SAML signing certificate isn't valid yet | In **SAML Certificates**, make a certificate that's valid today active, or wait until the new one starts, then save the URL again. | | We couldn't read that metadata from Microsoft | Check the URL, wait a minute, then save it again. | | Single sign-on could not be set up from that URL | Copy the **App Federation Metadata Url** again from **SAML Certificates** and save it. If the message comes back, contact Cimento support. | | Your organization has no email domains set up yet | Ask your Cimento contact to add your email domains, then save the metadata URL again. | | Your organization's domains or this identity provider are already connected to single sign-on in a way Cimento can't change automatically | Contact Cimento support to move the connection. | | Single sign-on is not connected for your organization yet | Go back to the **Metadata URL** step and save it again. | | Single sign-on for your organization's domains is connected to a different identity provider or Microsoft Entra tenant | Contact Cimento support to switch it. | | You don't have permission to view this value | Ask a Cimento user with the Admin role to copy the secret token for you. | If single sign-on is already working and you replace the Cimento application's SAML signing certificate in Entra, contact Cimento support so Cimento starts using the new certificate. Saving the same **App Federation Metadata Url** again doesn't pick it up. ## What Entra sends Cimento uses each employee's primary email, name, title, department, manager and phone numbers, and mirrors the groups you assign. See [What Okta and Microsoft Entra ID send](/getting-started/employee-directory#what-okta-and-microsoft-entra-id-send) for how each attribute maps and what happens when someone leaves. ## Stop provisioning The secret token lets Entra create, update and deactivate employees in Cimento, so store it like a password. To stop Entra from updating Cimento, click **Stop provisioning** on the provisioning **Overview** (in the older layout, set **Provisioning Status** to **Off**), or delete the enterprise application. # Connect Okta Source: https://docs.cimento.ai/integrations/okta Import employees and groups from Okta over SCIM and set up single sign-on, step by step, using the Cimento AI app from the Okta Integration Network. Okta sends Cimento the people and groups you assign to the Cimento AI app and keeps them up to date over SCIM. The same app sets up SAML single sign-on, so assigned employees sign in to Cimento through Okta. ## Before you start * An Okta Super Administrator or Application Administrator, to add the app and configure provisioning. * A Cimento user with the Admin role, to reveal the API token in step 4. Integrations admins can do every other step. * Your organization's email domains registered with Cimento. Single sign-on only covers those domains, so ask your Cimento contact to add any that are missing. > [!NOTE] > > Your organization connects one directory, and switching to another later needs Cimento support. As soon as you click **Begin Setup**, employees come from Okta: you can no longer add or upload employees in Cimento, or edit their names, email addresses, status or departments. ## Steps **1. Start setup in Cimento** Go to **Admin → Integrations → Employee data**. Under **Directory provider**, choose Okta and click **Begin Setup**. The setup guide opens at **Add Application**. **2. Add the Cimento AI app in Okta** Click **Open Okta Integration Network** to open the Cimento AI app. Signed in as an Okta admin, click **Add Integration** and follow the prompts. On the app's **Assignments** tab, assign the people and groups who should be in Cimento. Back in Cimento, click **Next**. **3. Connect single sign-on** In the Okta Admin Console, open **Applications**, select **Cimento AI** and open the **Sign On** tab. Copy the **Metadata URL** from the SAML section. Paste it into the **Metadata URL** step in Cimento and click **Save configuration**. When Cimento shows **SSO configured**, people with an address in your domains can enter their work email on Cimento's sign-in page and click **Sign in with SSO** to sign in through Okta, or **Email me a sign-in link** instead. **4. Turn on provisioning** In Okta, open the app's **Provisioning** tab, click **Configure API Integration** and check **Enable API integration**. In Cimento's **Provisioning** step, click **Copy** next to **API Token** and paste it into Okta's **API Token** field. If Okta also shows a **Base URL** field, copy that value from Cimento as well. Click **Test API Credentials**, then **Save**. **5. Choose what Okta sends** Under **Provisioning › To App**, click **Edit**, enable **Create Users**, **Update User Attributes** and **Deactivate Users**, and save. To send groups, open the **Push Groups** tab and push the groups you want in Cimento. Assigning a group only provisions its members; pushing it creates the group in Cimento. **6. Verify** In Cimento's **Verify** step, click **Test connection**. It checks that single sign-on is live and activates the integration. Okta's **Test API Credentials** in step 4 is the check for provisioning. ## If something goes wrong | Cimento shows | What to do | | - | - | | Single sign-on could not be set up from that URL | Check that you copied the **Metadata URL** from the **Sign On** tab, then save it again. | | Your organization has no email domains set up yet | Ask your Cimento contact to add your email domains, then save the metadata URL again. | | Your organization's domains or this identity provider are already connected to single sign-on in a way Cimento can't change automatically | Contact Cimento support to move the connection. | | Single sign-on is not connected for your organization yet | Go back to the **Metadata URL** step and save it again. | | You don't have permission to view this value | Ask a Cimento user with the Admin role to copy the API token for you. | ## What Okta sends Cimento uses each employee's primary email, name, title, department, manager and phone numbers, and mirrors the groups you push. See [What Okta and Microsoft Entra ID send](/getting-started/employee-directory#what-okta-and-microsoft-entra-id-send) for how each attribute maps and what happens when someone leaves. ## Stop provisioning The API token lets Okta create, update and deactivate employees in Cimento, so store it like a password. To stop Okta from updating Cimento, uncheck **Enable API integration** on the app's **Provisioning** tab, or remove the Cimento AI app from Okta. # Phish Alert Button for Outlook Source: https://docs.cimento.ai/integrations/outlook-phish-alert-button Deploy Cimento's report button to Outlook so employees can send suspicious email to your security team in one click. The Phish Alert Button adds a **Report as Phishing** button to Outlook. When an employee reports a real email, Cimento forwards it to your reporting inbox. When they report a Cimento simulation, they're told it was a test and the report counts toward their results. ## Before you start * **A reporting inbox.** Choose a mailbox your security team monitors, such as a shared mailbox, and send its address to your Cimento contact, who sets it for your organization. Reports fail until it's set. * **An admin to deploy the add-in.** A Global Administrator, or an Exchange Administrator who also has the Application Administrator role, in the Microsoft 365 admin center. * **Your email domains registered with Cimento.** The button finds your organization from each employee's email domain. * **Supported versions of Outlook.** The button works in Outlook on the web, the new Outlook for Windows and Mac, and classic Outlook for Windows version 2409 or later. It isn't available in Outlook mobile. ## Steps **1. Confirm your reporting inbox** Check with your Cimento contact that your reporting inbox is set before you deploy the button. **2. Open Integrated apps** Sign in to the [Microsoft 365 admin center](https://admin.microsoft.com) and go to **Settings › Integrated apps**. Click **Add-ins** near the top of the page, then **Deploy Add-in**, and **Next**. **3. Find the add-in** Choose the option to add an add-in from Microsoft Marketplace, which the wizard may call the **Office Store**. Search for **Cimento AI**, select the Phish Alert Button, and accept the terms. Your Cimento contact can also send you a direct link to the listing. **4. Choose who gets it** Select **Everyone**, or **Specific users/groups** to start with a pilot group. Microsoft deploys only to top-level groups: members of nested groups don't get the button. **5. Review permissions and deploy** Review the permissions the add-in requests (listed below), accept them for your organization, and click **Deploy**. If an employee later sees **Admin Approval Required** in the button, they can copy the approval link to you. Open it as an admin and accept. **6. Wait for it to appear** The button can take 24 to 72 hours to appear in Outlook, and employees may need to restart Outlook to see it. **7. Test it** As a pilot user, open an email and click **Report as Phishing**, then **Report**. Check that the report arrives in your reporting inbox. Try it on a Cimento simulation too: the button should say it was a simulation. ## What happens when an employee reports * **A Cimento simulation.** The button shows **This was a Phishing Simulation**, nothing is forwarded, and the report counts toward the employee's results. * **Any other email.** Cimento sends a report from the employee's mailbox to your reporting inbox. It has the original subject, a short summary, the original message attached as `message.eml`, and a screenshot. A copy stays in the employee's **Sent Items**. When the employee clicks **OK**, the reported message moves to **Deleted Items**. ## Permissions The button has its own Microsoft Entra application, separate from [Microsoft 365 Direct Inject](/integrations/microsoft-365). Its Microsoft Graph permissions are all delegated: it acts only in the mailbox of the employee who clicks the button, and only when they click it. | Permission | What Cimento uses it for | | - | - | | `Mail.ReadWrite` | Reads the reported message so it can be forwarded, and moves it to **Deleted Items** when the employee confirms. | | `Mail.Send` | Sends the report from the employee's mailbox to your reporting inbox. | | `User.Read`, `openid`, `profile`, `email` | Signs the employee in, so Cimento knows whose mailbox and organization the report comes from. | In Outlook, the add-in also requests the **read/write mailbox** permission. Outlook requires that level for the call the add-in uses to identify the selected message. ## Remove the button In the Microsoft 365 admin center, open **Settings › Integrated apps**, select the add-in and remove it. Only the admin who deployed it, or a Global Administrator, can remove it. # Integrations Source: https://docs.cimento.ai/integrations/overview Every tool Cimento connects to, what it's used for, who you need to set it up, and a step-by-step guide for each. Cimento connects to the identity, email and messaging tools your organization already uses. Each guide below covers one tool from start to finish, in the same order as the setup wizard in Cimento, so you can follow along or send the page to whoever owns that tool. ## Guides > [card] [Okta](/integrations/okta) > > Import employees and groups over SCIM, and set up single sign-on. > [card] [Microsoft Entra ID](/integrations/microsoft-entra-id) > > Import employees and groups over SCIM, and set up single sign-on. > [card] [Google Workspace](/integrations/google-workspace) > > Import your directory, and place phishing simulations in Gmail inboxes. > [card] [Microsoft 365](/integrations/microsoft-365) > > Place phishing simulations in Outlook inboxes. > [card] [Phish Alert Button for Outlook](/integrations/outlook-phish-alert-button) > > Let employees report suspicious email from Outlook in one click. > [card] [Slack](/integrations/slack) > > Send training and remediation notifications as Slack direct messages. Your organization connects one employee directory: Okta, Microsoft Entra ID or Google Workspace. For phishing email, connect the platform your employees' mailboxes are on. ## Who you will need | Tool | What Cimento uses it for | Admin you need | Where you connect it | | - | - | - | - | | Okta | Employee directory and single sign-on | Okta Super Administrator or Application Administrator | **Admin → Integrations → Employee data** | | Microsoft Entra ID | Employee directory and single sign-on | Entra Application Administrator, Cloud Application Administrator or Global Administrator | **Admin → Integrations → Employee data** | | Google Workspace | Employee directory, and phishing email delivery | Google Workspace Super Admin | **Employee data** for the directory, **Phishing** for email delivery | | Microsoft 365 | Phishing email delivery | Global Administrator or Privileged Role Administrator, plus an Exchange administrator | **Admin → Integrations → Phishing** | | Phish Alert Button for Outlook | Reporting suspicious email | Global Administrator, or Exchange Administrator who also has the Application Administrator role | Microsoft 365 admin center, with your Cimento contact | | Slack | Notifications as direct messages | Slack workspace owner or admin, or a member allowed to install apps | **Admin → Integrations → Messaging & SMS** | > [!NOTE] > > If a card you expect is missing in Cimento, ask your Cimento contact to enable it. # Connect Slack Source: https://docs.cimento.ai/integrations/slack Send Cimento's training and remediation notifications as Slack direct messages, step by step, with every Slack permission explained. With Slack connected, Cimento can send notifications to employees as direct messages from the Cimento app: training assignments and reminders, remediation training after a failed simulation, and custom messages. You choose Slack for each notification; email stays available. ## Before you start * A Slack workspace owner or admin, or a member allowed to install apps in your workspace. * A Cimento admin who can connect integrations. * Matching email addresses. Cimento finds each employee in Slack by the email address they have in Cimento, so the two must match. ## Steps **1. Start in Cimento** Go to **Admin → Integrations → Messaging & SMS**, select Slack, and click **Connect**. **2. Allow Cimento in Slack** Slack asks you to allow Cimento to access your workspace. Check the workspace name in the top-right corner, review the permissions listed below, and click **Allow**. **3. Confirm the connection** Cimento shows **Integration connected** and returns you to **Messaging & SMS**, where Slack now shows as **Active**. **4. Choose Slack for notifications** When you set up notifications for a training campaign, choose **Slack** as the platform. You can also use Slack for remediation training notifications and for custom notifications under **Admin → Notifications**. ## Permissions | Slack scope | What Cimento uses it for | | - | - | | `chat:write` | Sends messages as the Cimento app. | | `im:write` | Opens a direct message with an employee. | | `users:read`, `users:read.email` | Finds each employee's Slack account from their email address. | | `channels:read`, `groups:read`, `chat:write.public` | Lists channels and posts to one you choose. Channel posting isn't available yet: today Cimento only sends direct messages. | ## Things to know * **One workspace.** Cimento connects to one Slack workspace. Connecting a different one replaces it. * **No match, no message.** If Cimento can't find an employee in Slack by email, that notification isn't delivered, and Cimento doesn't fall back to email for it. * **Removed from Slack.** If someone removes the Cimento app from your workspace, Cimento marks Slack as disconnected until you connect it again. ## Disconnect * **In Cimento.** Open **Messaging & SMS**, select Slack, click **Disconnect** and type **Disconnect** to confirm. Slack notifications stop, but the app stays installed in your workspace. * **In Slack.** To remove the app too, open **Tools & settings › Manage apps** in your workspace, select Cimento, and remove it. # AutoPhish Source: https://docs.cimento.ai/phishing/autophish Turn on an always-on email phishing program that writes a simulation for each employee and sends it on a schedule you set. AutoPhish runs email phishing simulations for you. You choose how often each person is tested, how hard the emails are and which topics are off limits. Cimento then writes a different email for each employee, schedules the sends and shows anyone who clicks what gave the email away. There are no campaigns or templates to build. AutoPhish is under **Admin → Phishing → AutoPhish**. If you don't see it, ask your Cimento contact to turn it on for your organization. ## Before you begin * **Direct email delivery.** AutoPhish places simulations directly in inboxes, so you need a connected and verified [Google Workspace](/integrations/google-workspace#deliver-phishing-simulations) or [Microsoft 365](/integrations/microsoft-365) integration. **Turn it on** stays disabled until one is ready, and the page links to **Set up mailbox injection**. * **Your employee directory.** AutoPhish tests everyone synced from your [directory](/getting-started/employee-directory) unless you exclude them. * **A report button (recommended).** Reports made with the [Phish Alert Button](/integrations/outlook-phish-alert-button) count as **Reported** in AutoPhish results. ## How a round works 1. Each period (for example, every two weeks) AutoPhish opens a round for the people due a test. 2. It writes one email per person. Emails are based on the person's role and department, your company details and the vendors your team hears from. Some come from a familiar vendor, some look like a note from a colleague. 3. The round opens two business days before its first send. In that time you can preview every email, flag anything that isn't a fit, remove a person or skip the round. See [Review and results](/phishing/autophish-results). 4. Sends are spread across the period, so colleagues don't receive their emails at the same moment. 5. Anyone who clicks gets [short training](/phishing/autophish-results#training-after-a-click) that walks through the red flags in the email they clicked. Anyone who reports the email is counted as reported. **New joiners** get their first test seven days after they join, instead of waiting for the next round. These rounds are marked **New joiners** on the **Schedule** view. After that, new joiners are tested on the normal schedule. ## Set up AutoPhish ![The AutoPhish setup page with frequency, review reminder, difficulty, sensitive topics and never use sections, and a Turn it on button](https://mintcdn.com/cimento/VBWO0A85T6balAnV/images/phishing/autophish/setup.png?fit=max\&auto=format\&n=VBWO0A85T6balAnV\&q=85\&s=50b0161282e3c2d4b79d488358881b8b) Admin › Phishing › AutoPhish › Turn it on **1. Add company details** Click **Add company details**. These details are optional but help AutoPhish write emails that fit your company. They are used only to write your simulations and are never shared. First, pick your industry, or click **Add your industry** to type your own. ![The Tell us about your organization step, with industry options such as Technology / SaaS and Financial services](https://mintcdn.com/cimento/VBWO0A85T6balAnV/images/phishing/autophish/company-industry.png?fit=max\&auto=format\&n=VBWO0A85T6balAnV\&q=85\&s=5214338d7313bd186ca750c2d614f67c) Add company details › pick your industry › Continue Then pick the vendors your team gets email from. AutoPhish only imitates the vendors you pick. Click **Add a sender** for any that aren't listed, then click **Save**. ![The Who emails your team from the outside step, with vendors such as Microsoft, Google, Slack and DocuSign selected](https://mintcdn.com/cimento/VBWO0A85T6balAnV/images/phishing/autophish/company-senders.png?fit=max\&auto=format\&n=VBWO0A85T6balAnV\&q=85\&s=00d2b439e2755e272222d14d3445c1a3) Pick the vendors your team hears from, then click Save **2. Choose how often each person is tested** **Weekly**, **Every 2 weeks**, **Monthly** or **Quarterly**. The default is every two weeks. **3. Choose review reminders** Turn on **Remind admins to review each round before it sends** to get a reminder when a round is ready to review. Reminders go by **Email**, **Slack** or both. Slack needs the [Slack integration](/integrations/slack). **4. Set the difficulty** | Level | What employees get | | - | - | | **Basic** | Emails with clear red flags, such as look-alike sender addresses and obvious urgency. | | **Moderate** | Everyday, realistic emails. This is the default. | | **Advanced** | Shorter, quieter emails that look like they come from trusted senders. | **5. Set sensitive topics** Move the **Sensitive topics** slider between **Avoid** and **Use**. Further toward **Use**, AutoPhish may write about higher-stakes subjects, such as legal or HR matters. The page suggests checking with HR before going above the middle of the scale. **Never use** lists topics AutoPhish will steer clear of. It fills in from the slider. Click **+ Add** to add a topic, or the **×** on a topic to remove it. Your changes stay when you move the slider. Click **Reset** to go back to the suggested list. **6. Turn it on** Click **Turn it on**. AutoPhish writes the first round shortly afterwards, and no email goes out sooner than two business days later. If other phishing campaigns are still sending, AutoPhish offers to cancel them so employees don't get simulations from both. Cancelling stops only what hasn't been sent yet, and results so far are kept. You can also keep them running. ## Change settings Click the gear icon on the AutoPhish page to open **Program settings**. You can change review reminders, difficulty, sensitive topics, **Never use** and your company profile. Changes apply to rounds that haven't been written yet. ![The Program settings dialog with review reminders, difficulty, sensitive topics, never use and company profile](https://mintcdn.com/cimento/VBWO0A85T6balAnV/images/phishing/autophish/settings.png?fit=max\&auto=format\&n=VBWO0A85T6balAnV\&q=85\&s=80bfc1447b80693d93117b661a4bb622) Gear icon › Program settings To change how often people are tested, use the frequency menu next to **Running** on the **Results** view. ## Choose who is tested AutoPhish tests the whole company by default. Click **Recipients** to exclude whole teams with **Exclude all**, or search by name or email to exclude one person. Excluded people get no new simulations, and their past results are kept. ![The Manage recipients dialog listing teams with Exclude all and Include all buttons, and a search box for excluded people](https://mintcdn.com/cimento/VBWO0A85T6balAnV/images/phishing/autophish/recipients.png?fit=max\&auto=format\&n=VBWO0A85T6balAnV\&q=85\&s=9ab012f132e637c3192f238befbc8bee) Recipients › Exclude all on a team, or search for one person ## Pause AutoPhish Click **Pause**. Everything already scheduled is cancelled and nothing goes out until you click **Resume**. Past results stay on the page. # AutoPhish review and results Source: https://docs.cimento.ai/phishing/autophish-results Preview and flag AutoPhish rounds before they send, read results by team and person, and see the training employees get after a click. The AutoPhish page has two views: **Schedule** for rounds that are about to send, and **Results** for what happened. Switch between them at the top right. ## Review upcoming rounds **Schedule** lists the next round, then the rounds already sent. A round opens two business days before its first send, which is your window to review it. ![The Schedule view with tiles for scheduled, next send, flagged and reported, an upcoming round on Nov 9 and a list of recently sent rounds](https://mintcdn.com/cimento/VBWO0A85T6balAnV/images/phishing/autophish/schedule.png?fit=max\&auto=format\&n=VBWO0A85T6balAnV\&q=85\&s=1d47a83feb5f6a5e666b3b82fce0e859) Schedule › flag or skip the next round Click a round to open it. Emails are grouped by department. Search by name, email, department or subject, then click a person to see the exact email they will get. ![An open round grouped by department, with the Finance department expanded to show each person's subject line, sender and send date](https://mintcdn.com/cimento/VBWO0A85T6balAnV/images/phishing/autophish/round-preview.png?fit=max\&auto=format\&n=VBWO0A85T6balAnV\&q=85\&s=a90a13767d7a7d58e484cd9f6c12a179) Open a round, pick a department, then a person to see their email From a round you can: * **Flag it.** Click the thumbs-down icon and say why it isn't a fit, for example "we don't use this vendor" or "too aggressive for our finance team". Future rounds read your feedback and steer away from it. You can also flag a single person's email. * **Stop one email.** Open the person's email and choose not to send it. Their email is cancelled. * **Skip the round.** Click the trash icon. None of the round's emails are sent. You can skip a round until all of its emails have gone out. Cancelling an email and skipping a round can't be undone. Rounds marked **New joiners** test people seven days after they join. Review them the same way. A round's **Not sent** section lists anyone who won't get an email, with the reason. AutoPhish checks every email before it's scheduled and drops ones it can't get right. People who miss a round are picked first in the next one. ## Read results **Results** shows how the company is doing over the period you pick: **7 days**, **30 days**, **90 days**, **12 months** or **Custom**. Click **Export** to download the results as CSV. ![The Results view with failure rate, reported to security, delivered and reach tiles above a 12-month failure and reported rate chart](https://mintcdn.com/cimento/VBWO0A85T6balAnV/images/phishing/autophish/results.png?fit=max\&auto=format\&n=VBWO0A85T6balAnV\&q=85\&s=bce72b4c94701f8effb177129ff18a77) Results › pick a period, or Export | Section | What it shows | | - | - | | **Failure rate** | The share of delivered emails where the person clicked the link. | | **Reported to security** | The share of delivered emails the person reported. | | **Delivered** and **Reach** | How many emails arrived, and how many employees are in scope. | | **Failure & reported rate** | Both rates over the last 12 months, with your chosen period shaded. | | **Outcome mix** | Delivered emails split into reported, no action and clicked. | | **Failure rate by team** | Each team's failure rate against the company. Teams to keep an eye on are marked **Watch**. Click a team to filter the activity list. | | **Learning curve** | Failure rate by how many simulations a person has received. A falling curve means people improve with practice. | | **Delivery** | Emails delivered, emails that never arrived, and the last send. | | **Recent activity** | Clicks, reports and other events as they happen. | The status next to **Running** reads **Improving**, **Steady** or **Needs review**, based on the trend. Click an event in **Recent activity** to see the email that person received, with the link they clicked highlighted, and their record across the program. ![A person's result panel showing the email they received with the clicked link highlighted, and a track record of 19 of 26 simulations handled safely](https://mintcdn.com/cimento/VBWO0A85T6balAnV/images/phishing/autophish/person.png?fit=max\&auto=format\&n=VBWO0A85T6balAnV\&q=85\&s=ccab15f8edc37fc21f041da9ae3f378e) Recent activity › click an event ## What employees see The email arrives in the employee's inbox like any other message. If they report it with the [Phish Alert Button](/integrations/outlook-phish-alert-button), it counts as **Reported**. ## Training after a click Anyone who clicks the link goes straight to a short training page. There is nothing to sign in to and nothing to set up. The page works on desktop and phone. **1. They see it was a practice email** The page says it was a practice phishing email and shows the exact email they clicked, blurred. The first red flag is lifted out with a short explanation. ![A page titled That was a practice phishing email, with the sender address highlighted and a card explaining it is a spoofed sender](https://mintcdn.com/cimento/VBWO0A85T6balAnV/images/phishing/autophish/training-first-flag.png?fit=max\&auto=format\&n=VBWO0A85T6balAnV\&q=85\&s=a900bda10ef1a2d72c9c0c111de5b6d6) The first red flag; Next moves to the next one **2. They step through each red flag** **Next** moves to the next red flag, such as fabricated urgency, a link that goes somewhere other than it says, or an unexpected brand. The red flags are written for each email, so they point at real text in the message. ![The training page with four red flags called out: spoofed sender, fabricated urgency, hidden destination and unexpected brand](https://mintcdn.com/cimento/VBWO0A85T6balAnV/images/phishing/autophish/training-all-flags.png?fit=max\&auto=format\&n=VBWO0A85T6balAnV\&q=85\&s=9ac71aa26e9876377327413b007aa20c) After the last red flag, click What to do next **3. They read what to do next time** **What to do next time** shows the full email and three habits: read the sender's address, check unusual or urgent requests another way, and use the report button. ![The full email next to a card listing three things to do next time, with a Got it button](https://mintcdn.com/cimento/VBWO0A85T6balAnV/images/phishing/autophish/training-next-time.png?fit=max\&auto=format\&n=VBWO0A85T6balAnV\&q=85\&s=5fd2124a08568afc22e1eb9c20eca2f9) Got it ends the training **4. They finish** **Got it** ends the training. In **Recent activity** their result shows **Went through the red flags**. ![The training page showing All done next to the full email](https://mintcdn.com/cimento/VBWO0A85T6balAnV/images/phishing/autophish/training-done.png?fit=max\&auto=format\&n=VBWO0A85T6balAnV\&q=85\&s=a3ac822b308b83d2382682387a68941a) All done # Templates and campaigns Source: https://docs.cimento.ai/phishing/campaigns Choose or build a phishing template, target an audience, schedule delivery and follow up on results. ## Templates Every campaign starts from a template: the lure itself and, for email, the landing page shown after a click and the awareness page shown once the simulation is revealed. Start from the **Template gallery**, a Cimento-maintained set of scenarios across channels, or build your own under **Admin → Phishing → Templates**. Templates are channel-specific, and each one defines which interactions count as a failure, for example clicking the link or submitting credentials. ## Create a campaign **1. Choose a channel and template** The campaign's channel must match the template's. SMS, voice and multi-channel appear once employees are enrolled for them. **2. Choose the audience** Departments, groups or individual employees from your synced directory. **3. Set the schedule** Choose a start and end. Cimento spreads delivery across the window rather than sending to everyone at once, so employees do not receive identical messages at the same moment. **4. Set the tracking window** How long after delivery an interaction is still attributed to the campaign. **5. Launch** Campaigns start as drafts and can be scheduled ahead of time. ## Monitor and follow up The campaign page shows delivery progress and, per employee, whether the message was opened, clicked, submitted, replied to or reported. Failures can automatically assign remediation training (see [Training campaigns](/training/campaigns)). ## Branding Awareness pages and notifications can carry your organization's branding, configured under **Admin → Organization → Branding**, so employees see a familiar look at the moment the simulation is revealed. # Connect email delivery Source: https://docs.cimento.ai/phishing/email-delivery Connect Google Workspace or Microsoft 365 so Cimento can place phishing simulations directly in employee inboxes. Cimento places email simulations directly in each employee's inbox through the Gmail API or Microsoft Graph. They never cross your mail gateway, so there's nothing to allowlist, and they look exactly like a real attack would. Connect the platform your employees' mailboxes are on. Your organization can have one email provider active at a time. > [card] [Google Workspace](/integrations/google-workspace#deliver-phishing-simulations) > > A Super Admin authorizes Cimento's service account with domain-wide delegation. > [card] [Microsoft 365](/integrations/microsoft-365) > > A Global Administrator grants consent, then an Exchange admin limits Cimento to your simulation targets. Both setups are one-time, and Cimento never receives or stores your administrators' credentials. For every permission they grant and exactly what Cimento does with it, see [Mailbox permissions](/phishing/mailbox-permissions). ## Let employees report phishing To give Outlook users a one-click way to report suspicious email to your security team, deploy the [Phish Alert Button for Outlook](/integrations/outlook-phish-alert-button). # Mailbox permissions for direct delivery Source: https://docs.cimento.ai/phishing/mailbox-permissions Every mailbox permission Cimento uses to place phishing simulations directly in Google Workspace and Microsoft 365 inboxes: what each one allows, what Cimento does with it, and how to narrow or revoke it. With direct delivery, also called direct mailbox injection (DMI), Cimento writes each simulation straight into the employee's mailbox through the Gmail API or Microsoft Graph instead of sending it over SMTP. The message never crosses your mail gateway, so there is nothing to allowlist, and it looks exactly like a real attack would. In Cimento these integrations are **Google Workspace Email** and **Microsoft 365 Direct Inject**, under **Admin → Integrations → Phishing**. Placing a message in someone's mailbox takes a mailbox permission that an administrator grants once. This page lists each permission, what it allows, what Cimento does with it, and how to narrow or revoke it, so you can hand it to whoever reviews third-party access. For step-by-step setup, follow the [Google Workspace](/integrations/google-workspace#deliver-phishing-simulations) or [Microsoft 365](/integrations/microsoft-365) guide. ## At a glance | | Google Workspace | Microsoft 365 | | - | - | - | | How Cimento is authorized | Domain-wide delegation to a Google Cloud service account that Cimento creates for your organization | Admin consent to Cimento's Microsoft Entra application, **Cimento M365 DMI** | | What you grant | Gmail API scopes `gmail.insert`, `gmail.readonly` and `gmail.modify` | Microsoft Graph `Mail.ReadWrite` as an application permission, plus `openid` for the consent sign-in | | Who grants it | A Super Admin | A Global Administrator or Privileged Role Administrator, then an Exchange administrator to narrow it | | Which mailboxes it reaches | Every user in your domain. Google can't limit delegation to specific users. | Every mailbox until you apply an Application Access Policy, then only the group you choose | | Credentials you create or share | None | None | ## What Cimento does in a mailbox Apart from the connection test, Cimento only works in the mailboxes of employees a campaign targets, one mailbox at a time, and only with the simulations it placed there and the threads they start. This is everything direct delivery does in a mailbox: | When | What Cimento does | | - | - | | A simulation is due | Places the simulation in the employee's Inbox, unread | | Until the simulation is opened | Checks whether that one message has been read | | After delivery, on Google Workspace | Asks Gmail to report Inbox changes, and rereads the simulation's own thread to see whether the employee replied | | The employee replies to a multi-turn simulation | Places the "attacker's" next message in the same thread | | You click **Test connection** | Confirms that access works, without reading any messages | The exact calls are listed under [Gmail API calls](#gmail-api-calls) and [Microsoft Graph calls](#microsoft-graph-calls). Every simulation Cimento places carries an `X-Cimento` header. Cimento also uses that header to recognize its own simulations when an employee reports one. ### What direct delivery never does * **Send email as your employees.** Simulations are placed in the mailbox, not sent, so they never leave the employee's account. Direct delivery makes no Gmail send or Microsoft Graph `sendMail` calls. * **Search or read other mail.** Every read targets a simulation Cimento placed or the thread it started, either by ID or by a marker Cimento stamps on its own messages. * **Change or remove messages.** Cimento doesn't edit, move, relabel or delete anything after delivery, including its own simulations. * **Change mailbox settings.** Cimento doesn't touch forwarding, filters, rules, signatures or delegates. > [!NOTE] > > Google's and Microsoft's descriptions of these permissions are broader than this list. The permission tables below say what each grant would allow; the list above is what Cimento actually does with it. Where a permission allows more than Cimento needs, the sections below explain why no narrower option exists. ## Replies in multi-turn simulations A multi-turn simulation continues the conversation when an employee replies. This is the only time Cimento reads anything an employee wrote. * Every simulation sets its Reply-To to an address whose mail Cimento receives, so a reply goes to Cimento rather than to the spoofed sender or any other third party. * **Google Workspace:** Cimento also reads the simulation's thread in the mailbox, for up to 14 days after delivery. It reads the headers, labels and text of the messages in that thread to find the one the employee sent. * **Microsoft 365:** Cimento reads the reply only from the copy sent to that Reply-To address. It doesn't read replies from the mailbox. * Cimento keeps the reply's text, cut to 4,000 characters and encrypted with your tenant's key. It uses it to record how the employee responded and to write the next message. ## Google Workspace ### How Cimento is authorized Cimento creates a Google Cloud service account for your organization in its own Google Cloud project, and the wizard shows its client ID. A Super Admin authorizes that client ID under **Security › Access and data control › API controls › Manage Domain Wide Delegation**, with the scopes below. To act on a mailbox, Cimento signs a request with the service account's key and receives a token for that one mailbox, valid for an hour. The key never leaves Cimento. It is encrypted with a key unique to your tenant and replaced every 90 days. > [!WARNING] > > Domain-wide delegation covers every user in your domain. Google has no setting to limit it to specific users, groups or organizational units: scopes limit the kind of data, not whose data. Cimento only opens the mailboxes of employees your campaigns target, plus the administrator account the connection test uses. ### If you already connected your Google directory Your [employee directory](/getting-started/employee-directory) and direct delivery use the same service account, so both wizards show the same client ID. Google keeps one list of scopes per client ID. If the client ID is already listed under **Manage Domain Wide Delegation**, point to it, click **View details**, then **Edit**, and add the Gmail scopes next to the directory scopes that are already there. Replacing the entry with only one set of scopes turns off the other integration. ### Scopes and what each is used for Each scope's full name starts with `https://www.googleapis.com/auth/`, for example `https://www.googleapis.com/auth/gmail.insert`. | Scope | What Google says it allows | What Cimento uses it for | | - | - | - | | `gmail.insert` | Adding messages to a mailbox. It can't read, send or delete. | Placing each simulation in the Inbox, and placing multi-turn follow-ups in the simulation's thread | | `gmail.readonly` | Reading all messages and settings | Checking whether a simulation was opened, asking Gmail to report Inbox changes, reading the simulation's thread to find a reply, and the connection test | | `gmail.modify` | Reading, composing, sending and relabeling messages. It can't delete permanently. | Not used by direct delivery. The Phish Alert Button for Gmail uses it through the same service account: when an employee reports a message, Cimento reads it, sends a copy to your reporting inbox from that employee's account, and moves the original to Trash. | Google matches each scope Cimento requests against this list exactly, so every scope has to be listed; a broader scope doesn't stand in for a narrower one. Reply detection needs the text of the employee's reply, which the narrower `gmail.metadata` scope can't read. That is why direct delivery uses `gmail.readonly`. ### Gmail API calls | What Cimento does | Call | | - | - | | Place a simulation | `users.messages.insert`, with the `INBOX`, `UNREAD` and `IMPORTANT` labels | | Hear about Inbox changes | `users.watch` on the `INBOX` label. Each notification carries only the mailbox address and a change number. | | Check whether a simulation was opened | `users.messages.get` by the simulation's ID. Only its labels are used. | | Look for a reply | `users.threads.get` by the simulation's thread ID | | Place a multi-turn follow-up | `users.messages.insert` into the simulation's thread, with the `INBOX` and `UNREAD` labels | | Test connection | `users.getProfile` for the administrator account on file | ### What the connection test checks **Test connection** requests a token with `gmail.readonly` only, for the administrator account on file for your organization, and reads that account's Gmail profile: its address and message counts. A pass shows that the delegation is in place and includes `gmail.readonly`. The test doesn't use `gmail.insert`, so before your first campaign, confirm under **View details** that every scope is listed. Google can take up to 24 hours to apply a delegation change. If the test fails right after you authorized Cimento, wait and try again. ### Revoke access * **To remove all of Cimento's Google access,** open **Manage Domain Wide Delegation**, point to Cimento's client ID and click **Delete**. Google says apps that depend on it stop working immediately. This also stops your directory sync if it uses the same client ID. * **To remove only direct delivery,** edit the entry and delete the Gmail scopes, keeping the directory scopes. * **Disconnecting in Cimento** stops deliveries. It doesn't change the delegation in Google, so remove that too. ## Microsoft 365 ### How Cimento is authorized Cimento runs one Microsoft Entra application, **Cimento M365 DMI**, that each customer consents to. When a Global Administrator or Privileged Role Administrator clicks **Grant admin consent** in the wizard, Microsoft adds the application to your tenant as an enterprise application and grants it the permissions below. After that, Cimento requests tokens for your tenant with the OAuth client credentials flow, so nobody signs in. Cimento never stores a Microsoft password or user token. The application's secret stays with Cimento and is replaced every 180 days. Other Cimento integrations that use Microsoft Entra have their own applications, so consenting to one never grants another's permissions. > [!WARNING] > > On Microsoft's consent screen, select **Consent on behalf of your organization** before you click **Accept**. Without it, `Mail.ReadWrite` isn't granted and the connection test fails. > > When Microsoft returns you to Cimento, it reports the integration as connected, but setup isn't finished. Go back to **Admin → Integrations → Phishing** to narrow access and test the connection. ### Permissions | Permission | Type | What Microsoft says it allows | What Cimento uses it for | | - | - | - | - | | `Mail.ReadWrite` | Application | Creating, reading, updating and deleting mail in every mailbox, with no signed-in user. It doesn't include sending. The consent screen lists it as "Read and write all user mailboxes". | Placing simulations and multi-turn follow-ups in the Inbox, checking whether a simulation was read, and the connection test | | `openid` | Delegated | Signing in | Used once, during consent: the sign-in tells Cimento your tenant ID, which it needs to request tokens for your tenant | Why `Mail.ReadWrite` and not something narrower: * It's the narrowest Microsoft Graph permission that can create a message in another user's mailbox. `Mail.Read` and `Mail.ReadBasic` can't write. * `Mail.Send` would route simulations through Exchange mail flow, where your filters treat them like any inbound email, and it would let Cimento send as any user. Cimento doesn't request it. * A delegated permission only reaches the signed-in user's own mailbox, so reaching each target takes an application permission. * Checking whether a simulation was read only needs read access, but consent is granted per application, so one permission covers both. ### Microsoft Graph calls | What Cimento does | Call | | - | - | | Place a simulation | `POST /users/{id}/mailFolders/inbox/messages` | | Check whether a simulation was opened | `GET /users/{id}/messages/{messageId}`. Only `isRead` is used. | | Place a multi-turn follow-up | `GET /users/{id}/messages`, filtered on a marker Cimento stamps on its own follow-ups so a retry never places the same message twice, then `POST /users/{id}/mailFolders/inbox/messages` | | Test connection | `GET /users/{id}/mailFolders/inbox` for the mailbox you name | ### Narrow access to your simulation targets > [!WARNING] > > Admin consent grants `Mail.ReadWrite` on every mailbox in your tenant, and Cimento treats the integration as connected as soon as consent completes. Until you apply the Application Access Policy below, Cimento can reach every mailbox. Apply it before you launch a campaign. **1. Create a mail-enabled security group** Add every employee you plan to target. Application Access Policies only accept security principals, so distribution lists and Microsoft 365 groups don't work. **2. Find Cimento's application ID** The wizard shows it as **Application (client) ID**. You can also find it in the Microsoft Entra admin center: open **Enterprise applications**, search for **Cimento M365 DMI** and copy its **Application ID**. **3. Create the policy** In PowerShell with the ExchangeOnlineManagement module, signed in as an Exchange Administrator or Global Administrator, run: ```powershell theme={null} Connect-ExchangeOnline New-ApplicationAccessPolicy -AppId -PolicyScopeGroupId -AccessRight RestrictAccess -Description "Cimento simulation targets" ``` **4. Prove the restriction** Test one mailbox inside the group and one outside it: ```powershell theme={null} Test-ApplicationAccessPolicy -Identity -AppId Test-ApplicationAccessPolicy -Identity -AppId ``` `AccessCheckResult` should read `Granted` for the first and `Denied` for the second. Only the `Denied` result proves the policy restricts Cimento. **5. Test the connection in Cimento** Name a mailbox that belongs to the group and click **Test connection**. Policy changes can take up to 30 minutes to reach Microsoft Graph, so if the test fails right after you ran the commands, wait and try again. Employees you add to the group later become reachable once the change applies. Simulations to employees outside the group fail, because Microsoft refuses the delivery. > [accordion] Why an Application Access Policy and not RBAC for Applications > > Microsoft now recommends [RBAC for Applications](https://learn.microsoft.com/en-us/exchange/permissions-exo/application-rbac) for scoping mailbox access, and advises against creating new Application Access Policies. It doesn't work for this grant. RBAC for Applications assignments are added to permissions granted through Entra admin consent rather than restricting them, and Microsoft documents Application Access Policies as the only way to constrain an Entra-consented permission. A scoped role assignment on top of Cimento's consent adds a second grant and narrows nothing. If your organization requires RBAC for Applications, talk to your Cimento contact before you connect. ### What the connection test checks **Test connection** requests a token for your tenant and reads the Inbox folder of the mailbox you named: folder details only, no messages. A pass means consent is in effect and Cimento can reach that mailbox. It can't show that other mailboxes are blocked; only `Test-ApplicationAccessPolicy` against a mailbox outside the group shows that. Cimento keeps the address so you can run the test again later. ### Revoke access * **Remove the application.** In the Microsoft Entra admin center, open **Enterprise applications**, select **Cimento M365 DMI**, then **Properties** and **Delete**. This removes its permissions from your tenant. A token Cimento already holds keeps working until it expires, within 90 minutes. * **Don't rely on removing the policy.** Removing the Application Access Policy on its own widens access: with no policy, Microsoft lets the application reach every mailbox again. Remove the application first. * **Disconnecting in Cimento** stops deliveries. It doesn't remove the consent or the policy from your tenant. ## Related permissions that aren't part of direct delivery * **Phish Alert Button for Gmail.** Uses `gmail.modify` on the same delegation, as described in the [scope table](#scopes-and-what-each-is-used-for). * **Phish Alert Button for Outlook.** The add-in uses its own Entra application with delegated permissions, and acts only in the mailbox of the employee who clicks it. It is unrelated to `Mail.ReadWrite` and the Application Access Policy above. * **Google Workspace employee directory.** Directory sync uses read-only Admin SDK scopes on the same Google service account. See [Employee directory](/getting-started/employee-directory). # Phishing simulation overview Source: https://docs.cimento.ai/phishing/overview How Cimento phishing simulations work across email, SMS and voice, and what a security admin configures to run them. Cimento phishing simulations test how employees respond to realistic social-engineering attempts and route the result into training. Simulations can arrive by email, SMS, voice call, or as a multi-channel scenario that chains them. You can run simulations two ways. [AutoPhish](/phishing/autophish) is an always-on email program: Cimento writes a different email for each employee and sends on a schedule you set. Campaigns let you pick a template, an audience and a schedule yourself. ## What you configure | Area | Where | What it does | | - | - | - | | Email delivery | Admin → Integrations → Phishing | Connects Google Workspace or Microsoft 365 so simulations are placed directly in employees' inboxes. | | Phone enrollments | Admin → Integrations → Messaging & SMS | Enrolls employee phone numbers for SMS and voice simulations. | | AutoPhish | Admin → Phishing → AutoPhish | Runs an always-on email program that writes and schedules simulations for you. | | Templates | Admin → Phishing → Templates | Your library of lures, landing pages and awareness pages, seeded from the Cimento gallery or built from scratch. | | Campaigns | Admin → Phishing → Campaigns | Targets a template at departments, groups or individuals over a schedule and tracks who opened, clicked, submitted or reported. | | Analytics | Admin → Phishing → Analytics | Results by campaign, department and employee, feeding Cimento's risk scoring. | ## Channels * **Email** is placed directly in each employee's inbox through the Gmail API for Google Workspace, or Microsoft Graph for Microsoft 365. Nothing crosses your mail gateway, and the message renders exactly as a real attack would. * **SMS** and **voice** simulations go to phone numbers you enroll. Cimento operates the sending numbers; you do not need a carrier or telephony account. * **Multi-channel** scenarios combine the above, for example an SMS that sets up a follow-up call. ## Setup at a glance **1. Connect email delivery** Follow the [Google Workspace](/integrations/google-workspace#deliver-phishing-simulations) or [Microsoft 365](/integrations/microsoft-365) guide. **2. Enroll phone numbers (optional)** Enroll employees whose phone numbers come from your directory, to enable SMS and voice channels. See [SMS and voice](/phishing/sms-and-voice). **3. Set up reporting (optional)** For Outlook, deploy the [Phish Alert Button](/integrations/outlook-phish-alert-button) so employees can report suspicious email to your security team. **4. Run a pilot campaign** Pick a gallery template, target one small group of employees, and review results before widening. See [Campaigns](/phishing/campaigns). # SMS and voice simulations Source: https://docs.cimento.ai/phishing/sms-and-voice Enroll employee phone numbers so Cimento can run SMS and voice phishing simulations. Cimento operates the phone numbers that send SMS and place voice calls, so there is no carrier account to set up. Your side of the setup is deciding which employees may receive them. ## Enroll employees Go to **Admin → Integrations → Messaging & SMS** and open **Phone enrollments**. It lists employees who have a phone number, and you opt each one in to SMS, voice, both or neither. Phone numbers come from your directory. Okta and Microsoft Entra ID can send them; Google Workspace sync doesn't import them. See [Employee directory](/getting-started/employee-directory). If your directory doesn't supply phone numbers, ask your Cimento contact. SMS becomes selectable as a campaign channel once at least one employee is enrolled. ## Voice simulations Voice (vishing) campaigns place AI-driven calls to enrolled numbers following a scripted scenario. Use the **Vishing simulator** under **Admin → Phishing** to hear a scenario before running it against employees. Multi-channel scenarios can pair a call with an SMS or email in the same campaign. ## Good practice * Enroll work numbers, and make sure your security-awareness policy tells employees that simulated messages and calls are part of the program. * Run the first SMS or voice campaign against a small pilot group. # Training campaigns Source: https://docs.cimento.ai/training/campaigns Assign courses and policies to employees with due dates, reminders and completion tracking. A training campaign assigns one or more courses or policies to an audience and tracks completion against a due date. ## Create a campaign **1. Choose content** One or more courses from the library or your own, and any policies requiring acknowledgment. **2. Choose the audience** Departments, groups or individual employees from your synced directory. **3. Set the due date and schedule** Assign immediately, schedule a start date, or set the campaign to recur so new employees are enrolled automatically. **4. Configure notifications** Employees receive an assignment notice, reminders ahead of the due date, and recurring overdue notices until they complete. Each notification goes by email, or as a Slack direct message if you've [connected Slack](/integrations/slack). Templates and cadence are configured under **Admin → Notifications**. Emails come from `no-reply@cimento.ai`, or from your own domain if you [set that up](/training/sending-domain). **5. Launch** Track per-employee status from the campaign page. ## Remediation training A phishing campaign can be configured to assign a course automatically to employees who fail a simulation, so the training follows the event that made it relevant. ## Records Every assignment, completion, quiz attempt and policy acknowledgment is recorded per employee and available under **Admin → Training → Analytics** for reporting and audits. # Training content Source: https://docs.cimento.ai/training/content Use Cimento's content library, build courses in the editor, import PDFs and slide decks, or generate lessons with AI. ## Content library The library under **Admin → Training → Content library** holds Cimento-maintained courses and lessons. Assign them directly from a campaign, or copy one into your own courses to edit it. ## Build your own A course is an ordered set of lessons. Under **Admin → Training → Courses** you can: * **Author in the editor.** Lessons are built from interactive frames: cards, flip cards, tabs, accordions, process flows, do/don't and myth/fact comparisons, spotlights and matrices, plus video, quizzes and optional voiceover. * **Import a PDF or slide deck.** Cimento converts each page or slide into a lesson frame you can then edit. * **Generate with AI.** Describe the topic and audience and Cimento drafts a course you can review and edit before publishing. Preview any lesson as an employee would see it before it goes into a campaign. ## Completion requirements Each lesson can require a minimum time spent, a passing quiz score, or an explicit acknowledgment before it counts as complete. Quiz attempts and answers are recorded per employee. # Training overview Source: https://docs.cimento.ai/training/overview How Cimento delivers security awareness courses and policy acknowledgments, and what a security admin configures to run a program. Cimento training delivers courses, lessons and policy acknowledgments to employees and records completion for compliance. Content comes from Cimento's library, from your own files, or from Cimento's AI content generation. ## What you configure | Area | Where | What it does | | - | - | - | | Content library | Admin → Training → Content library | Cimento-maintained courses and lessons you can assign as-is or copy and edit. | | Courses and lessons | Admin → Training → Courses | Your own content, built in the editor, imported from PDF or slide decks, or generated with AI. | | Policies | Admin → Training → Policies | Versioned policy documents employees must read and acknowledge. | | Campaigns | Admin → Training → Campaigns | Assigns content to an audience with due dates, reminders and completion tracking. | | Sender address | Admin → Organization → Branding | Sends training and notification emails from your own domain instead of `no-reply@cimento.ai`. See [Send training emails from your domain](/training/sending-domain). | | Analytics | Admin → Training → Analytics | Completion, scores and overdue status by course, department and employee. | ## Setup at a glance **1. Pick or build content** Assign a course from the library, or build or import your own. See [Content](/training/content). **2. Add policies (optional)** Publish acceptable-use, security or data-handling policies for acknowledgment. See [Policies](/training/policies). **3. Run a pilot campaign** Assign one course to a small audience with a due date. See [Campaigns](/training/campaigns). **4. Schedule the program** Once the pilot completes, set up recurring campaigns for onboarding and annual refreshers. ## Employee experience Employees are notified by email, or in Slack if you [connect it](/integrations/slack), and complete lessons in the browser. There is nothing to install. Completion earns a certificate, and progress is recorded per lesson so an interrupted course can be resumed. # Policy acknowledgments Source: https://docs.cimento.ai/training/policies Publish versioned policies employees must read and acknowledge, and keep an audit trail of who accepted which version. Policies are documents employees must read and explicitly acknowledge, such as an acceptable-use or data-handling policy. They are managed under **Admin → Training → Policies** and assigned through [campaigns](/training/campaigns) like any other content. ## Create a policy **1. Add the content** Write the policy as rich text, upload a PDF, or link to a URL where it is hosted. **2. Write the acknowledgment statement** The sentence the employee agrees to, for example "I have read and will comply with this policy." **3. Assign it** Add the policy to a training campaign with a due date. ## Versioning Editing a policy creates a new version. Acknowledgments are recorded against the specific version the employee saw, so a later revision never rewrites the history of what was accepted. Re-assign the new version when you need renewed acknowledgment. ## Records Who acknowledged which version, and when, is available under **Admin → Training → Analytics**. # Send training emails from your domain Source: https://docs.cimento.ai/training/sending-domain Send training and notification emails from an address on your own domain instead of Cimento's no-reply address. Training and notification emails come from `no-reply@cimento.ai` by default. You can send them from an address on your own domain instead, such as `training@yourcompany.com`, so employees see a sender they recognize. The emails carry your logo and colors from Branding Hub. The setting is **Send training and notification emails from your domain**, at the bottom of the **Sending domains** card under **Admin → Organization → Branding**. It appears once one of your domains is ready for training emails. If you don't see it, ask your Cimento contact to turn it on for your organization. ## Before you begin * **Admin access.** Only admins can add domains and change the sender. * **Your branding.** Under **Admin → Organization → Branding**, set a default logo, a default background color and a default accent color. Until all three are set, the switch stays off and lists what's missing. * **Someone who can edit DNS** for the domain you'll send from. ![The Send training and notification emails from your domain setting, switched off, listing a default logo and a default accent color as missing](https://mintcdn.com/cimento/qNxsd5xdFSS3rp03/images/training/sending-domain/branding-needed.png?fit=max\&auto=format\&n=qNxsd5xdFSS3rp03\&q=85\&s=ac85a496234eb99e87afce4dd2226242) The switch stays off until your branding is complete ## Add your domain **1. Add the domain** In the **Sending domains** card, click **Add domain**. Enter the domain, such as `yourcompany.com` or a subdomain like `training.yourcompany.com`, choose **Training notifications**, and add it. ![The Add sending domain dialog with a domain entered and Training notifications selected](https://mintcdn.com/cimento/qNxsd5xdFSS3rp03/images/training/sending-domain/add-domain.png?fit=max\&auto=format\&n=qNxsd5xdFSS3rp03\&q=85\&s=c48b4c731703e6765be4d7daa7670461) Sending domains › Add domain › Training notifications **2. Publish the DNS records** Click **DNS setup** on the domain's row. **Records to add** lists each record with its host and value. Use **Copy all**, or download the records as a **CSV** or **Zone file** for your DNS provider. | Records | What they do | | - | - | | Three DKIM `CNAME` records | Sign the emails Cimento sends from your domain. | | An `MX` record and an SPF `TXT` record on the `mail.` subdomain | Let receiving servers check that Cimento may send for your domain, and route bounces back to Cimento. | You don't need to change your domain's own MX or SPF records, so replies keep going through your normal email. A DMARC record is recommended but not required. **3. Verify the domain** Cimento checks new domains every 15 minutes. To check straight away, click **Verify**. Once the records are found, the domain shows **Verified** and **Send authentication** shows **Ready**. ## Turn it on **1. Switch it on** In the **Sending domains** card, switch on **Send training and notification emails from your domain**. **2. Set the sender** * **Sender email** starts as `training@` your domain. If more than one domain is ready, choose one from the list. * **Sender name** starts as **Security Training**. * **Reply-To email** is optional. Without it, replies go to the sender address through your own email. If nobody receives mail at that address, for example on a subdomain with no mailboxes, set a Reply-To address. ![The setting switched on, with the sender email, sender name and optional Reply-To fields, an acknowledgement checkbox and a Turn on button](https://mintcdn.com/cimento/qNxsd5xdFSS3rp03/images/training/sending-domain/turn-on.png?fit=max\&auto=format\&n=qNxsd5xdFSS3rp03\&q=85\&s=8229cc2cae2dc0aa8011fcc1e651fbcf) Set the sender, then acknowledge the change **3. Acknowledge and turn on** Select the checkbox confirming these emails will come from your address instead of `no-reply@cimento.ai`, then click **Turn on**. The setting now reads **Sending as**, followed by your sender name and address. ![The setting turned on, reading Sending as Security Training at training@example.com, with a note that 14 queued emails were updated](https://mintcdn.com/cimento/qNxsd5xdFSS3rp03/images/training/sending-domain/on.png?fit=max\&auto=format\&n=qNxsd5xdFSS3rp03\&q=85\&s=8356bf5ba351c3c0fc432499fd021ae5) The setting shows who emails come from **4. Send yourself a test** Under **Admin → Notifications**, click **Create notification**, then use **Send me a test first**. Check that the email comes from your address and carries your branding. A test needs your own employee record. To change the sender later, edit a field and click away, or choose another domain. Changes save straight away. ## What changes | Topic | What happens | | - | - | | Emails that switch | Training campaign emails (assignment notices, reminders and overdue notices), admin updates, and notifications you send from **Admin → Notifications**. | | Phishing | Nothing changes. Phishing simulations and their notices keep their own senders. | | Templates with their own sender | They keep it. In the template editor, the default sender option shows your address with **(organization default)**. | | Emails already queued | They switch too, except any being sent at that moment. After each change, the setting says how many queued emails it updated. | | Links | Links in these emails may still use Cimento's tracking domains. | | Footer | The Cimento footer stays. | | Branding Hub | While this is on, your last logo and your default colors can't be removed. Turn this off first. | ## If something breaks While the setting is on, Cimento re-checks your domain's records every 15 minutes. If a record is removed or changed, the domain fails verification. Within about 15 minutes, emails, including any already queued, go back to `no-reply@cimento.ai`, and the setting says why. ![The setting reading that example.com failed verification, so these emails send from no-reply@cimento.ai until it's fixed or you choose another domain](https://mintcdn.com/cimento/qNxsd5xdFSS3rp03/images/training/sending-domain/fallback.png?fit=max\&auto=format\&n=qNxsd5xdFSS3rp03\&q=85\&s=46d27a2d79fff4981f2befcad75be140) A failed domain falls back to Cimento's address Fix the records and click **Verify**, or choose another ready domain. Once your domain verifies again, new emails come from it again. ## Turn it off Switch the setting off. Emails, including any already queued, come from `no-reply@cimento.ai` again. To turn it back on later, you set the sender and acknowledge the change again.