403Webshell
Server IP : 162.241.203.86  /  Your IP : 216.73.216.200
Web Server : Apache
System : Linux br1002.hostgator.com.br 5.14.0-687.36.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 7 05:40:49 EDT 2026 x86_64
User : theart99 ( 5843)
PHP Version : 8.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3.9/site-packages/oci/data_safe/models/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3.9/site-packages/oci/data_safe/models/__pycache__/finding.cpython-39.pyc
a

���f�P�@s8ddlmZmZmZddlmZeGdd�de��ZdS)�)�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc@seZdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
dZd
d�Zedd��Zejdd��Zedd��Zejdd��Zedd��Zejdd��Zedd��Zejdd��Zedd��Zejdd��Zedd��Zejd d��Zed!d"��Zejd#d"��Zed$d%��Zejd&d%��Zed'd(��Zejd)d(��Zed*d+��Zejd,d+��Zed-d.��Zejd/d.��Zed0d1��Zejd2d1��Zed3d4��Zejd5d4��Zed6d7��Zejd8d7��Zed9d:��Z e jd;d:��Z ed<d=��Z!e!jd>d=��Z!ed?d@��Z"e"jdAd@��Z"dBdC�Z#dDdE�Z$dFdG�Z%dHS)I�FindingzE
    The particular finding reported by the security assessment.
    �HIGH�MEDIUM�LOW�EVALUATE�ADVISORY�PASS�DEFERRED�ACTIVE�UPDATING�NEEDS_ATTENTION�FAILEDcKs�dddddddddddddddddd�|_ddd	d
ddd
ddddddddddd�|_d|_d|_d|_d|_d|_d|_d|_d|_	d|_
d|_d|_d|_
d|_d|_d|_d|_d|_dS)a!
        Initializes a new Finding object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param key:
            The value to assign to the key property of this Finding.
        :type key: str

        :param severity:
            The value to assign to the severity property of this Finding.
            Allowed values for this property are: "HIGH", "MEDIUM", "LOW", "EVALUATE", "ADVISORY", "PASS", "DEFERRED", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type severity: str

        :param assessment_id:
            The value to assign to the assessment_id property of this Finding.
        :type assessment_id: str

        :param target_id:
            The value to assign to the target_id property of this Finding.
        :type target_id: str

        :param title:
            The value to assign to the title property of this Finding.
        :type title: str

        :param remarks:
            The value to assign to the remarks property of this Finding.
        :type remarks: str

        :param details:
            The value to assign to the details property of this Finding.
        :type details: object

        :param summary:
            The value to assign to the summary property of this Finding.
        :type summary: str

        :param references:
            The value to assign to the references property of this Finding.
        :type references: oci.data_safe.models.References

        :param oracle_defined_severity:
            The value to assign to the oracle_defined_severity property of this Finding.
        :type oracle_defined_severity: str

        :param is_risk_modified:
            The value to assign to the is_risk_modified property of this Finding.
        :type is_risk_modified: bool

        :param has_target_db_risk_level_changed:
            The value to assign to the has_target_db_risk_level_changed property of this Finding.
        :type has_target_db_risk_level_changed: bool

        :param justification:
            The value to assign to the justification property of this Finding.
        :type justification: str

        :param time_valid_until:
            The value to assign to the time_valid_until property of this Finding.
        :type time_valid_until: datetime

        :param time_updated:
            The value to assign to the time_updated property of this Finding.
        :type time_updated: datetime

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this Finding.
            Allowed values for this property are: "ACTIVE", "UPDATING", "NEEDS_ATTENTION", "FAILED", '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 Finding.
        :type lifecycle_details: str

        �str�objectZ
References�boolZdatetime)�key�severity�
assessment_id�	target_id�title�remarks�details�summary�
references�oracle_defined_severity�is_risk_modified� has_target_db_risk_level_changed�
justification�time_valid_until�time_updated�lifecycle_state�lifecycle_detailsrrZassessmentIdZtargetIdrrrrrZoracleDefinedSeverityZisRiskModifiedZhasTargetDbRiskLevelChangedr!ZtimeValidUntilZtimeUpdatedZlifecycleStateZlifecycleDetailsN)Z
swagger_typesZ
attribute_map�_key�	_severity�_assessment_id�
_target_id�_title�_remarks�_details�_summary�_references�_oracle_defined_severity�_is_risk_modified�!_has_target_db_risk_level_changed�_justification�_time_valid_until�
_time_updated�_lifecycle_state�_lifecycle_details)�self�kwargs�r9�@/usr/lib/python3.9/site-packages/oci/data_safe/models/finding.py�__init__>sjO��zFinding.__init__cCs|jS)z�
        Gets the key of this Finding.
        A unique identifier for the finding. This is common for the finding across targets.


        :return: The key of this Finding.
        :rtype: str
        �r&�r7r9r9r:r�s
