Custom Connector Plugin Auditable Event Methods on Confluent Cloud

Auditable event methods for the resource type CUSTOM_CONNECTOR_PLUGIN are triggered by operations on custom connector plugins (used with custom connectors) that sends event messages to the audit log cluster and stores them as event records in a Kafka topic.

For more information on custom connector plugins and their use with custom connectors, see:

Custom connector plugin

Auditable event methods for the resource types CUSTOM_CONNECTOR_PLUGIN are triggered by operations on a Confluent Cloud custom connector plugin that generate auditable event messages that are sent to the audit log as event records. For more information on audit log records, see Understand Audit Log Event Records.

Method name Action triggering an auditable event message
CreateCustomConnectorPlugin A request to create a custom connector plugin.
CreatePresignedUrl A request to create a presigned URL for a custom connector plugin.
DeleteCustomConnectorPlugin A request to delete a custom connector plugin. version_id and the plugin_id of the custom connector plugin it belongs to.
GetCustomConnectorPlugin A request for a query of custom connector plugin details.
ListCustomConnectorPlugins A request for a list of custom connector plugins.
UpdateCustomConnectorPlugin A request to update a custom connector plugin.

CreateCustomConnectorPlugin

The CreateCustomConnectorPlugin event method is triggered by a request to create a custom connector plugin and sends an event message that is saved in the audit log as an event record.

Examples

