# Identity Connector

Used to collect events and entities related to identity or to perform actions on the supported identity providers.

## API Reference

For full API documentation see the [Identity API Reference](/api-reference/connectors/identity).

To create an integration with the Identity connector, use the [Create Integration API](/api-reference/management/integrations/integrations_create) endpoint, using one of the provider configs below.

## Supported Providers

- AWS IAM Identity (`identity_aws_iam`)
- Ashby Identity (`identity_ashby`)
- CrowdStrike Falcon Identity Protection (`identity_crowdstrike`)
- Duo Security Identity (`identity_duosecurity`)
- GitHub Identity (`identity_github`)
- Google Workspace (`identity_google`)
- Greenhouse Identity (`identity_greenhouse`)
- Microsoft Entra ID (`identity_entra_id`)
- Okta Identity (`identity_okta`)
- OpenAI API Platform (`identity_openai_platform`)
- OpenAI ChatGPT Enterprise (`identity_openai_chatgpt`)
- PingOne Cloud Platform (`identity_pingone`)
- Workday Identity (`identity_workday`)
- [MOCK] CrowdStrike Falcon Identity Protection (`identity_crowdstrike_mock`)
- [MOCK] Google Workspace (`identity_google_mock`)
- [MOCK] Microsoft Entra ID (`identity_entra_id_mock`)
- [MOCK] Okta Identity (`identity_okta_mock`)
- [MOCK] PingOne Cloud Platform (`identity_pingone_mock`)


## Supported Operators by Provider

| API | Ashby Identity | AWS IAM Identity | CrowdStrike Falcon Identity Protection | [MOCK] CrowdStrike Falcon Identity Protection | Duo Security Identity | Microsoft Entra ID | [MOCK] Microsoft Entra ID | GitHub Identity | Google Workspace | [MOCK] Google Workspace | Greenhouse Identity | Okta Identity | [MOCK] Okta Identity | OpenAI ChatGPT Enterprise | OpenAI API Platform | PingOne Cloud Platform | [MOCK] PingOne Cloud Platform | Workday Identity |
|  --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| query_access_grants | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ |
| expire_all_user_sessions | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ | ❌ | ❌ | ✅ | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ✅ | ❌ | ❌ |
| query_applications | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| query_audit_log | ❌ | ✅ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
| get_group | ❌ | ✅ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
| get_group_members | ❌ | ✅ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
| query_groups | ❌ | ✅ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ |
| query_policies | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| revoke_programmatic_credential | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ | ✅ | ❌ | ❌ | ❌ |
| query_risk_events | ❌ | ❌ | ✅ | ✅ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ | ✅ | ❌ | ❌ | ✅ | ✅ | ❌ |
| query_risky_users | ❌ | ❌ | ✅ | ✅ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| disable_user | ❌ | ❌ | ❌ | ❌ | ✅ | ✅ | ❌ | ❌ | ✅ | ❌ | ✅ | ✅ | ❌ | ✅ | ✅ | ✅ | ❌ | ❌ |
| enable_user | ❌ | ❌ | ❌ | ❌ | ✅ | ✅ | ❌ | ❌ | ✅ | ❌ | ✅ | ✅ | ❌ | ❌ | ❌ | ✅ | ❌ | ❌ |
| force_user_password_reset | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ✅ | ❌ | ❌ |
| get_user | ✅ | ✅ | ❌ | ❌ | ✅ | ✅ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| get_user_picture | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| query_users | ✅ | ✅ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |


## APIs with Filters

