Integrating SailPoint with Hugging Face
Hugging Face is an AI platform and community Hub for hosting and sharing machine learning models, datasets, and apps. Organizations on the Hub let teams collaborate under a shared organization name. Each member is assigned an organization role that determines their access level. This document covers how to configure a new direct connection between SailPoint and Hugging Face for Quick Compliance. For a reference to the terminology specific to SailPoint products, refer to Source and Connector Definitions.
Note
To view the latest features, enhancements, and fixes for all SaaS connectors, refer to the SaaS Release Notes page.
Supported Features
The Hugging Face connector supports the following:
Account Management
- Aggregate Team Members with Roles
Note
The organization role of each member is collected on the account in the Role attribute. The connector does not aggregate roles as separate entitlements, because Hugging Face does not provide an endpoint for roles.
Important
Quick Compliance connectors have the following manual aggregation limits within a 24-hour period:
- Organization Admins: Limited to 3 manual account or entitlement aggregations per day per source. This limit is cumulative across all admins in the organization.
- Regular Users: Limited to 1 manual account or entitlement aggregation per day per source.
These limits ensure that individual compliance statuses are kept up to date while maintaining continuous compliance monitoring. If you need to run additional aggregations beyond these limits, contact SailPoint Support.
Prerequisites
Before you configure the Hugging Face connector, ensure the following requirements are met:
- Sign in to Hugging Face with a user account that is a member of the organization you want to connect.
- Go to Settings > Access Tokens.
- Select Create new token.
- Select the Fine-grained token type and enter a unique token name.
- Under the organization permissions, select your organization and grant it read permission (
org.read). - Select Create token.
- Copy the token and store it securely. Hugging Face does not display it again.
- Record the following values for connector configuration:
- Base URL. The Hugging Face API base endpoint, for example
https://huggingface.co/api. - Organization Name. The organization name as it appears in the organization URL, for example
huggingface.co/<organization name>. - Access Token. The token you copied.
- Base URL. The Hugging Face API base endpoint, for example
If the token permissions must change later, create a new token with the correct settings.
Required Permissions
The access token must belong to a user who is a member of the organization, and it must have read permission for that organization (org.read). The connector uses the token to read the organization member list.
Some member attributes, such as Verified Email, are returned by Hugging Face only when the organization has a Team or Enterprise plan and the token belongs to an organization admin. If Hugging Face does not return these values, the corresponding account attributes remain empty.
Each organization member is assigned one of the following roles. The role is returned in the Role attribute. Hugging Face predefines these values, and you cannot change them in SailPoint.
no_access: Belongs to the organization but has no access to its repositories or settings. Access can be granted to specific repositories through Resource Groups on Team and Enterprise plans. Security access posture: None.read: Read-only access to repositories and organization settings, such as the profile, members list, and API token. Security access posture: Low, view only.contributor: Can create repositories and modify only the repositories they created. Security access posture: Moderate, write access to own repositories only.write: Write access to all repositories. Can create, delete, rename, and push to any repository. Security access posture: High, write access to all repositories.admin: Write access to all repositories, plus management of the organization profile, API token, and members. Security access posture: Highest, repository and organization administration.
Note
If aggregation does not return the expected members or attributes, verify that the access token belongs to a member of the organization and has read permission for it.