Organizations¶
DRACO supports multi-tenancy through Organizations, allowing users to belong to multiple isolated environments within a single account. Each organization maintains its own providers, scans, findings, data sources and events, threat intelligence, credentials and user memberships, ensuring complete data separation between teams, business units or clients.
On a DRACO server run for several clients, each client is an organization created by the DRACO operator.
Key Concepts¶
- Organization (Tenant): An isolated workspace containing its own providers, scans, findings, roles, and users. Every DRACO account operates within at least one organization.
- Membership: The association between a user and an organization, including the membership role (
ownerormember). - Active Organization: The organization currently in use for the session. All actions (scans, findings, provider management) apply to the active organization.
Note
When a new account is created without an invitation, a default organization is automatically provisioned. Accounts created through an invitation join the inviter's organization instead.
Viewing Organizations¶
To view all organizations associated with an account, navigate to the Profile page. The Organizations card displays every organization the user belongs to, including the role, name, join date, and whether it is the currently active organization.
Creating an Organization¶
To create a new organization:
-
Navigate to the Profile page.
-
In the Organizations card, click the Create organization button.
-
Enter a name for the new organization (maximum 100 characters).
-
Click Create. The session automatically switches to the newly created organization.
Note
Creating an organization requires being authenticated. Any user can create a new organization regardless of their current role.
Switching Between Organizations¶
To switch the active organization:
-
Navigate to the Profile page.
-
In the Organizations card, locate the organization to switch to.
-
Click the Switch button next to the desired organization.
-
Confirm the switch in the dialog. The page reloads with the new organization's context, and all subsequent actions apply to it.
Note
The currently active organization is indicated by an Active badge. Switching updates the session tokens, so the page will reload automatically.
Editing an Organization Name¶
Renaming an organization requires both of the following conditions to be met:
- The user's membership role in that organization must be
owner(visible as theownerbadge in the Organizations card). - The user must have Read-Write in the Organization settings area.
Users who only meet one of the two conditions will not see the Rename button. For example, a user whose membership role is member will not see the Rename button even if their role grants Read-Write in Organization settings.
To rename an organization:
-
Switch to the organization if it is not the active one.
-
Go to Settings > Organization > Organization settings.
-
In the Organization section, click Rename, enter the new name and save.
Deleting an Organization¶
Organization owners with Read-Write in Organization settings can delete an organization, provided they belong to at least two organizations (the last remaining organization cannot be deleted).
Deleting a Non-Active Organization¶
-
Navigate to the Profile page.
-
Click the Delete button next to the organization to remove.
-
Type the organization name to confirm deletion.
-
Click Delete. The organization and all its associated data (providers, scans, findings) are permanently removed.
Deleting the Active Organization¶
When deleting the currently active organization, an additional step is required:
-
Navigate to the Profile page.
-
Click the Delete button next to the active organization.
-
Select which organization to switch to after deletion.
-
Type the organization name to confirm.
-
Click Delete. The session switches to the selected organization, and the deleted organization's data is permanently removed.
Warning
Deleting an organization is irreversible. All providers, scans, findings, and configuration data within the organization are permanently deleted. Users who belong only to the deleted organization will lose access to DRACO.
Accepting an Invitation to an Organization¶
When invited to join an organization, the invited user receives a link to accept the invitation. The flow adapts depending on whether the user already has a DRACO account:
Existing Users¶
-
Open the invitation link.
-
If already authenticated, the invitation is accepted automatically and the user is redirected to DRACO.
-
If not authenticated, choose I have an account -- Sign in, authenticate with existing credentials, and the invitation is accepted upon sign-in.
New Users¶
-
Open the invitation link.
-
Choose I'm new -- Create an account.
-
Complete the sign-up process. Upon account creation, the invitation is accepted and the user joins the inviter's organization.
Note
Invitations expire after 7 days. If an invitation has expired, contact the organization administrator to send a new one. For more details on invitation management, see Users and invitations.
Expelling a User From an Organization¶
Organization owners can expel a member from the organization. Expelling removes the membership immediately, revoking access to all providers, scans, and findings scoped to that organization. Owners expelling themselves are blocked if they are the last remaining owner of the organization.
To expel a user:
-
Navigate to the Users page.
-
Locate the user to remove and open the row actions menu.
-
Select Expel user.
-
Confirm the action in the dialog. The membership is removed immediately and the expelled user loses access to the organization.
Warning
Expelling a user revokes any refresh tokens the account holds, but access tokens already issued remain valid until they expire. The default access token lifetime is 30 minutes, so an expelled user may retain access to the organization for up to that window before being fully locked out.
Warning
If the expelled organization was the user's only organization, the account is permanently deleted along with the membership. All personal profile data associated with that account is removed and cannot be recovered. To preserve the account, confirm that the user belongs to another organization before expelling.
Permissions Reference¶
| Action | Required Conditions |
|---|---|
| View organizations | Any authenticated user |
| Create an organization | Any authenticated user |
| Switch organizations | Any authenticated user |
| Edit organization name | Membership role owner and Read-Write in Organization settings |
| Delete an organization | Membership role owner and Read-Write in Organization settings; must belong to more than one organization |
| Expel a user from an organization | Organization owner (no additional permission required); last remaining owner cannot expel themselves |