📂 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
›
vulnerability_scanning
›
📁 models
📍
Lokasi:
/usr/libexec/oracle-cloud-agent/plugins/osms/oci/vulnerability_scanning/models
💾
Free:
45.7 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: host_agent_scan_result.pyc
a O��f�E � @ 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 Zd ZdZ dZd ZdZdd� 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� �Z e jd7d6� �Z d8d9� Z!d:d;� Z"d<d=� Z#d>S )?�HostAgentScanResultz- A scan result for a host agent scan �NONE�LOW�MEDIUM�HIGH�CRITICAL�CREATING�UPDATING�ACTIVE�DELETING�DELETED�FAILED�OCI�QUALYSc K s� dddddddddddddd� | _ dddd d ddd dddddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _dS )a[ Initializes a new HostAgentScanResult 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 HostAgentScanResult. :type id: str :param display_name: The value to assign to the display_name property of this HostAgentScanResult. :type display_name: str :param instance_id: The value to assign to the instance_id property of this HostAgentScanResult. :type instance_id: str :param compartment_id: The value to assign to the compartment_id property of this HostAgentScanResult. :type compartment_id: str :param highest_problem_severity: The value to assign to the highest_problem_severity property of this HostAgentScanResult. Allowed values for this property are: "NONE", "LOW", "MEDIUM", "HIGH", "CRITICAL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type highest_problem_severity: str :param operating_system: The value to assign to the operating_system property of this HostAgentScanResult. :type operating_system: str :param kernel_version: The value to assign to the kernel_version property of this HostAgentScanResult. :type kernel_version: str :param problem_count: The value to assign to the problem_count property of this HostAgentScanResult. :type problem_count: int :param time_started: The value to assign to the time_started property of this HostAgentScanResult. :type time_started: datetime :param time_finished: The value to assign to the time_finished property of this HostAgentScanResult. :type time_finished: datetime :param problems: The value to assign to the problems property of this HostAgentScanResult. :type problems: list[oci.vulnerability_scanning.models.HostAgentScanResultProblem] :param lifecycle_state: The value to assign to the lifecycle_state property of this HostAgentScanResult. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param vendor: The value to assign to the vendor property of this HostAgentScanResult. Allowed values for this property are: "OCI", "QUALYS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type vendor: str �str�int�datetimez list[HostAgentScanResultProblem]) �id�display_name�instance_id�compartment_id�highest_problem_severity�operating_system�kernel_version� problem_count�time_started� time_finished�problems�lifecycle_state�vendorr �displayName� instanceId� compartmentId�highestProblemSeverity�operatingSystem� kernelVersion�problemCount�timeStarted�timeFinishedr! �lifecycleStater# N)� swagger_types� attribute_map�_id� _display_name�_instance_id�_compartment_id�_highest_problem_severity�_operating_system�_kernel_version�_problem_count� _time_started�_time_finished� _problems�_lifecycle_state�_vendor)�self�kwargs� r? ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/vulnerability_scanning/models/host_agent_scan_result.py�__init__D sR A��zHostAgentScanResult.__init__c C s | j S )z� **[Required]** Gets the id of this HostAgentScanResult. Unique identifier of the scan :return: The id of this HostAgentScanResult. :rtype: str �r0 �r= r? r? r@ r � s zHostAgentScanResult.idc C s || _ dS )z� Sets the id of this HostAgentScanResult. Unique identifier of the scan :param id: The id of this HostAgentScanResult. :type: str NrB )r= r r? r? r@ r � s c C s | j S )z� Gets the display_name of this HostAgentScanResult. Name of the resource :return: The display_name of this HostAgentScanResult. :rtype: str �r1 rC r? r? r@ r � s z HostAgentScanResult.display_namec C s || _ dS )z� Sets the display_name of this HostAgentScanResult. Name of the resource :param display_name: The display_name of this HostAgentScanResult. :type: str NrD )r= r r? r? r@ r � s c C s | j S )z� **[Required]** Gets the instance_id of this HostAgentScanResult. Instance ID of the Compute Instance scanned :return: The instance_id of this HostAgentScanResult. :rtype: str �r2 rC r? r? r@ r � s zHostAgentScanResult.instance_idc C s || _ dS )z� Sets the instance_id of this HostAgentScanResult. Instance ID of the Compute Instance scanned :param instance_id: The instance_id of this HostAgentScanResult. :type: str NrE )r= r r? r? r@ r � s c C s | j S )a **[Required]** Gets the compartment_id of this HostAgentScanResult. Compartment ID of the resource. This is set to the same as the compartment ID of the scan target :return: The compartment_id of this HostAgentScanResult. :rtype: str �r3 rC r? r? r@ r � s z"HostAgentScanResult.compartment_idc C s || _ dS )a Sets the compartment_id of this HostAgentScanResult. Compartment ID of the resource. This is set to the same as the compartment ID of the scan target :param compartment_id: The compartment_id of this HostAgentScanResult. :type: str NrF )r= r r? r? r@ r s c C s | j S )a� **[Required]** Gets the highest_problem_severity of this HostAgentScanResult. Highest problem severity in this report Allowed values for this property are: "NONE", "LOW", "MEDIUM", "HIGH", "CRITICAL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The highest_problem_severity of this HostAgentScanResult. :rtype: str )r4 rC r? r? r@ r s z,HostAgentScanResult.highest_problem_severityc C s g d�}t ||�sd}|| _dS )z� Sets the highest_problem_severity of this HostAgentScanResult. Highest problem severity in this report :param highest_problem_severity: The highest_problem_severity of this HostAgentScanResult. :type: str )r r r r r �UNKNOWN_ENUM_VALUEN)r r4 )r= r �allowed_valuesr? r? r@ r ! s c C s | j S )z� **[Required]** Gets the operating_system of this HostAgentScanResult. Operating system of the host :return: The operating_system of this HostAgentScanResult. :rtype: str �r5 rC r? r? r@ r 0 s z$HostAgentScanResult.operating_systemc C s || _ dS )z� Sets the operating_system of this HostAgentScanResult. Operating system of the host :param operating_system: The operating_system of this HostAgentScanResult. :type: str NrI )r= r r? r? r@ r < s c C s | j S )z� Gets the kernel_version of this HostAgentScanResult. Kernel version of the operating system :return: The kernel_version of this HostAgentScanResult. :rtype: str �r6 rC r? r? r@ r H s z"HostAgentScanResult.kernel_versionc C s || _ dS )z� Sets the kernel_version of this HostAgentScanResult. Kernel version of the operating system :param kernel_version: The kernel_version of this HostAgentScanResult. :type: str NrJ )r= r r? r? r@ r T s c C s | j S )z� Gets the problem_count of this HostAgentScanResult. Total number of problems found in this scan :return: The problem_count of this HostAgentScanResult. :rtype: int �r7 rC r? r? r@ r ` s z!HostAgentScanResult.problem_countc C s || _ dS )z� Sets the problem_count of this HostAgentScanResult. Total number of problems found in this scan :param problem_count: The problem_count of this HostAgentScanResult. :type: int NrK )r= r r? r? r@ r l s c C s | j S )a% **[Required]** Gets the time_started of this HostAgentScanResult. Date and time the scan was started, as described in `RFC 3339`__ __ https://tools.ietf.org/rfc/rfc3339 :return: The time_started of this HostAgentScanResult. :rtype: datetime �r8 rC r? r? r@ r x s z HostAgentScanResult.time_startedc C s || _ dS )a! Sets the time_started of this HostAgentScanResult. Date and time the scan was started, as described in `RFC 3339`__ __ https://tools.ietf.org/rfc/rfc3339 :param time_started: The time_started of this HostAgentScanResult. :type: datetime NrL )r= r r? r? r@ r � s c C s | j S )a) **[Required]** Gets the time_finished of this HostAgentScanResult. Date and time the scan was completed, as described in `RFC 3339`__ __ https://tools.ietf.org/rfc/rfc3339 :return: The time_finished of this HostAgentScanResult. :rtype: datetime �r9 rC r? r? r@ r � s z!HostAgentScanResult.time_finishedc C s || _ dS )a& Sets the time_finished of this HostAgentScanResult. Date and time the scan was completed, as described in `RFC 3339`__ __ https://tools.ietf.org/rfc/rfc3339 :param time_finished: The time_finished of this HostAgentScanResult. :type: datetime NrM )r= r r? r? r@ r � s c C s | j S )a **[Required]** Gets the problems of this HostAgentScanResult. List of problems found in this scan :return: The problems of this HostAgentScanResult. :rtype: list[oci.vulnerability_scanning.models.HostAgentScanResultProblem] �r: rC r? r? r@ r! � s zHostAgentScanResult.problemsc C s || _ dS )a Sets the problems of this HostAgentScanResult. List of problems found in this scan :param problems: The problems of this HostAgentScanResult. :type: list[oci.vulnerability_scanning.models.HostAgentScanResultProblem] NrN )r= r! r? r? r@ r! � s c C s | j S )a� Gets the lifecycle_state of this HostAgentScanResult. The current state of the result. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this HostAgentScanResult. :rtype: str )r; rC r? r? r@ r"