# Get connectors for a Masking Job by ID.

Endpoint: GET /compliance-jobs/{complianceJobId}/connectors
Version: 3.20.0
Security: ApiKeyAuth

## Security:

  - `ApiKeyAuth` (unknown)
    apiKey in header Authorization

## Path parameters:

  - `complianceJobId` (string, required)
    The ID of the compliance job.

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `connector` (object)
    Connectors are the way users define the data sources to which the Masking Engine should connect.
    Example: {"id":"1-database-123","name":"connector-name","engine_id":123,"type":"DATABASE","hostname":"database_server.example.com","database_type":"POSTGRES","schema_name":"public","database_name":"public","po…

  - `connector.id` (string)
    The Connector entity ID.
    Example: 1-database-123

  - `connector.name` (string)
    The Connector name.
    Example: connector-name

  - `connector.engine_id` (string)
    The id of the Compliance Engine that this Connector belongs to.
    Example: 123

  - `connector.engine_name` (string)
    The name of the Compliance Engine that this Connector belongs to.
    Example: my-compliance-engine-1

  - `connector.type` (string)
    Enum: "DATABASE", "FILE", "MAINFRAME_DATASET"

  - `connector.hostname` (string)
    The network hostname or IP address of the database server.
    Example: database_server.mycompany.co

  - `connector.port` (integer)
    The TCP port of the server.
    Example: 9100

  - `connector.username` (string)
    The username this Connector will use to connect to the database.

  - `connector.auth_present` (boolean)
    Whether this connector has authentication credentials set

  - `connector.database_type` (string)
    The database variant, such as Oracle or MSSQL Server
    Enum: "AURORA_POSTGRES", "DB2", "DB2_ISERIES", "DB2_MAINFRAME", "EXTENDED", "GENERIC", "MARIADB", "MSSQL", "MYSQL", "ORACLE", "POSTGRES", "RDS_POSTGRES", "SYBASE"

  - `connector.custom_driver_name` (string)
    The name of the custom JDBC driver for this connector

  - `connector.database_name` (string)
    The database name for this connector

  - `connector.instance_name` (string)
    The instance name for this connector

  - `connector.jdbc` (string)
    The jdbc URL for this connector

  - `connector.schema_name` (string)
    The schema name for this connector

  - `connector.sid` (string)
    The SID value for this connector. This field is specific to Oracle database connectors

  - `connector.kerberos_auth` (boolean)
    Whether kerberos authentication is enabled for this connector

  - `connector.service_principal` (string)
    The service principal to use for kerberos authentication

  - `connector.enable_logger` (boolean)
    Whether the logger is enable for this connector

  - `connector.file_type` (string)
    The type of file this connector is configured to access
    Enum: "DELIMITED", "FIXED_WIDTH", "XML", "JSON"

  - `connector.connection_mode` (string)
    The connection mode for file connectors
    Enum: "FTP", "MOUNT", "SFTP", "FTPS", "AWS_S3", "S3_COMPATIBLE"

  - `connector.path` (string)
    The path on the remote server for file connections

  - `connector.ssh_key` (string)
    The name of the ssh key for SFTP mode file connectors

  - `connector.user_dir_is_root` (boolean)
    For FTP and SFTP connections, whether the user dir is set to root

  - `connector.platform` (string)
    This database or file connection type associated with the connector
    Example: ORACLE

  - `connector.tags` (array)

  - `connector.tags.key` (string, required)
    Key of the tag
    Example: key-1

  - `connector.tags.value` (string, required)
    Value of the tag
    Example: value-1

