Zendesk
This integration is provided as an Open Authorization API (OAA) connector package. Contact our support team for more information.
OAA connector for Zendesk
Python connector for discovering Zendesk users, groups and role assignments.
Overview
This connector uses the Zendesk API to retrieve the lists of users and map out their group and role assignments. Zendesk uses a mix of built and custom roles. Built in roles need to be defined in the OAA connector code and will need to be maintained if there are changes in the Zendesk platform. Custom roles are retrieved through the API. OAA connector does not discover Zendesk end-user (customer) accounts.
Generic Application Mappings
This connector uses the OAA Application template to map applications and identities to permissions. The following table shows how Custom Application entities correspond to Zendesk entities:
Zendesk | Generic Application |
---|---|
Zendesk Account | Application |
User | local user |
Group | local user |
Role | local role |
Attributes
Zendesk connector extracts the following attributes
User:
created_at
last_login_at
is_active
- Boolean if account state,false
if suspendedid
- Zendesk ID for userdisplay_name
- accounts display name if setrole
- The user's simplified role type, "end-user", "agent", or "admin"
Group:
id
- Zendesk ID for groupdescription
- If group has description set
Setup
Zendesk Setup Instructions
Generate a Zendesk API key for a user with sufficient privileges to see all users. See Zendesk Help for complete steps.
Veza Setup Instructions
Generate an API key for your Veza user. API keys can be managed in the Veza interface under Administration -> API Keys. For detailed instructions consult the Veza User Guide.
Command Line
With Python 3.8+ install the requirements either into a virtual environment or to the system:
Set the Veza API key and Zendesk API key as environment variables. All other parameters can be passed as either environment variables or command line arguments.
Run the code, provide any parameters not exported as command line arguments:
Parameters
Parameter | Environment Variable Name | Value |
---|---|---|
|
| URL of Zendesk Account |
|
| Username of the Zendesk account the API key was generated for |
|
| API key generated for Zendesk |
|
| URL of Veza deployment |
|
| API key generated for Veza |
|
| Optional, enable verbose output and debug information |
|
| Optional, save OAA payload to JSON file locally for debugging |
Last updated