Skip to content

Workspaces

A workspace is a team or a program on one install, with its own hosts, scenarios, environments, suites, schedules, requirements, runs, evidence, keys, certificates, capture points, message log and API tokens, and its own members with their roles. Several teams share one install without seeing each other’s test data, and a program keeps its own history.

A fresh install has one workspace, called Default, and shows no sign of workspaces until an install admin makes a second. Until then everything in this guide is already true of the one you have.

Everyone who belongs to a workspace sees everything in it and runs its saved scenarios. What they may change or start there is their role, and a role is a set of permissions. Three roles are built in and mean the same on every install:

Role Holds
Viewer no permission: reads everything in the workspace and runs its saved scenarios
Editor the permissions that change the workspace’s own things and start its runs: hosts, scenarios, runs, load, suites and schedules, requirements, environments, dialects, HSM keys, certificates, capture points, evidence packs and API tokens
Admin every permission, so also the workspace’s members, webhooks, approval rules and evidence archive

An install admin defines more on the Roles page under Admin: a name, a description and the permissions the role holds, picked from the catalogue, which is grouped by area (hosts; tests; keys and traffic; evidence and change control; the workspace). A test manager who writes requirements, keeps suites and schedules and decides proposals. A key custodian for the HSM’s keys and the certificates, who never touches a scenario. An auditor who makes evidence packs. A role is defined for the install, so it means the same in every workspace, and it is given per member on each workspace’s Settings page. Changing a role’s permissions changes what everyone who holds it may do on their next request. A role nobody holds any more can be removed; the built-in three stay as they are.

The console shows a button or a page when your role here holds the permission it needs, and a request without the permission is refused with the reason, such as “Your role here doesn’t let you manage hosts”. Over the API, GET /api/permissions lists the catalogue and GET /api/roles the install’s roles with how many members hold each; install admins define one with POST /api/roles, or from the command line, which suits installs set up by automation:

iso8583sim-identity define-role test-manager --name "Test manager" --permissions requirements.manage,suites.manage,proposals.decide,evidence.create

An install admin (the install role admin, as the first admin is) manages users, workspaces, roles and the install’s own settings, and holds every permission in every workspace. The install’s own settings are the ones that reach every workspace: the data policy, the test CA, the HSM’s master key and failure modes, who can sign up and how.

The install role shown on the Users page is also the built-in role a new account gets in the default workspace it joins. Roles anywhere else are set per workspace.

The console shows a workspace switcher in its sidebar as soon as you belong to more than one. The pages show that workspace’s hosts, scenarios, runs and the rest, and what you make is made there. The choice is kept per browser, so two tabs can sit in two workspaces.

The Settings page names the workspace at its top, with its members. Its admins (whoever holds the permission to manage members) add members by email (anyone with an account on the install), give them any of the install’s roles and take them out; an install admin can do the same from any workspace.

Over the API, a session names the workspace it acts in with the X-Workspace header, carrying the workspace’s id; without the header a request acts in your default workspace, the first you joined. Your workspaces and their ids come from GET /api/auth/me. A workspace you are not a member of answers 403, and an object of another workspace answers 404, as if it did not exist: ids say nothing about what you may not see.

curl -s -H "X-Workspace: 2" -b "platform_session=..." https://payments-test.example.com/api/hosts

An API token belongs to the workspace it was made in and acts there alone. The Settings page of each workspace lists the tokens made in it. The CI client and the MCP server use a token, so a pipeline or an agent is in one workspace by its token, and nothing else has to name it. A request that carries a token and names another workspace is refused.

A token holds the permissions you pick when you make it, from the ones you hold in the workspace; pick none and it holds every one you hold. In use it never holds more than you do at that moment: a role taken from you is taken from your tokens too, and a token never grows. Reading the workspace and running its saved scenarios come with the token as with membership. A pipeline that runs scenario files and makes evidence packs needs runs.start and evidence.create; an agent that only looks needs no permission at all. The token list says what each may do; to change it, make a new token.

The dialects the Platform ships, the scenario library and the network packs belong to every workspace. The install’s test CA signs for every workspace, and its certificate is everyone’s; a certificate the vault issues is the workspace’s.

