Zetect Connector Guide Back to zetect.inSwitch portal ⇄

Choosing an Onboarding Approach

Before you write code, decide what actually has to change. An application in Zetect is made of two separate parts: the App Catalog entry, described by its provisioning XML, and the connector JAR that does the work on the agent. Many requests need only one of the two, and some need no code at all.

How it works

The provisioning XML decides what administrators see and fill in for the application: the connection settings, the operations it supports, and its account and group attributes. The connector decides what happens with those values on the target system. Zetect copies the connector name and settings from the catalog entry when an administrator adds the application, then sends every request for that application to the connector with that name.

SituationWhat to do
The application is already in the App CatalogUse the built-in connector. An administrator adds the application from the catalog and fills in its connection settings. No development is needed. See Onboarding an Application.
You only need to import people from a source of truthUse an identity source instead of an application. Identity sources import people from the source types Zetect offers. See Configuring Identity Sources.
The application isn't in the catalog and no built-in connector can reach itBuild a custom connector and add a catalog entry for it with a new provisioning XML. Follow this guide from Preparing Your Environment, then write the XML described in Provisioning XML.
An existing connector needs a logic fixChange and redeploy only the connector JAR. The catalog entry and every application built from it stay as they are. See Building a Connector and Deploying a Connector.
The fix also needs a new setting or attributeChange both. Add the field or attribute to the provisioning XML, and read it in the connector.
A new operation, such as suspend, should become availableImplement the request type in the connector, and add the operation to the features list in the provisioning XML. Administrators can then switch it on under the application's allowed operations.

Example

Your team runs an in-house ticketing tool with its own user store and a JSON API. It isn't in the App Catalog, and you need Zetect to create accounts, add them to roles and remove them when people leave.

  1. You build a connector named Helpdesk that answers SYNC_USER, SYNC_GROUP, CREATE_ACCOUNT, ADD_TO_GROUP, REMOVE_FROM_GROUP and DELETE_ACCOUNT.
  2. You write a provisioning XML with connector="Helpdesk", a Connection Settings field set for the API URL and token, and account and group attributes.
  3. The catalog entry is created with that XML, and an administrator adds the application from the catalog.
  4. Six months later the API changes its paging. You fix the connector and redeploy the JAR. The catalog entry doesn't change.

Limits and defaults

  • Zetect copies the connection settings, operations and attributes from the catalog entry when an administrator adds the application. Changing the catalog entry later doesn't change applications that were already added from it.
  • Never create a second application to work around a connector change. Access requests, certifications, provisioning policies and segregation of duties rules all point at the original application.
  • Replacing the provisioning XML on a catalog entry replaces the whole file. Start from the current file rather than writing a new one.