Schema Registry Management and Operations Auditable Event Methods on Confluent Cloud¶
Expand all examples | Collapse all examples
Included here are the actions, or operations, on Schema Registry, Stream Catalog, Schema Exporters, and Data Encryption Key (DEK) Registry that generate auditable event messages for
the io.confluent.sg.server/request
event type. When an auditable event occurs, the auditable event method is triggered and a message is sent to the audit log
and is stored as an audit log record.
- Schema Registry Examples
- Stream Catalog Examples
- Schema Exporter Examples
- Data Encryption Key (DEK) Registry Examples
All method names are prefixed with schema-registry
, regardless of whether they represent operations on Schema Registry, Stream Catalog, Schema Exporters, or DEK Registry.
For example, the methodName
for the RegisterSchema
method is schema-registry.RegisterSchema
.
All of these requests are of type io.confluent.sg.server/request
.
Schema Registry management auditable event methods have the same method names as the Schema Registry authorization event methods.
Schema Registry Examples¶
Method name | Action triggering an auditable event message |
---|---|
schema-registry.RegisterSchema | Register a new schema under the specified subject. |
schema-registry.DeleteSchemaVersion | Delete a specific version of the schema registered under this subject. |
schema-registry.DeleteSubject | Delete the specified subject and its associated compatibility level if registered. |
schema-registry.UpdateSubjectConfig | Update the subject compatibility level. |
schema-registry.DeleteSubjectConfig | Delete the specified subject-level compatibility level configuration and revert to the global default. |
schema-registry.UpdateGlobalConfig | Update the global compatibility level. |
schema-registry.DeleteGlobalConfig | Delete the global compatibility level configuration and revert to the default. |
schema-registry.UpdateSubjectMode | Update the mode for the specified subject. |
schema-registry.DeleteSubjectMode | Delete the specified subject-level compatibility level configuration and revert to the global default. |
schema-registry.UpdateGlobalMode | Update the global mode. |
schema-registry.RegisterSchema¶
The schema-registry.RegisterSchema
event method is triggered by a request to register a new schema under the specified subject.
(POST /subjects/(string: subject)/versions)
SUCCESS
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.RegisterSchema",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"subject": "subjectA",
"version": 2,
"schema": "[redacted]"
}
},
"result": {
"status": "SUCCESS",
"data": {
"id": 100001.0
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
FAILURE
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.RegisterSchema",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"subject": "subjectA",
"version": 2,
"schema": "[redacted]"
}
},
"result": {
"status": "FAILURE",
"data": {
"errorCode": 409.0,
"errorMessage": "Incompatible schema"
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
schema-registry.DeleteSchemaVersion¶
The schema-registry.DeleteSchemaVersion
event method is triggered by a request to delete a specific version of the schema registered under this subject.
(DELETE /subjects/(string: subject)/versions/(versionId: version))
SUCCESS
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.DeleteSchemaVersion",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"subject": "subjectA",
"version": 2
}
},
"result": {
"status": "SUCCESS",
"data": {
"versionDeleted": 2
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
FAILURE
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.DeleteSchemaVersion",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"subject": "subjectA",
"version": 2
}
},
"result": {
"status": "FAILURE",
"data": {
"errorCode": 40401.0,
"errorMessage": "Subject 'subjectA' not found"
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
schema-registry.DeleteSubject¶
The schema-registry.DeleteSubject
event method is triggered by a request to delete the specified subject and its associated compatibility level if registered.
(DELETE /subjects/(string: subject))
SUCCESS
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.DeleteSubject",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"subject": "subjectA"
}
},
"result": {
"status": "SUCCESS",
"data": {
"versionsDeleted": [
1.0,
2.0,
3.0,
4.0,
5.0
]
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
FAILURE
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.DeleteSubject",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"subject": "subjectA"
}
},
"result": {
"status": "FAILURE",
"data": {
"errorCode": 40401.0,
"errorMessage": "Subject 'subjectA' not found"
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
schema-registry.UpdateSubjectConfig¶
The schema-registry.UpdateSubjectConfig
event method is triggered by a request to update the subject compatibility level.
(PUT /config/(string: subject))
SUCCESS
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.UpdateSubjectConfig",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"subject": "subjectA",
"compatibilityLevel": "FULL_TRANSITIVE"
}
},
"result": {
"status": "SUCCESS",
"data": {
"compatibilityLevel": "FULL_TRANSITIVE"
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
FAILURE
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.UpdateSubjectConfig",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"subject": "subjectA",
"compatibilityLevel": "INVALID"
}
},
"result": {
"status": "FAILURE",
"data": {
"errorCode": 422.0,
"errorMessage": "Invalid compatibility level. Valid values are none, backward, forward, full, backward_transitive, forward_transitive, and full_transitive"
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
schema-registry.DeleteSubjectConfig¶
The schema-registry.DeleteSubjectConfig
event method is triggered by a request to delete the specified subject-level compatibility level configuration and revert to the global default.
(DELETE /config/(string: subject))
SUCCESS
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.DeleteSubjectConfig",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"subject": "subjectA"
}
},
"result": {
"status": "SUCCESS",
"data": {
"compatibilityLevel": "FULL_TRANSITIVE"
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
FAILURE
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.DeleteSubjectConfig",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"subject": "subjectA"
}
},
"result": {
"status": "FAILURE",
"data": {
"errorCode": 40401.0,
"errorMessage": "Subject 'subjectA' not found"
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
schema-registry.UpdateGlobalConfig¶
The schema-registry.UpdateGlobalConfig
event method is triggered by a request to update the global compatibility level.
(PUT /config)
SUCCESS
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.UpdateGlobalConfig",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"compatibilityLevel": "FULL_TRANSITIVE"
}
},
"result": {
"status": "SUCCESS",
"data": {
"compatibilityLevel": "FULL_TRANSITIVE"
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
FAILURE
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.UpdateGlobalConfig",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"compatibilityLevel": "INVALID"
}
},
"result": {
"status": "FAILURE",
"data": {
"errorCode": 422.0,
"errorMessage": "Invalid compatibility level. Valid values are none, backward, forward, full, backward_transitive, forward_transitive, and full_transitive"
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
schema-registry.DeleteGlobalConfig¶
The schema-registry.DeleteGlobalConfig
event method is triggered by a request to delete the global compatibility level configuration and revert to the default.
(DELETE /config)
SUCCESS
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.DeleteGlobalConfig",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION"
},
"result": {
"status": "SUCCESS",
"data": {
"compatibilityLevel": "FULL_TRANSITIVE"
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
FAILURE
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.DeleteGlobalConfig",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION"
},
"result": {
"status": "FAILURE",
"data": {
"errorCode": 400.0,
"errorMessage": "Bad request"
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
schema-registry.UpdateSubjectMode¶
The schema-registry.UpdateSubjectMode
event method is triggered by a request to update the mode for the specified subject.
(PUT /mode/(string: subject))
SUCCESS
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.UpdateSubjectMode",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"subject": "subjectA",
"mode": "READWRITE"
}
},
"result": {
"status": "SUCCESS",
"data": {
"mode": "READWRITE"
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
FAILURE
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.UpdateSubjectMode",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"subject": "subjectA",
"mode": "INVALID"
}
},
"result": {
"status": "FAILURE",
"data": {
"errorCode": 422.0,
"errorMessage": "Invalid mode. Valid values are READWRITE, READONLY, and IMPORT."
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
schema-registry.DeleteSubjectMode¶
The schema-registry.UpdateSubjectMode
event method is triggered by a request to delete the specified subject-level compatibility level configuration and revert to the global default.
(DELETE /mode/(string: subject))
SUCCESS
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.DeleteSubjectMode",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"subject": "subjectA"
}
},
"result": {
"status": "SUCCESS",
"data": {
"mode": "READWRITE"
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
FAILURE
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.DeleteSubjectMode",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"subject": "subjectA"
}
},
"result": {
"status": "FAILURE",
"data": {
"errorCode": 400.0,
"errorMessage": "Bad request"
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
schema-registry.UpdateGlobalMode¶
The schema-registry.UpdateGlobalMode
event method is triggered by a request to update the global mode.
(PUT /mode)
SUCCESS
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.UpdateGlobalMode",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"mode": "READWRITE"
}
},
"result": {
"status": "SUCCESS",
"data": {
"mode": "READWRITE"
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
FAILURE
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.UpdateGlobalMode",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"mode": "INVALID"
}
},
"result": {
"status": "FAILURE",
"data": {
"errorCode": 422.0,
"errorMessage": "Invalid mode. Valid values are READWRITE, READONLY, and IMPORT."
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
Stream Catalog Examples¶
Method name | Action triggering an auditable event message |
---|---|
schema-registry.PartialEntityUpdate | Partially update an entity. |
schema-registry.CreateTags | Create tags. |
schema-registry.UpdateTags | Update tags. |
schema-registry.DeleteTag | Delete a tag on an entity. |
schema-registry.CreateBusinessMetadata | Create business metadata. |
schema-registry.UpdateBusinessMetadata | Update business metadata. |
schema-registry.DeleteBusinessMetadata | Delete business metadata on an entity. |
schema-registry.CreateTagDefs | Create tag definitions. |
schema-registry.UpdateTagDefs | Update tag definitions. |
schema-registry.DeleteTagDef | Delete tag definitions identified by their names. |
schema-registry.CreateBusinessMetadataDefs | Create business metadata definitions. |
schema-registry.UpdateBusinessMetadataDefs | Update business metadata definitions. |
schema-registry.DeleteBusinessMetadataDef | Delete a business metadata definition identified by its name. |
schema-registry.UpdateSchemaTags | Bulk-update multiple tags. |
schema-registry.PartialEntityUpdate¶
The schema-registry.PartialEntityUpdate
event method is triggered by a request to partially update an entity.
SUCCESS
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.PartialEntityUpdate",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"entity": {
"typeName": "sr_schema",
"attributes.qualifiedName": "lsrc-hf342e:.:100008",
"guid": "guid_1"
}
}
},
"result": {
"status": "SUCCESS",
"data": {
"mutatedEntities": {
"UPDATE": [
{
"typeName": "sr_schema",
"attributes.qualifiedName": "lsrc-hf342e:.:100008",
"guid": "guid_1",
"status": "ACTIVE"
}
]
}
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
FAILURE
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.PartialEntityUpdate",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "DENY"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"entity": {
"typeName": "sr_schema",
"attributes.qualifiedName": "lsrc-hf342e:.:100008",
"guid": "guid_1"
}
}
},
"result": {
"status": "FAILURE",
"data": {
"errorCode": 403.0,
"errorMessage": "User is denied operation POST on resource catalog/v1/entity/tags/"
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
schema-registry.CreateTags¶
The schema-registry.CreateTags
event method is triggered by a request to create tags.
(POST catalog/v1/entity/tags)
SUCCESS
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.CreateTags",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"tags": [
{
"entityType": "sr_schema",
"entityName": "lsrc-hf342e:.:100001"
},
{
"entityType": "sr_schema",
"entityName": "lsrc-hf342e:.:100008"
}
]
}
},
"result": {
"status": "SUCCESS",
"data": {
"tags": [
{
"entityType": "sr_schema",
"entityName": "lsrc-hf342e:.:100001"
},
{
"entityType": "sr_schema",
"entityName": "lsrc-hf342e:.:100008",
"error": {
"errorCode": 422.0,
"errorMessage": "Conflict"
}
}
]
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
FAILURE
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.CreateTags",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "DENY"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"tags": [
{
"entityType": "sr_schema",
"entityName": "lsrc-hf342e:.:100001"
},
{
"entityType": "sr_schema",
"entityName": "lsrc-hf342e:.:100008"
}
]
}
},
"result": {
"status": "FAILURE",
"data": {
"errorCode": 40301.0,
"errorMessage": "User is denied operation on this server."
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
schema-registry.UpdateTags¶
The schema-registry.UpdateTags
event method is triggered by a request to update tags.
(PUT catalog/v1/entity/tags)
SUCCESS
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.UpdateTags",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"tags": [
{
"entityType": "sr_schema",
"entityName": "lsrc-hf342e:.:100001"
},
{
"entityType": "sr_schema",
"entityName": "lsrc-hf342e:.:100008"
}
]
}
},
"result": {
"status": "SUCCESS",
"data": {
"tags": [
{
"entityType": "sr_schema",
"entityName": "lsrc-hf342e:.:100001"
},
{
"entityType": "sr_schema",
"entityName": "lsrc-hf342e:.:100008",
"error": {
"errorCode": 422.0,
"errorMessage": "Conflict"
}
}
]
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
FAILURE
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.UpdateTags",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "DENY"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"tags": [
{
"entityType": "sr_schema",
"entityName": "lsrc-hf342e:.:100001"
},
{
"entityType": "sr_schema",
"entityName": "lsrc-hf342e:.:100008"
}
]
}
},
"result": {
"status": "FAILURE",
"data": {
"errorCode": 40301.0,
"errorMessage": "User is denied operation on this server."
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
schema-registry.DeleteTag¶
The schema-registry.DeleteTag
event method is triggered by a request to delete a tag on an entity.
(DELETE catalog/v1/entity/type/(string: typeName)/name/(string: qualifiedName)/tags/(string: tagName))
SUCCESS
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.DeleteTag",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"typeName": "sr_schema",
"qualifiedName": "lsrc-hf342e:.:100001",
"tagName": "schema_tag"
}
},
"result": {
"status": "SUCCESS"
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
FAILURE
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.DeleteTag",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "DENY"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"typeName": "sr_schema",
"qualifiedName": "lsrc-hf342e:.:100001",
"tagName": "schema_tag"
}
},
"result": {
"status": "FAILURE",
"data": {
"errorCode": 40301.0,
"errorMessage": "User is denied operation on this server."
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
schema-registry.CreateBusinessMetadata¶
The schema-registry.CreateBusinessMetadata
event method is triggered by a request to create business metadata.
(POST catalog/v1/entity/businessmetadata)
SUCCESS
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.CreateBusinessMetadata",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"tags": [
{
"entityType": "sr_schema",
"entityName": "lsrc-hf342e:.:100001"
},
{
"entityType": "sr_schema",
"entityName": "lsrc-hf342e:.:100008"
}
]
}
},
"result": {
"status": "SUCCESS",
"data": {
"tags": [
{
"entityType": "sr_schema",
"entityName": "lsrc-hf342e:.:100001"
},
{
"entityType": "sr_schema",
"entityName": "lsrc-hf342e:.:100008",
"error": {
"errorCode": 422.0,
"errorMessage": "Conflict"
}
}
]
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
FAILURE
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.CreateBusinessMetadata",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "DENY"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"tags": [
{
"entityType": "sr_schema",
"entityName": "lsrc-hf342e:.:100001"
},
{
"entityType": "sr_schema",
"entityName": "lsrc-hf342e:.:100008"
}
]
}
},
"result": {
"status": "FAILURE",
"data": {
"errorCode": 40301.0,
"errorMessage": "User is denied operation on this server."
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
schema-registry.UpdateBusinessMetadata¶
The schema-registry.UpdateBusinessMetadata
event method is triggered by a request to update business metadata.
(PUT catalog/v1/entity/businessmetadata)
SUCCESS
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.UpdateBusinessMetadata",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"tags": [
{
"entityType": "sr_schema",
"entityName": "lsrc-hf342e:.:100001"
},
{
"entityType": "sr_schema",
"entityName": "lsrc-hf342e:.:100008"
}
]
}
},
"result": {
"status": "SUCCESS",
"data": {
"tags": [
{
"entityType": "sr_schema",
"entityName": "lsrc-hf342e:.:100001"
},
{
"entityType": "sr_schema",
"entityName": "lsrc-hf342e:.:100008",
"error": {
"errorCode": 422.0,
"errorMessage": "Conflict"
}
}
]
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
FAILURE
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.UpdateBusinessMetadata",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "DENY"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"tags": [
{
"entityType": "sr_schema",
"entityName": "lsrc-hf342e:.:100001"
},
{
"entityType": "sr_schema",
"entityName": "lsrc-hf342e:.:100008"
}
]
}
},
"result": {
"status": "FAILURE",
"data": {
"errorCode": 40301.0,
"errorMessage": "User is denied operation on this server."
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
schema-registry.DeleteBusinessMetadata¶
The schema-registry.DeleteBusinessMetadata
event method is triggered by a request to delete business metadata on an entity.
(DELETE catalog/v1/entity/type/(string: typeName)/name/(string: qualifiedName)/businessmetadata/(string: bmName))
SUCCESS
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.DeleteBusinessMetadata",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"typeName": "sr_schema",
"qualifiedName": "lsrc-hf342e:.:100001",
"businessMetadataName": "schema_bm"
}
},
"result": {
"status": "SUCCESS"
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
FAILURE
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.DeleteBusinessMetadata",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "DENY"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"typeName": "sr_schema",
"qualifiedName": "lsrc-hf342e:.:100001",
"businessMetadataName": "schema_bm"
}
},
"result": {
"status": "FAILURE",
"data": {
"errorCode": 40301.0,
"errorMessage": "User is denied operation on this server."
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
schema-registry.CreateTagDefs¶
The schema-registry.CreateTagDefs
event method is triggered by a request to create tag definitions.
(POST catalog/v1/types/tagdefs)
SUCCESS
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.CreateTagDefs",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"tagDefs": [
{
"name": "tagDef0"
},
{
"name": "tagDef1"
}
]
}
},
"result": {
"status": "SUCCESS",
"data": {
"tagDefs": [
{
"name": "tagDef0",
"createTime": "2023-10-03T16:21:39Z",
"updateTime": "2023-06-01T22:34:59Z"
},
{
"name": "tagDef1",
"updateTime": "2023-06-01T22:01:39Z",
"error": {
"errorCode": 422.0,
"errorMessage": "Conflict"
}
}
]
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
FAILURE
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.CreateTagDefs",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "DENY"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"tagDefs": [
{
"name": "tagDef0"
},
{
"name": "tagDef1"
}
]
}
},
"result": {
"status": "FAILURE",
"data": {
"errorCode": 40301.0,
"errorMessage": "User is denied operation on this server."
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
schema-registry.UpdateTagDefs¶
The schema-registry.UpdateTagDefs
event method is triggered by a request to update tag definitions.
(PUT catalog/v1/types/tagdefs)
SUCCESS
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.UpdateTagDefs",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"tagDefs": [
{
"name": "tagDef0"
},
{
"name": "tagDef1"
}
]
}
},
"result": {
"status": "SUCCESS",
"data": {
"tagDefs": [
{
"name": "tagDef0",
"createTime": "2023-10-03T16:21:39Z",
"updateTime": "2023-06-01T22:34:59Z"
},
{
"name": "tagDef1",
"updateTime": "2023-06-01T22:01:39Z",
"error": {
"errorCode": 422.0,
"errorMessage": "Conflict"
}
}
]
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
FAILURE
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.UpdateTagDefs",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "DENY"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"tagDefs": [
{
"name": "tagDef0"
},
{
"name": "tagDef1"
}
]
}
},
"result": {
"status": "FAILURE",
"data": {
"errorCode": 40301.0,
"errorMessage": "User is denied operation on this server."
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
schema-registry.DeleteTagDef¶
The schema-registry.DeleteTagDef
event method is triggered by a request to delete tag definitions identified by their names.
(DELETE catalog/v1/types/tagdefs/(string: tagName))
SUCCESS
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.DeleteTagDef",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"tagDefName": "tagdef1"
}
},
"result": {
"status": "SUCCESS"
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
FAILURE
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.DeleteTagDef",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "DENY"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"tagDefName": "tagdef1"
}
},
"result": {
"status": "FAILURE",
"data": {
"errorCode": 40301.0,
"errorMessage": "User is denied operation on this server."
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
schema-registry.CreateBusinessMetadataDefs¶
The schema-registry.CreateBusinessMetadataDefs
event method is triggered by a request to create business metadata definitions.
(POST catalog/v1/types/businessmetadatadefs)
SUCCESS
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.CreateBusinessMetadataDefs",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"businessMetadataDefs": [
{
"name": "bmDef0"
},
{
"name": "bmDef1"
}
]
}
},
"result": {
"status": "SUCCESS",
"data": {
"businessMetadataDefs": [
{
"name": "bmDef0",
"createTime": "2023-10-03T16:21:39Z",
"updateTime": "2023-06-01T22:34:59Z"
},
{
"name": "bmDef1",
"updateTime": "2023-06-01T22:01:39Z",
"error": {
"errorCode": 422.0,
"errorMessage": "Conflict"
}
}
]
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
FAILURE
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.CreateBusinessMetadataDefs",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "DENY"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"businessMetadataDefs": [
{
"name": "bmDef0"
},
{
"name": "bmDef1"
}
]
}
},
"result": {
"status": "FAILURE",
"data": {
"errorCode": 40301.0,
"errorMessage": "User is denied operation on this server."
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
schema-registry.UpdateBusinessMetadataDefs¶
The schema-registry.UpdateBusinessMetadataDefs
event method is triggered by a request to update business metadata definitions.
(PUT catalog/v1/types/businessmetadatadefs)
SUCCESS
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.UpdateBusinessMetadataDefs",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"businessMetadataDefs": [
{
"name": "bmDef0"
},
{
"name": "bmDef1"
}
]
}
},
"result": {
"status": "SUCCESS",
"data": {
"businessMetadataDefs": [
{
"name": "bmDef0",
"createTime": "2023-10-03T16:21:39Z",
"updateTime": "2023-06-01T22:34:59Z"
},
{
"name": "bmDef1",
"updateTime": "2023-06-01T22:01:39Z",
"error": {
"errorCode": 422.0,
"errorMessage": "Conflict"
}
}
]
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
FAILURE
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.UpdateBusinessMetadataDefs",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "DENY"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"businessMetadataDefs": [
{
"name": "bmDef0"
},
{
"name": "bmDef1"
}
]
}
},
"result": {
"status": "FAILURE",
"data": {
"errorCode": 40301.0,
"errorMessage": "User is denied operation on this server."
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
schema-registry.DeleteBusinessMetadataDef¶
The schema-registry.DeleteBusinessMetadataDef
event method is triggered by a request to delete a business metadata definition identified by its name.
(DELETE catalog/v1/types/businessmetadatadefs/(string: bmName))
SUCCESS
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.DeleteBusinessMetadataDef",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"businessMetadataDefName": "bmdef1"
}
},
"result": {
"status": "SUCCESS"
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
FAILURE
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.DeleteBusinessMetadataDef",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "DENY"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"businessMetadataDefName": "bmdef1"
}
},
"result": {
"status": "FAILURE",
"data": {
"errorCode": 40301.0,
"errorMessage": "User is denied operation on this server."
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
schema-registry.UpdateSchemaTags¶
The schema-registry.UpdateSchemaTags
event method is triggered by a request to bulk-update multiple tags.
(PUT catalog/v1/entity/tags)
SUCCESS
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.UpdateSchemaTags",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"schemaTagsMetadata": [
{
"subject": ":.:subjectA",
"id": 100005.0,
"version": 2.0
},
{
"subject": ":.:subjectB",
"id": 100067.0,
"version": 5.0
}
]
}
},
"result": {
"status": "SUCCESS",
"data": {
"schemaTagsMetadata": [
{
"subject": ":.:subjectA",
"id": 100005.0
},
{
"subject": ":.:subjectB",
"id": 100067.0,
"error": {
"errorCode": 422.0,
"errorMessage": "Conflict"
}
}
]
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
FAILURE
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.UpdateSchemaTags",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "DENY"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"schemaTagsMetadata": [
{
"subject": ":.:subjectA",
"id": 100005.0,
"version": 2.0
},
{
"subject": ":.:subjectB",
"id": 100067.0,
"version": 5.0
}
]
}
},
"result": {
"status": "FAILURE",
"data": {
"errorCode": 40301.0,
"errorMessage": "User is denied operation on this server."
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
Schema Exporter Examples¶
Method name | Action triggering an auditable event message |
---|---|
schema-registry.CreateExporter | Retrieve a list of existing schema exporters. |
schema-registry.UpdateExporter | Update schema exporter by name. |
schema-registry.UpdateExporterConfig | Update schema exporter configuration by name. |
schema-registry.PauseExporter | Pause schema exporter by name. |
schema-registry.ResetExporter | Reset schema exporter by name. |
schema-registry.ResumeExporter | Resume schema exporter by name. |
schema-registry.DeleteExporter | Delete schema exporter by name. |
schema-registry.CreateExporter¶
The schema-registry.CreateExporter
event method is triggered by a request to retrieve a list of existing schema exporters.
(POST /exporters)
SUCCESS
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.CreateExporter",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"config": {
"schema.registry.url": "https://psrc-xxx.region.provider.confluent.cloud",
"basic.auth.credentials.source": "USER_INFO",
"basic.auth.user.info": "[redacted]"
},
"name": "exporter1",
"contextType": "CUSTOM",
"context": "prod",
"subjects": [
"foo"
],
"subjectRenameFormat": "dc_${subject}"
}
},
"result": {
"status": "SUCCESS",
"data": {
"name": "exporter1"
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
FAILURE
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.CreateExporter",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"config": {
"schema.registry.url": "https://psrc-xxx.region.provider.confluent.cloud",
"basic.auth.credentials.source": "USER_INFO",
"basic.auth.user.info": "[redacted]"
},
"name": "exporter1",
"contextType": "CUSTOM",
"context": "prod",
"subjects": [
"foo"
],
"subjectRenameFormat": "dc_${subject}"
}
},
"result": {
"status": "FAILURE",
"data": {
"errorCode": 40960.0,
"errorMessage": "Exporter 'exporter1' already exists.; error code: 40960"
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
schema-registry.UpdateExporter¶
The schema-registry.UpdateExporter
event method is triggered by a request to update a schema exporter by name.
(PUT /exporters/(string: name))
SUCCESS
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.UpdateExporter",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"name": "exporter1",
"config": {
"schema.registry.url": "https://psrc-xxx.region.provider.confluent.cloud",
"basic.auth.credentials.source": "USER_INFO",
"basic.auth.user.info": "[redacted]"
},
"contextType": "CUSTOM",
"context": "prod",
"subjects": [
"foo"
],
"subjectRenameFormat": "dc_${subject}"
}
},
"result": {
"status": "SUCCESS",
"data": {
"name": "exporter1"
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
FAILURE
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.UpdateExporter",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"name": "exporter1",
"config": {
"schema.registry.url": "https://psrc-xxx.region.provider.confluent.cloud",
"basic.auth.credentials.source": "USER_INFO",
"basic.auth.user.info": "[redacted]"
},
"contextType": "CUSTOM",
"context": "prod",
"subjects": [
"foo"
],
"subjectRenameFormat": "dc_${subject}"
}
},
"result": {
"status": "FAILURE",
"data": {
"errorCode": 40450.0,
"errorMessage": "Exporter 'exporter1' not found.; error code: 40450"
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
schema-registry.UpdateExporterConfig¶
The schema-registry.UpdateExporterConfig
event method is triggered by a request to update schema exporter configuration by name.
(PUT /exporters/(string: name)/config)
SUCCESS
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.UpdateExporterConfig",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"name": "exporter1",
"config": {
"schema.registry.url": "https://psrc-xxx.region.provider.confluent.cloud",
"basic.auth.credentials.source": "USER_INFO",
"basic.auth.user.info": "[redacted]"
}
}
},
"result": {
"status": "SUCCESS",
"data": {
"name": "exporter1"
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
FAILURE
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.UpdateExporterConfig",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"name": "exporter1",
"config": {
"schema.registry.url": "https://psrc-xxx.region.provider.confluent.cloud",
"basic.auth.credentials.source": "USER_INFO",
"basic.auth.user.info": "[redacted]"
}
}
},
"result": {
"status": "FAILURE",
"data": {
"errorCode": 40450.0,
"errorMessage": "Exporter 'exporter1' not found.; error code: 40450"
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
schema-registry.PauseExporter¶
The schema-registry.PauseExporter
event method is triggered by a request to pause a schema exporter by name.
(PUT /exporters/(string: name)/pause)
SUCCESS
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.PauseExporter",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"name": "exporter1"
}
},
"result": {
"status": "SUCCESS",
"data": {
"name": "exporter1"
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
FAILURE
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.PauseExporter",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"name": "exporter1"
}
},
"result": {
"status": "FAILURE",
"data": {
"errorCode": 40450.0,
"errorMessage": "Exporter 'exporter1' not found.; error code: 40450"
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
schema-registry.ResetExporter¶
The schema-registry.ResetExporter
event method is triggered by a request to reset schema exporter by name.
(PUT /exporters/(string: name)/reset)
SUCCESS
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.ResetExporter",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"name": "exporter1"
}
},
"result": {
"status": "SUCCESS",
"data": {
"name": "exporter1"
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
FAILURE
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.ResetExporter",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"name": "exporter1"
}
},
"result": {
"status": "FAILURE",
"data": {
"errorCode": 40450.0,
"errorMessage": "Exporter 'exporter1' not found.; error code: 40450"
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
schema-registry.ResumeExporter¶
The schema-registry.ResumeExporter
event method is triggered by a request to resume schema exporter by name.
(PUT /exporters/(string: name)/resume)
SUCCESS
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.ResumeExporter",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"name": "exporter1"
}
},
"result": {
"status": "SUCCESS",
"data": {
"name": "exporter1"
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
FAILURE
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.ResumeExporter",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"name": "exporter1"
}
},
"result": {
"status": "FAILURE",
"data": {
"errorCode": 40450.0,
"errorMessage": "Exporter 'exporter1' not found.; error code: 40450"
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
schema-registry.DeleteExporter¶
The schema-registry.DeleteExporter
event method is triggered by a request to delete schema exporter by name.
(DELETE /exporters/(string: name))
SUCCESS
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.DeleteExporter",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"name": "exporter1"
}
},
"result": {
"status": "SUCCESS"
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
FAILURE
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.DeleteExporter",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-abc123"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"name": "exporter1"
}
},
"result": {
"status": "FAILURE",
"data": {
"errorCode": 40450.0,
"errorMessage": "Exporter 'exporter1' not found.; error code: 40450"
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-abc123/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
Data Encryption Key (DEK) Registry Examples¶
The following methods relate to actions on data key encryption (DEK) and key encryption key (KEK). The KEK is used to encrypt the DEK. The DEK is used to encrypt the data itself. The KEK is under the customer’s control, and therefore, is a pointer to the customer’s Azure Key Vault, AWS KMS, Google Cloud KMS, and so forth.
Method name | Action triggering an auditable event message |
---|---|
schema-registry.RegisterKek | Register a key encryption key. |
schema-registry.UpdateKek | Update a key encryption key. |
schema-registry.DeregisterKek | Deregister a key encryption key. |
schema-registry.RegisterDek | Register a data encryption key. |
schema-registry.GetDek | Retrieve a data encryption key. |
schema-registry.DeregisterDek | Deregister a data encryption key. |
schema-registry.RegisterKek¶
The schema-registry.RegisterKek
event method is triggered by a request to register a key encryption key.
SUCCESS
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.RegisterKek",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-311k0"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
],
"clientAddress": [
{
"ip": "232.98.0.61"
}
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"kekName": "kek1",
"kmsType": "aws-kms",
"kmsKeyId": "arn:aws:kms:us-west-2:123456789012:key/17bd1040-0853-4118-8438-1a7fbe07bd75",
"shared": true
}
},
"result": {
"status": "SUCCESS",
"data": {
"kekName": "kek1",
"kmsType": "aws-kms",
"kmsKeyId": "arn:aws:kms:us-west-2:123456789012:key/17bd1040-0853-4118-8438-1a7fbe07bd75",
"timestamp": "1695408412",
"shared": true
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-311k0/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-311k0/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
FAILURE
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.RegisterKek",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-311k0"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
],
"clientAddress": [
{
"ip": "232.98.0.61"
}
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"kekName": "kek1",
"kmsType": "aws-kms",
"kmsKeyId": "arn:aws:kms:us-west-2:123456789012:key/17bd1040-0853-4118-8438-1a7fbe07bd75",
"shared": true
}
},
"result": {
"status": "FAILURE",
"data": {
"errorCode": 40971.0,
"errorMessage": "Key 'kek1' already exists"
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-311k0/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-311k0/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
schema-registry.UpdateKek¶
The schema-registry.UpdateKek
event method is triggered by a request to update a key encryption key.
SUCCESS
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.UpdateKek",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-311k0"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
],
"clientAddress": [
{
"ip": "232.98.0.61"
}
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"kekName": "kek1",
"shared": true
}
},
"result": {
"status": "SUCCESS",
"data": {
"kekName": "kek1",
"kmsType": "aws-kms",
"kmsKeyId": "arn:aws:kms:us-west-2:123456789012:key/17bd1040-0853-4118-8438-1a7fbe07bd75",
"timestamp": "1695408412",
"shared": true
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-311k0/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-311k0/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
FAILURE
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.UpdateKek",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-311k0"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
],
"clientAddress": [
{
"ip": "232.98.0.61"
}
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"kekName": "kek1",
"shared": true
}
},
"result": {
"status": "FAILURE",
"data": {
"errorCode": 40470.0,
"errorMessage": "Key 'kek1' not found; error code: 40470"
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-311k0/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-311k0/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
schema-registry.DeregisterKek¶
The schema-registry.DeregisterKek
event method is triggered by a request to deregister a key encryption key.
SUCCESS
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.DeregisterKek",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-311k0"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
],
"clientAddress": [
{
"ip": "232.98.0.61"
}
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"kekName": "kek1"
}
},
"result": {
"status": "SUCCESS"
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-311k0/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-311k0/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
FAILURE
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.DeregisterKek",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-311k0"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
],
"clientAddress": [
{
"ip": "232.98.0.61"
}
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"kekName": "kek1"
}
},
"result": {
"status": "FAILURE",
"data": {
"errorCode": 40470.0,
"errorMessage": "Key 'kek1' not found"
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-311k0/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-311k0/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
schema-registry.RegisterDek¶
The schema-registry.RegisterDek
event method is triggered by a request to register a data encryption key.
SUCCESS
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.RegisterDek",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-311k0"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
],
"clientAddress": [
{
"ip": "232.98.0.61"
}
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"kekName": "kek1",
"subject": "subjectA",
"algorithm": "AES256_GCM",
"encryptedKeyMaterial": "[redacted]"
}
},
"result": {
"status": "SUCCESS",
"data": {
"kekName": "kek1",
"subject": "subjectA",
"algorithm": "AES256_GCM",
"encryptedKeyMaterial": "[redacted]",
"keyMaterial": "[redacted]",
"timestamp": "1695408412"
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-311k0/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-311k0/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
FAILURE
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.RegisterDek",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-311k0"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
],
"clientAddress": [
{
"ip": "232.98.0.61"
}
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"kekName": "kek1",
"subject": "subjectA",
"algorithm": "AES256_GCM",
"encryptedKeyMaterial": "[redacted]"
}
},
"result": {
"status": "FAILURE",
"data": {
"errorCode": 40971.0,
"errorMessage": "Key 'subjectA' already exists"
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-311k0/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-311k0/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
schema-registry.GetDek¶
The schema-registry.GetDek
event method is triggered by a request to retrieve a data encryption key.
SUCCESS
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.GetDek",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-311k0"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
],
"clientAddress": [
{
"ip": "232.98.0.61"
}
]
},
"request": {
"accessType": "READ_ONLY",
"data": {
"kekName": "kek1",
"subject": "subjectA"
}
},
"result": {
"status": "SUCCESS",
"data": {
"kekName": "kek1",
"subject": "subjectA",
"algorithm": "AES256_GCM",
"encryptedKeyMaterial": "[redacted]",
"keyMaterial": "[redacted]",
"timestamp": "1695408412"
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-311k0/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-311k0/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
FAILURE
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.GetDek",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-311k0"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
],
"clientAddress": [
{
"ip": "232.98.0.61"
}
]
},
"request": {
"accessType": "READ_ONLY",
"data": {
"kekName": "kek1",
"subject": "subjectA"
}
},
"result": {
"status": "FAILURE",
"data": {
"errorCode": 40470.0,
"errorMessage": "Key 'subjectA' not found"
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-311k0/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-311k0/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
schema-registry.DeregisterDek¶
The schema-registry.DeregisterDek
event method is triggered by a request to deregister a data encryption key.
SUCCESS
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.DeregisterDek",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-311k0"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
],
"clientAddress": [
{
"ip": "232.98.0.61"
}
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"kekName": "kek1",
"subject": "subjectA"
}
},
"result": {
"status": "SUCCESS"
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-311k0/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-311k0/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}
FAILURE
{
"datacontenttype": "application/json",
"data": {
"serviceName": "crn://confluent.cloud/",
"methodName": "schema-registry.DeregisterDek",
"cloudResources": [
{
"scope": {
"resources": [
{
"type": "ORGANIZATION",
"resourceId": "91a07ac9-9a13-491e-a2cf-46a9a5cf339c"
},
{
"type": "ENVIRONMENT",
"resourceId": "env-311k0"
}
]
},
"resource": {
"type": "SCHEMA_REGISTRY",
"resourceId": "lsrc-hf342e"
}
}
],
"authenticationInfo": {
"exposure": "CUSTOMER",
"principal": {
"confluentUser": {
"resourceId": "u-ok7gjy"
}
},
"result": "SUCCESS",
"credentials": {
"idSecretCredentials": {
"credentialId": "APIKEY1"
},
"mechanism": "HTTP_BASIC"
}
},
"authorizationInfo": {
"result": "ALLOW"
},
"requestMetadata": {
"requestId": [
"a501391c-0d7d-16ed-b176-d17f16fb88a1"
],
"clientAddress": [
{
"ip": "232.98.0.61"
}
]
},
"request": {
"accessType": "MODIFICATION",
"data": {
"kekName": "kek1",
"subject": "subjectA"
}
},
"result": {
"status": "FAILURE",
"data": {
"errorCode": 40470.0,
"errorMessage": "Key 'subjectA' not found"
}
},
"resourceName": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-311k0/schema-registry=lsrc-hf342e"
},
"subject": "crn://confluent.cloud/organization=91a07ac9-9a13-491e-a2cf-46a9a5cf339c/environment=env-311k0/schema-registry=lsrc-hf342e",
"specversion": "1.0",
"id": "ae9cf1f0-e8dc-40be-ae1f-02fd68a67626",
"source": "crn://confluent.cloud/",
"time": "2022-09-12T05:31:00.250Z",
"type": "io.confluent.sg.server/request"
}