| API | Ashby Identity | AWS IAM Identity | CrowdStrike Falcon Identity Protection | [MOCK] CrowdStrike Falcon Identity Protection | Duo Security Identity | Microsoft Entra ID | [MOCK] Microsoft Entra ID | GitHub Identity | Google Workspace | [MOCK] Google Workspace | Greenhouse Identity | Okta Identity | [MOCK] Okta Identity | OpenAI ChatGPT Enterprise | OpenAI API Platform | PingOne Cloud Platform | [MOCK] PingOne Cloud Platform | Workday Identity |
|  --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| query_access_grants | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ [[docs](/guides/connectors/identity/query-filters#microsoft-entra-id-filters-for-query_access_grants)] | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ [[docs](/guides/connectors/identity/query-filters#okta-identity-filters-for-query_access_grants)] | ❌ | ❌ | ✅ [[docs](/guides/connectors/identity/query-filters#openai-api-platform-filters-for-query_access_grants)] | ❌ | ❌ | ❌ |
| query_applications | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ [[docs](/guides/connectors/identity/query-filters#microsoft-entra-id-filters-for-query_applications)] | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| query_audit_log | ❌ | ✅ [[docs](/guides/connectors/identity/query-filters#aws-iam-identity-filters-for-query_audit_log)] | ❌ | ❌ | ✅ [[docs](/guides/connectors/identity/query-filters#duo-security-identity-filters-for-query_audit_log)] | ✅ [[docs](/guides/connectors/identity/query-filters#microsoft-entra-id-filters-for-query_audit_log)] | ✅ [[docs](/guides/connectors/identity/query-filters#%5Bmock%5D-microsoft-entra-id-filters-for-query_audit_log)] | ✅ [[docs](/guides/connectors/identity/query-filters#github-identity-filters-for-query_audit_log)] | ✅ [[docs](/guides/connectors/identity/query-filters#google-workspace-filters-for-query_audit_log)] | ✅ [[docs](/guides/connectors/identity/query-filters#%5Bmock%5D-google-workspace-filters-for-query_audit_log)] | ❌ | ✅ [[docs](/guides/connectors/identity/query-filters#okta-identity-filters-for-query_audit_log)] | ✅ [[docs](/guides/connectors/identity/query-filters#%5Bmock%5D-okta-identity-filters-for-query_audit_log)] | ✅ [[docs](/guides/connectors/identity/query-filters#openai-chatgpt-enterprise-filters-for-query_audit_log)] | ✅ [[docs](/guides/connectors/identity/query-filters#openai-api-platform-filters-for-query_audit_log)] | ✅ [[docs](/guides/connectors/identity/query-filters#pingone-cloud-platform-filters-for-query_audit_log)] | ✅ [[docs](/guides/connectors/identity/query-filters#%5Bmock%5D-pingone-cloud-platform-filters-for-query_audit_log)] | ❌ |
| query_groups | ❌ | ✅ [[docs](/guides/connectors/identity/query-filters#aws-iam-identity-filters-for-query_groups)] | ❌ | ❌ | ✅ [[docs](/guides/connectors/identity/query-filters#duo-security-identity-filters-for-query_groups)] | ✅ [[docs](/guides/connectors/identity/query-filters#microsoft-entra-id-filters-for-query_groups)] | ✅ [[docs](/guides/connectors/identity/query-filters#%5Bmock%5D-microsoft-entra-id-filters-for-query_groups)] | ❌ | ✅ [[docs](/guides/connectors/identity/query-filters#google-workspace-filters-for-query_groups)] | ❌ | ❌ | ✅ [[docs](/guides/connectors/identity/query-filters#okta-identity-filters-for-query_groups)] | ✅ [[docs](/guides/connectors/identity/query-filters#%5Bmock%5D-okta-identity-filters-for-query_groups)] | ❌ | ❌ | ✅ [[docs](/guides/connectors/identity/query-filters#pingone-cloud-platform-filters-for-query_groups)] | ✅ [[docs](/guides/connectors/identity/query-filters#%5Bmock%5D-pingone-cloud-platform-filters-for-query_groups)] | ❌ |
| query_policies | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ [[docs](/guides/connectors/identity/query-filters#microsoft-entra-id-filters-for-query_policies)] | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ [[docs](/guides/connectors/identity/query-filters#okta-identity-filters-for-query_policies)] | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| query_risk_events | ❌ | ❌ | ✅ [[docs](/guides/connectors/identity/query-filters#crowdstrike-falcon-identity-protection-filters-for-query_risk_events)] | ✅ [[docs](/guides/connectors/identity/query-filters#%5Bmock%5D-crowdstrike-falcon-identity-protection-filters-for-query_risk_events)] | ❌ | ✅ [[docs](/guides/connectors/identity/query-filters#microsoft-entra-id-filters-for-query_risk_events)] | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ [[docs](/guides/connectors/identity/query-filters#okta-identity-filters-for-query_risk_events)] | ✅ [[docs](/guides/connectors/identity/query-filters#%5Bmock%5D-okta-identity-filters-for-query_risk_events)] | ❌ | ❌ | ✅ [[docs](/guides/connectors/identity/query-filters#pingone-cloud-platform-filters-for-query_risk_events)] | ✅ [[docs](/guides/connectors/identity/query-filters#%5Bmock%5D-pingone-cloud-platform-filters-for-query_risk_events)] | ❌ |
| query_risky_users | ❌ | ❌ | ✅ [[docs](/guides/connectors/identity/query-filters#crowdstrike-falcon-identity-protection-filters-for-query_risky_users)] | ✅ [[docs](/guides/connectors/identity/query-filters#%5Bmock%5D-crowdstrike-falcon-identity-protection-filters-for-query_risky_users)] | ❌ | ✅ [[docs](/guides/connectors/identity/query-filters#microsoft-entra-id-filters-for-query_risky_users)] | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
| query_users | ✅ [[docs](/guides/connectors/identity/query-filters#ashby-identity-filters-for-query_users)] | ✅ [[docs](/guides/connectors/identity/query-filters#aws-iam-identity-filters-for-query_users)] | ❌ | ❌ | ✅ [[docs](/guides/connectors/identity/query-filters#duo-security-identity-filters-for-query_users)] | ✅ [[docs](/guides/connectors/identity/query-filters#microsoft-entra-id-filters-for-query_users)] | ✅ [[docs](/guides/connectors/identity/query-filters#%5Bmock%5D-microsoft-entra-id-filters-for-query_users)] | ✅ [[docs](/guides/connectors/identity/query-filters#github-identity-filters-for-query_users)] | ✅ [[docs](/guides/connectors/identity/query-filters#google-workspace-filters-for-query_users)] | ✅ [[docs](/guides/connectors/identity/query-filters#%5Bmock%5D-google-workspace-filters-for-query_users)] | ✅ [[docs](/guides/connectors/identity/query-filters#greenhouse-identity-filters-for-query_users)] | ✅ [[docs](/guides/connectors/identity/query-filters#okta-identity-filters-for-query_users)] | ✅ [[docs](/guides/connectors/identity/query-filters#%5Bmock%5D-okta-identity-filters-for-query_users)] | ❌ | ❌ | ✅ [[docs](/guides/connectors/identity/query-filters#pingone-cloud-platform-filters-for-query_users)] | ✅ [[docs](/guides/connectors/identity/query-filters#%5Bmock%5D-pingone-cloud-platform-filters-for-query_users)] | ✅ [[docs](/guides/connectors/identity/query-filters#workday-identity-filters-for-query_users)] |


## Provider Notes

How each provider carries out an operation, where the API reference leaves it to the provider.

### Disable User

**Duo Security Identity**: Sets the user's Duo status to disabled, so they can't complete Duo authentication; Enable User sets it to active. The user and their enrolled devices are kept. A user in a Duo group whose status is Bypass or Disabled is still governed by that group.

**Google Workspace**: Suspends the user, so they can't sign in; Enable User unsuspends them. The user is not deleted, so the account and its data are kept.

**Greenhouse Identity**: Deactivates the user, so they can't sign in to Greenhouse; Enable User reactivates them. The user is not deleted, so their records in Greenhouse are kept.

**Microsoft Entra ID**: Blocks sign-in for the account; Enable User unblocks it. Credentials, licenses and group memberships are kept. For a user synced from on-premises Active Directory, the account is also disabled, or enabled, in Active Directory through Microsoft Defender for Identity, which applies the change shortly after. If that request can't be made, or whether the user is synced can't be read, the change in Entra ID stands and the response carries a problem, because a later directory sync can undo it.

**Okta Identity**: Suspends the user, so they can't sign in; Enable User unsuspends them. The user is not deactivated, so credentials, factors, and group and app assignments are kept. Disable User fails for a user whose Okta status isn't Active, such as one that is locked out or whose password has expired.

**PingOne Cloud Platform**: Disables the user, so they can't sign in; Enable User enables them again. The user is not deleted, so credentials and group memberships are kept.

### Enable User

**Duo Security Identity**: Sets the user's Duo status to active whatever it was before, so a user who had bypass status must complete Duo authentication again. A user in a Duo group whose status is Bypass or Disabled is still governed by that group.

**Okta Identity**: Unsuspends the user, however they were suspended. Enable User fails for a user whose Okta status isn't Suspended, so a user deactivated in Okta is not reactivated.

### Expire All User Sessions

**Google Workspace**: Signs the user out of all web and device sessions and resets their sign-in cookies. This operation will cause an audit log event to be emitted by the provider. To verify it, use Query Audit Log, which returns the sign-out as an event with no OCSF class (`class_uid` 0). Its `raw_data.event.name` is `RESET_SIGNIN_COOKIES`, and the `USER_EMAIL` parameter in `enrichments` is the user who was signed out. Filter on `raw_data.event.name` to find it.

**Microsoft Entra ID**: Revokes the user's refresh tokens and browser session cookies, so they must sign in again. Access tokens already issued stay valid until they expire. This operation will cause an audit log event to be emitted by the provider. To verify it, use Query Audit Log, which returns the revocation as an Account Change event (`class_uid` 3001) with the `message` `Update StsRefreshTokenValidFrom Timestamp` and `user` set to the user who was signed out. Filter on `class_uid` and `message` to find it.

**Okta Identity**: Clears the user's Okta sessions and revokes the OAuth and OpenID Connect tokens Okta issued to them. This operation will cause an audit log event to be emitted by the provider. To verify it, use Query Audit Log, which returns the revocation as an event with `activity_name` `Clear`, `message` `Clear user session` and `user` set to the user whose sessions were cleared. Filter on `message` and `user.uid` to find it.

**PingOne Cloud Platform**: Deletes every PingOne session the user has. If a session can't be deleted, the action fails, but the sessions already deleted stay deleted. Retry to finish. Query Audit Log doesn't return PingOne's `SESSION.DELETED` activity, so a successful response is the only confirmation.

### Get Group Members

**Microsoft Entra ID**: Entra ID grants administrator rights through directory roles, so a group named for administrators can be empty while administrators exist. Get User lists the directory roles a user holds in `entity.user.privileges`, and Get Group those a group holds in `entity.group.privileges`, each as `<role name>::<role id>`.

**Okta Identity**: Okta grants administrator rights by role assignment, so a group named for administrators can be empty while administrators exist. Get User lists a user's roles in `entity.user.privileges`, and Get Group the roles assigned to a group in `entity.group.privileges`, each as `<role label>::<role assignment id>`.

**PingOne Cloud Platform**: PingOne grants administrator rights by role assignment, so a group named for administrators can be empty while administrators exist. Get User lists a user's role assignments in `entity.user.privileges`, and Get Group a group's in `entity.group.privileges`, each as `<role name>::<role id>::<scope type>#<scope id>`.

### Query Audit Log

**Microsoft Entra ID**: Returns sign-ins and directory audits. A sign-in is an Authentication event. A directory audit of user or role management is an Account Change event, and one of group management a Group Management event. Every other directory audit is an Entity Management event, or a Base Event when no target names an entity.