SUCCESS
 {
    "datacontenttype": "application/json",
    "data": {
        "serviceName": "crn://confluent.cloud/",
        "methodName": "CreateCustomConnectorPlugin",
        "cloudResources": [
            {
                "scope": {
                    "resources": [
                        {
                            "type": "ORGANIZATION",
                            "resourceId": "2f37f0b6-f8da-4e8b-bc5f-282ebb0511be"
                        }
                    ]
                },
                "resource": {
                    "type": "CUSTOM_CONNECTOR_PLUGIN",
                    "resourceId": "ccp-ccl5y86z"
                }
            }
        ],
        "authenticationInfo": {
            "principal": {
                "email": "xxx@confluent.io",
                "confluentUser": {
                    "resourceId": "u-n5v236"
                }
            },
            "result": "SUCCESS",
            "identity": "crn://confluent.cloud/organization=2f37f0b6-f8da-4e8b-bc5f-282ebb0511be/identity-provider=Confluent/identity=u-n5v236"
        },
        "requestMetadata": {
            "requestId": [
                "14753a88809357d8a5badbbd491d0e46"
            ],
            "clientAddress": [
                {
                    "ip": "134.238.233.61"
                }
            ]
        },
        "request": {
            "accessType": "MODIFICATION",
            "data": {
                "display_name": "ccp.0907-0952.838393",
                "sensitive_config_properties": [
                    "foo",
                    "bar"
                ],
                "upload_source": {
                    "location": "PRESIGNED_URL_LOCATION",
                    "upload_id": "c70f04f5-6667-4070-99e6-5a258f1a96cf"
                },
                "connector_class": "io.confluent.kafka.connect.datagen.DatagenConnector",
                "connector_type": "SOURCE",
                "description": "xxx"
            }
        },
        "result": {
            "status": "SUCCESS",
            "data": {
                "api_version": "connect/v1",
                "connector_class": "io.confluent.kafka.connect.datagen.DatagenConnector",
                "connector_type": "SOURCE",
                "description": "xxx",
                "documentation_link": "",
                "id": "ccp-ccl5y86z",
                "metadata": {
                    "created_at": "2023-09-07T16:52:52.310421Z",
                    "resource_name": "crn://confluent.cloud/organization=2f37f0b6-f8da-4e8b-bc5f-282ebb0511be/custom-connector-plugins=ccp-ccl5y86z",
                    "self": "http://api.confluent.cloud/connect/v1/custom-connector-plugins/ccp-ccl5y86z",
                    "updated_at": "2023-09-07T16:52:52.310421Z"
                },
                "content_format": "ZIP",
                "display_name": "ccp.0907-0952.838393",
                "kind": "CustomConnectorPlugin",
                "sensitive_config_properties": [
                    "foo",
                    "bar"
                ]
            }
        },
        "resourceName": "crn://confluent.cloud/organization=2f37f0b6-f8da-4e8b-bc5f-282ebb0511be/custom-connector-plugin=ccp-ccl5y86z"
    },
    "subject": "crn://confluent.cloud/organization=2f37f0b6-f8da-4e8b-bc5f-282ebb0511be/custom-connector-plugin=ccp-ccl5y86z",
    "specversion": "1.0",
    "id": "c69b184c-536e-4474-9f2b-2b73e8028423",
    "source": "crn://confluent.cloud/",
    "time": "2023-09-07T16:52:52.856497336Z",
    "type": "io.confluent.cloud/request"
}
FAILURE - "uploadId c70f04f5-6667-4070-99e6-5a258f1a96cf is expired or invalid"
{
  "datacontenttype": "application/json",
  "data": {
    "serviceName": "crn://confluent.cloud/",
    "methodName": "CreateCustomConnectorPlugin",
    "cloudResources": [
      {
        "resource": {
          "type": "ORGANIZATION",
          "resourceId": "2f37f0b6-f8da-4e8b-bc5f-282ebb0511be"
        }
      }
    ],
    "authenticationInfo": {
      "principal": {
        "email": "xxx@confluent.io",
        "confluentUser": {
          "resourceId": "u-n5v236"
        }
      },
      "result": "SUCCESS",
      "identity": "crn://confluent.cloud/organization=2f37f0b6-f8da-4e8b-bc5f-282ebb0511be/identity-provider=Confluent/identity=u-n5v236"
    },
    "requestMetadata": {
      "requestId": [
        "08cb319056035da0cde4639366e7cf3b"
      ],
      "clientAddress": [
        {
          "ip": "134.238.233.61"
        }
      ]
    },
    "request": {
      "accessType": "MODIFICATION",
      "data": {
        "display_name": "ccp.0907-0953.275432",
        "sensitive_config_properties": [
          "foo",
          "bar"
        ],
        "upload_source": {
          "location": "PRESIGNED_URL_LOCATION",
          "upload_id": "c70f04f5-6667-4070-99e6-5a258f1a96cf"
        },
        "connector_class": "io.confluent.kafka.connect.datagen.DatagenConnector",
        "connector_type": "SOURCE",
        "description": "xxx"
      }
    },
    "result": {
      "status": "FAILURE",
      "data": {
        "errors": [
          {
            "id": "08cb319056035da0cde4639366e7cf3b",
            "status": "400",
            "detail": "uploadId c70f04f5-6667-4070-99e6-5a258f1a96cf is expired or invalid",
            "source": {}
          }
        ]
      }
    },
    "resourceName": "crn://confluent.cloud/organization=2f37f0b6-f8da-4e8b-bc5f-282ebb0511be"
  },
  "subject": "crn://confluent.cloud/organization=2f37f0b6-f8da-4e8b-bc5f-282ebb0511be",
  "specversion": "1.0",
  "id": "86590273-5f49-49a9-8b8c-d593d831288a",
  "source": "crn://confluent.cloud/",
  "time": "2023-09-07T16:53:12.379249097Z",
  "type": "io.confluent.cloud/request"
}

CreatePresignedUrl

The CreatePresignedUrl event method is triggered by a request to create a presigned URL for a custom connector plugin and sends an event message that is saved in the audit log as an event record.

Examples