zFinding.keycCs
||_dS)z�
        Sets the key of this Finding.
        A unique identifier for the finding. This is common for the finding across targets.


        :param key: The key of this Finding.
        :type: str
        Nr<)r7rr9r9r:r�s
cCs|jS)a�
        Gets the severity of this Finding.
        The severity of the finding.

        Allowed values for this property are: "HIGH", "MEDIUM", "LOW", "EVALUATE", "ADVISORY", "PASS", "DEFERRED", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The severity of this Finding.
        :rtype: str
        )r'r=r9r9r:r�s
zFinding.severitycCs gd�}t||�sd}||_dS)z�
        Sets the severity of this Finding.
        The severity of the finding.


        :param severity: The severity of this Finding.
        :type: str
        )rrr	r
rrr
�UNKNOWN_ENUM_VALUEN)rr')r7r�allowed_valuesr9r9r:r�s

cCs|jS)z�
        Gets the assessment_id of this Finding.
        The OCID of the assessment that generated this finding.


        :return: The assessment_id of this Finding.
        :rtype: str
        �r(r=r9r9r:r�s
zFinding.assessment_idcCs
||_dS)z�
        Sets the assessment_id of this Finding.
        The OCID of the assessment that generated this finding.


        :param assessment_id: The assessment_id of this Finding.
        :type: str
        Nr@)r7rr9r9r:rs
cCs|jS)z�
        Gets the target_id of this Finding.
        The OCID of the target database.


        :return: The target_id of this Finding.
        :rtype: str
        �r)r=r9r9r:rs
zFinding.target_idcCs
||_dS)z�
        Sets the target_id of this Finding.
        The OCID of the target database.


        :param target_id: The target_id of this Finding.
        :type: str
        NrA)r7rr9r9r:r s
cCs|jS)z�
        Gets the title of this Finding.
        The short title for the finding.


        :return: The title of this Finding.
        :rtype: str
        �r*r=r9r9r:r,s
z
Finding.titlecCs
||_dS)z�
        Sets the title of this Finding.
        The short title for the finding.


        :param title: The title of this Finding.
        :type: str
        NrB)r7rr9r9r:r8s
cCs|jS)a*
        Gets the remarks of this Finding.
        The explanation of the issue in this finding. It explains the reason for the rule and, if a risk is reported, it may also explain the recommended actions for remediation.


        :return: The remarks of this Finding.
        :rtype: str
        �r+r=r9r9r:rDs
zFinding.remarkscCs
||_dS)a0
        Sets the remarks of this Finding.
        The explanation of the issue in this finding. It explains the reason for the rule and, if a risk is reported, it may also explain the recommended actions for remediation.


        :param remarks: The remarks of this Finding.
        :type: str
        NrC)r7rr9r9r:rPs
cCs|jS)a7
        Gets the details of this Finding.
        The details of the finding. Provides detailed information to explain the finding summary, typically results from the assessed database, followed by any recommendations for changes.


        :return: The details of this Finding.
        :rtype: object
        �r,r=r9r9r:r\s
zFinding.detailscCs
||_dS)a=
        Sets the details of this Finding.
        The details of the finding. Provides detailed information to explain the finding summary, typically results from the assessed database, followed by any recommendations for changes.


        :param details: The details of this Finding.
        :type: object
        NrD)r7rr9r9r:rhs
cCs|jS)a
        Gets the summary of this Finding.
        The brief summary of the finding. When the finding is informational, the summary typically reports only the number of data elements that were examined.


        :return: The summary of this Finding.
        :rtype: str
        �r-r=r9r9r:rts
zFinding.summarycCs
||_dS)a
        Sets the summary of this Finding.
        The brief summary of the finding. When the finding is informational, the summary typically reports only the number of data elements that were examined.


        :param summary: The summary of this Finding.
        :type: str
        NrE)r7rr9r9r:r�s
cCs|jS)a<
        Gets the references of this Finding.
        Provides information on whether the finding is related to a CIS Oracle Database Benchmark recommendation, STIG rule, or related to a GDPR Article/Recital.


        :return: The references of this Finding.
        :rtype: oci.data_safe.models.References
        �r.r=r9r9r:r�s
zFinding.referencescCs
||_dS)aE
        Sets the references of this Finding.
        Provides information on whether the finding is related to a CIS Oracle Database Benchmark recommendation, STIG rule, or related to a GDPR Article/Recital.


        :param references: The references of this Finding.
        :type: oci.data_safe.models.References
        NrF)r7rr9r9r:r�s
cCs|jS)a
        Gets the oracle_defined_severity of this Finding.
        The severity of the finding as determined by security assessment. This cannot be modified by user.


        :return: The oracle_defined_severity of this Finding.
        :rtype: str
        �r/r=r9r9r:r�s
zFinding.oracle_defined_severitycCs
||_dS)a
        Sets the oracle_defined_severity of this Finding.
        The severity of the finding as determined by security assessment. This cannot be modified by user.


        :param oracle_defined_severity: The oracle_defined_severity of this Finding.
        :type: str
        NrG)r7rr9r9r:r�s
