📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
libexec
›
oracle-cloud-agent
›
plugins
›
osms
›
oci
›
data_safe
›
📁 models
📍
Lokasi:
/usr/libexec/oracle-cloud-agent/plugins/osms/oci/data_safe/models
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: audit_policy.pyc
a N��f�W � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s e Zd ZdZdZdZdZdZdZdZ dZ d d � Zedd� �Z e jd d� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zed)d*� �Zejd+d*� �Zed,d-� �Zejd.d-� �Zed/d0� �Zejd1d0� �Zed2d3� �Zejd4d3� �Zed5d6� �Zejd7d6� �Zed8d9� �Zejd:d9� �Zed;d<� �Zejd=d<� �Zd>d?� Zd@dA� Z dBdC� Z!dDS )E�AuditPolicya� The resource represents all available audit policies relevant for the target database with their corresponding audit conditions. The audit policies could be in any one of the following 3 states in the target database 1) Created and enabled 2) Created but not enabled 3) Not created For more details on available audit policies, refer to `documentation`__. __ https://docs.oracle.com/en/cloud/paas/data-safe/udscs/audit-policies.html#GUID-361A9A9A-7C21-4F5A-8945-9B3A0C472827 �CREATING�UPDATING�ACTIVE�FAILED�NEEDS_ATTENTION�DELETING�DELETEDc K s� dddddddddddddddddd�| _ d d ddd ddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _dS )a� Initializes a new AuditPolicy object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this AuditPolicy. :type id: str :param compartment_id: The value to assign to the compartment_id property of this AuditPolicy. :type compartment_id: str :param display_name: The value to assign to the display_name property of this AuditPolicy. :type display_name: str :param description: The value to assign to the description property of this AuditPolicy. :type description: str :param time_created: The value to assign to the time_created property of this AuditPolicy. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this AuditPolicy. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this AuditPolicy. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "FAILED", "NEEDS_ATTENTION", "DELETING", "DELETED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this AuditPolicy. :type lifecycle_details: str :param target_id: The value to assign to the target_id property of this AuditPolicy. :type target_id: str :param is_data_safe_service_account_excluded: The value to assign to the is_data_safe_service_account_excluded property of this AuditPolicy. :type is_data_safe_service_account_excluded: bool :param time_last_provisioned: The value to assign to the time_last_provisioned property of this AuditPolicy. :type time_last_provisioned: datetime :param time_last_retrieved: The value to assign to the time_last_retrieved property of this AuditPolicy. :type time_last_retrieved: datetime :param audit_specifications: The value to assign to the audit_specifications property of this AuditPolicy. :type audit_specifications: list[oci.data_safe.models.AuditSpecification] :param audit_conditions: The value to assign to the audit_conditions property of this AuditPolicy. :type audit_conditions: list[oci.data_safe.models.AuditConditions] :param freeform_tags: The value to assign to the freeform_tags property of this AuditPolicy. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this AuditPolicy. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this AuditPolicy. :type system_tags: dict(str, dict(str, object)) �str�datetime�boolzlist[AuditSpecification]zlist[AuditConditions]zdict(str, str)zdict(str, dict(str, object)))�id�compartment_id�display_name�description�time_created�time_updated�lifecycle_state�lifecycle_details� target_id�%is_data_safe_service_account_excluded�time_last_provisioned�time_last_retrieved�audit_specifications�audit_conditions� freeform_tags�defined_tags�system_tagsr � compartmentId�displayNamer �timeCreated�timeUpdated�lifecycleState�lifecycleDetails�targetId� isDataSafeServiceAccountExcluded�timeLastProvisioned�timeLastRetrieved�auditSpecifications�auditConditions�freeformTags�definedTags� systemTagsN)� swagger_types� attribute_map�_id�_compartment_id� _display_name�_description� _time_created� _time_updated�_lifecycle_state�_lifecycle_details� _target_id�&_is_data_safe_service_account_excluded�_time_last_provisioned�_time_last_retrieved�_audit_specifications�_audit_conditions�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� rF ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_safe/models/audit_policy.py�__init__3 sj M��zAuditPolicy.__init__c C s | j S )z� **[Required]** Gets the id of this AuditPolicy. The OCID of the audit policy. :return: The id of this AuditPolicy. :rtype: str �r3 �rD rF rF rG r � s zAuditPolicy.idc C s || _ dS )z� Sets the id of this AuditPolicy. The OCID of the audit policy. :param id: The id of this AuditPolicy. :type: str NrI )rD r rF rF rG r � s c C s | j S )z� **[Required]** Gets the compartment_id of this AuditPolicy. The OCID of the compartment containing the audit policy. :return: The compartment_id of this AuditPolicy. :rtype: str �r4 rJ rF rF rG r � s zAuditPolicy.compartment_idc C s || _ dS )z� Sets the compartment_id of this AuditPolicy. The OCID of the compartment containing the audit policy. :param compartment_id: The compartment_id of this AuditPolicy. :type: str NrK )rD r rF rF rG r � s c C s | j S )z� **[Required]** Gets the display_name of this AuditPolicy. The display name of the audit policy. :return: The display_name of this AuditPolicy. :rtype: str �r5 rJ rF rF rG r � s zAuditPolicy.display_namec C s || _ dS )z� Sets the display_name of this AuditPolicy. The display name of the audit policy. :param display_name: The display_name of this AuditPolicy. :type: str NrL )rD r rF rF rG r � s c C s | j S )z� Gets the description of this AuditPolicy. Description of the audit policy. :return: The description of this AuditPolicy. :rtype: str �r6 rJ rF rF rG r s zAuditPolicy.descriptionc C s || _ dS )z� Sets the description of this AuditPolicy. Description of the audit policy. :param description: The description of this AuditPolicy. :type: str NrM )rD r rF rF rG r s c C s | j S )z� **[Required]** Gets the time_created of this AuditPolicy. The time the the audit policy was created, in the format defined by RFC3339. :return: The time_created of this AuditPolicy. :rtype: datetime �r7 rJ rF rF rG r s zAuditPolicy.time_createdc C s || _ dS )z� Sets the time_created of this AuditPolicy. The time the the audit policy was created, in the format defined by RFC3339. :param time_created: The time_created of this AuditPolicy. :type: datetime NrN )rD r rF rF rG r % s c C s | j S )z� Gets the time_updated of this AuditPolicy. The last date and time the audit policy was updated, in the format defined by RFC3339. :return: The time_updated of this AuditPolicy. :rtype: datetime �r8 rJ rF rF rG r 1 s zAuditPolicy.time_updatedc C s || _ dS )z� Sets the time_updated of this AuditPolicy. The last date and time the audit policy was updated, in the format defined by RFC3339. :param time_updated: The time_updated of this AuditPolicy. :type: datetime NrO )rD r rF rF rG r = s c C s | j S )a� **[Required]** Gets the lifecycle_state of this AuditPolicy. The current state of the audit policy. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "FAILED", "NEEDS_ATTENTION", "DELETING", "DELETED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this AuditPolicy. :rtype: str )r9 rJ rF rF rG r I s zAuditPolicy.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this AuditPolicy. The current state of the audit policy. :param lifecycle_state: The lifecycle_state of this AuditPolicy. :type: str )r r r r r r r �UNKNOWN_ENUM_VALUEN)r r9 )rD r �allowed_valuesrF rF rG r X s c C s | j S )z� Gets the lifecycle_details of this AuditPolicy. Details about the current state of the audit policy in Data Safe. :return: The lifecycle_details of this AuditPolicy. :rtype: str �r: rJ rF rF rG r g s zAuditPolicy.lifecycle_detailsc C s || _ dS )z� Sets the lifecycle_details of this AuditPolicy. Details about the current state of the audit policy in Data Safe. :param lifecycle_details: The lifecycle_details of this AuditPolicy. :type: str NrR )rD r rF rF rG r s s c C s | j S )z� **[Required]** Gets the target_id of this AuditPolicy. The OCID of the target for which the audit policy is created. :return: The target_id of this AuditPolicy. :rtype: str �r; rJ rF rF rG r s zAuditPolicy.target_idc C s || _ dS )z� Sets the target_id of this AuditPolicy. The OCID of the target for which the audit policy is created. :param target_id: The target_id of this AuditPolicy. :type: str NrS )rD r rF rF rG r � s c C s | j S )af **[Required]** Gets the is_data_safe_service_account_excluded of this AuditPolicy. Option provided to users at the target to indicate whether the Data Safe service account has to be excluded while provisioning the audit policies. :return: The is_data_safe_service_account_excluded of this AuditPolicy. :rtype: bool �r<