SUCCESS
{
  "datacontenttype": "application/json",
  "data": {
    "serviceName": "crn://confluent.cloud/",
    "methodName": "CreatePresignedUrl",
    "cloudResources": [
      {
        "resource": {
          "type": "ORGANIZATION",
          "resourceId": "2f37f0b6-f8da-4e8b-bc5f-282ebb0511be"
        }
      }
    ],
    "authenticationInfo": {
      "principal": {
        "email": "xxx@confluent.io",
        "confluentUser": {
          "resourceId": "u-n5v236"
        }
      },
      "result": "SUCCESS",
      "identity": "crn://confluent.cloud/organization=2f37f0b6-f8da-4e8b-bc5f-282ebb0511be/identity-provider=Confluent/identity=u-n5v236"
    },
    "requestMetadata": {
      "requestId": [
        "6287c6d28e0f2e67b234b3eec3e6a54d"
      ],
      "clientAddress": [
        {
          "ip": "134.238.233.61"
        }
      ]
    },
    "request": {
      "accessType": "MODIFICATION",
      "data": {
        "content_format": "zip"
      }
    },
    "result": {
      "status": "SUCCESS",
      "data": {
        "upload_form_data": {
          "x-amz-signature": "e157e15830e1b61076af0f0d0f168cc049",
          "bucket": "confluent-custom-connectors-prod-us-west-2",
          "key": "staging/ccp/v1/2f37f0b6-f8da-4e8b-bc5f-282ebb0511be/custom-plugins/05db6435-cdad-4463-b25c-91030f517996/plugin.zip",
          "policy": "==",
          "x-amz-algorithm": "AWS4-HMAC-SHA256",
          "x-amz-credential": "ASIAXBOIEPF65WXW7EO7/20230907/us-west-2/s3/aws4_request",
          "x-amz-date": "20230907T162300Z",
          "x-amz-security-token": "//////////+//+++43HCEou6/OrcE/moAlT2FEK+AEGczlg="
        },
        "upload_id": "05db6435-cdad-4463-b25c-91030f517996",
        "upload_url": "https://confluent-custom-connectors-prod-us-west-2.s3.dualstack.us-west-2.amazonaws.com/",
        "api_version": "connect/v1",
        "content_format": "ZIP",
        "kind": "PresignedUrl"
      }
    },
    "resourceName": "crn://confluent.cloud/organization=2f37f0b6-f8da-4e8b-bc5f-282ebb0511be"
  },
  "subject": "crn://confluent.cloud/organization=2f37f0b6-f8da-4e8b-bc5f-282ebb0511be",
  "specversion": "1.0",
  "id": "00de6d8e-f544-4082-a963-6be081049615",
  "source": "crn://confluent.cloud/",
  "time": "2023-09-07T16:23:00.739269785Z",
  "type": "io.confluent.cloud/request"
}
FAILURE - "unsupported content_format"
{
  "datacontenttype": "application/json",
  "data": {
    "serviceName": "crn://confluent.cloud/",
    "methodName": "CreatePresignedUrl",
    "cloudResources": [
      {
        "resource": {
          "type": "ORGANIZATION",
          "resourceId": "2f37f0b6-f8da-4e8b-bc5f-282ebb0511be"
        }
      }
    ],
    "authenticationInfo": {
      "principal": {
        "email": "xxx@confluent.io",
        "confluentUser": {
          "resourceId": "u-n5v236"
        }
      },
      "result": "SUCCESS",
      "identity": "crn://confluent.cloud/organization=2f37f0b6-f8da-4e8b-bc5f-282ebb0511be/identity-provider=Confluent/identity=u-n5v236"
    },
    "requestMetadata": {
      "requestId": [
        "774e7b071117544e29a8920ad1b6dd96"
      ],
      "clientAddress": [
        {
          "ip": "134.238.233.61"
        }
      ]
    },
    "request": {
      "accessType": "MODIFICATION",
      "data": {
        "content_format": "rar"
      }
    },
    "result": {
      "status": "FAILURE",
      "data": {
        "errors": [
          {
            "detail": "unsupported content_format",
            "source": {},
            "id": "774e7b071117544e29a8920ad1b6dd96",
            "status": "400",
            "code": "bad_request"
          }
        ]
      }
    },
    "resourceName": "crn://confluent.cloud/organization=2f37f0b6-f8da-4e8b-bc5f-282ebb0511be"
  },
  "subject": "crn://confluent.cloud/organization=2f37f0b6-f8da-4e8b-bc5f-282ebb0511be",
  "specversion": "1.0",
  "id": "7267d4da-4d67-435e-bd11-a2045bba7582",
  "source": "crn://confluent.cloud/",
  "time": "2023-09-07T16:27:50.792346395Z",
  "type": "io.confluent.cloud/request"
}

