Enable and Manage Automatic Registration from a Database Console
Overview
In the Oracle Cloud Infrastructure console, you can enable Oracle Data Safe automatic registration for pluggable databases (PDBs) when you create a new container database (CDB) or manage an existing one. See Supported Databases for Automatic Registration.
When you enable automatic registration for a CDB, Oracle Data Safe discovers eligible existing and future PDBs. Eligible PDBs are registered automatically. You can monitor registration progress and target status from the Registration policies and Target databases pages.
By default, automatic registration enables the following Oracle Data Safe features on the target databases:
- Security and user assessment
- Audit collection
- Audit setting
- Data discovery
Note
Note: You can enable the Data masking, Data subsetting, and SQL Firewall features after all the target databases are registered if needed. You cannot disable Security and user assessment. SQL Firewall management in Oracle Data Safe is only available for Oracle AI Database 26ai target databases.
Once a target database is associated with a registration policy, you cannot edit its connection details. If the target database is no longer part of a registration policy, you can edit its connection details.
Before enabling automatic registration, be sure to complete the necessary preregistration tasks. See Preregistration Tasks.
Preregistration Tasks
The following table lists tasks that you need to complete before you enable automatic registration on a CDB.
| Task Number | Task | Links to Instructions |
|---|---|---|
| 1 | In Oracle Cloud Infrastructure Identity and Access Management (IAM), obtain permissions to register your database. | Permissions to Automatically Register PDBs in Oracle Exadata Database Service on Dedicated Infrastructure Permissions to Automatically Register PDBs in Oracle Exadata Database Service on Exascale Infrastructure Permissions to Automatically Register PDBs in Oracle Exadata Database Service on Cloud@Customer |
| 2 | If you plan to connect to the CDB via an Oracle Data Safe on-premises connector, download the install bundle for the on-premises connector and then install the on-premises connector on a host machine on your network. | Create an Oracle Data Safe On-Premises Connector |
| 3 | If you are using a TLS connection and an Oracle Data Safe on-premises connector, configure a TLS connection between the on-premises connector and your target database. | Configure a TLS Connection Between the On-Premises Connector on Your Host Machine and Your Database |
Before enabling automatic registration, make sure that the selected Oracle Data Safe private endpoint or on-premises connector can connect to the CDB and PDB listener endpoints. You are responsible for configuring required network security groups, security lists, route tables, firewalls, and other network controls. Oracle Data Safe does not modify these customer network resources automatically.
Enable Automatic Registration on a CDB that Supports Private Endpoint Only
This section applies to Oracle Exadata Database Service on Dedicated Infrastructure (ExaDB-D) and Oracle Exadata Database Service on Exascale Infrastructure (ExaDB-XS).
-
If you are creating a container database (CDB), in your database’s console, on the Create database panel, under Security, turn on Enable Data Safe. In the dialog box, confirm by selecting Enable.
-
If you already have a CDB, in your database’s console, on the Database information page for your CDB, locate the Security section. Next to Data Safe, select Enable. In the dialog box, confirm by selecting Enable.
A work request is started. You can monitor the work request on the Work requests tab.
A registration policy in Oracle Data Safe is created for your CDB. Oracle Data Safe begins discovering and registering eligible PDBs in the background. It also creates the Oracle Data Safe service account on each PDB and enables the default Oracle Data Safe features.
-
To go directly to the registration information for your target database in Oracle Data Safe, on the Database Information page next to Data Safe, select the three dots, and then select View details.
The Target databases page in Oracle Data Safe opens. The registered CDB and its registered PDBs are listed. The registration policy’s background process takes affect a few minutes after the registration policy is created.
-
Select a target database to view its information. Details relevant to automatic registration include Database and connection details and Feature grants.
Enable Automatic Registration on a CDB that Supports a Private Endpoint or On-Premises Connector
This section applies to Oracle Exadata Database Service on Cloud@Customer (ExaDB-C@C).
-
If you are creating a container database (CDB), in your database’s console, on the Create database panel, under Security, turn on Enable Data Safe. In the dialog box, confirm by selecting Enable.
-
If you already have a CDB, in your database’s console, on the Database information page for your CDB, locate the Security section. Next to Data Safe, select Enable.
The Enable Data Safe panel opens.
-
Turn on Enable Data Safe.
-
Under Connectivity options, select Data Safe private endpoint or Data Safe on-premises connector.
-
If you select Data Safe private endpoint, choose to create a new private endpoint or select an existing one. When you select Create private endpoint, the Create private endpoint panel opens. Enter a Name, and select a Compartment, VCN, and Subnet. Optionally, you can add a tag. For more information, see Create an Oracle Data Safe Private Endpoint.
-
If you select Data Safe on-premises connector, choose to create a new on-premises connector or select an existing one. You can add multiple on-premises connectors depending on the number of active connections you need. When you select the create new ones in Data Safe link, you are brought to the On-premises connectors page in Oracle Data Safe where you can create on-premises connectors. For more information, see Create an Oracle Data Safe On-Premises Connector.
-
If you select an existing Oracle Data Safe private endpoint or on-premises connector, Oracle Data Safe uses that connection option for automatic registration. Ensure that the selected connection option can reach the CDB and PDB listener endpoints.
-
-
Select Update or Create.
A work request is started. You can monitor the work request on the Work requests tab.
A registration policy in Oracle Data Safe is created for your CDB. Oracle Data Safe begins discovering and registering eligible PDBs in the background. It also creates the Oracle Data Safe service account on each PDB and grants the following default features:
- Security and user assessment
- Audit collection
- Audit setting
- Data discovery
-
To navigate to the CDB’s and PDBs’ registration information in Oracle Data Safe, on the Database Information page next to Data Safe, select the three dots, and then select View Datails.
The Target databases page in Oracle Data Safe opens. The registered CDB and its PDBs are listed.
-
Select the CDB or a PDB to view its information. Details relevant to automatic registration include Database and connection details and Feature grants.
Post Registration Tasks
The following table lists tasks that you need to complete after you enable automatic registration on a CDB.
| Task Number | Task | Link to Instructions |
|---|---|---|
| 1 | (Optional) Modify which features are granted on your registered target databases. | Edit Feature Grants in a Registration Policy Edit Feature Grants on a Registered Target Database |
| 2 | If you are using a TLS connection and an Oracle Data Safe on-premises connector, configure a TLS connection between the on-premises connector and your target database. | Configure a TLS Connection Between the On-Premises Connector on Your Host Machine and Your Database |
| 3 | Make sure to allow ingress traffic to your target database from the Oracle Data Safe private endpoint or Oracle Data Safe on-premises connector. | (none) |
Disable Automatic Registration for a CDB
Disabling automatic registration from the database console removes the registration policy resource from Oracle Data Safe. Oracle Data Safe no longer registers future PDBs, but previously registered target databases remain registered. To deregister these target databases, see Deregister a Target Database.
-
On the Database information page for your CDB, locate the Security section.
-
Next to Data Safe, select the three dots, and then select Disable.
The Disable Data Safe panel opens.
-
Turn off Enable Data Safe.
If you do not have the necessary permissions, the message Must grant Data Safe permissions is displayed. Cancel the operation and review the required permissions in Preregistration Tasks.
-
Select Save.
-
(Optional) To monitor the operation, select the Work requests tab and view the Delete Data Safe Registration Policy operation.
-
(Optional) To verify that the registration policy is removed in Oracle Data Safe, do the following:
a. On the Database Information page, next to Data Safe, select the three dots, and then select View details.
b. Under Target databases on the left, select Registration policies.
c. Select your compartment and locate your registration policy. Its status is Deleting.