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.

Event Type Code

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>"
    }
}