cCs|jS)z�
        Gets the is_risk_modified of this Finding.
        Determines if this risk level was modified by user.


        :return: The is_risk_modified of this Finding.
        :rtype: bool
        �r0r=r9r9r:r�s
zFinding.is_risk_modifiedcCs
||_dS)z�
        Sets the is_risk_modified of this Finding.
        Determines if this risk level was modified by user.


        :param is_risk_modified: The is_risk_modified of this Finding.
        :type: bool
        NrH)r7rr9r9r:r�s
cCs|jS)a(
        Gets the has_target_db_risk_level_changed of this Finding.
        Determines if this risk level has changed on the target database since the last time 'severity' was modified by user.


        :return: The has_target_db_risk_level_changed of this Finding.
        :rtype: bool
        �r1r=r9r9r:r �s
z(Finding.has_target_db_risk_level_changedcCs
||_dS)aG
        Sets the has_target_db_risk_level_changed of this Finding.
        Determines if this risk level has changed on the target database since the last time 'severity' was modified by user.


        :param has_target_db_risk_level_changed: The has_target_db_risk_level_changed of this Finding.
        :type: bool
        NrI)r7r r9r9r:r �s
cCs|jS)z�
        Gets the justification of this Finding.
        User provided reason for accepting or modifying this finding if they choose to do so.


        :return: The justification of this Finding.
        :rtype: str
        �r2r=r9r9r:r!�s
zFinding.justificationcCs
||_dS)z�
        Sets the justification of this Finding.
        User provided reason for accepting or modifying this finding if they choose to do so.


        :param justification: The justification of this Finding.
        :type: str
        NrJ)r7r!r9r9r:r!�s
cCs|jS)z�
        Gets the time_valid_until of this Finding.
        The time until which the change in severity(deferred/modified) of this finding is valid.


        :return: The time_valid_until of this Finding.
        :rtype: datetime
        �r3r=r9r9r:r"s
zFinding.time_valid_untilcCs
||_dS)z�
        Sets the time_valid_until of this Finding.
        The time until which the change in severity(deferred/modified) of this finding is valid.


        :param time_valid_until: The time_valid_until of this Finding.
        :type: datetime
        NrK)r7r"r9r9r:r"s
cCs|jS)a"
        Gets the time_updated of this Finding.
        The date and time the risk level of finding was last updated, in the format defined by `RFC3339`__.

        __ https://tools.ietf.org/html/rfc3339


        :return: The time_updated of this Finding.
        :rtype: datetime
        �r4r=r9r9r:r#szFinding.time_updatedcCs
||_dS)a-
        Sets the time_updated of this Finding.
        The date and time the risk level of finding was last updated, in the format defined by `RFC3339`__.

        __ https://tools.ietf.org/html/rfc3339


        :param time_updated: The time_updated of this Finding.
        :type: datetime
        NrL)r7r#r9r9r:r#*scCs|jS)a�
        Gets the lifecycle_state of this Finding.
        The current state of the finding.

        Allowed values for this property are: "ACTIVE", "UPDATING", "NEEDS_ATTENTION", "FAILED", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The lifecycle_state of this Finding.
        :rtype: str
        )r5r=r9r9r:r$8s
zFinding.lifecycle_statecCs gd�}t||�sd}||_dS)z�
        Sets the lifecycle_state of this Finding.
        The current state of the finding.


        :param lifecycle_state: The lifecycle_state of this Finding.
        :type: str
        )rrrrr>N)rr5)r7r$r?r9r9r:r$Gs

cCs|jS)z�
        Gets the lifecycle_details of this Finding.
        Details about the current state of the finding.


        :return: The lifecycle_details of this Finding.
        :rtype: str
        �r6r=r9r9r:r%Vs
zFinding.lifecycle_detailscCs
||_dS)z�
        Sets the lifecycle_details of this Finding.
        Details about the current state of the finding.


        :param lifecycle_details: The lifecycle_details of this Finding.
        :type: str
        NrM)r7r%r9r9r:r%bs
cCst|�S�N)rr=r9r9r:�__repr__nszFinding.__repr__cCs|durdS|j|jkS)NF)�__dict__�r7�otherr9r9r:�__eq__qszFinding.__eq__cCs
||kSrNr9rQr9r9r:�__ne__wszFinding.__ne__N)&�__name__�
__module__�__qualname__�__doc__Z
SEVERITY_HIGHZSEVERITY_MEDIUMZSEVERITY_LOWZSEVERITY_EVALUATEZSEVERITY_ADVISORYZ
SEVERITY_PASSZSEVERITY_DEFERREDZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_UPDATINGZLIFECYCLE_STATE_NEEDS_ATTENTIONZLIFECYCLE_STATE_FAILEDr;�propertyr�setterrrrrrrrrrrr r!r"r#r$r%rOrSrTr9r9r9r:rs�	



































rN)Zoci.utilrrrZoci.decoratorsrrrr9r9r9r:�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit