<a id="organization-notification-service"></a>

# Notifications Service Auditable Event Methods on Confluent Cloud

A Notifications Service auditable event is an action or operation on a
notification type, integration, or subscription that you perform using the
[Notifications API](https://docs.confluent.io/cloud/current/ccloud/subscriptions-notifications-v-1/).
Confluent Cloud stores each of these actions as an audit log record.

The following auditable event methods are for these resource types in a single
Confluent Cloud organization:

- [Notification type](#notification-service-notification-type)
- [Integration](#notification-service-integration)
- [Subscription](#notification-service-subscription)

For details about Confluent Cloud notifications, see [Notifications for Confluent Cloud](../../configure-notifications.md#ccloud-notifications).

<a id="notification-service-notification-type"></a>

## Notification type auditable event methods

A notification type identifies the category of Confluent Cloud event that triggers
a notification, such as an account, billing, or service event.
For more information, see [Notifications for Confluent Cloud](../../configure-notifications.md#ccloud-notifications).

The following auditable event methods are for the resource type
`NS_NOTIFICATION_TYPE` in a single Confluent Cloud organization.

| Method name                                              | Action triggering an auditable event message                     |
|----------------------------------------------------------|------------------------------------------------------------------|
| [GetNotificationType](#getnotificationtype-examples)     | A request to get the details of the specified notification type. |
| [ListNotificationTypes](#listnotificationtypes-examples) | A request to list the notification types.                        |

<a id="getnotificationtype-examples"></a>

### GetNotificationType

The `GetNotificationType` event is generated by a request to get the details
of the specified notification type.

To view example event messages, expand the following dropdowns:

### Success

```json
{
  "datacontenttype": "application/json",
  "time": "+999999999-12-31T23:59:59.999999999-18:00",
  "data": {
    "serviceName": "crn://confluent.cloud/",
    "methodName": "GetNotificationType",
    "cloudResources": [
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "env-1"
            }
          ]
        },
        "resource": {
          "type": "NS_NOTIFICATION_TYPE",
          "resourceId": "nt-apsRW"
        }
      }
    ],
    "authenticationInfo": {
      "principal": {
        "confluentUser": {
          "resourceId": "u-2"
        }
      },
      "result": "SUCCESS"
    },
    "requestMetadata": {
      "requestId": [
        "01020304050607080102040810204080"
      ],
      "clientAddress": [
        {
          "ip": "1.2.3.4"
        }
      ]
    },
    "request": {
      "accessType": "MODIFICATION"
    },
    "result": {
      "status": "SUCCESS"
    },
    "resourceName": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=env-1/ns-notification-type=nt-apsRW"
  },
  "subject": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=env-1/ns-notification-type=nt-apsRW",
  "specversion": "1.0",
  "id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
  "source": "crn://confluent.cloud/",
  "type": "io.confluent.cloud/request"
}
```

### Failure

```json
{
  "datacontenttype": "application/json",
  "time": "+999999999-12-31T23:59:59.999999999-18:00",
  "data": {
    "serviceName": "crn://confluent.cloud/",
    "methodName": "GetNotificationType",
    "cloudResources": [
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "env-1"
            }
          ]
        },
        "resource": {
          "type": "NS_NOTIFICATION_TYPE",
          "resourceId": "nt-apsRW"
        }
      }
    ],
    "authenticationInfo": {
      "principal": {
        "confluentUser": {
          "resourceId": "u-2"
        }
      },
      "result": "SUCCESS"
    },
    "requestMetadata": {
      "requestId": [
        "01020304050607080102040810204080"
      ],
      "clientAddress": [
        {
          "ip": "1.2.3.4"
        }
      ]
    },
    "request": {
      "accessType": "MODIFICATION"
    },
    "result": {
      "status": "FAILURE"
    },
    "resourceName": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=env-1/ns-notification-type=nt-apsRW"
  },
  "subject": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=test/ns-notification-type=nt-apsRW",
  "specversion": "1.0",
  "id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
  "source": "crn://confluent.cloud/",
  "type": "io.confluent.cloud/request"
}
```

<a id="listnotificationtypes-examples"></a>

### ListNotificationTypes

The `ListNotificationTypes` event is generated by a request to list the
notification types.

To view example event messages, expand the following dropdowns:

### Success

```json
{
  "datacontenttype": "application/json",
  "time": "+999999999-12-31T23:59:59.999999999-18:00",
  "data": {
    "serviceName": "crn://confluent.cloud/",
    "methodName": "ListNotificationTypes",
    "cloudResources": [
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "test"
            }
          ]
        },
        "resource": {
          "type": "NS_NOTIFICATION_TYPE",
          "resourceId": "nt-rtfyf"
        }
      },
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "test"
            }
          ]
        },
        "resource": {
          "type": "NS_NOTIFICATION_TYPE",
          "resourceId": "nt-etdgt"
        }
      },
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "test"
            }
          ]
        },
        "resource": {
          "type": "NS_NOTIFICATION_TYPE",
          "resourceId": "nt-ryhfg"
        }
      },
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "test"
            }
          ]
        },
        "resource": {
          "type": "NS_NOTIFICATION_TYPE",
          "resourceId": "nt-trfgs"
        }
      },
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "test"
            }
          ]
        },
        "resource": {
          "type": "NS_NOTIFICATION_TYPE",
          "resourceId": "nt-mq9p1"
        }
      }
    ],
    "authenticationInfo": {
      "principal": {
        "confluentUser": {
          "resourceId": "u-2"
        }
      },
      "result": "SUCCESS"
    },
    "requestMetadata": {
      "requestId": [
        "01020304050607080102040810204080"
      ],
      "clientAddress": [
        {
          "ip": "1.2.3.4"
        }
      ]
    },
    "request": {
      "accessType": "READ_ONLY"
    },
    "result": {
      "status": "SUCCESS"
    },
    "resourceName": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=test"
  },
  "subject": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=test",
  "specversion": "1.0",
  "id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
  "source": "crn://confluent.cloud/",
  "type": "io.confluent.cloud/request"
}
```

### Failure

```json
{
  "datacontenttype": "application/json",
  "time": "+999999999-12-31T23:59:59.999999999-18:00",
  "data": {
    "serviceName": "crn://confluent.cloud/",
    "methodName": "ListNotificationTypes",
    "cloudResources": [
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "env-1"
            }
          ]
        },
        "resource": {
          "type": "NS_NOTIFICATION_TYPE",
          "resourceId": "NA"
        }
      }
    ],
    "authenticationInfo": {
      "principal": {
        "confluentUser": {
          "resourceId": "u-2"
        }
      },
      "result": "SUCCESS"
    },
    "requestMetadata": {
      "requestId": [
        "01020304050607080102040810204080"
      ],
      "clientAddress": [
        {
          "ip": "1.2.3.4"
        }
      ]
    },
    "request": {
      "accessType": "READ_ONLY"
    },
    "result": {
      "status": "FAILURE"
    },
    "resourceName": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=test/ns-notification-type=NA"
  },
  "subject": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=test/ns-notification-type=NA",
  "specversion": "1.0",
  "id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
  "source": "crn://confluent.cloud/",
  "type": "io.confluent.cloud/request"
}
```

<a id="notification-service-integration"></a>

## Integration auditable event methods

An integration is the configured notification channel used to send a
notification, such as email, Microsoft Teams, Slack, or a generic webhook.
For more information, see [Notifications for Confluent Cloud](../../configure-notifications.md#ccloud-notifications).

The following auditable event methods are for the resource type
`NS_INTEGRATION` in a single Confluent Cloud organization.

| Method name                                      | Action triggering an auditable event message   |
|--------------------------------------------------|------------------------------------------------|
| [CreateIntegration](#createintegration-examples) | A request to create an integration.            |
| [DeleteIntegration](#deleteintegration-examples) | A request to delete an integration.            |
| [GetIntegration](#getintegration-examples)       | A request to get an integration.               |
| [ListIntegrations](#listintegrations-examples)   | A request to list integrations.                |
| [TestIntegration](#testintegration-examples)     | A request to test an integration.              |
| [UpdateIntegration](#updateintegration-examples) | A request to update an integration.            |

<a id="createintegration-examples"></a>

### CreateIntegration

The `CreateIntegration` event is generated by a request to create an
integration.

To view example event messages, expand the following dropdowns:

### Success

```json
{
  "datacontenttype": "application/json",
  "time": "+999999999-12-31T23:59:59.999999999-18:00",
  "data": {
    "serviceName": "crn://confluent.cloud/",
    "methodName": "CreateIntegration",
    "cloudResources": [
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "env-1"
            }
          ]
        },
        "resource": {
          "type": "NS_INTEGRATION",
          "resourceId": "i-x7y1m"
        }
      }
    ],
    "authenticationInfo": {
      "principal": {
        "confluentUser": {
          "resourceId": "u-2"
        }
      },
      "result": "SUCCESS"
    },
    "requestMetadata": {
      "requestId": [
        "01020304050607080102040810204080"
      ],
      "clientAddress": [
        {
          "ip": "1.2.3.4"
        }
      ]
    },
    "request": {
      "accessType": "READ_ONLY"
    },
    "result": {
      "status": "SUCCESS"
    },
    "resourceName": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=env-1/ns-integration=i-x7y1m"
  },
  "subject": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=test/ns-integration=i-x7y1m",
  "specversion": "1.0",
  "id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
  "source": "crn://confluent.cloud/",
  "type": "io.confluent.cloud/request"
}
```

### Failure

```json
{
  "datacontenttype": "application/json",
  "time": "+999999999-12-31T23:59:59.999999999-18:00",
  "data": {
    "serviceName": "crn://confluent.cloud/",
    "methodName": "CreateIntegration",
    "cloudResources": [
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "env-1"
            }
          ]
        },
        "resource": {
          "type": "NS_INTEGRATION",
          "resourceId": "NA"
        }
      }
    ],
    "authenticationInfo": {
      "principal": {
        "confluentUser": {
          "resourceId": "u-2"
        }
      },
      "result": "SUCCESS"
    },
    "requestMetadata": {
      "requestId": [
        "01020304050607080102040810204080"
      ],
      "clientAddress": [
        {
          "ip": "1.2.3.4"
        }
      ]
    },
    "request": {
      "accessType": "READ_ONLY"
    },
    "result": {
      "status": "FAILURE"
    },
    "resourceName": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=env-1/ns-integration=NA"
  },
  "subject": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=env-1/ns-integration=NA",
  "specversion": "1.0",
  "id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
  "source": "crn://confluent.cloud/",
  "type": "io.confluent.cloud/request"
}
```

<a id="deleteintegration-examples"></a>

### DeleteIntegration

The `DeleteIntegration` event is generated by a request to delete an
integration.

To view example event messages, expand the following dropdowns:

### Success

```json
{
  "datacontenttype": "application/json",
  "time": "+999999999-12-31T23:59:59.999999999-18:00",
  "data": {
    "serviceName": "crn://confluent.cloud/",
    "methodName": "DeleteIntegration",
    "cloudResources": [
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "env-1"
            }
          ]
        },
        "resource": {
          "type": "NS_INTEGRATION",
          "resourceId": "i-x7y1m"
        }
      }
    ],
    "authenticationInfo": {
      "principal": {
        "confluentUser": {
          "resourceId": "u-2"
        }
      },
      "result": "SUCCESS"
    },
    "requestMetadata": {
      "requestId": [
        "01020304050607080102040810204080"
      ],
      "clientAddress": [
        {
          "ip": "1.2.3.4"
        }
      ]
    },
    "request": {
      "accessType": "READ_ONLY"
    },
    "result": {
      "status": "SUCCESS"
    },
    "resourceName": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=env-1/ns-integration=i-x7y1m"
  },
  "subject": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=env-1/ns-integration=i-x7y1m",
  "specversion": "1.0",
  "id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
  "source": "crn://confluent.cloud/",
  "type": "io.confluent.cloud/request"
}
```

### Failure

```json
{
  "datacontenttype": "application/json",
  "time": "+999999999-12-31T23:59:59.999999999-18:00",
  "data": {
    "serviceName": "crn://confluent.cloud/",
    "methodName": "DeleteIntegration",
    "cloudResources": [
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "test"
            }
          ]
        },
        "resource": {
          "type": "NS_INTEGRATION",
          "resourceId": "i-x7y1m"
        }
      }
    ],
    "authenticationInfo": {
      "principal": {
        "confluentUser": {
          "resourceId": "u-2"
        }
      },
      "result": "SUCCESS"
    },
    "requestMetadata": {
      "requestId": [
        "01020304050607080102040810204080"
      ],
      "clientAddress": [
        {
          "ip": "1.2.3.4"
        }
      ]
    },
    "request": {
      "accessType": "READ_ONLY"
    },
    "result": {
      "status": "FAILURE"
    },
    "resourceName": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=test/ns-integration=i-x7y1m"
  },
  "subject": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=test/ns-integration=i-x7y1m",
  "specversion": "1.0",
  "id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
  "source": "crn://confluent.cloud/",
  "type": "io.confluent.cloud/request"
}
```

<a id="getintegration-examples"></a>

### GetIntegration

The `GetIntegration` event is generated by a request to get an integration.

To view example event messages, expand the following dropdowns:

### Success

```json
{
  "datacontenttype": "application/json",
  "time": "+999999999-12-31T23:59:59.999999999-18:00",
  "data": {
    "serviceName": "crn://confluent.cloud/",
    "methodName": "GetIntegration",
    "cloudResources": [
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "test"
            }
          ]
        },
        "resource": {
          "type": "NS_INTEGRATION",
          "resourceId": "i-x7y1m"
        }
      }
    ],
    "authenticationInfo": {
      "principal": {
        "confluentUser": {
          "resourceId": "u-2"
        }
      },
      "result": "SUCCESS"
    },
    "requestMetadata": {
      "requestId": [
        "01020304050607080102040810204080"
      ],
      "clientAddress": [
        {
          "ip": "1.2.3.4"
        }
      ]
    },
    "request": {
      "accessType": "READ_ONLY"
    },
    "result": {
      "status": "SUCCESS"
    },
    "resourceName": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=test/ns-integration=i-x7y1m"
  },
  "subject": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=test/ns-integration=i-x7y1m",
  "specversion": "1.0",
  "id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
  "source": "crn://confluent.cloud/",
  "type": "io.confluent.cloud/request"
}
```

### Failure

```json
{
  "datacontenttype": "application/json",
  "time": "+999999999-12-31T23:59:59.999999999-18:00",
  "data": {
    "serviceName": "crn://confluent.cloud/",
    "methodName": "GetIntegration",
    "cloudResources": [
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "test"
            }
          ]
        },
        "resource": {
          "type": "NS_INTEGRATION",
          "resourceId": "i-x7y1m"
        }
      }
    ],
    "authenticationInfo": {
      "principal": {
        "confluentUser": {
          "resourceId": "u-2"
        }
      },
      "result": "SUCCESS"
    },
    "requestMetadata": {
      "requestId": [
        "01020304050607080102040810204080"
      ],
      "clientAddress": [
        {
          "ip": "1.2.3.4"
        }
      ]
    },
    "request": {
      "accessType": "READ_ONLY"
    },
    "result": {
      "status": "FAILURE"
    },
    "resourceName": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=test/ns-integration=i-x7y1m"
  },
  "subject": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=test/ns-integration=i-x7y1m",
  "specversion": "1.0",
  "id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
  "source": "crn://confluent.cloud/",
  "type": "io.confluent.cloud/request"
}
```

<a id="listintegrations-examples"></a>

### ListIntegrations

The `ListIntegrations` event is generated by a request to list integrations.

To view example event messages, expand the following dropdowns:

### Success

```json
{
  "datacontenttype": "application/json",
  "time": "+999999999-12-31T23:59:59.999999999-18:00",
  "data": {
    "serviceName": "crn://confluent.cloud/",
    "methodName": "ListIntegrations",
    "cloudResources": [
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "test"
            }
          ]
        },
        "resource": {
          "type": "NS_INTEGRATION",
          "resourceId": "i-x7y1m"
        }
      },
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "test"
            }
          ]
        },
        "resource": {
          "type": "NS_INTEGRATION",
          "resourceId": "i-0o1mg"
        }
      },
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "test"
            }
          ]
        },
        "resource": {
          "type": "NS_INTEGRATION",
          "resourceId": "i-12345"
        }
      },
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "test"
            }
          ]
        },
        "resource": {
          "type": "NS_INTEGRATION",
          "resourceId": "i-12346"
        }
      },
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "test"
            }
          ]
        },
        "resource": {
          "type": "NS_INTEGRATION",
          "resourceId": "i-28756"
        }
      },
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "test"
            }
          ]
        },
        "resource": {
          "type": "NS_INTEGRATION",
          "resourceId": "i-dh7jk"
        }
      },
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "test"
            }
          ]
        },
        "resource": {
          "type": "NS_INTEGRATION",
          "resourceId": "i-26719"
        }
      },
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "test"
            }
          ]
        },
        "resource": {
          "type": "NS_INTEGRATION",
          "resourceId": "i-kh545"
        }
      }
    ],
    "authenticationInfo": {
      "principal": {
        "confluentUser": {
          "resourceId": "u-2"
        }
      },
      "result": "SUCCESS"
    },
    "requestMetadata": {
      "requestId": [
        "01020304050607080102040810204080"
      ],
      "clientAddress": [
        {
          "ip": "1.2.3.4"
        }
      ]
    },
    "request": {
      "accessType": "READ_ONLY"
    },
    "result": {
      "status": "SUCCESS"
    },
    "resourceName": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=test"
  },
  "subject": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=test",
  "specversion": "1.0",
  "id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
  "source": "crn://confluent.cloud/",
  "type": "io.confluent.cloud/request"
}
```

### Failure

```json
{
  "datacontenttype": "application/json",
  "time": "+999999999-12-31T23:59:59.999999999-18:00",
  "data": {
    "serviceName": "crn://confluent.cloud/",
    "methodName": "ListIntegrations",
    "cloudResources": [
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "env-1"
            }
          ]
        },
        "resource": {
          "type": "NS_INTEGRATION",
          "resourceId": "NA"
        }
      }
    ],
    "authenticationInfo": {
      "principal": {
        "confluentUser": {
          "resourceId": "u-2"
        }
      },
      "result": "SUCCESS"
    },
    "requestMetadata": {
      "requestId": [
        "01020304050607080102040810204080"
      ],
      "clientAddress": [
        {
          "ip": "1.2.3.4"
        }
      ]
    },
    "request": {
      "accessType": "READ_ONLY"
    },
    "result": {
      "status": "FAILURE"
    },
    "resourceName": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=env-1/ns-integration=NA"
  },
  "subject": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=env-1/ns-integration=NA",
  "specversion": "1.0",
  "id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
  "source": "crn://confluent.cloud/",
  "type": "io.confluent.cloud/request"
}
```

<a id="testintegration-examples"></a>

### TestIntegration

The `TestIntegration` event is generated by a request to test an integration.

To view example event messages, expand the following dropdowns:

### Success

```json
{
  "datacontenttype": "application/json",
  "time": "+999999999-12-31T23:59:59.999999999-18:00",
  "data": {
    "serviceName": "crn://confluent.cloud/",
    "methodName": "TestIntegration",
    "cloudResources": [
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "env-1"
            }
          ]
        },
        "resource": {
          "type": "NS_INTEGRATION",
          "resourceId": "NA"
        }
      }
    ],
    "authenticationInfo": {
      "principal": {
        "confluentUser": {
          "resourceId": "u-2"
        }
      },
      "result": "SUCCESS"
    },
    "requestMetadata": {
      "requestId": [
        "01020304050607080102040810204080"
      ],
      "clientAddress": [
        {
          "ip": "1.2.3.4"
        }
      ]
    },
    "request": {
      "accessType": "READ_ONLY"
    },
    "result": {
      "status": "SUCCESS"
    },
    "resourceName": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=test/ns-integration=NA"
  },
  "subject": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=test/ns-integration=NA",
  "specversion": "1.0",
  "id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
  "source": "crn://confluent.cloud/",
  "type": "io.confluent.cloud/request"
}
```

### Failure

```json
{
  "datacontenttype": "application/json",
  "time": "+999999999-12-31T23:59:59.999999999-18:00",
  "data": {
    "serviceName": "crn://confluent.cloud/",
    "methodName": "TestIntegration",
    "cloudResources": [
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "test"
            }
          ]
        },
        "resource": {
          "type": "NS_INTEGRATION",
          "resourceId": "NA"
        }
      }
    ],
    "authenticationInfo": {
      "principal": {
        "confluentUser": {
          "resourceId": "u-2"
        }
      },
      "result": "SUCCESS"
    },
    "requestMetadata": {
      "requestId": [
        "01020304050607080102040810204080"
      ],
      "clientAddress": [
        {
          "ip": "1.2.3.4"
        }
      ]
    },
    "request": {
      "accessType": "READ_ONLY"
    },
    "result": {
      "status": "FAILURE"
    },
    "resourceName": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=test/ns-integration=NA"
  },
  "subject": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=test/ns-integration=NA",
  "specversion": "1.0",
  "id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
  "source": "crn://confluent.cloud/",
  "type": "io.confluent.cloud/request"
}
```

<a id="updateintegration-examples"></a>

### UpdateIntegration

The `UpdateIntegration` event is generated by a request to update an
integration.

To view example event messages, expand the following dropdowns:

### Success

```json
{
  "datacontenttype": "application/json",
  "time": "+999999999-12-31T23:59:59.999999999-18:00",
  "data": {
    "serviceName": "crn://confluent.cloud/",
    "methodName": "UpdateIntegration",
    "cloudResources": [
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "test"
            }
          ]
        },
        "resource": {
          "type": "NS_INTEGRATION",
          "resourceId": "i-x7y1m"
        }
      }
    ],
    "authenticationInfo": {
      "principal": {
        "confluentUser": {
          "resourceId": "u-2"
        }
      },
      "result": "SUCCESS"
    },
    "requestMetadata": {
      "requestId": [
        "01020304050607080102040810204080"
      ],
      "clientAddress": [
        {
          "ip": "1.2.3.4"
        }
      ]
    },
    "request": {
      "accessType": "READ_ONLY"
    },
    "result": {
      "status": "SUCCESS"
    },
    "resourceName": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=test/ns-integration=i-x7y1m"
  },
  "subject": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=test/ns-integration=i-x7y1m",
  "specversion": "1.0",
  "id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
  "source": "crn://confluent.cloud/",
  "type": "io.confluent.cloud/request"
}
```

### Failure

```json
{
  "datacontenttype": "application/json",
  "time": "+999999999-12-31T23:59:59.999999999-18:00",
  "data": {
    "serviceName": "crn://confluent.cloud/",
    "methodName": "UpdateIntegration",
    "cloudResources": [
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "env-1"
            }
          ]
        },
        "resource": {
          "type": "NS_INTEGRATION",
          "resourceId": "i-x7y1m"
        }
      }
    ],
    "authenticationInfo": {
      "principal": {
        "confluentUser": {
          "resourceId": "u-2"
        }
      },
      "result": "SUCCESS"
    },
    "requestMetadata": {
      "requestId": [
        "01020304050607080102040810204080"
      ],
      "clientAddress": [
        {
          "ip": "1.2.3.4"
        }
      ]
    },
    "request": {
      "accessType": "READ_ONLY"
    },
    "result": {
      "status": "FAILURE"
    },
    "resourceName": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=env-1/ns-integration=i-x7y1m"
  },
  "subject": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=env-1/ns-integration=i-x7y1m",
  "specversion": "1.0",
  "id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
  "source": "crn://confluent.cloud/",
  "type": "io.confluent.cloud/request"
}
```

<a id="notification-service-subscription"></a>

## Subscription auditable event methods

A subscription associates a notification type with an integration channel
so a user is notified through that channel when the corresponding event
occurs. For more information, see [Notifications for Confluent Cloud](../../configure-notifications.md#ccloud-notifications).

The following auditable event methods are for the resource type
`NS_SUBSCRIPTION` in a single Confluent Cloud organization.

| Method name                                        | Action triggering an auditable event message   |
|----------------------------------------------------|------------------------------------------------|
| [CreateSubscription](#createsubscription-examples) | A request to create a subscription.            |
| [DeleteSubscription](#deletesubscription-examples) | A request to delete a subscription.            |
| [GetSubscription](#getsubscription-examples)       | A request to get a subscription.               |
| [ListSubscriptions](#listsubscriptions-examples)   | A request to list subscriptions.               |
| [UpdateSubscription](#updatesubscription-examples) | A request to update a subscription.            |

<a id="createsubscription-examples"></a>

### CreateSubscription

The `CreateSubscription` event is generated by a request to create a
subscription.

To view example event messages, expand the following dropdowns:

### Success

```json
{
  "datacontenttype": "application/json",
  "subject": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=test/ns-subscription=s-133455",
  "time": "+999999999-12-31T23:59:59.999999999-18:00",
  "data": {
    "serviceName": "crn://confluent.cloud/",
    "methodName": "CreateSubscription",
    "cloudResources": [
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "test"
            }
          ]
        },
        "resource": {
          "type": "NS_SUBSCRIPTION",
          "resourceId": "s-133455"
        }
      }
    ],
    "authenticationInfo": {
      "principal": {
        "confluentUser": {
          "resourceId": "u-2"
        }
      },
      "result": "SUCCESS"
    },
    "requestMetadata": {
      "requestId": [
        "01020304050607080102040810204080"
      ],
      "clientAddress": [
        {
          "ip": "1.2.3.4"
        }
      ]
    },
    "request": {
      "accessType": "MODIFICATION"
    },
    "result": {
      "status": "SUCCESS"
    },
    "resourceName": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=test/ns-subscription=s-133455"
  },
  "subject": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=test/ns-subscription=s-133455",
  "specversion": "1.0",
  "id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
  "source": "crn://confluent.cloud/",
  "type": "io.confluent.cloud/request"
}
```

### Failure

```json
{
  "datacontenttype": "application/json",
  "time": "+999999999-12-31T23:59:59.999999999-18:00",
  "data": {
    "serviceName": "crn://confluent.cloud/",
    "methodName": "CreateSubscription",
    "cloudResources": [
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "test"
            }
          ]
        },
        "resource": {
          "type": "NS_SUBSCRIPTION",
          "resourceId": "NA"
        }
      }
    ],
    "authenticationInfo": {
      "principal": {
        "confluentUser": {
          "resourceId": "u-2"
        }
      },
      "result": "SUCCESS"
    },
    "requestMetadata": {
      "requestId": [
        "01020304050607080102040810204080"
      ],
      "clientAddress": [
        {
          "ip": "1.2.3.4"
        }
      ]
    },
    "request": {
      "accessType": "MODIFICATION"
    },
    "result": {
      "status": "FAILURE"
    },
    "resourceName": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=test/ns-subscription=NA"
  },
  "subject": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=test/ns-subscription=NA",
  "specversion": "1.0",
  "id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
  "source": "crn://confluent.cloud/",
  "type": "io.confluent.cloud/request"
}
```

<a id="deletesubscription-examples"></a>

### DeleteSubscription

The `DeleteSubscription` event is generated by a request to delete a
subscription.

To view example event messages, expand the following dropdowns:

### Success

```json
{
  "datacontenttype": "application/json",
  "time": "+999999999-12-31T23:59:59.999999999-18:00",
  "data": {
    "serviceName": "crn://confluent.cloud/",
    "methodName": "DeleteSubscription",
    "cloudResources": [
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "test"
            }
          ]
        },
        "resource": {
          "type": "NS_SUBSCRIPTION",
          "resourceId": "s-133455"
        }
      }
    ],
    "authenticationInfo": {
      "principal": {
        "confluentUser": {
          "resourceId": "u-2"
        }
      },
      "result": "SUCCESS"
    },
    "requestMetadata": {
      "requestId": [
        "01020304050607080102040810204080"
      ],
      "clientAddress": [
        {
          "ip": "1.2.3.4"
        }
      ]
    },
    "request": {
      "accessType": "MODIFICATION"
    },
    "result": {
      "status": "SUCCESS"
    },
    "resourceName": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=test/ns-subscription=s-133455"
  },
  "subject": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=test/ns-subscription=s-133455",
  "specversion": "1.0",
  "id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
  "source": "crn://confluent.cloud/",
  "type": "io.confluent.cloud/request"
}
```

### Failure

```json
{
  "datacontenttype": "application/json",
  "time": "+999999999-12-31T23:59:59.999999999-18:00",
  "data": {
    "serviceName": "crn://confluent.cloud/",
    "methodName": "DeleteSubscription",
    "cloudResources": [
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "test"
            }
          ]
        },
        "resource": {
          "type": "NS_SUBSCRIPTION",
          "resourceId": "s-133455"
        }
      }
    ],
    "authenticationInfo": {
      "principal": {
        "confluentUser": {
          "resourceId": "u-2"
        }
      },
      "result": "SUCCESS"
    },
    "requestMetadata": {
      "requestId": [
        "01020304050607080102040810204080"
      ],
      "clientAddress": [
        {
          "ip": "1.2.3.4"
        }
      ]
    },
    "request": {
      "accessType": "MODIFICATION"
    },
    "result": {
      "status": "FAILURE"
    },
    "resourceName": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=test/ns-subscription=s-133455"
  },
  "subject": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=test/ns-subscription=s-133455",
  "specversion": "1.0",
  "id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
  "source": "crn://confluent.cloud/",
  "type": "io.confluent.cloud/request"
}
```

<a id="getsubscription-examples"></a>

### GetSubscription

The `GetSubscription` event is generated by a request to get a subscription.

To view example event messages, expand the following dropdowns:

### Success

```json
{
  "datacontenttype": "application/json",
  "time": "+999999999-12-31T23:59:59.999999999-18:00",
  "data": {
    "serviceName": "crn://confluent.cloud/",
    "methodName": "GetSubscription",
    "cloudResources": [
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "env-1"
            }
          ]
        },
        "resource": {
          "type": "NS_SUBSCRIPTION",
          "resourceId": "s-133455"
        }
      }
    ],
    "authenticationInfo": {
      "principal": {
        "confluentUser": {
          "resourceId": "u-2"
        }
      },
      "result": "SUCCESS"
    },
    "requestMetadata": {
      "requestId": [
        "01020304050607080102040810204080"
      ],
      "clientAddress": [
        {
          "ip": "1.2.3.4"
        }
      ]
    },
    "request": {
      "accessType": "MODIFICATION"
    },
    "result": {
      "status": "SUCCESS"
    },
    "resourceName": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=env-1/ns-subscription=s-133455"
  },
  "subject": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=env-1/ns-subscription=s-133455",
  "specversion": "1.0",
  "id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
  "source": "crn://confluent.cloud/",
  "type": "io.confluent.cloud/request"
}
```

### Failure

```json
{
  "datacontenttype": "application/json",
  "time": "+999999999-12-31T23:59:59.999999999-18:00",
  "data": {
    "serviceName": "crn://confluent.cloud/",
    "methodName": "GetSubscription",
    "cloudResources": [
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "env-1"
            }
          ]
        },
        "resource": {
          "type": "NS_SUBSCRIPTION",
          "resourceId": "s-133455"
        }
      }
    ],
    "authenticationInfo": {
      "principal": {
        "confluentUser": {
          "resourceId": "u-2"
        }
      },
      "result": "SUCCESS"
    },
    "requestMetadata": {
      "requestId": [
        "01020304050607080102040810204080"
      ],
      "clientAddress": [
        {
          "ip": "1.2.3.4"
        }
      ]
    },
    "request": {
      "accessType": "MODIFICATION"
    },
    "result": {
      "status": "FAILURE"
    },
    "resourceName": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=env-1/ns-subscription=s-133455"
  },
  "subject": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=env-1/ns-subscription=s-133455",
  "specversion": "1.0",
  "id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
  "source": "crn://confluent.cloud/",
  "type": "io.confluent.cloud/request"
}
```

<a id="listsubscriptions-examples"></a>

### ListSubscriptions

The `ListSubscriptions` event is generated by a request to list subscriptions.

To view example event messages, expand the following dropdowns:

### Success

```json
{
  "datacontenttype": "application/json",
  "time": "+999999999-12-31T23:59:59.999999999-18:00",
  "data": {
    "serviceName": "crn://confluent.cloud/",
    "methodName": "ListSubscriptions",
    "cloudResources": [
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "test"
            }
          ]
        },
        "resource": {
          "type": "NS_SUBSCRIPTION",
          "resourceId": "s-133455"
        }
      },
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "test"
            }
          ]
        },
        "resource": {
          "type": "NS_SUBSCRIPTION",
          "resourceId": "s-133456"
        }
      },
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "test"
            }
          ]
        },
        "resource": {
          "type": "NS_SUBSCRIPTION",
          "resourceId": "s-abc19s1"
        }
      },
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "test"
            }
          ]
        },
        "resource": {
          "type": "NS_SUBSCRIPTION",
          "resourceId": "s-abc19s2"
        }
      },
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "test"
            }
          ]
        },
        "resource": {
          "type": "NS_SUBSCRIPTION",
          "resourceId": "s-vb61ls"
        }
      },
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "test"
            }
          ]
        },
        "resource": {
          "type": "NS_SUBSCRIPTION",
          "resourceId": "s-7n1pqv"
        }
      },
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "test"
            }
          ]
        },
        "resource": {
          "type": "NS_SUBSCRIPTION",
          "resourceId": "s-1m2qvu"
        }
      }
    ],
    "authenticationInfo": {
      "principal": {
        "confluentUser": {
          "resourceId": "u-2"
        }
      },
      "result": "SUCCESS"
    },
    "requestMetadata": {
      "requestId": [
        "01020304050607080102040810204080"
      ],
      "clientAddress": [
        {
          "ip": "1.2.3.4"
        }
      ]
    },
    "request": {
      "accessType": "READ_ONLY"
    },
    "result": {
      "status": "SUCCESS"
    },
    "resourceName": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=test"
  },
  "subject": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=test",
  "specversion": "1.0",
  "id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
  "source": "crn://confluent.cloud/",
  "type": "io.confluent.cloud/request"
}
```

### Failure

```json
{
  "datacontenttype": "application/json",
  "time": "+999999999-12-31T23:59:59.999999999-18:00",
  "data": {
    "serviceName": "crn://confluent.cloud/",
    "methodName": "ListSubscriptions",
    "cloudResources": [
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "env-1"
            }
          ]
        },
        "resource": {
          "type": "NS_SUBSCRIPTION",
          "resourceId": "NA"
        }
      }
    ],
    "authenticationInfo": {
      "principal": {
        "confluentUser": {
          "resourceId": "u-2"
        }
      },
      "result": "SUCCESS"
    },
    "requestMetadata": {
      "requestId": [
        "01020304050607080102040810204080"
      ],
      "clientAddress": [
        {
          "ip": "1.2.3.4"
        }
      ]
    },
    "request": {
      "accessType": "READ_ONLY"
    },
    "result": {
      "status": "FAILURE"
    },
    "resourceName": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=env-1/ns-subscription=NA"
  },
  "subject": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=test/ns-subscription=NA",
  "specversion": "1.0",
  "id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
  "source": "crn://confluent.cloud/",
  "type": "io.confluent.cloud/request"
}
```

<a id="updatesubscription-examples"></a>

### UpdateSubscription

The `UpdateSubscription` event is generated by a request to update a
subscription.

To view example event messages, expand the following dropdowns:

### Success

```json
{
  "datacontenttype": "application/json",
  "time": "+999999999-12-31T23:59:59.999999999-18:00",
  "data": {
    "serviceName": "crn://confluent.cloud/",
    "methodName": "UpdateSubscription",
    "cloudResources": [
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "env-1"
            }
          ]
        },
        "resource": {
          "type": "NS_SUBSCRIPTION",
          "resourceId": "s-133455"
        }
      }
    ],
    "authenticationInfo": {
      "principal": {
        "confluentUser": {
          "resourceId": "u-2"
        }
      },
      "result": "SUCCESS"
    },
    "requestMetadata": {
      "requestId": [
        "01020304050607080102040810204080"
      ],
      "clientAddress": [
        {
          "ip": "1.2.3.4"
        }
      ]
    },
    "request": {
      "accessType": "MODIFICATION"
    },
    "result": {
      "status": "SUCCESS"
    },
    "resourceName": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=env-1/ns-subscription=s-133455"
  },
  "subject": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=env-1/ns-subscription=s-133455",
  "specversion": "1.0",
  "id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
  "source": "crn://confluent.cloud/",
  "type": "io.confluent.cloud/request"
}
```

### Failure

```json
{
  "datacontenttype": "application/json",
  "time": "+999999999-12-31T23:59:59.999999999-18:00",
  "data": {
    "serviceName": "crn://confluent.cloud/",
    "methodName": "UpdateSubscription",
    "cloudResources": [
      {
        "scope": {
          "resources": [
            {
              "type": "ORGANIZATION",
              "resourceId": "b8afa8fc-c5b4-41ad-8664"
            },
            {
              "type": "ENVIRONMENT",
              "resourceId": "test"
            }
          ]
        },
        "resource": {
          "type": "NS_SUBSCRIPTION",
          "resourceId": "s-133455"
        }
      }
    ],
    "authenticationInfo": {
      "principal": {
        "confluentUser": {
          "resourceId": "u-2"
        }
      },
      "result": "SUCCESS"
    },
    "requestMetadata": {
      "requestId": [
        "01020304050607080102040810204080"
      ],
      "clientAddress": [
        {
          "ip": "1.2.3.4"
        }
      ]
    },
    "request": {
      "accessType": "MODIFICATION"
    },
    "result": {
      "status": "FAILURE"
    },
    "resourceName": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=test/ns-subscription=s-133455"
  },
  "subject": "crn://confluent.cloud/organization=b8afa8fc-c5b4-41ad-8664/environment=test/ns-subscription=s-133455",
  "specversion": "1.0",
  "id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
  "source": "crn://confluent.cloud/",
  "type": "io.confluent.cloud/request"
}
```
