Oracle Cloud Infrastructure Documentation

Oracle Data Safe Events in Oracle Cloud Infrastructure

The Oracle Data Safe service emits events in Oracle Cloud Infrastructure (OCI), which are structured messages that indicate changes in resources.

In the Events user interface in OCI, the user selects a service name, and then selects an event type, which follows the format <resource> - <event type>. The service name for Oracle Data Safe is Data Safe Cloud Service. The following table lists the event types for Data Safe Cloud Service. Friendly names are displayed here to make the table easier to read and are not found in the OCI user interface.

Friendly Name Event Type

Configure - Enable Begin

com.oraclecloud.DataSafeInstancesControlPlane.EnableDataSafeService.begin

Configure - Enable End

com.oraclecloud.DataSafeInstancesControlPlane.EnableDataSafeService.end

Example

The following code is an example of a Configure - Enable Begin event:

{
    "eventType": "com.oraclecloud.DataSafeInstancesControlPlane.EnableDataSafeService.begin",
    "cloudEventsVersion": "0.1",
    "eventTypeVersion": "<version>",
    "source": "DataSafeInstancesControlPlane",
    "eventTime": "2019-10-21T22:06:46.588Z",
    "contentType": "application/json",
    "data": {
      "compartmentId": "ocid1.tenancy.oc1..<unique_ID>",
      "compartmentName": "example-compartment",
      "resourceName":"configuration",
      "resourceId":"ocid1.coreservicesworkrequest.oc1..<unique_ID>",
      "availabilityDomain":"<availability_domain>"
    },
    "eventID": "<unique_ID>",
    "extensions": {
      "compartmentId": "ocid1.tenancy.oc1..<unique_ID>"
    }
}