User Tools

Site Tools


dataredaction

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dataredaction [2015/07/23 13:21] z0hpvkdataredaction [2025/03/08 22:24] (current) – external edit 127.0.0.1
Line 7: Line 7:
   * DROP_POLICY   * DROP_POLICY
   * ENABLE_POLICY   * ENABLE_POLICY
 +
 The following Function Types are available ... The following Function Types are available ...
   * DBMS_REDACT.NONE   * DBMS_REDACT.NONE
Line 12: Line 13:
   * DBMS_REDACT.PARTIAL (Number, Character, Date)   * DBMS_REDACT.PARTIAL (Number, Character, Date)
   * DBMS_REDACT.RANDOM   * DBMS_REDACT.RANDOM
 +
 +The below examples fully redacts all details in the card_no column.
 +<code>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;</code>
 +There is a EXEMPT REDACTION POLICY privilege.\\
 +CTAS commands against a redacted table will fail.\\
 +Redaction does not apply to the WHERE clause.\\
 +
 +[[https://oracle-base.com/articles/12c/data-redaction-12cr1|Oracle Base Article]]
dataredaction.1437657672.txt.gz · Last modified: 2025/03/08 22:23 (external edit)