Docs Concepts
Concepts
Workspaces and scopes
A scope is one cloud account, subscription, project or cluster that Kumo.io knows about. A workspace is the part of your estate a team looks at. You decide which scopes each workspace syncs, and nothing is read until you add a source for it.
Scopes, sources and workspaces
Three things decide what a workspace contains:
| Thing | What it is | Where it lives |
|---|---|---|
| Scope | One part of a cloud provider: an AWS organization, organizational unit or account, an Azure management group or subscription, a Google Cloud organization, folder or project, or a Kubernetes cluster. | Your account. One scope can be linked into several workspaces. |
| Source | A credential plus the scope it reads. Syncing a source is what reads the cloud. | One workspace. |
| Workspace | The container a team works in: its own resources, history, environments and diagrams. | Your account. |
In the web app all three meet on a workspace's Connections tab, which opens with the model in one line (Cloud Account → Source → Workspace) and has three sections:
- Sync Sources: what Kumo.io syncs into this workspace, and with which credential.
- Cloud Accounts: the scopes found for your account. They are listed at the account level, so every workspace shows the same list. Select Advanced to show it.
- Workspace Links: which of those scopes are linked into this workspace. Also under Advanced.
The usual way: Add a Source
You rarely need to handle scopes yourself. When you select Add Source on the Sync Sources section (or Add a Source under Cloud Connections), the wizard stores the credential, finds or creates the scope, creates the source, links the scope to the workspace, and starts the first sync, all in one step. See Your first sync.
Discovering scopes from a credential
When one credential can see more than one cloud account, for example an AWS management account, let Kumo.io list what it can reach first:
- Open a workspace's Connections tab and select Advanced.
- In Cloud Accounts, select Discover Scopes.
- Enter the Provider Key (for example
aws), pick the Credential, and choose a Discovery Mode: Single Account (the Credential Itself) or Organization (Org Root, OUs, Member Accounts). - Select Discover.
Kumo.io reports how many scopes it found and how many are new. New ones appear in Cloud Accounts with the status discovered. A discovered scope is only a proposal: Kumo.io doesn't read it until you create a source for it. To do that, select Advanced in Sync Sources and choose it under Provider Scope (Optional). The scope becomes active and is linked to the workspace.
If a provider can't list its scopes, Kumo.io says so, and you can add one by hand with Create Scope.
Discovery uses the credential read-only. It records what the credential can see, and never changes anything in your cloud.
Scope statuses
The Status column in Cloud Accounts shows where each scope stands. The ones you'll see in normal use:
| Status | Meaning |
|---|---|
discovered | Found by discovery, not used by any source yet. |
active | In use by a source. |
stale | Was active, but a later walk of the whole organization no longer found it. It becomes active again if it reappears. |
A scope changing status never, on its own, marks the resources Kumo.io found in it as deleted. Kumo.io only records a deletion when a sync had full coverage of the place the resource lived. See Revisions and the timeline.
When a source reads a whole AWS organization, each sync also records any new member accounts as discovered proposals, so new accounts become visible without being synced until you decide.
Linking scopes to a workspace
Workspace Links shows which scopes are part of a workspace. Kumo.io creates the link for you when you add a source. You can also link one yourself with Bind Scope, and remove one with Unbind Scope.
Because scopes belong to the account, you can link the same scope into more than one workspace. For example, a shared networking account can appear in both a production workspace and a platform team's workspace. Each workspace still syncs through its own source.
Choosing a layout
| Layout | When it fits | Keep in mind |
|---|---|---|
| One workspace for everything | A small team where everyone may see everything. | The simplest start. You can split later. |
| One workspace per area (production and non-production, or per business unit) | Teams that shouldn't browse each other's estates. | Link shared scopes, such as networking accounts, into each workspace that needs them. |
| Both | A platform team keeps a whole-estate view; product teams get their own. | A cloud account linked into several workspaces still counts once toward your plan's source limit. |
Two things to weigh as you decide:
- Access can follow workspaces. Roles can be granted for a single workspace, such as a viewer role for one workspace only. See Roles and permissions.
- Your plan limits connected sources per account: 3 on Team, 10 on Business, 25 on Enterprise and 25 on Enterprise (Licensed). What counts is each connected cloud account, subscription, project or cluster, once, however many workspaces it is linked into.
discoveredproposals don't count, and neither do grouping scopes such as an AWS organization or OU. See Plans and limits.
Start with one workspace. To add another, select Create Workspace on the Workspaces page.
From the command line
On a self-hosted installation, the same steps are available in the kumo CLI:
kumo provider-scope discover --provider-key aws --credential <credential-id> --discovery-mode organization
kumo source create --provider-key aws --display-name "Production" --credential <credential-id> --scope <scope-key>
kumo workspace attach-scope --provider-scope <scope-id>
provider-scope discoverrecords what the credential can see asdiscoveredproposals.--discovery-modeisaccount(the default),explicit_accountsororganization;--organizational-unitslimits an organization walk to the OUs you list.source create --scopeturns a proposal into a source: the scope becomesactiveand is linked to the workspace.--orgcreates one source for the whole organization;--all-accountscreates one source per discovered account.workspace attach-scopelinks an existing scope into the selected workspace.
See the CLI reference for every option.