Admin#
Admin (top bar, for admins) manages the Cortex’s users, roles and Storm packages. Changes are made as you, so the Cortex checks your permissions.
Users: make one admin, lock it (it can not log in, and its sessions end), set its password or email, grant and revoke roles, and add or remove rules. A rule is a permission such as
node.add(or!node.delto deny), everywhere or in one view; the Cortex’s permissions are suggested as you type. API keys: make one (it is shown once: copy it then) or delete one.Roles: their rules and members. Every user has the
allrole.Packages: the Storm packages in the Cortex, with their commands and modules. Add package takes a JSON file (made with
python -m synapse.tools.genpkg --save pkg.json) or a URL. The Cortex downloads a URL itself, as thepkg.loadcommand does, so it must be reachable from the Cortex (and the Cortex must be allowed to make HTTP requests); the JSON can be the package orpkg.load’s{"status": "ok", "result": ...}envelope. You can skip the server’s TLS certificate check, and require a valid code signature. You are asked before the package is added or replaced. Packages which come from a service are removed by removing the service.Actions (Cortex admins): every package’s right-click actions, where each sits in the menu, where it came from (a package’s own, an Optic action or a command), its forms and the permission it needs, and the entries which could not be used, and why. Hide an action, or a whole package, from everyone or from some roles, and pin actions to the top of everyone’s menu by default (until a user pins their own). Package commands turns off, for everyone, the actions made from packages’ commands (on by default). Open pages pick the changes up when they are next focused, or within 5 minutes. See Right-click actions for what users see.

Permissions for analysts#
NeuralUI uses the Cortex’s own permissions; there are none of its own. For example:
querying and editing:
node, or narrower rules such asnode.add.inet:fqdnornode.tag.add.rep;saved queries:
node.add.it:exec:query,node.prop.set.it:exec:query,node.del.it:exec:query,node.tag.add.meta.neuralui.query, andnode.add.it:query(the query string node);notes and scrape sessions:
node.add.meta:note,node.prop.set.meta:note,node.del.meta:note,node.edge.add.about(notes) andnode.edge.add.refs(scrape sessions), andnode.add.meta:note:type:taxonomythe first time a new note type is used;new tag properties from the tag dialog:
model.tagprop.add(they change the Cortex’s model);files:
axon.uploadandaxon.get;scripts and imports in a fork:
view.addandview.fork(whoever made a fork may edit, merge and delete it; merging needs write access to the parent view’s layer);package actions and commands: the permissions each one declares; a user who lacks them does not see it;
the Admin and Automation pages: the Cortex’s own permissions (
auth.*,pkg.*,cron.*,trigger.*,storm.macro.*,dmon.*). The pages show what the Cortex refuses.