Roles and access¶
Vyrux Security uses Splunk's own users and roles. It adds two roles, vyrux_user for analysts and vyrux_admin for the people who run Vyrux. Neither role grants access to any index. What a person can see in Vyrux is always limited to what their own Splunk roles allow them to search.
The table of actions on this page is generated from the same access table the Vyrux service enforces, and every row is tested against the service as each kind of person. The table of what each person can see describes the service's narrowing rules, which have tests of their own.
Roles at a glance¶
| Role | Intended for | Access to log data |
|---|---|---|
| No Vyrux role | Everyone else in Splunk | None. Vyrux shows a message explaining how to request access. |
Analyst (vyrux_user) |
SOC analysts, detection engineers, data engineers | None added. The analyst sees the indexes their other Splunk roles allow. |
Vyrux admin (vyrux_admin) |
SOC leads, the platform team, approvers | None added. Run and alert history reach it through the Vyrux service, not through _audit or _internal. |
Splunk admin (admin, sc_admin) |
Splunk platform owners | Full. A Splunk admin has every Vyrux admin right, plus the settings only a Splunk admin may change. |
A role that imports vyrux_user or vyrux_admin counts as that role.
What each role can do¶
| Action | Analyst | Vyrux admin | Splunk admin |
|---|---|---|---|
| Open every page, run scans, use Find a host, the Validator and read-only checks | Yes | Yes | Yes |
| Read Vyrux settings | Yes, read only | Yes | Yes |
| Use Chuka and the AI features | Yes, unless limited ¹ | Yes | Yes |
| Work issues: assign, comment, snooze, suppress, open a ticket ² | Yes, for issues in indexes they can search | Yes, for issues in indexes they can search | Yes |
| Snooze an issue | Up to 30 days; 7 days when a second approver is required | Up to 30 days | Up to 30 days |
| Plan a maintenance window for a log or host they can search | Up to 30 days; 24 hours when a second approver is required | Up to 30 days | Up to 30 days |
| Change a rule: fix, tune, schedule ² | Where Splunk lets them edit that rule, unless limited ¹ | Where Splunk lets them edit that rule: their own rules, and rules other apps let them change | Yes |
| Create a rule ² | As their own private rule, run with their own roles, when those roles may schedule searches (Splunk's schedule_search, which its user role holds and the Vyrux roles do not add) ¹ | Owned and run by them, private to them until a Splunk admin shares it with the Vyrux app; their roles must be able to schedule searches too | Owned and run by them, shared with the Vyrux app, editable by its author and Splunk admins only |
| Hand a rule that runs as the Splunk system to its author (Admin, System health) | No, but sees which of the rules they can search run as the system | No, but sees which rules run as the system | Yes |
| Deploy parser settings (props, transforms, event types, tags) ² | No | For logs that arrive in indexes they can search; a log the background scan has not seen yet only if they search every index, Splunk's internal ones included. The Vyrux service checks and writes them | Yes |
| Request an approval, and withdraw their own request | Yes | Yes | Yes |
| Approve or send back a change | No | Yes, never their own, for indexes they can search ¹ | Yes, never their own |
| Roll back a change | Their own rule changes | Any change in indexes they can search; a parser deployment only when they search every index its logs arrive in, as for deploying it | Any change |
| Read the change log | Their own entries and entries for indexes they can search | Their own entries and entries for indexes they can search | Every entry |
| Change Vyrux settings, the AI policy and masking choices | Only when their role is named for it under Admin, Access, and they search every index ⁴ ¹ | Yes, if they search every index ⁴ | Yes |
| Change a log's own settings: owner, criticality and silent limit | Only when their role is named for settings under Admin, Access, for logs they can search. While a second approver is required they may lower a log's silent limit, not raise it ¹ | For logs they can search | Yes |
| Set up connectors (Jira, ServiceNow, Teams, Slack, email) | No | Yes, if they search every index ⁴ | Yes |
| Set up API collectors that write to indexes they can search ³ | No | Yes | Yes |
| Apply an activation code, start a trial, buy a plan or credits | No | Yes | Yes |
| Turn the background scan on or off, or change its interval (Run setup again, under System health, also pauses it until setup is finished) | No | Yes, if they search every index ⁴ | Yes |
| Read other people's AI requests and the Vyrux log | Their own requests only. Other people's lines show as Another person, with the time, task and credits, never the text | Yes, if they search every index, the internal ones included | Yes |
| Allow connectors and collectors to call an internal host | No | No | Yes |
| Change vyrux.conf or the background scan's saved search directly in Splunk | No | No. Through Vyrux, one who searches every index sets the AI proxy and CA file and the scan's schedule, and any Vyrux admin adds the activation code | Yes |
| Send a problem report or feature request | Yes | Yes | Yes |
- Under Admin, Access a Vyrux admin can name the roles that may use Chuka and change rules: those limits apply to analysts, and Vyrux admins and Splunk admins are not limited by them. Naming roles for Change Vyrux settings lets analysts in those roles change settings too. Naming roles for Approve changes narrows which Vyrux admins may approve.
- When Require a second person to approve is on, a rule change, a new rule, a parser deployment and a suppression wait for a Vyrux admin's approval first; assigning, commenting, snoozing and raising a ticket do not. A Vyrux admin turns that setting on; only a Splunk admin turns it off, so the people it gates cannot switch it off themselves.
- A collector that runs elsewhere and sends its events to Splunk needs an HTTP Event Collector token. Making one needs Splunk's edit_token_http capability, which neither Vyrux role grants: Vyrux makes it with the person's own session.
- Every index but Splunk's internal ones (those whose names start with _), which is what a role that searches * holds. These settings apply to everyone's data, so a person who searches only some indexes reads them but cannot change them.
What each person can see¶
Vyrux applies the same rules on every page, in every report and export, and in what Chuka is given.
Searches run as the person. Every search behind a page runs with the person's own Splunk session. Splunk applies their roles, exactly as it does in the Search app.
Findings from the background scan are narrowed to the person's indexes. The background scan runs as the Splunk system so that it works when nobody is signed in. It keeps names, counts and times, never event values, in storage that only the Vyrux service and Splunk admins can read. The service then gives each person only the records for indexes they can search:
| Record | Shown to a person who can search |
|---|---|
| A log, its health, fields and silent hosts | That log's index |
| A rule, its proof, tests and issues | Every index the rule reads. A rule that can read any ordinary index (index=*, or a data model whose searches name only ordinary indexes and no event type or tag that stands for an internal one): every index but the internal ones. A rule that may read an internal index, names no index, or whose reach cannot be told (rest, inputlookup, pivot, map, a macro Vyrux cannot read, a subsearch whose results become search terms, a subsearch in a join, append or union that names no index, or an alternative that names no index, as in index=a OR sourcetype=x): every index. A data model is read as it is shipped: one whose searches name no index reads its owner's default indexes, which are ordinary ones unless a Splunk admin sets otherwise |
| An approval request or a change log entry | Every index the change touches. For a rule fix, a tuning or a new rule that is every index the rule reads now and every index the search being approved reads, worked out by the service from that search with its macros filled in |
| An API collector, its runs and errors | The index it writes to |
| Estate totals: hosts, the 30 day trends, daily readings | Every index but the internal ones. Anyone else sees totals read with their own session |
Each person also sees the records they made themselves.
Run and alert history. Rule run and alert counts, forwarder health and HTTP Event Collector token names come from _internal, _audit and _introspection, which most analysts cannot search. The Vyrux service reads a fixed list of counting searches for them: names, counts and times only. A Vyrux admin can turn this off under Admin, Access. Analysts then see run and alert history only if their own roles can search those indexes.
AI requests and the Vyrux log. Each person can read the full text of the AI requests they made. A Vyrux admin who searches every index can read everyone's, and can read the Vyrux log, which records each request by person.
Kept scans. An analyst's kept scan is their own. A Vyrux admin's kept scan is shared with the Vyrux admins who hold exactly the same roles.
A Vyrux admin who searches only some indexes¶
A Vyrux admin whose Splunk roles search only some indexes sees, approves and changes only what those indexes cover. "Every index" here means every index but Splunk's internal ones, which is what a role that searches * holds. They cannot:
- approve or roll back a change that touches an index they cannot search, including a rule fix, a tuning or a new rule whose search reads one, or could read any index, and a parser deployment for a log that also arrives in an index they cannot search;
- deploy parser settings for a log that arrives in an index they cannot search, or for a log the background scan has not seen yet;
- set up or change an API collector that writes to an index they cannot search;
- change Vyrux settings, the AI policy, the access rules or the connectors, because these apply to everyone's data (they can read them);
- turn the background scan off or change its interval, because it watches every index for everyone;
- read other people's AI requests or the Vyrux log, which needs the internal indexes too;
- open an issue in the shared list by hand, or raise a ticket for an issue in an index they cannot search.
Their own page scans do not open or close issues for others.
Rules made in Vyrux¶
A rule created in Vyrux is owned by the person who created it, so Splunk's scheduler runs it with that person's own roles: it never reads an index its author cannot search. Only its author and Splunk admins can change it, because anyone who could rewrite it would run their own search with the author's access.
A Splunk admin's new rule is shared with the Vyrux app so the team sees it. Anyone else's new rule is their own private rule until a Splunk admin shares it: only Splunk admins share saved searches in the Vyrux app.
A rule shared as nobody runs as the Splunk system and can read every index. Builds before 118 made new rules that way. Admin, System health lists each such rule with the author the change log names, and a Splunk admin can make the author its owner there, so it runs with the author's roles from then on.
Assigning roles¶
- In Splunk, open Settings, Roles and confirm
vyrux_userandvyrux_adminare present (they are installed with the app). - Open Settings, Users and add
vyrux_userto each analyst, andvyrux_adminto the people who run Vyrux and approve changes. - Make sure each person's other Splunk roles name the indexes they need. The Vyrux roles do not add any.
- In Vyrux, open Admin, Access to name who may use Chuka, change rules, change settings and approve changes, and to turn the run and alert history access on or off.
- Under Admin, Change policy, turn on Require a second person to approve and name approvers if your change process requires it.
Splunk permissions remain the control¶
Vyrux never grants more than Splunk allows. A person who can edit a rule in Splunk can edit it with or without Vyrux, and a Splunk admin can read and change everything. Approvals and the change log cover changes made through Vyrux.
Grant vyrux_admin to the people who run Vyrux and approve changes, with care: the parser settings it deploys apply to every search on the search head. It deploys them only through the Vyrux service, which accepts search-time settings for the request's own sourcetypes under names that start with vyrux_, writes them as the Splunk system and records each one in the change log. The role itself has no write access to parser settings in Splunk, so they cannot be written around those checks. Security and data handling describes each control in detail.