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 |
|
|---|---|---|---|
|
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. |
|
|
boolean |
|
Send a strict Content-Security-Policy with every response. |
|
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. |
|
|
boolean |
|
Allow plain tcp:// connections between NeuralUI and the Cortex over the network. Only for isolated development: in production use ssl:// (see docs/DEPLOYMENT.md). |
|
integer |
|
The most background jobs the service runs at once, for all users together. |
|
integer |
|
The most Storm lint requests the service runs at once (they share one worker thread). |
|
integer |
|
The most background jobs (right-click actions run by the service) one user may have running at once. |
|
integer |
|
The most Storm queries one user may run at once, across WebSockets and the HTTP query APIs (/call, /export, /scrape). |
|
integer |
|
The most WebSocket connections one user may have open at once. |
|
integer |
|
Failed logins for a user name (within 15 minutes) before further attempts must wait. |
|
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. |
|
|
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. |
|
integer or null |
|
Log sessions out after this many minutes without a request (null for never). |
|
integer or null |
|
Share links older than this many days stop working and are deleted (null to keep them). |
|
object |
A $lib.stix.export config used for STIX exports (default: the Synapse default config). |
|
|
integer |
|
The maximum size of a single file upload in bytes. |
|
string |
An optional directory to serve the web UI from instead of the packaged UI. |