Skip to Content
SWARMIXDocs
Policies

Security policy settings

Each setting in a policy's Security group: privacy and Data Shield, risk and audit, restrictions, desktop automation, the Hub, connections and Hive's transform pipeline.

Who can do this:Org admin

The Security group of a policy sets Data Shield and usage data, what Hive records and asks about, what members can do with Studio and other apps, and how Hive changes requests to AI providers. Open a draft policy in Settings → Organization → Policies, then its Security tab: the headings below are its categories. The second line of each setting is its id. For how policies reach members and how strictly they apply, see How policies work.

A setting that no policy sets keeps the value in No policy sets it. Several policies says which value wins when more than one policy that reaches a member sets the setting. "Highest priority" means the value of the policy with the highest priority. "Whole section" means that the highest-priority policy that sets any setting of the section supplies all of the section's settings.

Privacy & Security

Each setting has a lock. Hive applies the Data Shield values when the policy locks them, and members can't change them. Detection Categories, Allow List and Custom Patterns lock the member's own lists. The Data Shield settings travel together: the highest-priority policy that sets any of them supplies all of them.

SettingWhat it doesNo policy sets itSeveral policies
Intelligence
settings.telemetry
Studio sends usage data to Swarmix for Intelligence. Locked off, members can't turn it on. Locked on, members can still turn it off. You can lock it.OnHighest priority
Chat metrics bar
settings.intelligence.session_metrics_visible_to_user
Shows the chat metrics bar at the top of chats. Members can hide it unless you lock it. You can lock it.OnLocked wins, then highest priority
Data Shield
settings.data_shield.enabled
Data Shield masks sensitive data before a request reaches an AI provider. See Data Shield. You can lock it.OffHighest priority, whole section
Require AI Detection Model
settings.data_shield.require_model
Each computer downloads the AI detection model, Piiranha, about 200 MB. You can lock it.OffHighest priority, whole section
AI-Powered Detection
settings.data_shield.ml_enabled
AI detection alongside the pattern rules. You can lock it.OffHighest priority, whole section
Keyword Context Detection
settings.data_shield.keyword_context
Masks values next to words such as password, token or api_key. You can lock it.OnHighest priority, whole section
High-Entropy Detection
settings.data_shield.high_entropy
Flags long random-looking strings, such as hashes and encoded secrets. You can lock it.OffHighest priority, whole section
Minimum Entropy Threshold
settings.data_shield.min_entropy
How random a string must be to count, in bits per character. You can lock it.3.2Highest priority, whole section
Minimum Token Length
settings.data_shield.min_length
The shortest string, in characters, that random-string detection checks. You can lock it.20Highest priority, whole section
Detection Categories
settings.data_shield.categories
Locks the kinds of data each member's Data Shield detects, such as email, phone or credit card. You can lock it.OffHighest priority, whole section
Allow List
settings.data_shield.allow_list
Locks each member's list of values Data Shield leaves unmasked. You can lock it.OffHighest priority, whole section
Custom Patterns
settings.data_shield.custom_patterns
Locks each member's own detection patterns. You can lock it.OffHighest priority, whole section
ML Confidence Threshold
settings.data_shield.min_confidence
The lowest confidence, from 0.1 to 1.0, at which AI detection masks a value. You can lock it.0.5Highest priority, whole section
Transcript Sync
settings.transcript_sync
Chat transcripts sync between the member's devices, encrypted end to end. See Transcript sync. You can lock it.OffHighest priority

Risk & Audit

Each setting combines on its own, toward more oversight. See Risk & Audit.

SettingWhat it doesNo policy sets itSeveral policies
Disclosure text
settings.audit.disclosure_text
The notice members read about the recording of agent sessions. Empty: Studio's own text.Studio's textHighest priority
Record answers
settings.audit.record_answers
Records the text members type in answer to agent questions. Off: the record shows only that a question was answered.OffOn in any policy wins
Fail closed
settings.audit.fail_closed
Refuses a tool call that can't be recorded in the audit trail.OffOn in any policy wins
Always ask at risk
settings.audit.approval_required_at
Calls at this risk or higher ask the person each time, in each permission mode: Off, Low and higher, Medium and higher, High and higher, Critical only. See How Hive checks agent actions.OffLowest level wins
Highlight at risk
settings.audit.highlight_at
Calls at this risk or higher are marked on the approval card, in the chat and in the list of recent high-risk calls.OffLowest level wins

Restrictions

Studio and Hive apply these rules under Enforced.

SettingWhat it doesNo policy sets itSeveral policies
Block Data Export
restrictions.block_local_data_export
Members can't export data to the computer.OffOff in any policy wins
Block Clipboard
restrictions.block_clipboard_from_app
Members can't copy content out of Studio.OffOff in any policy wins
Hidden UI Sections
restrictions.hidden_sections
Navigation sections Studio hides: Voice, Developer Tools, Danger Zone.NoneHighest priority
Allowed Server Addresses
restrictions.allowed_server_urls
The Swarmix servers members can sign in to, as exact addresses such as https://swarmix.corp.example.com:8443. Studio signs a member out of a server not on the list.No limitHighest priority
Blocked Plugins
restrictions.plugins.blocked_plugins
Plugins that members can't install or load. See Tools and external services.NoneLists add up