DeleteCustomConnectorPlugin

The DeleteCustomConnectorPlugin event method is triggered by a request to delete a custom connector plugin and sends an event message that is saved in the audit log as an event record.

Examples

SUCCESS
{
  "datacontenttype": "application/json",
  "data": {
    "serviceName": "crn://confluent.cloud/",
    "methodName": "DeleteCustomConnectorPlugin",
    "cloudResources": [
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "2f37f0b6-f8da-4e8b-bc5f-282ebb0511be"
            }
          ]
        },
        "resource": {
          "type": "CUSTOM_CONNECTOR_PLUGIN",
          "resourceId": "ccp-ccl5y86z"
        }
      }
    ],
    "authenticationInfo": {
      "principal": {
        "email": "xxx@confluent.io",
        "confluentUser": {
          "resourceId": "u-n5v236"
        }
      },
      "result": "SUCCESS",
      "identity": "crn://confluent.cloud/organization=2f37f0b6-f8da-4e8b-bc5f-282ebb0511be/identity-provider=Confluent/identity=u-n5v236"
    },
    "requestMetadata": {
      "requestId": [
        "2bd8297fb9e8b6ea9758b64cc50b7ae9"
      ],
      "clientAddress": [
        {
          "ip": "134.238.233.61"
        }
      ]
    },
    "request": {
      "accessType": "MODIFICATION",
      "data": {
        "plugin_id": "ccp-ccl5y86z"
      }
    },
    "result": {
      "status": "SUCCESS"
    },
    "resourceName": "crn://confluent.cloud/organization=2f37f0b6-f8da-4e8b-bc5f-282ebb0511be/custom-connector-plugin=ccp-ccl5y86z"
  },
  "subject": "crn://confluent.cloud/organization=2f37f0b6-f8da-4e8b-bc5f-282ebb0511be/custom-connector-plugin=ccp-ccl5y86z",
  "specversion": "1.0",
  "id": "c393696b-c631-4038-93d1-039544055cff",
  "source": "crn://confluent.cloud/",
  "time": "2023-09-07T17:33:36.368232341Z",
  "type": "io.confluent.cloud/request"
}
FAILURE - "Could not delete custom plugin with active connectors"
{
  "datacontenttype": "application/json",
  "data": {
    "serviceName": "crn://confluent.cloud/",
    "methodName": "DeleteCustomConnectorPlugin",
    "cloudResources": [
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "2f37f0b6-f8da-4e8b-bc5f-282ebb0511be"
            }
          ]
        },
        "resource": {
          "type": "CUSTOM_CONNECTOR_PLUGIN",
          "resourceId": "ccp-cc4rkygk"
        }
      }
    ],
    "authenticationInfo": {
      "principal": {
        "email": "xxx@confluent.io",
        "confluentUser": {
          "resourceId": "u-n5v236"
        }
      },
      "result": "SUCCESS",
      "identity": "crn://confluent.cloud/organization=2f37f0b6-f8da-4e8b-bc5f-282ebb0511be/identity-provider=Confluent/identity=u-n5v236"
    },
    "requestMetadata": {
      "requestId": [
        "f412216023df2c3b8df44ae7088644d0"
      ],
      "clientAddress": [
        {
          "ip": "134.238.233.61"
        }
      ]
    },
    "request": {
      "accessType": "MODIFICATION",
      "data": {
        "plugin_id": "ccp-cc4rkygk"
      }
    },
    "result": {
      "status": "FAILURE",
      "data": {
        "errors": [
          {
            "id": "f412216023df2c3b8df44ae7088644d0",
            "status": "400",
            "code": "bad_request",
            "detail": "Could not delete custom plugin with active connectors",
            "source": {}
          }
        ]
      }
    },
    "resourceName": "crn://confluent.cloud/organization=2f37f0b6-f8da-4e8b-bc5f-282ebb0511be/custom-connector-plugin=ccp-cc4rkygk"
  },
  "subject": "crn://confluent.cloud/organization=2f37f0b6-f8da-4e8b-bc5f-282ebb0511be/custom-connector-plugin=ccp-cc4rkygk",
  "specversion": "1.0",
  "id": "dcd4c9a9-47cd-4056-8799-29b9d40fa8a5",
  "source": "crn://confluent.cloud/",
  "time": "2023-09-07T17:32:40.273447448Z",
  "type": "io.confluent.cloud/request"
}