A workspace shares a dialect or a scenario of its own by marking it shared with every workspace, from the dialect’s or the scenario’s page (whoever manages dialects or scenarios there), and keeps it to the workspace again the same way. Every workspace then lists it, marked with the workspace it comes from, and reads it: a shared scenario runs there against that workspace’s own hosts (the names in the file resolve where it runs), a shared dialect goes on that workspace’s hosts and under its own dialects as the one they extend, and the workbench decodes with it. Elsewhere it is read-only: only the owning workspace changes or deletes it, and the change reaches everyone. A workspace that wants its own version takes a copy, which is its own from then on. Runs, evidence and the change history stay in the workspace that made them; a suite names its own workspace’s scenarios, so a shared scenario goes into a suite by its copy. A dialect’s id is unique across the install, so a shared dialect keeps its name everywhere; a copied scenario takes a free name where it lands.

Ports are the machine’s. A host or a capture point in one workspace holds its port for the install, and another workspace trying the same port is told it is in use, without being told by whom. A workspace given a port range (section 7) keeps its hosts and capture points inside it.

Install admins find Workspaces under Admin in the sidebar: every workspace on the install, a new one (a name, and a slug for it), and a rename. Whoever makes a workspace is its first admin, and adds the rest of its members from its Settings page.

DEFAULT_WORKSPACE in the install’s settings names the workspace new accounts join with the install’s default role, by slug; several slugs, comma separated, make new accounts members of each; none means they join none until an admin adds them. A slug the install has no workspace for yet is created at start, and everyone who already has an account joins it at their install role, so an install’s settings alone can give it its workspaces.

The first version with workspaces puts everything the install has into one workspace, Default, with every user a member at their current role and every API token belonging to it. Nothing changes for anyone until a second workspace is made.

An install admin can bound what a workspace takes of the install, from the Workspaces page: how many simulated hosts it may have, how many capture points, the range of ports its hosts and capture points listen on, and the highest rate a load or replay run may ask for. Each is optional; one left empty means the install’s own limit, and the install’s limits hold whatever a workspace is allowed. The Settings page of a workspace says what it is allowed, with the hosts in use.

A request past a quota is refused with the quota in the answer: “This workspace may have 3 simulated hosts, and has 3”, “This workspace’s hosts use ports 8595 to 8597”, “This workspace allows load runs up to 500 a second”. A quota applies from the next change on: lowered below what a workspace already has, it stops new hosts or points and leaves what runs alone.

Over the API, PUT /api/workspaces/{id}/quotas sets them (install admins), and GET /api/workspaces shows them. From the command line, for installs set up by automation:

iso8583sim-identity set-quotas partner-program --hosts 3 --capture-points 1 --ports 8595-8597 --load-rate 500

8. Archiving a workspace, and moving things

Section titled “8. Archiving a workspace, and moving things”

When a program ends, an install admin archives its workspace from the Workspaces page. Archived, it keeps everything it has, and nothing in it acts: its members and its tokens are refused with the reason, its simulated hosts stop, its capture points close, and its schedules wait. It leaves the switcher and the lists, and sits under Archived on the Workspaces page, from where an install admin restores it; the hosts and capture points that were enabled come back, and a schedule that was due runs once. The first workspace can’t be archived. Over the API: POST /api/workspaces/{id}/archive and POST /api/workspaces/{id}/restore; GET /api/workspaces?include_archived=true lists the archived ones to install admins.

A scenario, an environment or a simulated host moves to another workspace from its page, by someone whose role manages that kind of thing in both workspaces, to a workspace that isn’t archived, under a name free there. It keeps its id, and both workspaces’ histories get a line naming the other. A host keeps its port and keeps running, and is checked against the new workspace as a new host would be: its dialect visible there, its HSM keys the new workspace’s or the install’s, the new workspace’s quotas. A scenario leaves the suites of the workspace it left and takes its schedules with it; its old runs stay where they were made. An environment names hosts by name, and the names resolve where it is. Keys, certificates, capture points, chip cards, tokens and webhooks don’t move: they’re made where they’re used. Over the API: POST /api/scenarios/{id}/move, POST /api/environments/{id}/move and POST /api/hosts/{id}/move, each with the new workspace’s id.

  • A token’s permissions can’t be changed after it is made; a quota on the rate of all of a workspace’s runs together isn’t set yet (each run is bounded); sharing is with every workspace, not a chosen few; a workspace is archived, not deleted; suites and the things a workspace keeps by name (keys, certificates, capture points, tokens) don’t move.
  • The install’s audit log and the change history show a workspace’s own entries and the install’s; the history page of one workspace does not show another’s.