Organizations and roles

The shared workspace a team works in, the three roles, and what each person can do.

6 sections4 min read

An organization is the shared workspace for a team. Everything you connect belongs to the team rather than to one person, so anyone on it opens the same repositories and reads the same findings.

What belongs to the team

When you connect a repository, the team owns it. Not you. That is why the work carries on when someone leaves, and why two teams on the same account never see each other's repositories or findings.

  • Connected repositories, and every scan, finding, and fix under them
  • The accounts you connected at GitHub, GitLab, and Bitbucket
  • Connected container registries and the images from them
  • Scan settings, the onboarding profile, and usage
  • The plan, the allowance every scan spends from, and the billing account
  • The audit log

The three roles

Everyone on the team can scan and read. Only an owner or an admin can change what is connected, or put code on a repository.

RoleWhat this person can do
ownerEverything an admin can do. Created the organization. This seat cannot be removed by another administrator.
adminConnect and disconnect repositories and accounts, change scan settings, change the plan and its seats, and open and merge pull requests.
memberScan, read findings, triage them, and generate patches. Cannot change what is connected, and cannot open or merge a pull request.

Role by action

Action`owner``admin``member`
Run a scanYesYesYes
Read findings, branches, commits, and the audit logYesYesYes
Read the plan and the allowanceYesYesYes
Triage a findingYesYesYes
Generate a patchYesYesYes
Export an SBOMYesYesYes
Connect or disconnect a repositoryYesYesNo
Change scan settings and coverage checksYesYesNo
Connect or disconnect a GitHub, GitLab, or Bitbucket accountYesYesNo
Connect a container registry, or add an imageYesYesNo
Open a pull request for a fix, or merge oneYesYesNo
Attest a proofYesYesNo
Change the plan, buy seats, or open the billing portalYesYesNo

Switching team in the workspace

The switcher sits at the top of the sidebar. It lists the organizations you belong to and creates a new one. It also opens the management view, where you invite members and change their roles. The workspace acts on whichever organization is selected there.

Choosing one from the CLI

Which organization cf acts onbash
cf org list
cf org use acme
cf org show

Belong to exactly one organization and you can skip all of this: the API uses that one. Belong to several and name none, and commands answer organization_required instead of guessing. Guessing would mean showing you another team's findings and saying nothing about it. Full detail in Organizations in the CLI.

Errors you will see

CodeWhat happened
organization_requiredYou belong to more than one organization and named none.
organization_not_foundThat slug is not an organization you belong to. A slug that does not exist gets the same answer, so the error never confirms that someone else's organization is real.
organization_forbiddenYou are a member here, and this action needs an owner or an admin.
billing_forbiddenChanging what the organization pays needs an owner or an admin. Reading the plan does not.
unknown_organizationcf org use was given a slug your account does not have. Nothing was stored.

Have a correction or need help?

Email the docs team