Desktop Automation

These rules apply to plugins that read or operate other apps on the computer, such as Witness. See Tools and external services.

SettingWhat it doesNo policy sets itSeveral policies
Read Other Apps
restrictions.os_automation.ui_automation
Plugins can read other apps' windows and controls through the accessibility interface.OnOff in any policy wins
Operate Other Apps
restrictions.os_automation.ui_control
Plugins can click, type and choose in other apps' windows.OnOff in any policy wins
Synthesized Input
restrictions.os_automation.synthesized_input
Plugins can type with simulated keystrokes when they can't set a control's value directly.OnOff in any policy wins
COM Automation (Windows)
restrictions.os_automation.com_automation
Plugins can drive running COM servers such as Word or Excel on Windows.OnOff in any policy wins
Allowed COM ProgIDs
restrictions.os_automation.com_prog_ids
Plugins can drive only these COM servers, such as Word.Application, within each plugin's own list. An empty list allows none.No limitOnly entries in every list
Apple Events (macOS)
restrictions.os_automation.apple_events
Plugins can automate Mac apps such as Word or Excel through Apple Events.OnOff in any policy wins
Allowed Mac Apps
restrictions.os_automation.apple_event_bundle_ids
Plugins can automate only these Mac apps, by bundle id such as com.microsoft.Word, within each plugin's own list. An empty list allows none.No limitOnly entries in every list
Blocked Apple Events Commands
restrictions.os_automation.apple_event_blocked_commands
Commands no plugin can send to a Mac app, by their name in the app's scripting dictionary, such as do script.NoneHighest priority with Desktop Automation

Hub Access

Hive applies these rules under Enforced.

SettingWhat it doesNo policy sets itSeveral policies
Hub Enabled
hub.enabled
Hive connects to the Hub, which links the add-ins to the member's Hive. See Add-ins and Hub.OnOff in any policy wins
Allowed Hub Endpoints
hub.allowed_endpoints
Hive connects only to these Hub endpoints, by slug. An empty list allows none.No limitOnly entries in every list

Connectors

SettingWhat it doesNo policy sets itSeveral policies
Allowed Connections
connectors
The organization's connections a member sees. An empty list allows none. See Connections.No limitOnly entries in every list

Transform Pipeline

The transform pipeline is how Hive changes an agent's requests to its AI provider: filters, compression and limits. You set these settings for each AI provider. Settings with a lock: locked, members can't change them. They are agent settings: the highest-priority policy that sets any agent setting supplies all of them. See Agent policy settings.

SettingWhat it doesNo policy sets itSeveral policies
Enable Transform Pipeline
agents.vendor_config.*.transform.enabled
Turns Hive's transform pipeline on for agents that use this AI provider. You can lock it.The AI provider's settingHighest priority, all agent settings
Log Full Payload
agents.vendor_config.*.transform.log_full_payload
Hive logs each request in full. You can lock it.The AI provider's settingHighest priority, all agent settings
Cache Originals
agents.vendor_config.*.transform.cache_originals
Hive keeps the original of each changed request, to replay and debug. You can lock it.The AI provider's settingHighest priority, all agent settings
Block Raw File Content
agents.vendor_config.*.transform.block_raw_file_content
Hive keeps uncompressed file content from reaching the AI provider. You can lock it.The AI provider's settingHighest priority, all agent settings
Minimum Compression Level
agents.vendor_config.*.transform.min_compression_level
The least compression agents can use: None, Light, Standard or Aggressive.No minimumHighest priority, all agent settings
Mandatory Filters
agents.vendor_config.*.transform.mandatory_filters
Content filters Hive applies for each agent, whatever the AI provider's settings.NoneHighest priority, all agent settings
Mandatory Protected Tools
agents.vendor_config.*.transform.mandatory_protected_tools
Tools whose results Hive always compresses.NoneHighest priority, all agent settings
Max Request Tokens
agents.vendor_config.*.transform.max_request_tokens
Hive blocks a request above this many tokens.No limitHighest priority, all agent settings
Max Cache TTL
agents.vendor_config.*.transform.max_cache_ttl_seconds
The most seconds Hive keeps the originals.No limitHighest priority, all agent settings
Max Audit Records
agents.vendor_config.*.transform.max_audit_records
The most audit entries Hive keeps in memory.No limitHighest priority, all agent settings
Min Log Lines
agents.vendor_config.*.transform.min_log_lines
The fewest lines before Hive treats content as log output.No minimumHighest priority, all agent settings
Binary Detection Threshold
agents.vendor_config.*.transform.max_binary_threshold
The share of control characters, from 0.0 to 1.0, above which Hive treats content as binary.No limitHighest priority, all agent settings

On this page