GetCustomConnectorPlugin

The GetCustomConnectorPlugin event method is triggered by a request to get the details of a custom connector plugin and sends an event message that is saved in the audit log as an event record.

Examples

SUCCESS
{
  "datacontenttype": "application/json",
  "data": {
    "serviceName": "crn://confluent.cloud/",
    "methodName": "GetCustomConnectorPlugin",
    "cloudResources": [
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "2f37f0b6-f8da-4e8b-bc5f-282ebb0511be"
            }
          ]
        },
        "resource": {
          "type": "CUSTOM_CONNECTOR_PLUGIN",
          "resourceId": "ccp-ccl5y86z"
        }
      }
    ],
    "authenticationInfo": {
      "principal": {
        "email": "xxx@confluent.io",
        "confluentUser": {
          "resourceId": "u-n5v236"
        }
      },
      "result": "SUCCESS",
      "identity": "crn://confluent.cloud/organization=2f37f0b6-f8da-4e8b-bc5f-282ebb0511be/identity-provider=Confluent/identity=u-n5v236"
    },
    "requestMetadata": {
      "requestId": [
        "e7c9dd7cf6ad139b673fefb6feb521ed"
      ],
      "clientAddress": [
        {
          "ip": "134.238.233.61"
        }
      ]
    },
    "request": {
      "accessType": "READ_ONLY",
      "data": {
        "plugin_id": "ccp-ccl5y86z"
      }
    },
    "result": {
      "status": "SUCCESS",
      "data": {
        "api_version": "connect/v1",
        "connector_type": "SOURCE",
        "kind": "CustomConnectorPlugin",
        "sensitive_config_properties": [
          "foo",
          "bar"
        ],
        "metadata": {
          "created_at": "2023-09-07T16:52:52.310421Z",
          "resource_name": "crn://confluent.cloud/organization=2f37f0b6-f8da-4e8b-bc5f-282ebb0511be/custom-connector-plugins=ccp-ccl5y86z",
          "self": "http://api.confluent.cloud/connect/v1/custom-connector-plugins/ccp-ccl5y86z",
          "updated_at": "2023-09-07T16:52:52.851542Z"
        },
        "connector_class": "io.confluent.kafka.connect.datagen.DatagenConnector",
        "content_format": "ZIP",
        "description": "xxx",
        "display_name": "ccp.0907-0952.838393",
        "documentation_link": "",
        "id": "ccp-ccl5y86z"
      }
    },
    "resourceName": "crn://confluent.cloud/organization=2f37f0b6-f8da-4e8b-bc5f-282ebb0511be/custom-connector-plugin=ccp-ccl5y86z"
  },
  "subject": "crn://confluent.cloud/organization=2f37f0b6-f8da-4e8b-bc5f-282ebb0511be/custom-connector-plugin=ccp-ccl5y86z",
  "specversion": "1.0",
  "id": "3f4da8ba-d0a9-4cda-b64f-788d97947541",
  "source": "crn://confluent.cloud/",
  "time": "2023-09-07T16:53:48.371391090Z",
  "type": "io.confluent.cloud/request"
}
FAILURE - "failed to retrieve custom connector plugin: Not Found"
{
  "datacontenttype": "application/json",
  "data": {
    "serviceName": "crn://confluent.cloud/",
    "methodName": "GetCustomConnectorPlugin",
    "cloudResources": [
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "2f37f0b6-f8da-4e8b-bc5f-282ebb0511be"
            }
          ]
        },
        "resource": {
          "type": "CUSTOM_CONNECTOR_PLUGIN",
          "resourceId": "ccp-ccl5y8"
        }
      }
    ],
    "authenticationInfo": {
      "principal": {
        "email": "xxx@confluent.io",
        "confluentUser": {
          "resourceId": "u-n5v236"
        }
      },
      "result": "SUCCESS",
      "identity": "crn://confluent.cloud/organization=2f37f0b6-f8da-4e8b-bc5f-282ebb0511be/identity-provider=Confluent/identity=u-n5v236"
    },
    "requestMetadata": {
      "requestId": [
        "b0ccf4ca3a5bc6de6065d02bc254f11c"
      ],
      "clientAddress": [
        {
          "ip": "134.238.233.61"
        }
      ]
    },
    "request": {
      "accessType": "READ_ONLY",
      "data": {
        "plugin_id": "ccp-ccl5y8"
      }
    },
    "result": {
      "status": "FAILURE",
      "data": {
        "errors": [
          {
            "detail": "failed to retrieve custom plugin: Not Found",
            "source": {},
            "id": "b0ccf4ca3a5bc6de6065d02bc254f11c",
            "status": "404",
            "code": "not_found"
          }
        ]
      }
    },
    "resourceName": "crn://confluent.cloud/organization=2f37f0b6-f8da-4e8b-bc5f-282ebb0511be/custom-connector-plugin=ccp-ccl5y8"
  },
  "subject": "crn://confluent.cloud/organization=2f37f0b6-f8da-4e8b-bc5f-282ebb0511be/custom-connector-plugin=ccp-ccl5y8",
  "specversion": "1.0",
  "id": "f5752e86-55a5-40bb-a941-6e8fa6c826b2",
  "source": "crn://confluent.cloud/",
  "time": "2023-09-07T16:54:18.921293482Z",
  "type": "io.confluent.cloud/request"
}

