In short
Rubrik configuration export: the file Rubrik writes of its own settings, which a configuration review reads setting by setting without connecting to Rubrik.
How to export the Rubrik configuration, step by step, what the review checks in the file (34 checks run), and what it does not read.
| The file | JSON, one rubrik-sla-domains.json per page: { "data": { "slaDomains": { "nodes": [...], "pageInfo": {...}, "count": n } } }, as Rubrik returns it |
|---|---|
| Checks run on it | 34 |
| Highest grade its findings reach | OBSERVED |
| Feeds attack paths | No |
| Not read from this export | 4 areas, listed below |
Sources: Rubrik documentation (1); Rubrik documentation (2); the vendor table.
How to export it
These steps have not been checked against the vendor's documentation.
- Who can pull it
- A Rubrik Security Cloud service account, because the query is sent with a service account’s access token and a service account cannot sign in to the web interface. Give it the role with the fewest privileges that can read SLA Domains; Rubrik’s public API pages do not name that role, and its product pages need a sign-in. Adding the account needs a Rubrik user who may manage service accounts.
- Time
- About 10 minutes: adding the service account, running the script, deleting the account.
- The file
- JSON, one rubrik-sla-domains.json per page: { "data": { "slaDomains": { "nodes": [...], "pageInfo": {...}, "count": n } } }, as Rubrik returns it
No console export: The web interface has no export of SLA Domain settings to a file in these steps: the file the review reads is the answer of the slaDomains query, so the script asks for it.
From the command line
In Rubrik Security Cloud, open the app tray and select Settings, click Users and Access and select Service Accounts, then click Add Service Account. In Name type a name, for example cybertwin-export, click Next, select the role with the fewest privileges that can read SLA Domains (Rubrik: "The role assigned to the service account should be the one with least number of privileges"), click Add, then click Download As JSON. The file holds the client ID, the client secret and the access token URI
The vendor's page, checked 2026-11-11Save rubrik-sla-domains-export.sh (the download link with these steps) in the folder that holds the downloaded service account file, open a bash terminal there, and run
The vendor's page, checked 2026-11-11bash rubrik-sla-domains-export.sh <service-account.json>(the script gets an access token with the client ID and secret, sends the slaDomains query to /api/graphql on the same address, and writes Rubrik’s answer to rubrik-sla-domains.json; when the answer says there is a next page, it asks for it and writes rubrik-sla-domains-2.json and so on. It deletes its session when it ends. Upload each file it writes)After the upload has gone through, delete the service account on the Service Accounts page (Settings, Users and Access, Service Accounts), and delete the downloaded service account file: it holds the client secret
The vendor's page, checked 2026-11-11
The script the steps run: Rubrik SLA Domains (curl + jq, one read query).
What the file looks like
JSON, one rubrik-sla-domains.json per page: { "data": { "slaDomains": { "nodes": [...], "pageInfo": {...}, "count": n } } }, as Rubrik returns it. It varies with the number of SLA Domains: each adds a few kilobytes. The upload takes files up to 10 MB.
What it holds: Rubrik’s answer to the slaDomains query, as returned: each SLA Domain with its retention lock, snapshot schedule, local retention, archival specs and replication specs.
Upload rubrik-sla-domains.json (and each further page the script writes): Rubrik’s answer kept whole, so each finding points to the line of the setting in the file. The steps need curl and jq in a bash terminal. Run these commands in bash (macOS, Linux or WSL): in Windows PowerShell 5.1, > writes UTF-16, which jq and the upload refuse.
Afterwards
Delete the service account on the Service Accounts page (the last step) and the downloaded service account file. The script deletes its own session; delete rubrik-sla-domains*.json once uploaded.
If the export goes wrong
| What you see | The fix |
|---|---|
| The script stops with "No access token: check the service account file." | Give the script the file Download As JSON gave for this service account. If the account was deleted, add a new one and download its file. |
| The script stops with "Rubrik answered with errors" | Open the file it names: GraphQL errors are listed under errors. A permission error means the service account’s role cannot read SLA Domains: give it one that can. |
| curl stops with an HTTP error 401 or 403 | The access token is not accepted: the service account was deleted, or its role does not allow the query. Check it on the Service Accounts page. |
What we read from it
- Checks run
- 34 + 12 guidance items, not counted
- Formats read
- SLA Domain JSON export · Rubrik Security Cloud SLA Domain list answer
- Releases
- 8.x to current
Checks run is the number of checks that reached a result on this system's own export in our tests, as the vendor table shows it.
The areas checked
- Each SLA Domain: retention lock on or off, and whether its archival specs or its replication specs are empty
- The longest retention of each SLA Domain’s snapshot schedule, against 30 days
The grade its findings reach
Observed Findings from this file are OBSERVED: read from the system's own export and cited to the setting.
Its findings stay in the review and its reports. Rubrik does not feed attack paths.
Attack paths, the one change and dollar figures are MODELED. How each grade is worked out is on the method page.
What we do not read from this export
- Immutability and encryption: they are settings of archival locations and clusters, not of an SLA Domain, and the query does not return them
- Protected objects, users, roles and cluster settings: not in this answer
- Whether snapshots ran or met their schedule
Limits of the reader
- Findings name the setting they come from, not its line number.
- If your export leaves a section out, the review does not flag it as partial.
- Findings stay in the review. They do not feed attack paths.
- The checks of this system are not counted: a check counts once a test shows it firing on a file in the layout the vendor documents.
A finding never comes from what the file does not hold: live traffic, running hosts and logs are not in a configuration export.
Questions
Who can export the Rubrik configuration?
A Rubrik Security Cloud service account, because the query is sent with a service account’s access token and a service account cannot sign in to the web interface. Give it the role with the fewest privileges that can read SLA Domains; Rubrik’s public API pages do not name that role, and its product pages need a sign-in. Adding the account needs a Rubrik user who may manage service accounts.
Does the export change anything?
Adding the service account creates a client ID and secret in your Rubrik account; the script then opens one session and deletes it when it ends. The slaDomains call is a read query: it sends no change to an SLA Domain.
Does the file hold passwords or keys?
The downloaded service account file holds the client secret in clear text: delete it after the export. rubrik-sla-domains.json holds no secret: SLA Domain names and ids, schedules, and the names and ids of clusters and archival locations. With redaction on (the default), the passwords, keys and tokens the review recognises are replaced with a placeholder before anything is stored; the check before upload shows how many it found.