Workspaces
Workspaces are tenants inside one FireHawk server. Each workspace has its own hosts and everything around them, and nothing is visible from another workspace. Use them to separate customers, teams or environments (for example Production and Staging) without running several servers.
What is isolated
Section titled “What is isolated”Each workspace has its own:
- hosts, host groups, aliases, rule templates and policies;
- SSH credentials and jump hosts;
- maintenance windows, notification channels, rollouts and jobs;
- audit log;
- user groups, roles, access grants and API tokens.
Names only need to be unique inside a workspace. The built-in roles are shared by all workspaces.
What stays global: user accounts (one account can be a member of several workspaces), the single sign-on provider settings, the public URL, and the key files in the server’s sshkeys/ directory.
The Default workspace
Section titled “The Default workspace”Everything that existed before workspaces were introduced is in the Default workspace, and all existing users are its members. A FireHawk with a single workspace looks and behaves as before: the workspace switcher only appears when a user belongs to more than one.
Two kinds of administrators
Section titled “Two kinds of administrators”| FireHawk admin | Workspace admin | |
|---|---|---|
| Set by | the account’s type (FireHawk admin) | the member’s workspace role (workspace admin) |
| Workspaces | every workspace, as admin | the workspaces where they have this role |
| Inside a workspace | everything | everything: members, user groups, roles, grants and every permission |
| Accounts | create, disable, delete accounts, reset passwords, make FireHawk admins | add existing accounts or create local ones, change workspace roles, remove members |
| Workspaces, SSO, global audit | yes | no |
Other members (member (rights from grants)) get their rights from access grants inside the workspace.
Create a workspace
Section titled “Create a workspace”FireHawk admins only:
- Open Workspaces and click New workspace.
- Enter a Name (for example
Customer A) and a Description. - Optional: Workspace administrators (e-mails of existing accounts, optional).
- Click Create workspace.
The list shows each workspace’s number of hosts and members. Open switches to it.
Delete a workspace
Section titled “Delete a workspace”Delete removes the workspace with its aliases, policies, templates, credentials, user groups, roles, grants, channels, windows, rollouts, jobs and audit log. A workspace that still has hosts cannot be deleted, nor can the last workspace.
Switch workspace
Section titled “Switch workspace”Users who belong to several workspaces pick the current one in the sidebar’s workspace selector. The app reloads in that workspace.
API tokens are bound to the workspace they were created in.
Members
Section titled “Members”In a FireHawk with workspaces, the Users tab of Users & access lists the members of the current workspace:
- Add user adds an existing account (same e-mail) to the workspace as it is, or creates a local account. A member has no access until you add them to a user group or grant them a role.
- The workspace role selector switches between member (rights from grants) and workspace admin.
- Remove from workspace removes the member’s grants, user-group memberships and API tokens in this workspace. The account itself stays.
FireHawk admins also see All accounts, with every account on the server.
Single sign-on
Section titled “Single sign-on”The OIDC provider is configured once, globally, by a FireHawk admin. Group mappings point at user groups of any workspace: a mapped user group also makes the user a member of its workspace (as an SSO member, removed again when the mapping no longer applies). See Single sign-on.
Key files
Section titled “Key files”Each workspace has its own audit log. FireHawk admins can switch the Audit log page to Global events for actions outside any workspace, such as accounts, workspaces and single sign-on settings.
