Organize workspaces, teams and access
Divide your organization into workspaces, give each group a team with the access it needs, close the access every member gets by default, connect single sign-on and SCIM, and review the changes in the audit log.
By the end of this guide, each group in your company sees the cost it should and changes only what it owns, your identity provider keeps people and their teams in step, and the audit log shows who changed access and when. It is for the admin who sets Costfluent up for a company, or who takes over an organization that grew without a plan. The path goes from deciding what is a workspace and what is a segment, through a team per group with its access and its people, to closing the access every member gets by default, single sign-on and SCIM, and a review in the audit log. Each step links to the page that owns the detail.
Before you start
- The Owner organization role in Costfluent: creating workspaces and teams, inviting people, granting access, single sign-on and the audit log all need it. Access model explains how roles, teams and workspace access combine.
- A list of the groups in your company and, for each, the cost it may see and the cost it may change.
- For single sign-on, an identity provider that speaks OpenID Connect, and access to the DNS of your email domain.
- The steps set up people and access, not cost, so they do not run on the sample data; it serves only to read what a team will see in the first workspace, which it is linked to.
1. Decide what is a workspace and what is a segment
A workspace is the boundary of access: its cost reports, dashboards, budgets, alerts, segments and virtual tags belong to it, and a team is granted access to it as a whole. A segment is an owner inside one workspace: everyone who can view the workspace sees every segment's cost. Costfluent recommends a workspace for each group that must not see the others' cost, or that keeps its own currency or time zone, and a segment for each team whose cost the rest may see, as Showback for teams builds them.
Create a workspace with New workspace, in the header's workspace menu or on Settings, then Workspaces: enter a Workspace name, check the Time zone and select Create workspace. Then choose the cost it reads under Settings, then Workspace providers: Add provider adds a connection, and Choose accounts with Chosen accounts limits an AWS or Azure connection to the accounts that belong to the group, so one AWS organization or Azure tenant can be divided between workspaces. See Create and switch workspaces, Choose which workspaces see the cost and Segments and allocation rules.
2. Create a team for each group and grant its access
Open Settings, then Teams, select New team, enter a Team name and select Create team. Under Who sees this team, Members only hides the team from everyone but its members and Owners; it narrows who sees the team, not what it grants. On the team's page, under Workspace access, choose each workspace the group needs and the level, Can view or Can edit, and select Grant access. With Can view the team reads the workspace; with Can edit its Editors also change the workspace's reports, budgets and allocation. Optionally choose a Default dashboard for each workspace, the one the team's members open after signing in. See Create a team, Grant workspace access and Give a team a default dashboard.
3. Invite people and put them on teams
On Settings, then Users, select Invite user, enter the Email address, First name and Last name, choose a Role, Viewer, Editor or Integration owner, and select Send invitation; the confirmation's Add to a team opens Teams. On a team, under Members, choose the person and whether they act there as Viewer or Editor, then select Add member. A team never gives a person more than their role in the organization allows, so someone invited as Viewer only reads, whatever role a team gives them. An Owner reaches every workspace without a team, so Costfluent recommends keeping the Owner role to the few people who run the organization. With single sign-on and SCIM in step 5, your identity provider can take over this step. See Invite people and Add members.
4. Close the access every member gets
Every member is also on the system team Everyone, which a new workspace gives the organization's Default workspace access. While Everyone reaches a workspace, a team's grant there limits no one. Once each group's team has its access, open Settings, then Teams, select Restrict all workspaces and confirm with Restrict: Everyone gets No access on every workspace, workspaces created later start with No access for it, and teams keep the access they grant. Then open a person's workspace access from the icon at the end of their row on Settings, then Users: it lists what they reach in each workspace and which team grants it. See Restrict all workspaces and The Everyone team.
5. Connect single sign-on and SCIM
Open Settings, then Single sign-on. Register Costfluent at your identity provider as an OpenID Connect application, then under Add a connection enter the Email domain, the Discovery URL, the Client ID and the Client secret, choose the Default role, select Save connection, and register the connection's Redirect URI at your provider. Prove the domain with Show the TXT record and Verify domain, then turn on Enabled. Before you turn on Require single sign-on, mark at least one Owner under Break-glass owners, who keeps signing in with a password and a second factor if the provider fails.
To keep teams in step with your provider, add rows under Group to team mapping, which places people in teams at each sign-in, or, with Okta or Microsoft Entra ID, select Generate token under Provisioning (SCIM): your provider then creates, suspends and removes members and pushes its groups as teams. See Connect single sign-on, Enable and enforce, Map groups to teams and Provision with SCIM.
6. Review access in the audit log
Open Settings, then Audit logs. Narrow Event to the changes that move access, such as user.role_changed, team.member_added and team.workspace_access_changed, and From (UTC) and To (UTC) to the period you review; Actor names who made each change, and the changes SCIM makes are events starting with scim.. Export CSV keeps the entries those filters select as a file for your records. See Audit log.
Check the result
- Settings, then Teams, lists a team for each group, each with its members.
- A person's workspace access lists only the workspaces their teams grant, each with the team that grants it.
- The single sign-on connection shows its domain verified and Enabled on.
- Audit logs lists the changes of the steps above, each with its Actor.
Keep it true
- Costfluent recommends an access review every quarter: read the audit log's access events since the last review, and each team's members and Workspace access, against your list of groups.
- A new group gets its team and access before its people arrive, so it starts closed. To review teams and their access in a pull request instead, manage them with
costfluent_team,costfluent_team_memberandcostfluent_team_workspace_access; see Terraform.
Related
- Access model, Organization and workspaces, Users, teams and roles, Sign-in and security and Audit log
- Cost data access control: roles by provider, for who should see which cost and the roles each cloud provider offers for it
- Showback for teams