The DBMS_TSDP_MANAGE
package provides an interface to import and manage sensitive columns and sensitive column types in the database, and is used in conjunction with the DBMS_TSDP_PROTECT package with regard to transparent sensitive data protection (TSDP) policies. DBMS_TSDP_MANAGE
is available with the Enterprise Edition only.
See Also:
Oracle Database Security GuideThis chapter contains the following topics:
Overview
Security Model
The DBMS_TSDP_MANAGE
package lets you manage sensitive columns and sensitive types in the Oracle database. The identified sensitive columns are classified based on the sensitive types. By Using the DBMS_TSDP_PROTECT package to create a policy that protects data for a given class based on a column type rather than the data itself, you can then manage security for these types in a uniform fashion and modify the settings to accommodate changing compliance regulations.
You also can export the policies to other databases, when you perform a full export using Data Pump. You cannot export the policy itself, but an export of the database will include the TSDP policies.
All procedures are executed with invoker's rights. The DBMS_TSDP_MANAGE
package is owned by SYS
. The EXECUTE
privilege on this package should be granted as appropriate. Typically, an application database administrator should be granted the EXECUTE
privilege for this package, while the DBMS_TSDP_PROTECT package would be governed by a security administrator.
Table 170-1 DBMS_TSDP_MANAGE Package Subprograms
Subprogram | Description |
---|---|
Adds a column to the sensitive column list |
|
Creates and adds a sensitive column type to the list of sensitive column types in the database |
|
Alters the sensitive type and/or the comment of a column in the sensitive column list. |
|
Removes columns from the sensitive column list |
|
Drops a sensitive column type from the list sensitive column types in the database |
|
Drops sensitive column types corresponding to a source from the list sensitive column types in the database |
|
Imports sensitive columns from an external source. This can be an Application Data Model (ADM) from an Oracle Enterprise Manager Cloud Control instance |
|
Imports a list of sensitive column types from a source |
|
Removes sensitive columns corresponding to an Application Data Model (ADM) from an Oracle Enterprise Manager Cloud Control instance. |
This procedure adds a column to the sensitive column list.
DBMS_TSDP_MANAGE.ADD_SENSITIVE_COLUMN ( schema_name IN VARCHAR2, table_name IN VARCAHR2, column_name IN VARCAHR2, sensitive_type IN VARCAHR2, user_comment IN VARCAHR2 DEFAULT NULL);
Table 170-2 ADD_SENSITIVE_COLUMN Procedure Parameters
Parameter | Description |
---|---|
|
Schema to which the column belongs |
|
Table containing the column |
|
Sensitive column name |
|
Identifier of the sensitive column type |
|
User comment regarding the sensitive column |
This procedure alters the Sensitive Type and/or the Comment of a Column in the sensitive column list.
DBMS_TSDP_MANAGE.ALTER_SENSITIVE_COLUMN ( schema_name IN VARCHAR2, table_name IN VARCAHR2, column_name IN VARCAHR2, sensitive_type IN VARCAHR2, user_comment IN VARCAHR2 DEFAULT NULL);
Table 170-3 ALTER_SENSITIVE_COLUMN Procedure Parameters
Parameter | Description |
---|---|
|
Schema to which the column belongs |
|
Table containing the column |
|
Sensitive column name |
|
Identifier of the sensitive column type |
|
User comment regarding the sensitive column |
This procedure creates and adds a sensitive column type to the list sensitive column types in the database.
DBMS_TSDP_MANAGE.ADD_SENSITIVE_TYPE ( sensitive_type IN VARCHAR2, user_comment IN VARCAHR2 DEFAULT NULL);
This procedure removes columns from the sensitive column list.
DBMS_TSDP_MANAGE.DROP_SENSITIVE_COLUMN ( schema_name IN VARCHAR2 DEFAULT '%', table_name IN VARCAHR2 DEFAULT '%', column_name IN VARCAHR2 DEFAULT '%');
This procedure drops a sensitive column type from the list sensitive column types in the database.
This procedure drops sensitive column types corresponding to a source from the list sensitive column types in the database.
This procedure can be used to import sensitive columns, along with the associated sensitive types, from an external source. The external source can be an Application Data Model (ADM) instance from Oracle Enterprise Manager Cloud Control.
DBMS_TSDP_MANAGE.IMPORT_DISCOVERY_RESULT ( discovery_result IN CLOB, discovery_source IN VARCHAR2, force IN FORCE DEFAULT FALSE); DBMS_TSDP_MANAGE.IMPORT_DISCOVERY_RESULT ( discovery_result IN XMLTYPE, discovery_source IN VARCHAR2, force IN FORCE DEFAULT FALSE);
Table 170-8 IMPORT_DISCOVERY_RESULT Procedure Parameters
Parameter | Description |
---|---|
|
List of sensitive columns, along with the optional list of (the definitions of) the sensitive column types in XML format (possibly as a |
|
Source of the import. The discovery_sourcename identifies the list of imported sensitive columns. In case of ADM, this should be the ADM name. |
|
Specifies if the discovery result should be imported or not when the discovery result contains columns sensitive columns that are already identified as sensitive by another source.
|
This procedure imports a list of sensitive column types from a source.
DBMS_TSDP_MANAGE.IMPORT_SENSITIVE_TYPES ( sensitive_types IN CLOB, source IN VARCHAR2); DBMS_TSDP_MANAGE.IMPORT_SENSITIVE_TYPES ( sensitive_types IN XMLTYPE, source IN VARCHAR2);
Table 170-9 IMPORT_SENSITIVE_TYPES Procedure Parameters
Parameter | Description |
---|---|
|
List of sensitive column types in XML Format (possibly as a |
|
Source of the import. The source identifies the list of imported sensitive column types. In case of Application Data Model (ADM) from an Oracle Enterprise Manager Cloud Control instance, this should be the ADM name. |