ListCustomConnectorPlugins

The ListCustomConnectorPlugins event method is triggered by a request to list the custom connector plugins and sends an event message that is saved in the audit log as an event record.

Examples

SUCCESS
{
  "datacontenttype": "application/json",
  "data": {
    "serviceName": "crn://confluent.cloud/",
    "methodName": "ListCustomConnectorPlugins",
    "cloudResources": [
      {
        "resource": {
          "type": "ORGANIZATION",
          "resourceId": "2f37f0b6-f8da-4e8b-bc5f-282ebb0511be"
        }
      }
    ],
    "authenticationInfo": {
      "principal": {
        "email": "xxx@confluent.io",
        "confluentUser": {
          "resourceId": "u-n5v236"
        }
      },
      "result": "SUCCESS",
      "identity": "crn://confluent.cloud/organization=2f37f0b6-f8da-4e8b-bc5f-282ebb0511be/identity-provider=Confluent/identity=u-n5v236"
    },
    "requestMetadata": {
      "requestId": [
        "bb3156f0d3c840283175d31f3a7f0e58"
      ],
      "clientAddress": [
        {
          "ip": "134.238.233.61"
        }
      ]
    },
    "request": {
      "accessType": "READ_ONLY",
      "data": {
        "page_info": {
          "page_size": 1
        },
        "filter": {
          "org_resource_ids": [
            "2f37f0b6-f8da-4e8b-bc5f-282ebb0511be"
          ],
          "include_validated_only": true
        }
      }
    },
    "result": {
      "status": "SUCCESS",
      "data": {
        "api_version": "connect/v1",
        "data": [
          {
            "api_version": "connect/v1",
            "connector_class": "io.confluent.kafka.connect.datagen.DatagenConnector",
            "description": "custom",
            "display_name": "ccp.updated.0823-1216.978310",
            "kind": "CustomConnectorPlugin",
            "metadata": {
              "created_at": "2022-12-08T18:59:45.446846Z",
              "resource_name": "crn://confluent.cloud/organization=2f37f0b6-f8da-4e8b-bc5f-282ebb0511be/custom-connector-plugins=custom-plugin-lov3oe",
              "self": "http://api.confluent.cloud/connect/v1/custom-connector-plugins/custom-plugin-lov3oe",
              "updated_at": "2023-08-23T19:16:32.463964Z"
            },
            "sensitive_config_properties": [],
            "connector_type": "source",
            "content_format": "ZIP",
            "documentation_link": "https://github.com/confluentinc/kafka-connect-datagen/blob/master/README.md",
            "id": "custom-plugin-lov3oe"
          }
        ],
        "kind": "CustomConnectorPlugin",
        "metadata": {
          "first": "http://api.confluent.cloud/connect/v1/custom-connector-plugins",
          "next": "http://api.confluent.cloud/connect/v1/custom-connector-plugins?page_token=eyJpZCI6ImN1c3RvbS1wbHVnaW4tbG92M29lIiwiY3JlYXRlZCI6IjIwMjItMTItMDhUMTg6NTk6NDUuNDQ2ODQ2WiIsInNpemUiOjF9"
        }
      }
    },
    "resourceName": "crn://confluent.cloud/organization=2f37f0b6-f8da-4e8b-bc5f-282ebb0511be"
  },
  "subject": "crn://confluent.cloud/organization=2f37f0b6-f8da-4e8b-bc5f-282ebb0511be",
  "specversion": "1.0",
  "id": "f349f692-59f7-4272-be61-38a9eedb1cf8",
  "source": "crn://confluent.cloud/",
  "time": "2023-09-07T16:58:11.337320157Z",
  "type": "io.confluent.cloud/request"
}

