Skip to main content
Live. This area is documented as current, user-reliable behavior.

Goal

Review and trim access to a resource or a whole team.

Prerequisites

  • Access to the resource. Owner or Admin to change access.

Workflow

1
On a database overview, choose Who can access this?.
2
Read each row: who, whether they can read, change or delete, via which role or policy, and when they last used it.
3
Choose Limit or Remove on a row, or Give someone access to add a limited role on this resource.
4
For the whole team, open team settings, Audit, Unused access.

Who can access this?

  • Groups: People, Tokens, Agents and Automations.
  • Agents show who connected them: an agent can never do more than that person.
  • Open in Audit shows what each one did.
  • The same answer is in the API: GET /api/v1/access/resources?resource=database:<id>.

Unused access

  • A role or token is listed when nothing it allows has been used for 90 days. Owners are never listed.
  • Remove one row, or Remove all. Each stops working at once and its holder is told. People stay on the team with everything else they have.
  • API: GET /api/v1/teams/{teamId}/access/unused and POST /api/v1/teams/{teamId}/access/unused/remove.

Expected result

Only the people, tokens, agents and automations that need a resource can reach it.

Custom roles and limited access

Build a team role from any set of actions, or give someone a role on only one project, database or other resource, optionally for a limited time.

Team audit log and export

See everything people, tokens, agents and automations changed in a team, and everything they were refused. Export CSV or JSON, or stream it through Events.