Site Settings Reference
Look up public site, registration, security, theme, notification, and storage fields
Public settings are provided by the backend PublicSiteSettingsResponse. The following defaults apply when nothing is configured.
Public & Authentication Settings
| Field | Type | Default |
|---|---|---|
site_name | string | Clouisle |
site_description / site_url / site_icon | string | Empty |
auth_page_layout | centered or split | centered |
theme_mode | system, light or dark | system |
theme_branding_display | full, name_only, icon_only or hidden | full |
allow_registration | boolean | true |
require_approval | boolean | true |
email_verification | boolean | true |
enable_captcha | boolean | false |
sso_enabled | boolean | false |
sso_allow_password_login | boolean | true |
allow_account_deletion | boolean | true |
require_terms_acceptance_on_register | boolean | false |
Knowledge Base Uploads
kb_document_max_upload_size_mb defaults to 50 with a valid range of 1-1024. The backend upload endpoint reads this value at runtime; exceeding the limit returns a validation error.
Document Image Parsing
knowledge_base_images is a private site configuration read only during document processing. It affects documents processed after it is enabled and performs no historical backfill.
| Key | Type | Default | Range / notes |
|---|---|---|---|
kb_image_understanding_enabled | boolean | false | Enables vision/OCR model calls |
kb_image_understanding_model_id | string (UUID) | "" | Vision model; must be enabled and accept image input |
kb_image_ocr_model_id | string (UUID) | "" | Optional OCR model; empty reuses the vision model |
kb_image_understanding_allow_external | boolean | false | Whether to fetch external image URLs, still subject to SSRF checks |
kb_image_understanding_max_images | int | 8 | 1-20, maximum images analyzed per document |
kb_image_understanding_max_image_bytes | int | 10485760 | 1-52428800, maximum bytes per image |
kb_image_understanding_max_image_pixels | int | 20000000 | 1-40000000, maximum pixels per image |
kb_image_understanding_concurrency | int | 2 | 1-8, concurrent image requests per document |
Enabling requires a vision model, an OCR model, or both; clearing the last model is rejected. The model must also be authorized for the document's team and counts against that team's quota.
Theme Colors
The theme supports page, card, border, sidebar, top navigation, accent, muted, and chart colors. Colors use hex format, for example #3b82f6 or #3b82f680 with transparency.
Security & Compliance Settings
Security settings are managed by administrators under system settings, governing authentication policies, account lockout, password complexity, and outbound network defenses.
| Setting Key | Type | Default | Description |
|---|---|---|---|
model_endpoint_allowlist_enabled | bool | true | Enforce model endpoint Origin membership; when off, only endpoint syntax normalization remains |
ssrf_protection_enabled | bool | true | Enforce outbound SSRF protection; when off, private, loopback, and cloud metadata targets are allowed while URL/port syntax validation still runs |
sandbox_network_allowlist_enabled | bool | true | Enforce the sandbox egress allowlist; turning it off affects new jobs only, and filesystem isolation and resource limits remain |
model_endpoint_allowlist | json (array) | 20 pre-configured official Origins | Model endpoint Origin allowlist, strictly matched by scheme + host + port (path ignored), up to 200 entries |
ssrf_allowed_targets | json (array) | [] | SSRF outbound exemption allowlist, up to 200 entries; supports single IP, CIDR subnet, wildcard subdomain (*.corp.internal), or exact hostname |
sandbox_network_allowlist | json (array) | ["pypi.org","files.pythonhosted.org","pypi.python.org","registry.npmjs.org"] | Sandbox egress allowlist, exact DNS hostnames only, up to 200 entries; an empty array blocks all outbound traffic |
min_password_length | int | 8 | Minimum password length |
require_uppercase | bool | true | Require uppercase letters (A-Z) in password |
require_number | bool | true | Require digits (0-9) in password |
require_special_char | bool | false | Require special characters (punctuation and bracket symbols) in password |
session_timeout_days | int | 30 | Login session expiration in days |
single_session | bool | false | Enable single session enforcement (subsequent login terminates previous session) |
max_login_attempts | int | 5 | Maximum failed login attempts before account lockout |
lockout_duration_minutes | int | 15 | Account lockout duration in minutes |
enable_captcha | bool | false | Enable human click-verification captcha on login |
require_totp | bool | false | Require mandatory TOTP two-factor authentication for all users |
password_expiration_enabled | bool | false | Enable periodic password expiration policy |
password_expiration_days | int | 90 | Password validity duration in days |
password_expiration_warning_days | int | 7 | Days in advance to warn users before expiration |
password_history_count | int | 5 | Number of previous passwords prevented from reuse |
password_min_age_days | int | 0 | Minimum password age in days before allowing another change |
force_password_change_first_login | bool | false | Force users to change default password on first login |
The three restriction switches (model_endpoint_allowlist_enabled, ssrf_protection_enabled, sandbox_network_allowlist_enabled) all default to true. Turning one off never deletes its saved list, and enforcement resumes when it is turned back on; a corrupted or non-boolean stored value reads as true (fail-closed).
Sandbox Egress Allowlist (Separate from SSRF)
sandbox_network_allowlist is an independent egress policy that applies only to Bubblewrap sandbox jobs and never reads ssrf_allowed_targets:
- Exact DNS hostnames only (case-insensitive); wildcards, IPs, and CIDRs are rejected at save time.
- Defaults are
pypi.org,files.pythonhosted.org,pypi.python.org, andregistry.npmjs.org, with a cap of200entries. - Each job reads the policy once at start; the proxy only permits
CONNECTto allowlisted hosts on port443, rejecting HTTP and other ports. An empty list blocks all outbound traffic. sandbox_network_allowlist_enabled=falseaffects new jobs only; running jobs keep their policy, and filesystem isolation, timeouts, and disk/output limits remain in force.
Outbound Network & SSRF Defenses
Clouisle enforces strict security validation on all outbound network execution paths (HTTP request workflow nodes, knowledge base document URL import and preview, database tool connection tests); with ssrf_protection_enabled=false target restrictions are skipped, but HTTP(S) URL scheme/host/port syntax and database host/port syntax are still validated:
- Default Blocks: Loopback addresses (
127.0.0.0/8,::1), private networks (10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,fc00::/7), link-local addresses (169.254.0.0/16,fe80::/10), multicast (224.0.0.0/4), unspecified addresses (0.0.0.0), and reserved domain names (localhost,local,metadata.google.internal). - Non-bypassable Critical Blocks: Cloud metadata endpoints (
169.254.169.254,169.254.0.0/16,metadata.google.internal) and universal wildcards (0.0.0.0/0,::/0,*) are strictly blocked even if added to the allowlist. - Allowlist Exemptions: To connect to internal microservices or private databases, administrators add trusted targets to
ssrf_allowed_targets. Supported formats:- Specific IP: e.g.
192.168.1.100 - CIDR subnet: e.g.
10.50.0.0/16(prefix length cannot be 0, cannot overlap metadata networks) - Wildcard subdomain: e.g.
*.corp.internal(matchescorp.internaland all its subdomains) - Exact hostname: e.g.
api.internal.local(must contain at least one dot, cannot start or end with dot)
- Specific IP: e.g.
Model Endpoint Security Policy
All upstream LLM API requests are gated by model_endpoint_allowlist; with model_endpoint_allowlist_enabled=false the membership check is skipped (the endpoint is still normalized to an Origin). The system matches against the full Origin (https://api.openai.com, http://localhost:11434), ignoring paths, query parameters, and credentials. Non-standard ports must match explicitly.
Memory Management & Retrieval Settings
| Setting Key | Type | Default | Description |
|---|---|---|---|
memory_async_extraction_enabled | bool | false | Enable asynchronous background memory extraction from chat conversations |
memory_extraction_model_id | string | "" | Dedicated model ID for memory extraction (empty for system fallback) |
memory_extraction_cooldown_seconds | int | 180 | Cooldown window in seconds before background extraction (valid range 10-3600) |
memory_extraction_max_pending_turns | int | 6 | Maximum pending unextracted conversation turns before immediate trigger (1-50) |
retrieval_hybrid_mode | string | "rollout" | Hybrid retrieval rollout mode: rollout, enabled, or disabled |
retrieval_hybrid_team_ids | json (array) | [] | Team IDs explicitly included in hybrid retrieval rollout |
retrieval_hybrid_percentage | int | 100 | Deterministic hybrid retrieval rollout percentage |
Storage & Audit Settings
| Setting Key | Type | Default | Description |
|---|---|---|---|
upload_storage_backend | string | "local" | File storage backend: "local" (local filesystem) or "object" (S3-compatible object storage) |
kb_document_max_upload_size_mb | int | 50 | Maximum file upload size in MB for knowledge base documents (1-1024) |
object_storage_endpoint | string | "" | S3-compatible endpoint URL (e.g. s3.us-west-1.amazonaws.com) |
object_storage_bucket | string | "" | Bucket name |
object_storage_region | string | "" | Bucket region |
object_storage_access_key | string | "" | Access Key |
object_storage_secret_key | string | "" | Secret Key (stored securely) |
object_storage_force_path_style | bool | true | Use path-style S3 URLs |
object_storage_secure | bool | true | Use HTTPS protocol for object storage endpoint |
audit_log_retention_days | int | 365 | Audit log retention period in days (valid range 30-3650) |
audit_log_archive_path | string | "/var/log/clouisle/audit_archives" | Local or mounted archive file path |
audit_alert_enabled | bool | true | Enable security alerts on audit logs |
audit_alert_webhook | string | "" | Webhook URL for audit alerts |
audit_alert_failed_login_threshold | int | 5 | Failed login threshold before triggering security alert |
audit_alert_failed_login_window | int | 5 | Time window in minutes for failed login detection |
audit_alert_bulk_deletion_threshold | int | 10 | Bulk deletion threshold before triggering alert |
Notification Channels & Automated Notifications
The only external notification channels are Email (SMTP), Feishu, and generic Webhook. DingTalk, WeChat Work, and Slack channels were removed; WeChat iLink is a messaging integration, not a notification channel. Email and Webhook configuration is managed through the integration endpoints GET/PUT /api/v1/admin/integrations/email and /webhook, and Feishu notifications are an explicit capability switch on the Feishu integration.
Administrators configure global notification channels and enabled event types via auto_notification_config (JSON object; endpoint GET/PUT /api/v1/admin/site-settings/auto-notifications). The system automatically tracks and dispatches:
- Team events:
team.member_added,team.member_removed,team.role_changed,team.ownership_transferred,team.model_granted,team.model_revoked - User events:
user.activated,user.deactivated,user.password_reset,user.pending_approval - Knowledge base events:
kb.doc_indexed,kb.doc_failed - Workflow events:
workflow.run_failed,workflow.pause_pending - Credentials and security:
apikey.expiring,apikey.expired,security.login_anomaly,security.account_locked,security.password_changed
Integrations and Site Search
- Integrations: Email, Webhook, Feishu, and WeChat iLink share the
Integrationmodel and are configured through/api/v1/admin/integrations/*;admin:integrations:login:read/updatecovers login and global SSO, whileadmin:integrations:settings:read/updatecovers builtin integrations and credentials. - Delivery log:
GET /api/v1/admin/deliveries(permissionadmin:integrations:settings:read), UI at/deliveries; it is a different table from notification-channelnotification_deliveries. - Site search: not a site setting key. The builtin
web_searchconfiguration lives in the encryptedcredentialsof the globalToolConfig(tool_name=web_search,team_id=NULL) and is managed viaGET/PUT /api/v1/admin/tools/web-search/configandPOST /api/v1/admin/tools/web-search/test(admin:capability:read/update/execute), entered from theweb_searchtool under/capabilities.

How is this guide?