Connector Guide Overview
A connector is a Java plug-in that lets Zetect read accounts and groups from a target system and change access in it. Connectors run inside the Zetect on-premises agent, close to the systems they manage, so Zetect never needs an inbound connection into your network. This guide shows developers how to build, test and deploy a custom connector when no built-in connector fits.
- Connect any system. Bring a home-grown or niche application under governance with a connector written against a small, published Java API.
- Keep credentials on site. The agent connects out to Zetect and runs your connector locally, so the target system stays behind your firewall.
- Reuse the whole platform. Once the connector answers Zetect's requests, aggregation, access requests, certifications, provisioning policies and suspend/restore all work for the application without extra code.
- Ship a single file. A connector is one self-contained JAR. You install it by copying it into the agent's connectors folder and restarting the agent.
Before you begin
- Check whether you need a custom connector at all. See Choosing an Onboarding Approach.
- Have a Zetect agent you can install connectors on. Administrators deploy agents and issue the agent API key, as described in Deploying Agents.
- Be comfortable with Java 17 and Maven.
Applies to
Developers building connectors for the on-premises agent, and the administrators who install them and onboard the application.
Required permission
None to build a connector. To onboard the application and run aggregations in Zetect, administrator access to the console.
Key concepts
- Agent
- A Java service you run on your network. It registers with your Zetect tenant using the agent API key, loads connectors at startup and passes Zetect's requests to them.
- Connector
- A JAR file that implements the
Connectorinterface from the Connector API. Each connector handles one kind of target system. - Connector API
- The Maven artifact
io.cyiam:cyiam-connector-api. It holds theConnectorinterface, the request model and the result models that a connector compiles against. - Connector name
- The string your connector returns from
connectorName(). Every request Zetect sends carries a connector name, and the agent routes the request to the connector with that exact name. - Request
- A JSON message from Zetect asking a connector to do one thing, such as list accounts or add an account to a group. Its
actionfield names the request type. - Result
- The JSON message a connector publishes back to Zetect for each request. It tells Zetect whether the request succeeded, and returns records or the account's identifier.
- Provisioning XML
- The file that describes an application in the App Catalog: its connector name, the operations it supports, the connection settings an administrator fills in, and its account and group attributes.
