Capabilities
Gather Harness credentials
1
In Harness, create or select the service account that C1 will use.
2
Assign role bindings and resource groups that grant
core_user_view, core_usergroup_view, core_serviceaccount_view,
core_role_view, core_resourcegroup_view, and
core_authsetting_view.3
Create an API key and token for that service account.
4
Copy the token. Harness shows token values only at creation time.
5
Copy the Harness account identifier from the Harness UI URL.
6
Copy the Harness API base URL if you do not use Harness SaaS.
Configuration fields
Synced resource types
- Users: Harness account users.
- Service accounts: Harness service accounts.
- User groups: user groups and group membership grants.
- Roles: Harness roles and role assignment grants.
- Resource groups: Harness resource groups used by role assignments.
Special notes
- The connector targets the Harness NextGen platform API.
- Harness SaaS uses
https://app.harness.io. The connector authenticates with the Harness NextGenx-api-keyheader. - Role assignment grants can point to users, service accounts, or user groups.
- Disabled role assignments are not emitted as grants.
Configure the Harness connector
- Cloud-hosted
- Self-hosted
Follow these instructions to use a built-in, no-code connector hosted by C1.Done. Your Harness connector is now pulling access data into C1.
1
In C1, navigate to Integrations > Connectors and click Add connector.
2
Search for Harness and click Add.
3
Choose how to set up the new Harness connector.
4
Set the owner for this connector.
5
Click Next.
6
Find the Settings area of the page and click Edit.
7
Paste the Harness settings into the relevant fields:
- Base URL: Optional Harness API base URL.
- API key: Harness API key.
- Account identifier: Harness account identifier.
8
Click Save.
9
The connector’s label changes to Syncing, followed by
Connected. You can view the logs to ensure that information is
syncing.