Server IP : 103.119.228.120 / Your IP : 3.129.216.15 Web Server : Apache System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64 User : nobody ( 99) PHP Version : 5.6.40 Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/local/ssl/lib/mysqlsh/lib/python3.9/site-packages/oci/data_safe/models/ |
Upload File : |
# coding: utf-8 # Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. # NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20181201 from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401 from oci.decorators import init_model_state_from_kwargs @init_model_state_from_kwargs class MaskDataDetails(object): """ Details to mask data. """ def __init__(self, **kwargs): """ Initializes a new MaskDataDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param target_id: The value to assign to the target_id property of this MaskDataDetails. :type target_id: str :param is_decrypt: The value to assign to the is_decrypt property of this MaskDataDetails. :type is_decrypt: bool :param is_rerun: The value to assign to the is_rerun property of this MaskDataDetails. :type is_rerun: bool :param tablespace: The value to assign to the tablespace property of this MaskDataDetails. :type tablespace: str :param is_ignore_errors_enabled: The value to assign to the is_ignore_errors_enabled property of this MaskDataDetails. :type is_ignore_errors_enabled: bool :param seed: The value to assign to the seed property of this MaskDataDetails. :type seed: str :param is_move_interim_tables_enabled: The value to assign to the is_move_interim_tables_enabled property of this MaskDataDetails. :type is_move_interim_tables_enabled: bool :param is_execute_saved_script_enabled: The value to assign to the is_execute_saved_script_enabled property of this MaskDataDetails. :type is_execute_saved_script_enabled: bool :param is_drop_temp_tables_enabled: The value to assign to the is_drop_temp_tables_enabled property of this MaskDataDetails. :type is_drop_temp_tables_enabled: bool :param is_redo_logging_enabled: The value to assign to the is_redo_logging_enabled property of this MaskDataDetails. :type is_redo_logging_enabled: bool :param is_refresh_stats_enabled: The value to assign to the is_refresh_stats_enabled property of this MaskDataDetails. :type is_refresh_stats_enabled: bool :param parallel_degree: The value to assign to the parallel_degree property of this MaskDataDetails. :type parallel_degree: str :param recompile: The value to assign to the recompile property of this MaskDataDetails. :type recompile: str """ self.swagger_types = { 'target_id': 'str', 'is_decrypt': 'bool', 'is_rerun': 'bool', 'tablespace': 'str', 'is_ignore_errors_enabled': 'bool', 'seed': 'str', 'is_move_interim_tables_enabled': 'bool', 'is_execute_saved_script_enabled': 'bool', 'is_drop_temp_tables_enabled': 'bool', 'is_redo_logging_enabled': 'bool', 'is_refresh_stats_enabled': 'bool', 'parallel_degree': 'str', 'recompile': 'str' } self.attribute_map = { 'target_id': 'targetId', 'is_decrypt': 'isDecrypt', 'is_rerun': 'isRerun', 'tablespace': 'tablespace', 'is_ignore_errors_enabled': 'isIgnoreErrorsEnabled', 'seed': 'seed', 'is_move_interim_tables_enabled': 'isMoveInterimTablesEnabled', 'is_execute_saved_script_enabled': 'isExecuteSavedScriptEnabled', 'is_drop_temp_tables_enabled': 'isDropTempTablesEnabled', 'is_redo_logging_enabled': 'isRedoLoggingEnabled', 'is_refresh_stats_enabled': 'isRefreshStatsEnabled', 'parallel_degree': 'parallelDegree', 'recompile': 'recompile' } self._target_id = None self._is_decrypt = None self._is_rerun = None self._tablespace = None self._is_ignore_errors_enabled = None self._seed = None self._is_move_interim_tables_enabled = None self._is_execute_saved_script_enabled = None self._is_drop_temp_tables_enabled = None self._is_redo_logging_enabled = None self._is_refresh_stats_enabled = None self._parallel_degree = None self._recompile = None @property def target_id(self): """ Gets the target_id of this MaskDataDetails. The OCID of the target database to be masked. If it's not provided, the value of the targetId attribute in the MaskingPolicy resource is used. The OCID of the target database to be masked. If it's not provided, the value of the targetId attribute in the MaskingPolicy resource is used. :return: The target_id of this MaskDataDetails. :rtype: str """ return self._target_id @target_id.setter def target_id(self, target_id): """ Sets the target_id of this MaskDataDetails. The OCID of the target database to be masked. If it's not provided, the value of the targetId attribute in the MaskingPolicy resource is used. The OCID of the target database to be masked. If it's not provided, the value of the targetId attribute in the MaskingPolicy resource is used. :param target_id: The target_id of this MaskDataDetails. :type: str """ self._target_id = target_id @property def is_decrypt(self): """ Gets the is_decrypt of this MaskDataDetails. Indicates if the masking request is to decrypt the data values previously encrypted using Deterministic Encryption. Note that, to correctly decrypt the encrypted data values, it requires the same seed value that was provided to encrypt those data values. :return: The is_decrypt of this MaskDataDetails. :rtype: bool """ return self._is_decrypt @is_decrypt.setter def is_decrypt(self, is_decrypt): """ Sets the is_decrypt of this MaskDataDetails. Indicates if the masking request is to decrypt the data values previously encrypted using Deterministic Encryption. Note that, to correctly decrypt the encrypted data values, it requires the same seed value that was provided to encrypt those data values. :param is_decrypt: The is_decrypt of this MaskDataDetails. :type: bool """ self._is_decrypt = is_decrypt @property def is_rerun(self): """ Gets the is_rerun of this MaskDataDetails. Indicates if the masking request is to rerun the previously failed masking steps. If a masking request is submitted with the isIgnoreErrorsEnabled attribute set to true, the masking process tracks the failed masking steps. Another masking request can be submitted with the isRun attribute set to true to rerun those failed masking steps. It helps save time by executing only the failed masking steps and not doing the whole masking again. :return: The is_rerun of this MaskDataDetails. :rtype: bool """ return self._is_rerun @is_rerun.setter def is_rerun(self, is_rerun): """ Sets the is_rerun of this MaskDataDetails. Indicates if the masking request is to rerun the previously failed masking steps. If a masking request is submitted with the isIgnoreErrorsEnabled attribute set to true, the masking process tracks the failed masking steps. Another masking request can be submitted with the isRun attribute set to true to rerun those failed masking steps. It helps save time by executing only the failed masking steps and not doing the whole masking again. :param is_rerun: The is_rerun of this MaskDataDetails. :type: bool """ self._is_rerun = is_rerun @property def tablespace(self): """ Gets the tablespace of this MaskDataDetails. The tablespace that should be used to create the mapping tables, DMASK objects, and other temporary tables for data masking. If no tablespace is provided, the DEFAULT tablespace is used. :return: The tablespace of this MaskDataDetails. :rtype: str """ return self._tablespace @tablespace.setter def tablespace(self, tablespace): """ Sets the tablespace of this MaskDataDetails. The tablespace that should be used to create the mapping tables, DMASK objects, and other temporary tables for data masking. If no tablespace is provided, the DEFAULT tablespace is used. :param tablespace: The tablespace of this MaskDataDetails. :type: str """ self._tablespace = tablespace @property def is_ignore_errors_enabled(self): """ Gets the is_ignore_errors_enabled of this MaskDataDetails. Indicates if the masking process should continue on hitting an error. It provides fault tolerance support and is enabled by default. In fault-tolerant mode, the masking process saves the failed step and continues. You can then submit another masking request (with isRerun attribute set to true) to execute only the failed steps. :return: The is_ignore_errors_enabled of this MaskDataDetails. :rtype: bool """ return self._is_ignore_errors_enabled @is_ignore_errors_enabled.setter def is_ignore_errors_enabled(self, is_ignore_errors_enabled): """ Sets the is_ignore_errors_enabled of this MaskDataDetails. Indicates if the masking process should continue on hitting an error. It provides fault tolerance support and is enabled by default. In fault-tolerant mode, the masking process saves the failed step and continues. You can then submit another masking request (with isRerun attribute set to true) to execute only the failed steps. :param is_ignore_errors_enabled: The is_ignore_errors_enabled of this MaskDataDetails. :type: bool """ self._is_ignore_errors_enabled = is_ignore_errors_enabled @property def seed(self): """ Gets the seed of this MaskDataDetails. The seed value to be used in case of Deterministic Encryption and Deterministic Substitution masking formats. :return: The seed of this MaskDataDetails. :rtype: str """ return self._seed @seed.setter def seed(self, seed): """ Sets the seed of this MaskDataDetails. The seed value to be used in case of Deterministic Encryption and Deterministic Substitution masking formats. :param seed: The seed of this MaskDataDetails. :type: str """ self._seed = seed @property def is_move_interim_tables_enabled(self): """ Gets the is_move_interim_tables_enabled of this MaskDataDetails. Indicates if the interim DMASK tables should be moved to the user-specified tablespace. As interim tables can be large in size, set it to false if moving them causes performance overhead during masking. :return: The is_move_interim_tables_enabled of this MaskDataDetails. :rtype: bool """ return self._is_move_interim_tables_enabled @is_move_interim_tables_enabled.setter def is_move_interim_tables_enabled(self, is_move_interim_tables_enabled): """ Sets the is_move_interim_tables_enabled of this MaskDataDetails. Indicates if the interim DMASK tables should be moved to the user-specified tablespace. As interim tables can be large in size, set it to false if moving them causes performance overhead during masking. :param is_move_interim_tables_enabled: The is_move_interim_tables_enabled of this MaskDataDetails. :type: bool """ self._is_move_interim_tables_enabled = is_move_interim_tables_enabled @property def is_execute_saved_script_enabled(self): """ Gets the is_execute_saved_script_enabled of this MaskDataDetails. Indicates if data masking should be performed using a saved masking script. Setting this attribute to true skips masking script generation and executes the masking script stored in the Data Safe repository. It helps save time if there are no changes in the database tables and their dependencies. :return: The is_execute_saved_script_enabled of this MaskDataDetails. :rtype: bool """ return self._is_execute_saved_script_enabled @is_execute_saved_script_enabled.setter def is_execute_saved_script_enabled(self, is_execute_saved_script_enabled): """ Sets the is_execute_saved_script_enabled of this MaskDataDetails. Indicates if data masking should be performed using a saved masking script. Setting this attribute to true skips masking script generation and executes the masking script stored in the Data Safe repository. It helps save time if there are no changes in the database tables and their dependencies. :param is_execute_saved_script_enabled: The is_execute_saved_script_enabled of this MaskDataDetails. :type: bool """ self._is_execute_saved_script_enabled = is_execute_saved_script_enabled @property def is_drop_temp_tables_enabled(self): """ Gets the is_drop_temp_tables_enabled of this MaskDataDetails. Indicates if the temporary tables created during a masking operation should be dropped after masking. Set this attribute to false to preserve the temporary tables. Masking creates temporary tables that map the original sensitive data values to mask values. These temporary tables are dropped after masking if this attribute is set as true. 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. If it's not provided, the value of the isDropTempTablesEnabled attribute in the MaskingPolicy resource is used. :return: The is_drop_temp_tables_enabled of this MaskDataDetails. :rtype: bool """ return self._is_drop_temp_tables_enabled @is_drop_temp_tables_enabled.setter def is_drop_temp_tables_enabled(self, is_drop_temp_tables_enabled): """ Sets the is_drop_temp_tables_enabled of this MaskDataDetails. Indicates if the temporary tables created during a masking operation should be dropped after masking. Set this attribute to false to preserve the temporary tables. Masking creates temporary tables that map the original sensitive data values to mask values. These temporary tables are dropped after masking if this attribute is set as true. 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. If it's not provided, the value of the isDropTempTablesEnabled attribute in the MaskingPolicy resource is used. :param is_drop_temp_tables_enabled: The is_drop_temp_tables_enabled of this MaskDataDetails. :type: bool """ self._is_drop_temp_tables_enabled = is_drop_temp_tables_enabled @property def is_redo_logging_enabled(self): """ Gets the is_redo_logging_enabled of this MaskDataDetails. Indicates if redo logging is enabled during a masking operation. Set this attribute to true to enable redo logging. If set as false, 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. If it's not provided, the value of the isRedoLoggingEnabled attribute in the MaskingPolicy resource is used. :return: The is_redo_logging_enabled of this MaskDataDetails. :rtype: bool """ return self._is_redo_logging_enabled @is_redo_logging_enabled.setter def is_redo_logging_enabled(self, is_redo_logging_enabled): """ Sets the is_redo_logging_enabled of this MaskDataDetails. Indicates if redo logging is enabled during a masking operation. Set this attribute to true to enable redo logging. If set as false, 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. If it's not provided, the value of the isRedoLoggingEnabled attribute in the MaskingPolicy resource is used. :param is_redo_logging_enabled: The is_redo_logging_enabled of this MaskDataDetails. :type: bool """ self._is_redo_logging_enabled = is_redo_logging_enabled @property def is_refresh_stats_enabled(self): """ Gets the is_refresh_stats_enabled of this MaskDataDetails. Indicates if statistics gathering is enabled. Set this attribute to false to disable statistics gathering. The masking process gathers statistics on masked database tables after masking completes. If it's not provided, the value of the isRefreshStatsEnabled attribute in the MaskingPolicy resource is used. :return: The is_refresh_stats_enabled of this MaskDataDetails. :rtype: bool """ return self._is_refresh_stats_enabled @is_refresh_stats_enabled.setter def is_refresh_stats_enabled(self, is_refresh_stats_enabled): """ Sets the is_refresh_stats_enabled of this MaskDataDetails. Indicates if statistics gathering is enabled. Set this attribute to false to disable statistics gathering. The masking process gathers statistics on masked database tables after masking completes. If it's not provided, the value of the isRefreshStatsEnabled attribute in the MaskingPolicy resource is used. :param is_refresh_stats_enabled: The is_refresh_stats_enabled of this MaskDataDetails. :type: bool """ self._is_refresh_stats_enabled = is_refresh_stats_enabled @property def parallel_degree(self): """ Gets the parallel_degree of this MaskDataDetails. 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. https://www.oracle.com/pls/topic/lookup?ctx=dblatest&en/database/oracle/oracle-database&id=VLDBG-GUID-3E2AE088-2505-465E-A8B2-AC38813EA355 If it's not provided, the value of the parallelDegree attribute in the MaskingPolicy resource is used. :return: The parallel_degree of this MaskDataDetails. :rtype: str """ return self._parallel_degree @parallel_degree.setter def parallel_degree(self, parallel_degree): """ Sets the parallel_degree of this MaskDataDetails. 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. https://www.oracle.com/pls/topic/lookup?ctx=dblatest&en/database/oracle/oracle-database&id=VLDBG-GUID-3E2AE088-2505-465E-A8B2-AC38813EA355 If it's not provided, the value of the parallelDegree attribute in the MaskingPolicy resource is used. :param parallel_degree: The parallel_degree of this MaskDataDetails. :type: str """ self._parallel_degree = parallel_degree @property def recompile(self): """ Gets the recompile of this MaskDataDetails. 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. If it's not provided, the value of the parallelDegree attribute in the MaskingPolicy resource is used. :return: The recompile of this MaskDataDetails. :rtype: str """ return self._recompile @recompile.setter def recompile(self, recompile): """ Sets the recompile of this MaskDataDetails. 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. If it's not provided, the value of the parallelDegree attribute in the MaskingPolicy resource is used. :param recompile: The recompile of this MaskDataDetails. :type: str """ self._recompile = recompile def __repr__(self): return formatted_flat_dict(self) def __eq__(self, other): if other is None: return False return self.__dict__ == other.__dict__ def __ne__(self, other): return not self == other