Agent configuration reference
Where the ZeusLock agent reads its settings on Windows, macOS and Linux, which source wins, every key that works, the keys with no effect, and how the licence key is protected.
Where the ZeusLock agent reads its settings, which source wins, and every key that works in agent 1.0.46 and later. What is anonymised or blocked is not set on the computer: it lives in the dashboard (Policies), and the agents pick up changes within about 5 minutes.
Where the agent reads its configuration
| System | Policy (read first) | JSON file (one computer) |
|---|---|---|
| Windows | HKLM\SOFTWARE\Policies\ZeusLock | C:\ProgramData\ZeusLockDLP\config.json |
| macOS | /Library/Managed Preferences/com.zeuslock.agent.plist (profile, domain com.zeuslock.agent) | /Library/Application Support/ZeusLockDLP/config.json |
| Linux | /etc/zeuslock/agent.conf (KEY=VALUE) | /etc/zeuslock-dlp/config.json |
| Written by | GPO, MDM profile, Ansible or the deployment scripts | the configuration command of Install without GPO or MDM |
- The policy wins when it holds a
LicenseKey. Otherwise the agent uses the JSON file. - Neither: the agent shows Agent not configured.
- The agent reads the policy again at most once a minute. After a change, restart the agent (or the computer) to be sure it uses the new values.
A tester without admin rights can put the same JSON in
zeuslock-config.jsonin the agent's data folder (Windows%APPDATA%\ZeusLock DLP Agent\, macOS~/Library/Application Support/ZeusLock DLP Agent/, Linux~/.config/ZeusLock DLP Agent/). It is read only when neither file above exists. Not for fleets.
Managed and unmanaged computers
| Managed | Not managed | |
|---|---|---|
| When | The policy holds ServerUrl or LicenseKey | Configured by the JSON file only |
| Quit in the tray menu | No | Yes |
| Agent killed or crashed | Started again by the watchdog; ManagedUncleanStop decides what the network does meanwhile | The network comes back by itself within about 3 minutes, unprotected until the agent starts again |
The two required keys
| Key | Value | Example |
|---|---|---|
ServerUrl | Your ZeusLock API address | https://api.zeuslock.ai (your own server: https://<your API host>) |
LicenseKey | An organisation API key from the dashboard page API Keys | zl_YOUR_ORGANISATION_KEY |
The server finds your organisation from the key. Nothing else is needed.
Optional keys
Read from says where the agent looks: "policy" means the policy only. The JSON file supplies only ServerUrl, LicenseKey and the four proxy keys.
| Key | Values | Default | Read from | What it does |
|---|---|---|---|---|
UiLanguage | fr, en, es, de | not set | policy | Language of everything the agent shows (window, dialogs, tray, notifications, block messages written into AI tools). Users cannot change it. See below. |
BlockFilesOnAlert | on / off | not set | policy | Forces the dashboard setting Block file uploads on alert detections (Settings → Protection) on or off on these computers. |
NetworkMonitoring | on / off | on | policy | Off switches all inspection off: no local proxy, nothing checked. Use it only to pause protection on a group of computers. |
ShadowAiDiscovery | on / off | on | policy | Local switch for Shadow AI discovery (metadata only). It runs only when it is also on in the dashboard. See Shadow AI. |
ShadowAiDiscoveryExtraDomains | list | empty | policy | Extra exact domains (your own AI gateways) for Shadow AI discovery. Comma, semicolon or newline separated. |
ShadowAiDiscoveryExtraWildcardDomains | list | empty | policy | The same, for whole domains and their subdomains. |
ShadowAiDiscoveryExtraHostPatterns | list | empty | policy | The same, as host patterns. |
ManagedUncleanStop | protect, restore-network | protect | policy | Managed computers only: what happens when the agent is ended without its own cleanup. See below. |
GroupKey | a word, e.g. finance | not set | policy | Puts the computer in the group whose override_key matcher has the same word. See Assign Policies to Teams with Groups. |
UpstreamProxy | auto, off, http://host:port, http://user:password@host:port | auto | policy, then JSON | Your corporate proxy. See Use the agent behind a corporate proxy. |
TrustSystemCa | on / off | on | policy, then JSON | Trust the operating system's certificate store for the agent's outbound TLS (needed behind a TLS-inspecting proxy). |
ExtraCaFile | path | none | policy, then JSON | PEM file of extra certificate authorities to trust. |
ManageSystemProxy | on / off | on | policy, then JSON | Off: the agent never changes the system proxy; your PAC must send AI traffic to 127.0.0.1:9876. |
AllowContentLogging | on / off | off | policy | Test computers only. Lets the testing logs record prompt text, file text and file names. No effect while testing logs are off. |
Agent language (UiLanguage)
The agent uses the first of these that is set:
- The policy key
UiLanguage. - The dashboard setting Settings → Protection → Agent language.
- The user's choice in the agent window.
- The computer's language.
- English.
When a managed agent is ended (ManagedUncleanStop)
protect(default): the agent is started again, and browsers have no internet until it runs. Nothing goes out unchecked.restore-network: like an unmanaged computer, the network comes back after a few minutes, unprotected until the agent starts again.- On a managed Mac or Linux desktop with
protect, running--cleanupby hand starts the agent instead of resetting the network. Windows always resets.
Keys with no effect
The Windows ADMX template and older templates list these keys. The agent reads none of them: setting them changes nothing. Leave them out.
AgentEnabled, BlockingEnabled, AutoUpdate, ClipboardMonitoring, ScreenshotMonitoring, FileMonitoring, LogLevel, HeartbeatInterval, RulesSyncInterval, OrganizationName.
There is no automatic update: new versions come as a new installer from the dashboard. To pause protection, set NetworkMonitoring off.
Value formats
The key names are the same everywhere. Only the encoding differs.
Windows registry (HKLM\SOFTWARE\Policies\ZeusLock)
Text values are REG_SZ. On/off values are REG_DWORD: 1 = on, 0 = off.
ServerUrl REG_SZ https://api.zeuslock.ai
LicenseKey REG_SZ zl_YOUR_ORGANISATION_KEY
UiLanguage REG_SZ frmacOS profile (domain com.zeuslock.agent)
A configuration profile (.mobileconfig) whose payload sets the keys. On/off values are <true/> / <false/> (1 / 0 also work). Template: com.zeuslock.agent.mobileconfig.
<key>ServerUrl</key>
<string>https://api.zeuslock.ai</string>
<key>LicenseKey</key>
<string>zl_YOUR_ORGANISATION_KEY</string>
<key>UiLanguage</key>
<string>fr</string>Linux (/etc/zeuslock/agent.conf)
KEY=VALUE, one per line. # and ; start comments. Quotes are optional. On/off values are true / false. Template: agent.conf.
ServerUrl=https://api.zeuslock.ai
LicenseKey=zl_YOUR_ORGANISATION_KEY
UiLanguage=frJSON file (all systems)
UTF-8, with or without a byte-order mark. The old names apiUrl / apiKey are still read for ServerUrl / LicenseKey; use the new names. On Windows, write the file without a byte-order mark, as the dashboard command does ([System.IO.File]::WriteAllText(..., (New-Object System.Text.UTF8Encoding($false)))).
{
"ServerUrl": "https://api.zeuslock.ai",
"LicenseKey": "zl_YOUR_ORGANISATION_KEY"
}Who can read the licence key
The agent runs in each user's session, not as root or SYSTEM, so the signed-in user must be able to read the key. The scripts of the public deployment repository set these permissions:
| Where the key is | Permissions | Who can read it |
|---|---|---|
Windows HKLM\SOFTWARE\Policies\ZeusLock and C:\ProgramData\ZeusLockDLP\ | Inheritance removed; SYSTEM and Administrators full control; INTERACTIVE read | Signed-in users, administrators, SYSTEM |
macOS /Library/Application Support/ZeusLockDLP/config.json | 0640 root:staff, folder 0750 | Local and mobile user accounts (group staff), root |
| macOS profile | Written by macOS | Local accounts, like every managed preference |
Linux /etc/zeuslock/agent.conf (and the JSON file) | 0640 root:zeuslock, folder 0750 | Members of group zeuslock (your desktop users), root |
- A user who runs the agent can read the key. If a key leaks: create a new key on the API Keys page, deploy it, then Revoke the old one.
- Linux: a user added later must join the group (
sudo usermod -aG zeuslock USERNAME) and sign in again. Until then the agent shows Configuration not readable - ask your administrator. - Windows GPO: a startup script in SYSVOL is readable by every domain user. Keep the key out of it, and keep it in Ansible Vault with Ansible.
- If you deliver the configuration another way, apply the same permissions. The agent never changes them.
Testing logs
The detailed logs agent.log and requests.jsonl are written only while an empty file testing-logs.on exists in the agent's data folder. Prompt text is recorded only as a length and a fingerprint, unless the policy sets AllowContentLogging on (test computers only). How to switch them on: Verify and troubleshoot the agent.
Move a computer to another organisation
- Change
LicenseKey(andServerUrlif needed) where you set it. - Quit the agent.
- Delete the agent's cached registration:
config.jsonin its data folder (Windows%APPDATA%\ZeusLock DLP Agent\, macOS~/Library/Application Support/ZeusLock DLP Agent/, Linux~/.config/ZeusLock DLP Agent/). - Start the agent again.
Expected: the ZeusLock icon shows the new organisation's name.
Known limits
- The JSON file carries only
ServerUrl,LicenseKeyand the four proxy keys. Every other key works only from the policy.- The agent does not report a department, so a group's department matcher never matches. Use
GroupKeyinstead.- No automatic update: each new version is a new installer from the dashboard.
If something fails
| Problem | Fix |
|---|---|
| Agent not configured | No LicenseKey in the policy or the JSON file. GPO: gpupdate /force; MDM: push the profile again; Linux: run the playbook again. Then restart the agent. |
| Configuration not readable - ask your administrator | The user cannot read the file. Linux: sudo usermod -aG zeuslock USERNAME, then sign out and in. macOS JSON file: 0640 root:staff. Windows: run Install-ZeusLockAgent.ps1 again (the key needs INTERACTIVE read). |
| A key in the JSON file has no effect | Only ServerUrl, LicenseKey and the four proxy keys are read there. Set the key in the policy. |
| JSON file ignored | Invalid JSON (smart quotes, missing comma). Run the dashboard command again exactly; do not edit the file in a word processor. |
| The agent shows the wrong organisation | An older registration is cached. Follow "Move a computer to another organisation" above. |
See also: Use the agent behind a corporate proxy · Verify and troubleshoot the agent