TWG CLI

Manage TWG CLI settings for your organization

You can control which OAuth permissions Teamwork Graph CLI (TWG CLI) can request for your organization. These settings don't install or remove twg on anyone's device - they only govern what TWG CLI can do when users authenticate with OAuth.

To learn how authentication works, see How authentication works.

Open Teamwork Graph CLI settings

  1. Go to Atlassian Administration.
  2. Select your organization if you have more than one.
  3. In the sidebar, select Rovo, then select Teamwork Graph CLI.

The page displays the Permissions section for Teamwork Graph CLI.

Choose the default permission mode

By default, Allow all permissions by default is on. In this mode, TWG CLI can request all current OAuth permissions in the settings page, and new TWG CLI permissions added later are allowed automatically.

To review and manage permissions individually, turn Allow all permissions by default off. You can then configure permissions in the Read, Write and manage, and Delete categories.

There isn't a separate organization-level enable or disable toggle in the current OAuth settings. To block TWG CLI OAuth access, turn off Allow all permissions by default, clear the permissions in each category, save your changes, and choose Save and revoke sessions.

Configure permissions

Use permissions to control what TWG CLI can do across your connected apps and tools through personal OAuth 2.1 sign-in. Bitbucket tokens and Atlassian Admin API keys aren't controlled by these OAuth permission settings.

For the full procedure and how enforcement works, see Configure TWG CLI permissions.

Revoke active sessions after changes

When you save permission changes, Atlassian Administration asks whether to revoke active TWG CLI sessions:

Revoking sessions is the fastest way to make permission reductions take effect for active users.

Authentication posture

Each user authenticates with OAuth 2.1 during setup. Authentication happens at the user level, while organization settings control the OAuth permissions TWG CLI is allowed to request.

Bitbucket commands require a separate Bitbucket token, and admin commands use an Atlassian Admin API key. Neither is controlled by these OAuth permission settings. See How authentication works.

How TWG CLI shows up in audit logs

TWG CLI actions are visible in Atlassian audit logs. Go to Atlassian Administration, then Insights, then Audit log. The captured event details include the following fields:

Command logging requires authentication, a selected site, and logging enabled. Delivery is best effort, so some invocations may be missing. Logs appear under the user's organization in Atlassian Administration. Filter by:

Each entry contains the full JSON event and associated event details.

IP allowlist behavior

TWG CLI respects all the IP allowlists configured for your organization.

Next steps