UpdateCustomConnectorPlugin

The UpdateCustomConnectorPlugin event method is triggered by a request to update a custom connector plugin and sends an event message that is saved in the audit log as an event record.

Examples

SUCCESS
{
  "datacontenttype": "application/json",
  "data": {
    "serviceName": "crn://confluent.cloud/",
    "methodName": "UpdateCustomConnectorPlugin",
    "cloudResources": [
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "2f37f0b6-f8da-4e8b-bc5f-282ebb0511be"
            }
          ]
        },
        "resource": {
          "type": "CUSTOM_CONNECTOR_PLUGIN",
          "resourceId": "ccp-cc4rkygk"
        }
      }
    ],
    "authenticationInfo": {
      "principal": {
        "email": "xxx@confluent.io",
        "confluentUser": {
          "resourceId": "u-n5v236"
        }
      },
      "result": "SUCCESS",
      "identity": "crn://confluent.cloud/organization=2f37f0b6-f8da-4e8b-bc5f-282ebb0511be/identity-provider=Confluent/identity=u-n5v236"
    },
    "requestMetadata": {
      "requestId": [
        "d2bac6eff3a27d10e60d747b8455f9ee"
      ],
      "clientAddress": [
        {
          "ip": "134.238.233.61"
        }
      ]
    },
    "request": {
      "accessType": "MODIFICATION",
      "data": {
        "sensitive_config_properties": [
          "sss",
          "kkk"
        ],
        "id": "ccp-cc4rkygk"
      }
    },
    "result": {
      "status": "SUCCESS",
      "data": {
        "metadata": {
          "created_at": "2023-09-01T22:19:03.269826Z",
          "resource_name": "crn://confluent.cloud/organization=2f37f0b6-f8da-4e8b-bc5f-282ebb0511be/custom-connector-plugins=ccp-cc4rkygk",
          "self": "http://api.confluent.cloud/connect/v1/custom-connector-plugins/ccp-cc4rkygk",
          "updated_at": "2023-09-07T17:02:59.162922Z"
        },
        "sensitive_config_properties": [
          "sss",
          "kkk"
        ],
        "api_version": "connect/v1",
        "connector_type": "SOURCE",
        "content_format": "ZIP",
        "id": "ccp-cc4rkygk",
        "kind": "CustomConnectorPlugin",
        "connector_class": "io.confluent.kafka.connect.datagen.DatagenConnector",
        "description": "xxx",
        "display_name": "billtest",
        "documentation_link": ""
      }
    },
    "resourceName": "crn://confluent.cloud/organization=2f37f0b6-f8da-4e8b-bc5f-282ebb0511be/custom-connector-plugin=ccp-cc4rkygk"
  },
  "subject": "crn://confluent.cloud/organization=2f37f0b6-f8da-4e8b-bc5f-282ebb0511be/custom-connector-plugin=ccp-cc4rkygk",
  "specversion": "1.0",
  "id": "e6808569-e514-415a-b1b0-a5680da1009d",
  "source": "crn://confluent.cloud/",
  "time": "2023-09-07T17:02:59.166251748Z",
  "type": "io.confluent.cloud/request"
}
FAILURE - "Invalid Plugin"
{
  "datacontenttype": "application/json",
  "data": {
    "serviceName": "crn://confluent.cloud/",
    "methodName": "UpdateCustomConnectorPlugin",
    "cloudResources": [
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "2f37f0b6-f8da-4e8b-bc5f-282ebb0511be"
            }
          ]
        },
        "resource": {
          "type": "CUSTOM_CONNECTOR_PLUGIN",
          "resourceId": "ccp-cc4rkygk"
        }
      }
    ],
    "authenticationInfo": {
      "principal": {
        "email": "xxx@confluent.io",
        "confluentUser": {
          "resourceId": "u-n5v236"
        }
      },
      "result": "SUCCESS",
      "identity": "crn://confluent.cloud/organization=2f37f0b6-f8da-4e8b-bc5f-282ebb0511be/identity-provider=Confluent/identity=u-n5v236"
    },
    "requestMetadata": {
      "requestId": [
        "8e092bda803cad2e801d5a3e3a816c41"
      ],
      "clientAddress": [
        {
          "ip": "134.238.233.61"
        }
      ]
    },
    "request": {
      "accessType": "MODIFICATION",
      "data": {
        "id": "ccp-cc4rkygk",
        "sensitive_config_properties": [
          ""
        ]
      }
    },
    "result": {
      "status": "FAILURE",
      "data": {
        "errors": [
          {
            "status": "400",
            "detail": "Invalid Plugin",
            "source": {},
            "id": "8e092bda803cad2e801d5a3e3a816c41"
          }
        ]
      }
    },
    "resourceName": "crn://confluent.cloud/organization=2f37f0b6-f8da-4e8b-bc5f-282ebb0511be/custom-connector-plugin=ccp-cc4rkygk"
  },
  "subject": "crn://confluent.cloud/organization=2f37f0b6-f8da-4e8b-bc5f-282ebb0511be/custom-connector-plugin=ccp-cc4rkygk",
  "specversion": "1.0",
  "id": "0d423da5-3059-4d32-b602-c05a148fc132",
  "source": "crn://confluent.cloud/",
  "time": "2023-09-07T17:03:28.738748392Z",
  "type": "io.confluent.cloud/request"
}