Settings#

The NeuralUI service’s own settings. Set them in its cell.yaml, or as environment variables: SYN_NEURALUI_ and the name in capitals with : as _ (neuralui:share:days is SYN_NEURALUI_NEURALUI_SHARE_DAYS). The usual Synapse cell settings apply too (https:port, dmon:listen, aha:*, …). See Deployment for a production setup.

This page is made from the service’s code.

Setting

Type

Default

cortex

string

The telepath URL of the Cortex. The service user must be a Cortex admin (not root) because password and API key checks use admin-only APIs.

neuralui:csp

boolean

true

Send a strict Content-Security-Policy with every response.

neuralui:hsts

integer or null

Send Strict-Transport-Security with this max-age (seconds). Off by default; only set it when NeuralUI is always served over HTTPS on its own host name.

neuralui:insecure

boolean

false

Allow plain tcp:// connections between NeuralUI and the Cortex over the network. Only for isolated development: in production use ssl:// (see docs/DEPLOYMENT.md).

neuralui:limit:jobs

integer

16

The most background jobs the service runs at once, for all users together.

neuralui:limit:lint

integer

32

The most Storm lint requests the service runs at once (they share one worker thread).

neuralui:limit:user:jobs

integer

4

The most background jobs (right-click actions run by the service) one user may have running at once.

neuralui:limit:user:runs

integer

32

The most Storm queries one user may run at once, across WebSockets and the HTTP query APIs (/call, /export, /scrape).

neuralui:limit:user:socks

integer

8

The most WebSocket connections one user may have open at once.

neuralui:login:maxfails

integer

5

Failed logins for a user name (within 15 minutes) before further attempts must wait.

neuralui:origin

string or array or null

The public origin(s) of the UI, e.g. https://neuralui.example.com (scheme, host and port). Requests and WebSockets from any other origin are refused. Without it, the origin the request was made to is used; set it behind a reverse proxy.

neuralui:proxy:trusted

array

[]

The reverse proxies in front of NeuralUI (addresses or networks, such as 10.0.0.5 or 10.0.0.0/24). For a request from one of them, the client address (for the login throttle and logs) is the last one in X-Forwarded-For which is not a trusted proxy. Leave https:parse:proxy:remoteip off.

neuralui:session:idle

integer or null

480

Log sessions out after this many minutes without a request (null for never).

neuralui:share:days

integer or null

365

Share links older than this many days stop working and are deleted (null to keep them).

neuralui:stix:config

object

A $lib.stix.export config used for STIX exports (default: the Synapse default config).

neuralui:upload:maxsize

integer

1073741824

The maximum size of a single file upload in bytes.

neuralui:webroot

string

An optional directory to serve the web UI from instead of the packaged UI.