Uses the DBMS_REDACT package.
The following procedures can be used …
The following Function Types are available …
The below examples fully redacts all details in the card_no column.
BEGIN DBMS_REDACT.add_policy( object_schema => 'c##ian', object_name => 'payment_details', column_name => 'card_no', policy_name => 'redact_card_info', function_type => DBMS_REDACT.full, expression => '1=1' ); END;
There is a EXEMPT REDACTION POLICY privilege.
CTAS commands against a redacted table will fail.
Redaction does not apply to the WHERE clause.