UpdateMaskingPolicyDetails¶
-
class
oci.data_safe.models.
UpdateMaskingPolicyDetails
(**kwargs)¶ Bases:
object
Details to update a masking policy.
Methods
__init__
(**kwargs)Initializes a new UpdateMaskingPolicyDetails object with values from keyword arguments. Attributes
column_source
Gets the column_source of this UpdateMaskingPolicyDetails. defined_tags
Gets the defined_tags of this UpdateMaskingPolicyDetails. description
Gets the description of this UpdateMaskingPolicyDetails. display_name
Gets the display_name of this UpdateMaskingPolicyDetails. freeform_tags
Gets the freeform_tags of this UpdateMaskingPolicyDetails. is_drop_temp_tables_enabled
Gets the is_drop_temp_tables_enabled of this UpdateMaskingPolicyDetails. is_redo_logging_enabled
Gets the is_redo_logging_enabled of this UpdateMaskingPolicyDetails. is_refresh_stats_enabled
Gets the is_refresh_stats_enabled of this UpdateMaskingPolicyDetails. parallel_degree
Gets the parallel_degree of this UpdateMaskingPolicyDetails. post_masking_script
Gets the post_masking_script of this UpdateMaskingPolicyDetails. pre_masking_script
Gets the pre_masking_script of this UpdateMaskingPolicyDetails. recompile
Gets the recompile of this UpdateMaskingPolicyDetails. -
__init__
(**kwargs)¶ Initializes a new UpdateMaskingPolicyDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - display_name (str) – The value to assign to the display_name property of this UpdateMaskingPolicyDetails.
- description (str) – The value to assign to the description property of this UpdateMaskingPolicyDetails.
- is_drop_temp_tables_enabled (bool) – The value to assign to the is_drop_temp_tables_enabled property of this UpdateMaskingPolicyDetails.
- is_redo_logging_enabled (bool) – The value to assign to the is_redo_logging_enabled property of this UpdateMaskingPolicyDetails.
- is_refresh_stats_enabled (bool) – The value to assign to the is_refresh_stats_enabled property of this UpdateMaskingPolicyDetails.
- parallel_degree (str) – The value to assign to the parallel_degree property of this UpdateMaskingPolicyDetails.
- recompile (str) – The value to assign to the recompile property of this UpdateMaskingPolicyDetails.
- pre_masking_script (str) – The value to assign to the pre_masking_script property of this UpdateMaskingPolicyDetails.
- post_masking_script (str) – The value to assign to the post_masking_script property of this UpdateMaskingPolicyDetails.
- column_source (oci.data_safe.models.UpdateColumnSourceDetails) – The value to assign to the column_source property of this UpdateMaskingPolicyDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateMaskingPolicyDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateMaskingPolicyDetails.
-
column_source
¶ Gets the column_source of this UpdateMaskingPolicyDetails.
Returns: The column_source of this UpdateMaskingPolicyDetails. Return type: oci.data_safe.models.UpdateColumnSourceDetails
Gets the defined_tags of this UpdateMaskingPolicyDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags
Example: {“Operations”: {“CostCenter”: “42”}}
Returns: The defined_tags of this UpdateMaskingPolicyDetails. Return type: dict(str, dict(str, object))
-
description
¶ Gets the description of this UpdateMaskingPolicyDetails. The description of the masking policy.
Returns: The description of this UpdateMaskingPolicyDetails. Return type: str
-
display_name
¶ Gets the display_name of this UpdateMaskingPolicyDetails. The display name of the masking policy. The name does not have to be unique, and it’s changeable.
Returns: The display_name of this UpdateMaskingPolicyDetails. Return type: str
Gets the freeform_tags of this UpdateMaskingPolicyDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags
Example: {“Department”: “Finance”}
Returns: The freeform_tags of this UpdateMaskingPolicyDetails. Return type: dict(str, str)
-
is_drop_temp_tables_enabled
¶ Gets the is_drop_temp_tables_enabled of this UpdateMaskingPolicyDetails. Indicates if the temporary tables created during a masking operation should be dropped after masking. It’s enabled by default. Set this attribute to false to preserve the temporary tables. Masking creates temporary tables that map the original sensitive data values to mask values. By default, these temporary tables are dropped after masking. But, in some cases, you may want to preserve this information to track how masking changed your data. Note that doing so compromises security. These tables must be dropped before the database is available for unprivileged users.
Returns: The is_drop_temp_tables_enabled of this UpdateMaskingPolicyDetails. Return type: bool
-
is_redo_logging_enabled
¶ Gets the is_redo_logging_enabled of this UpdateMaskingPolicyDetails. Indicates if redo logging is enabled during a masking operation. It’s disabled by default. Set this attribute to true to enable redo logging. By default, masking disables redo logging and flashback logging to purge any original unmasked data from logs. However, in certain circumstances when you only want to test masking, rollback changes, and retry masking, you could enable logging and use a flashback database to retrieve the original unmasked data after it has been masked.
Returns: The is_redo_logging_enabled of this UpdateMaskingPolicyDetails. Return type: bool
-
is_refresh_stats_enabled
¶ Gets the is_refresh_stats_enabled of this UpdateMaskingPolicyDetails. Indicates if statistics gathering is enabled. It’s enabled by default. Set this attribute to false to disable statistics gathering. The masking process gathers statistics on masked database tables after masking completes.
Returns: The is_refresh_stats_enabled of this UpdateMaskingPolicyDetails. Return type: bool
-
parallel_degree
¶ Gets the parallel_degree of this UpdateMaskingPolicyDetails. Specifies options to enable parallel execution when running data masking. Allowed values are ‘NONE’ (no parallelism), ‘DEFAULT’ (the Oracle Database computes the optimum degree of parallelism) or an integer value to be used as the degree of parallelism. Parallel execution helps effectively use multiple CPUs and improve masking performance. Refer to the Oracle Database parallel execution framework when choosing an explicit degree of parallelism.
Returns: The parallel_degree of this UpdateMaskingPolicyDetails. Return type: str
-
post_masking_script
¶ Gets the post_masking_script of this UpdateMaskingPolicyDetails. A post-masking script, which can contain SQL and PL/SQL statements. It’s executed after the core masking script generated using the masking policy. It’s usually used to perform additional transformation or cleanup work after masking.
Returns: The post_masking_script of this UpdateMaskingPolicyDetails. Return type: str
-
pre_masking_script
¶ Gets the pre_masking_script of this UpdateMaskingPolicyDetails. A pre-masking script, which can contain SQL and PL/SQL statements. It’s executed before the core masking script generated using the masking policy. It’s usually used to perform any preparation or prerequisite work before masking data.
Returns: The pre_masking_script of this UpdateMaskingPolicyDetails. Return type: str
-
recompile
¶ Gets the recompile of this UpdateMaskingPolicyDetails. Specifies how to recompile invalid objects post data masking. Allowed values are ‘SERIAL’ (recompile in serial), ‘PARALLEL’ (recompile in parallel), ‘NONE’ (do not recompile). If it’s set to PARALLEL, the value of parallelDegree attribute is used. Use the built-in UTL_RECOMP package to recompile any remaining invalid objects after masking completes.
Returns: The recompile of this UpdateMaskingPolicyDetails. Return type: str
-