Capabilities
RBAC space roles
The Confluence connector supports two modes for syncing space access:- Granular space permissions (default): Syncs individual noun-verb permission pairs (for example,
read-space,administer-space) per space. This is the default behavior. - RBAC space roles: Syncs Confluence’s built-in space roles and their assignments instead of granular permissions. Enable this mode by setting the
--use-rbacflag (orBATON_USE_RBAC=true).
Gather Confluence credentials
Configuring the connector requires you to pass in credentials generated in Confluence. Gather these credentials before you move on.Create an API token
1
Log into your Confluence account with Administrator access.
3
Click Create API token.
4
Give your token a label, such as C1, and click Create.
5
Carefully copy and save the newly generated API token.
Configure the Confluence connector
- Cloud-hosted
- Self-hosted
Follow these instructions to use a built-in, no-code connector hosted by C1.Done. Your Confluence connector is now pulling access data into C1.
1
In C1, navigate to Integrations > Connectors and click Add connector.
2
Search for Confluence v2 and click Add.
3
Choose how to set up the new Confluence connector:
- Add the connector to a currently unmanaged app (select from the list of apps that were discovered in your identity, SSO, or federation provider that aren’t yet managed with C1)
- Add the connector to a managed app (select from the list of existing managed apps)
- Create a new managed app
4
Set the owner for this connector. You can manage the connector yourself, or choose someone else from the list of C1 users. Setting multiple owners is allowed.
If you choose someone else, C1 will notify the new connector owner by email that their help is needed to complete the setup process.
5
Click Next.
6
Find the Settings area of the page and click Edit.
7
Enter your Confluence domain (the URL of your Confluence instance is
<YOUR DOMAIN>.atlassian.net) into the Confluence site domain field.8
Enter the username for your Confluence account in the Username field.
9
Paste the API token into the API key field.
10
Optional. If want to sync information on Confluence users’ personal spaces and their permissions, uncheck the Skip syncing personal spaces and their permissions box.
11
Click Save.
12
The connector’s label changes to Syncing, followed by Connected. You can view the logs to ensure that information is syncing.
Spaces entitlements synced by default
Each Confluence Space has its own set of permissions and allowed actions, which can result in a very large set of entitlement and grant access information in each Space. The Confluence connector syncs entitlements formed by valid pairs of targets (nouns) and operators (verbs), such asadminister-space or read-space.
When configuring the connector in C1, the noun and verb fields are pre-filled with a suggested subset (
space noun and 6 common verbs). These suggested values only pre-populate the configuration form — they are not automatically applied. If you leave the noun and verb fields empty (or do not set --noun / --verb flags), the connector syncs all available nouns and verbs listed below.attachmentblogpostcommentpagespace
administerarchivecreatedeleteexportreadrestrict_contentupdate
--noun and --verb flags when setting up the Confluence connector in self-hosted mode, or configure the noun and verb fields in the C1 UI for cloud-hosted connectors. See the baton-confluence repo’s README for more information.
Space permission entitlements are only synced when RBAC mode is disabled (the default). When
--use-rbac is enabled, the connector syncs Space Roles and Space Role Assignments instead. See RBAC space roles for details.