Skip to content

Workspaces

A login runs its checks and ignores in, and bills, one workspace: the one active in the browser when the login was approved.

Terminal window
slopcop whoami # account, this login's workspace, its plan, the service URL
slopcop workspace list # the account's workspaces; * marks this login's
slopcop workspace use "Acme team" # move this login (not the browser) to another, by name or id
slopcop check -w "Acme team" # check in, and bill, another workspace this once

whoami and workspace list take --format human|json, as does workspace use for its answer.

When it matters which workspace a check lands in, run slopcop whoami before it. It prints the account, the workspace (name, kind, role), its plan, and the service URL; --format json gives service, account, workspace, and plan.

slopcop workspace use <name|id> moves this login to another workspace, and with it every agent and script using the login, not only the one that runs it. So it asks [y/N] and refuses when stdin is not a terminal. An agent cannot do it for you.

To check, ignore, or list repositories in another workspace without moving anyone, check, ignore, and repo take -w/--workspace <name|id> (or SLOPCOP_WORKSPACE). It applies to that command only. Give agents that share a login their own --workspace instead of switching it.

Names match without regard to case; when two workspaces share a name, pass the id the listing prints. A name that matches nothing answers workspace_not_found with the listing to choose from.

Every account owns one personal workspace, which never has another member. A team workspace is governed by its members: the member holding the owner role can rename it and invite colleagues by email from the Members panel, and managers run its repositories day to day. An account can belong to twenty workspaces in all, its personal one included.

Workspaces, members, and invitations are managed on the web app’s Organization page; see The web app.

A team workspace has one owner, and any number of managers and members. A personal workspace has only its owner. What matters for the CLI:

CapabilityMemberManagerOwner
Run checks, and add a repository with a first check (within the workspace’s limits)yesyesyes
Ignore a false positiveyesyesyes
Read repository settings, rules, suppressions, and run historyyesyesyes
Report false positives and manage suppressions and custom rules in the web appnoyesyes
Choose which repositories are active: repo enable, repo disablenonoyes
Delete a repository and its recordsnonoyes
Invite and remove members; make a member a manager and backnonoyes
Buy credits, billing alerts, auto top-upnonoyes
Rename or archive the workspacenonoyes

A command that needs the owner answers owner_required with a remedy naming --workspace, in case the login is bound to the wrong workspace.