Configuring Hybrid Cloud Target Using TCP
You can configure cloud targets for DBCS instances in TCP mode. The Audit Vault server and Audit Vault agent are installed on-premises.
Step 1: Registering On-premises Host on the Audit Vault Server
This configuration step registers the on-premises host in the Audit Vault server.
In case there is already a registered on-premises host in the Audit Vault server installed on the agent for monitoring Oracle Database Cloud Services instances, bypass this procedure. Otherwise, the steps are similar for all target databases that are on-premises.
See Also: Registering Hosts on the Audit Vault Server
Step 2: Installing Audit Vault Agent on Registered On-premises Hosts
This configuration step installs Oracle Audit Vault agents on registered on-premises hosts.
Note:
If there is already an Audit Vault agent installed on an on-premises host that is planned for monitoring DBCS instances then ignore this step. In case there are no agents installed, there are specific requirements for the Audit Vault agents that monitor DBCS instances. The requirements or features are as follows:
-
The agent has to run on-premise.
-
A minimum of one agent must be dedicated to monitor only DBCS instances. There may be multiple agents dedicated to monitor only DBCS instances.
-
The agent should not run on the Audit Vault server.
-
Install the Audit Vault agent on the on-premises host.
See Also: Deploying the Audit Vault Agent on Host Computers for detailed steps on installing on-premises host.
-
Start the Audit Vault agent.
Step 3: Creating User Accounts on Oracle Database Cloud Service Target Instances
This configuration step creates user accounts on Oracle Database Cloud Service target instances.
Note: The connection methodology differs from on-premises deployments for TCP connections.
Prerequisite
- You must open port 1521 on the DBCS instance for TCP connection so you can use SQL*Plus and SQL*Developer. TCP connection is encrypted by default. It utilizes the native encryption. See Opening Ports on Oracle Database Cloud Service for more information.
Procedure for installation
-
Ensure that the connection has been established to the DBCS instances through TCP as user with SYSDBA administrative privilege.
-
Scripts and respective actions:
Script Action oracle_DBSecCentral_dbcs_user_setup.sqlTo setup target user account. oracle_DBSecCentral_dbcs_drop_db_permissions.sqlTo revoke permission from user. -
Run the script in order to setup target user account in specific mode:
oracle_DBSecCentral_dbcs_user_setup.sql <username> <mode>Where
<username>is the user name of the Hybrid cloud target user.The
<mode>can be one of the following:Mode Purpose SETUPTo enable stored procedure auditing and collect data from Oracle Cloud instance TABLEaudit trail in Oracle Database Security Central.RETRIEVE_DB_POLICIESTo set up privileges for retrieving audit policies, SQL Firewall policies and Database Vault policies for Oracle Cloud instance. ASSESSMENT_DISCOVERYTo enable user assessment, security assessment and sensitive data discovery for Oracle Cloud instance. AUDIT_ADMINTo manage audit policies for Oracle Cloud instance.
Step 4: Setting Up or Reviewing Audit Policies on Target Oracle Database Cloud Service Instances
This configuration step explains how to manage audit policies on target Oracle Database Cloud Service instances.
Check the audit polices that are enabled and change them as needed. For Oracle Database 11g release 11.2 and Oracle Database 12c instances where the Unified audit is not enabled, it is possible to provision audit policies from the Audit Vault server. If the Unified Trail is enabled on Oracle12c instances, ensure to change the audit policies manually on the DBCS instance.
Note: Ensure to understand the audit settings on the DBCS instances before starting the audit data collection process. Currently one Audit Vault agent supports up to a maximum of 10 cloud target audit trails. The collection speed is up to 25 million audit records per target audit trail, per day. The recommended Audit Vault agent configuration can be found in the Oracle Database Security Central Installation Guide.
Run the DBMS_AUDIT_MGMT package on the DBCS instances for audit clean up, after the data is collected by on-premises Audit Vault Server. The Audit Vault Server supports data retention policies for every target and meets compliance requirements. It allows configuring different retention policies for on-premises and DBCS instances.
Storage requirements on the Audit Vault Server also must be reviewed to ensure enough storage is available, while adding more on-premises or DBCS instance targets to the Audit Vault Server.
Step 5: Creating Targets on Oracle Audit Vault Server for Oracle Database Cloud Service Instances
This configuration step creates targets on Oracle Audit Vault Servers for Oracle Database Cloud Service instances.
To connect to the DBCS instance the configuration is the same as for on-premise targets. The user must define these specific settings on the target configuration page.
-
Log in to Audit Vault console with as an administrator.
-
Select Targets.
-
Select Register button on the right.
-
Enter a Name for thet and select from the Type menu.
-
Optionally fill in the Description field.
-
Under the Audit Connection Details sub, choose the Advanced option.
-
In the Protocol menu, select TCP.
-
In the Target Location field, enter the following settings:
jdbc:oracle:thin:@//<host_ip>:<port_number>/<service_name>Alternatively, you can accomplish this uing the Basic option. Enter the details in Host Name/IP Address, Port, Service Name fields.
-
Enter the User Name and Password.
-
Select Save to save the configuration changes.
Step 6: Starting Audit Trail on Audit Vault Server for Oracle Database Cloud Service Instances
This configuration step starts the audit trail on Oracle Audit Vault Server for Oracle Database Cloud Service instances.
Use this procedure to start an audit trail on the Audit Vault Server for the DBCS instance.
-
Log in to the Audit Vault console as an administrator.
-
In the Targets, select the newly registered target.
-
Under Audit Data Collection section, select Add. The Add Audit Trail dialog is displayed.
-
Select Audit Trail Type as
TABLE.Note: Other trail types are not supported for DBCS target instances.
-
Select the appropriate values in the Trail Location from the drop down menu.
The supported table trails for Oracle DBCS target are:
-
UNIFIED_AUDIT_TRAIL -
SYS.AUD$ -
SYS.FGA_LOG$ -
DVSYS.AUDIT_TRAIL$
-
-
Select the Agent Host.
-
Select Save to add the audit trail.