Files
developer.sailpoint.com/docs/connectivity/saas-connectivity/connector-customizers/customizer-commands/test-connection.md
darrell-thobe-sp 2cd5ccfc81 Prettified Code!
2024-04-18 10:31:05 +00:00

1.4 KiB

id, title, pagination_label, sidebar_label, keywords, description, slug, tags
id title pagination_label sidebar_label keywords description slug tags
test-connection-customizer Test Connection Test Connection Test Connection
connectivity
connectors
test connection
Intercept the test connection command. /connectivity/saas-connectivity/customizers/commands/test-connection
Connectivity
Connector Command

Overview

Use these commands to intercept the Test-Connection command.

Input/Output Data Type
Input undefined
Output StdTestConnectionOutput

Example StdTestConnectionOutput

{
}

Implementation

Before test-connection command

Use this logic to implement the command:

    .beforeStdTestConnection(async (context: Context, input: undefined) => {
        logger.info('Running before test connection')
    })

There is no input, so you cannot mutate any data. However, you can make web request calls or perform any type of logging or logic before calling the connector.

After test-connection command

Use this logic to implement the command:

    .afterStdTestConnection(async (context: Context, output: StdTestConnectionOutput) => {
        logger.info('Running after test connection')
        return output
    })

The output datatype is always an empty object handed down from the connector.