a fm@sddlmZddlmZddlmZddlmZmZddlm Z ddl m Z m Z ddl mZddlmZmZmZdd lmZdd lmZd d lmZed ZGdddeZdS))absolute_import)requests)six)retrycircuit_breaker) BaseClient)get_config_value_or_defaultvalidate_config)Signer)Sentinel#get_signer_from_authentication_typeAUTHENTICATION_TYPE_FIELD_NAME)InvalidAlloyConfig)OCI_SDK_ENABLED_SERVICES_SET)cloud_guard_type_mappingZMissingc@sfeZdZdZddZddZddZdd Zd d Zd d Z ddZ ddZ ddZ ddZ ddZddZddZddZddZd d!Zd"d#Zd$d%Zd&d'Zd(d)Zd*d+Zd,d-Zd.d/Zd0d1Zd2d3Zd4d5Zd6d7Zd8d9Zd:d;Z dd?Z"d@dAZ#dBdCZ$dDdEZ%dFdGZ&dHdIZ'dJdKZ(dLdMZ)dNdOZ*dPdQZ+dRdSZ,dTdUZ-dVdWZ.dXdYZ/dZd[Z0d\d]Z1d^d_Z2d`daZ3dbdcZ4dddeZ5dfdgZ6dhdiZ7djdkZ8dldmZ9dndoZ:dpdqZ;drdsZdxdyZ?dzd{Z@d|d}ZAd~dZBddZCddZDddZEddZFddZGddZHddZIddZJddZKddZLddZMddZNddZOddZPddZQddZRddZSddZTddZUddZVddZWddZXddZYddZZddZ[ddZ\ddZ]ddZ^ddZ_ddZ`ddZaddZbddZcddÄZdddńZeddDŽZfddɄZgdd˄Zhdd̈́ZiddτZjddфZkddӄZlddՄZmddׄZnddلZoddۄZpdd݄Zqdd߄ZrddZsddZtddZuddZvddZwddZxddZyddZzddZ{ddZ|ddZ}ddZ~ddZddZddZddZddZddZddZddZdd Zd d Zd d ZddZddZddZddZddZddZddZddZddZd d!Zd"d#Zd$d%Zd&d'Zd(d)Zd*d+Zd,d-Zd.d/Zd0d1Zd2d3Zd4d5Zd6d7Zd8d9Zd:S(;CloudGuardClienta  Use the Cloud Guard and Security Zones API to automate processes that you would otherwise perform through the Cloud Guard Console or the Security Zones Console. For more information on these services, see the [Cloud Guard](/iaas/cloud-guard/home.htm) and [Security Zones](/iaas/security-zone/home.htm) documentation. **Note:** For Cloud Guard, you can perform Create, Update, and Delete operations only from the reporting region of your Cloud Guard tenancy. You can perform Read operations from any region. c Ks&tdstdt||ddd|vr6|d}nDt|vrHt|}n2t|d|d|d|dt|d |d d }d |d ddi|dd|dt j |dd}d|vr|d|d<|ddurt j |d<d|vr|d|d<t d||t fi||_|d|_|d|_dS)a Creates a new service client :param dict config: Configuration keys and values as per `SDK and Tool Configuration `__. The :py:meth:`~oci.config.from_file` method can be used to load configuration from a file. Alternatively, a ``dict`` can be passed. You can validate_config the dict using :py:meth:`~oci.config.validate_config` :param str service_endpoint: (optional) The endpoint of the service to call using this client. For example ``https://iaas.us-ashburn-1.oraclecloud.com``. If this keyword argument is not provided then it will be derived using the region in the config parameter. You should only provide this keyword argument if you have an explicit need to specify a service endpoint. :param timeout: (optional) The connection and read timeouts for the client. The default values are connection timeout 10 seconds and read timeout 60 seconds. This keyword argument can be provided as a single float, in which case the value provided is used for both the read and connection timeouts, or as a tuple of two floats. If a tuple is provided then the first value is used as the connection timeout and the second value as the read timeout. :type timeout: float or tuple(float, float) :param signer: (optional) The signer to use when signing requests made by the service client. The default is to use a :py:class:`~oci.signer.Signer` based on the values provided in the config parameter. One use case for this parameter is for `Instance Principals authentication `__ by passing an instance of :py:class:`~oci.auth.signers.InstancePrincipalsSecurityTokenSigner` as the value for this keyword argument :type signer: :py:class:`~oci.signer.AbstractBaseSigner` :param obj retry_strategy: (optional) A retry strategy to apply to all calls made by this service client (i.e. at the client level). There is no retry strategy applied by default. Retry strategies can also be applied at the operation level by passing a ``retry_strategy`` keyword argument as part of calling the operation. Any value provided at the operation level will override whatever is specified at the client level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` is also available. The specifics of the default retry strategy are described `here `__. :param obj circuit_breaker_strategy: (optional) A circuit breaker strategy to apply to all calls made by this service client (i.e. at the client level). This client uses :py:data:`~oci.circuit_breaker.DEFAULT_CIRCUIT_BREAKER_STRATEGY` as default if no circuit breaker strategy is provided. The specifics of circuit breaker strategy are described `here `__. :param function circuit_breaker_callback: (optional) Callback function to receive any exceptions triggerred by the circuit breaker. :param bool client_level_realm_specific_endpoint_template_enabled: (optional) A boolean flag to indicate whether or not this client should be created with realm specific endpoint template enabled or disable. By default, this will be set as None. :param allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this client should allow control characters in the response object. By default, the client will not allow control characters to be in the response object. Z cloud_guardaThe Alloy configuration has disabled this service, this behavior is controlled by OCI_SDK_ENABLED_SERVICES_SET variable. Please check if your local alloy-config file configured the service you're targeting or contact the cloud provider on the availability of this servicesigner)rtenancyuser fingerprintZkey_file pass_phraseZ key_content)rrrZprivate_key_file_locationrZprivate_key_contentTservice_endpointz /20200131z:https://cloudguard-cp-api.{region}.oci.{secondLevelDomain}skip_deserializationFcircuit_breaker_strategy5client_level_realm_specific_endpoint_template_enabled)Zregional_clientr base_pathZservice_endpoint_templateZ#service_endpoint_template_per_realmrrrtimeoutNallow_control_charsretry_strategycircuit_breaker_callback)rZis_service_enabledrr getr r r rrZGLOBAL_CIRCUIT_BREAKER_STRATEGYZ DEFAULT_CIRCUIT_BREAKER_STRATEGYrr base_clientrr )selfZconfigkwargsrZbase_client_init_kwargsr%F/usr/lib/python3.9/site-packages/oci/cloud_guard/cloud_guard_client.py__init__sB3         zCloudGuardClient.__init__c sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|rbt|t js8|j | |j | ||j|j|j j||| | |d|d|||d S|j j||| | |d|d|||d Sd S)aC Adds a compartment to an existing security zone (SecurityZone resource), identified by securityZoneId. Specify parameters in an AddCompartmentDetails resource that you pass. If you previously removed a subcompartment from a security zone, you can add it back to the same security zone. The security zone ensures that resources in the subcompartment comply with the security zone's policies. :param str security_zone_id: (required) The unique identifier of the security zone (`SecurityZone` resource). :param oci.cloud_guard.models.AddCompartmentDetails add_compartment_details: (required) Parameters for an existing compartment to be added to a security zone :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.SecurityZone` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use add_compartment API. securityZoneIdz6/securityZones/{securityZoneId}/actions/addCompartmentPOSTadd_compartmentzVhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SecurityZone/AddCompartmentrropc_retry_tokenif_matchopc_request_idcsg|]}|vr|qSr%r%.0Z_keyZexpected_kwargsr%r& z4CloudGuardClient.add_compartment..z$add_compartment got unknown kwargs: cSsi|]\}}|tur||qSr%missingr0kvr%r%r& r3z4CloudGuardClient.add_compartment..Nr Parameter + cannot be None, whitespace or empty stringapplication/jsonr,r-r.accept content-typeopc-retry-tokenif-matchopc-request-idcSs&i|]\}}|tur|dur||qSNr4r6r%r%r&r9r3rZoperation_retry_strategyZclient_retry_strategy SecurityZoner resource_pathmethod path_params header_paramsbody response_typeroperation_nameapi_reference_linkrequired_argumentsriterkeys ValueError iteritems isinstance string_typeslenstripr!r5r"get_preferred_retry_strategyrrNoneRetryStrategyadd_opc_retry_token_if_neededadd_opc_client_retries_headeradd_circuit_breaker_callbackr make_retrying_callcall_api)r#security_zone_idZadd_compartment_detailsr$rOrGrHrMrN extra_kwargsrIr7r8rJrr%r1r&r*yst3$       z CloudGuardClient.add_compartmentc sndg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt d} dd t| D} |j j |d|j d} | rHt| t js"|j | | |j| j|j j||| | |d|||d S|j j||| | |d|||dSd S)a Cancels a work request identified by workRequestId. :param str work_request_id: (required) The ID of the asynchronous request. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use cancel_work_request API. workRequestId/workRequests/{workRequestId}DELETEcancel_work_requestzXhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/WorkRequest/CancelWorkRequestrrr-r.csg|]}|vr|qSr%r%r/r1r%r&r2'r3z8CloudGuardClient.cancel_work_request..z(cancel_work_request got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r90r3z8CloudGuardClient.cancel_work_request..Nrr:r;r<r-r.r>r?rArBcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9<r3rrDrrGrHrIrJrrMrNrOrrQrRrSrTrUrVrWr!r5r"rXrrrYr[r\r r]r^r#work_request_idr$rOrGrHrMrNr`rIr7r8rJrr%r1r&rdsh%$     z$CloudGuardClient.cancel_work_requestc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|r`t|t js8|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a Moves a data source (DataSource resource), identified by parameters passed in a ChangeDataSourceCompartmentDetails resource, from the current compartment to another. :param str data_source_id: (required) Data source OCID. :param oci.cloud_guard.models.ChangeDataSourceCompartmentDetails change_data_source_compartment_details: (required) The compartment OCID of the DataSource resource :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use change_data_source_compartment API. dataSourceIdz5/dataSources/{dataSourceId}/actions/changeCompartmentr)change_data_source_compartmentzahttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/DataSource/ChangeDataSourceCompartmentrrr-r.r,csg|]}|vr|qSr%r%r/r1r%r&r2r3zCCloudGuardClient.change_data_source_compartment..z3change_data_source_compartment got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3zCCloudGuardClient.change_data_source_compartment..Nrr:r;r<r-r.r,r>r?rArBr@cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDr rGrHrIrJrKrrMrNrOrP)r#data_source_idZ&change_data_source_compartment_detailsr$rOrGrHrMrNr`rIr7r8rJrr%r1r&rl\sp1$       z/CloudGuardClient.change_data_source_compartmentc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|r`t|t js8|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)aN Moves the detector recipe (DetectorRecipe resource), identified by detectorRecipeId, from the current compartment to another compartment. When provided, If-Match is checked against etag values of the resource. :param str detector_recipe_id: (required) Detector recipe OCID :param oci.cloud_guard.models.ChangeDetectorRecipeCompartmentDetails change_detector_recipe_compartment_details: (required) The target compartment OCID :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use change_detector_recipe_compartment API. detectorRecipeIdz=/detectorRecipes/{detectorRecipeId}/actions/changeCompartmentr)"change_detector_recipe_compartmentzihttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/DetectorRecipe/ChangeDetectorRecipeCompartmentrmcsg|]}|vr|qSr%r%r/r1r%r&r2r3zGCloudGuardClient.change_detector_recipe_compartment..z7change_detector_recipe_compartment got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3zGCloudGuardClient.change_detector_recipe_compartment..Nrr:r;r<r-r.r,rncSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9*r3rrDrrorP)r#detector_recipe_idZ*change_detector_recipe_compartment_detailsr$rOrGrHrMrNr`rIr7r8rJrr%r1r&rrsp2$       z3CloudGuardClient.change_detector_recipe_compartmentc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|r`t|t js8|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a Moves the managed list (ManagedList resource), identified by managedListId, from the current compartment to another compartment. :param str managed_list_id: (required) The managed list OCID to be passed in the request. :param oci.cloud_guard.models.ChangeManagedListCompartmentDetails change_managed_list_compartment_details: (required) The compartment OCID of the ManagedList :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use change_managed_list_compartment API. managedListIdz7/managedLists/{managedListId}/actions/changeCompartmentr)change_managed_list_compartmentzchttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ManagedList/ChangeManagedListCompartmentrmcsg|]}|vr|qSr%r%r/r1r%r&r2r3zDCloudGuardClient.change_managed_list_compartment..z4change_managed_list_compartment got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3zDCloudGuardClient.change_managed_list_compartment..Nrr:r;r<r-r.r,rncSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDrrorP)r#managed_list_idZ'change_managed_list_compartment_detailsr$rOrGrHrMrNr`rIr7r8rJrr%r1r&ruMsp/$       z0CloudGuardClient.change_managed_list_compartmentc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|r`t|t js8|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a Moves the responder recipe (ResponderRecipe resource), identified by responderRecipeId in a ChangeResponderRecipeCompartmentDetails resource, from the current compartment to another compartment. When provided, if-match is checked against etag values of the resource. :param str responder_recipe_id: (required) OCID of the responder recipe. :param oci.cloud_guard.models.ChangeResponderRecipeCompartmentDetails change_responder_recipe_compartment_details: (required) The target compartment OCID :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use change_responder_recipe_compartment API. responderRecipeIdz?/responderRecipes/{responderRecipeId}/actions/changeCompartmentr)#change_responder_recipe_compartmentzkhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResponderRecipe/ChangeResponderRecipeCompartmentrmcsg|]}|vr|qSr%r%r/r1r%r&r2r3zHCloudGuardClient.change_responder_recipe_compartment..z8change_responder_recipe_compartment got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9 r3zHCloudGuardClient.change_responder_recipe_compartment..Nrr:r;r<r-r.r,rncSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDrrorP)r#responder_recipe_idZ+change_responder_recipe_compartment_detailsr$rOrGrHrMrNr`rIr7r8rJrr%r1r&rxsp1$       z4CloudGuardClient.change_responder_recipe_compartmentc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|r`t|t js8|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a Moves the SavedQuery resource into a different compartment. When provided, If-Match is checked against etag values of the resource. :param str saved_query_id: (required) Saved query OCID :param oci.cloud_guard.models.ChangeSavedQueryCompartmentDetails change_saved_query_compartment_details: (required) The compartment OCID of the SavedQuery resource :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use change_saved_query_compartment API. savedQueryIdz6/savedQueries/{savedQueryId}/actions/changeCompartmentr)change_saved_query_compartmentzahttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SavedQuery/ChangeSavedQueryCompartmentrmcsg|]}|vr|qSr%r%r/r1r%r&r2xr3zCCloudGuardClient.change_saved_query_compartment..z3change_saved_query_compartment got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3zCCloudGuardClient.change_saved_query_compartment..Nrr:r;r<r-r.r,rncSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDrrorP)r#saved_query_idZ&change_saved_query_compartment_detailsr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r{;sp/$       z/CloudGuardClient.change_saved_query_compartmentc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|r`t|t js8|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a Moves the security recipe (SecurityRecipe resource), identified by securityRecipeId, from the current compartment to another compartment. When provided, `if-match` is checked against `etag` values of the resource. :param str security_recipe_id: (required) The unique identifier of the security zone recipe. (`SecurityRecipe`) :param oci.cloud_guard.models.ChangeSecurityRecipeCompartmentDetails change_security_recipe_compartment_details: (required) The compartment to which you want to move the `SecurityRecipe` resource :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use change_security_recipe_compartment API. securityRecipeIdz=/securityRecipes/{securityRecipeId}/actions/changeCompartmentr)"change_security_recipe_compartmentzihttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SecurityRecipe/ChangeSecurityRecipeCompartmentrmcsg|]}|vr|qSr%r%r/r1r%r&r2r3zGCloudGuardClient.change_security_recipe_compartment..z7change_security_recipe_compartment got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3zGCloudGuardClient.change_security_recipe_compartment..Nrr:r;r<r-r.r,rncSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDrrorP)r#security_recipe_idZ*change_security_recipe_compartment_detailsr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r~sp1$       z3CloudGuardClient.change_security_recipe_compartmentc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|r`t|t js8|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a Moves a security zone, identified by securityZoneId, to a different compartment. Pass parameters through a ChangeSecurityZoneCompartmentDetails resource. When provided, `if-match` is checked against `etag` values of the resource. :param str security_zone_id: (required) The unique identifier of the security zone (`SecurityZone` resource). :param oci.cloud_guard.models.ChangeSecurityZoneCompartmentDetails change_security_zone_compartment_details: (required) The compartment to which you want to move the security zone :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use change_security_zone_compartment API. r(z9/securityZones/{securityZoneId}/actions/changeCompartmentr) change_security_zone_compartmentzehttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SecurityZone/ChangeSecurityZoneCompartmentrmcsg|]}|vr|qSr%r%r/r1r%r&r2hr3zECloudGuardClient.change_security_zone_compartment..z5change_security_zone_compartment got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9qr3zECloudGuardClient.change_security_zone_compartment..Nrr:r;r<r-r.r,rncSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9~r3rrDrrorP)r#r_Z(change_security_zone_compartment_detailsr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r)sp1$       z1CloudGuardClient.change_security_zone_compartmentc sg}d}d}d}d}gdfddt|D}|rFtd|d d |d t|d td } d dt| D} |jj|d|jd} | rt | t j s|j | |j | | |j| j|jj||| |d|d|||d S|jj||| |d|d|||d SdS)a Creates a AdhocQuery resource. :param oci.cloud_guard.models.CreateAdhocQueryDetails create_adhoc_query_details: (required) Details for the new AdhocQuery resource :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.AdhocQuery` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_adhoc_query API. /adhocQueriesr)create_adhoc_queryzVhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/AdhocQuery/CreateAdhocQueryrrr,r.csg|]}|vr|qSr%r%r/r1r%r&r2r3z7CloudGuardClient.create_adhoc_query..z'create_adhoc_query got unknown kwargs: r<r,r.r>r?r@rBcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3z7CloudGuardClient.create_adhoc_query..rrD AdhocQueryr rGrHrJrKrLrrMrNrONrrQrRr!r5rSr"rXrrTrrYrZr[r\r r]r^) r#Zcreate_adhoc_query_detailsr$rOrGrHrMrNr`rJrr%r1r&rsb%       z#CloudGuardClient.create_adhoc_queryc sg}d}d}d}d}gdfddt|D}|rFtd|d d |d t|d td } d dt| D} |jj|d|jd} | rt | t j s|j | |j | | |j| j|jj||| |d|d|||d S|jj||| |d|d|||d SdS)a Creates a new DataMaskRule resource definition. :param oci.cloud_guard.models.CreateDataMaskRuleDetails create_data_mask_rule_details: (required) Definition for the new data mask rule :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.DataMaskRule` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_data_mask_rule API. /dataMaskRulesr)create_data_mask_rulezZhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/DataMaskRule/CreateDataMaskRulercsg|]}|vr|qSr%r%r/r1r%r&r23r3z:CloudGuardClient.create_data_mask_rule..z*create_data_mask_rule got unknown kwargs: r<r,r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9>r3z:CloudGuardClient.create_data_mask_rule..rrD DataMaskRulerrNr) r#Zcreate_data_mask_rule_detailsr$rOrGrHrMrNr`rJrr%r1r&rsb%       z&CloudGuardClient.create_data_mask_rulec sg}d}d}d}d}gdfddt|D}|rFtd|d d |d t|d td } d dt| D} |jj|d|jd} | rt | t j s|j | |j | | |j| j|jj||| ||d|||d S|jj||| ||d|||dSdS)a Creates a data source (DataSource resource), using parameters passed through a CreateDataSourceDetails resource. :param oci.cloud_guard.models.CreateDataSourceDetails create_data_source_details: (required) Details for the new DataSource resource :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_data_source API. /dataSourcesr)create_data_sourcezVhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/DataSource/CreateDataSourcercsg|]}|vr|qSr%r%r/r1r%r&r2r3z7CloudGuardClient.create_data_source..z'create_data_source got unknown kwargs: r<r,r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3z7CloudGuardClient.create_data_source..rrDrrGrHrJrKrrMrNrONr) r#Zcreate_data_source_detailsr$rOrGrHrMrNr`rJrr%r1r&ras^&       z#CloudGuardClient.create_data_sourcec sg}d}d}d}d}gdfddt|D}|rFtd|d d |d t|d td } d dt| D} |jj|d|jd} | rt | t j s|j | |j | | |j| j|jj||| |d|d|||d S|jj||| |d|d|||d SdS)a Creates a new DetectorRecipe resource. :param oci.cloud_guard.models.CreateDetectorRecipeDetails create_detector_recipe_details: (required) Details for the new DetectorRecipe :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.DetectorRecipe` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_detector_recipe API. /detectorRecipesr)create_detector_recipez^https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/DetectorRecipe/CreateDetectorRecipercsg|]}|vr|qSr%r%r/r1r%r&r2r3z;CloudGuardClient.create_detector_recipe..z+create_detector_recipe got unknown kwargs: r<r,r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3z;CloudGuardClient.create_detector_recipe..rrDDetectorReciperrNr) r#Zcreate_detector_recipe_detailsr$rOrGrHrMrNr`rJrr%r1r&rsb%       z'CloudGuardClient.create_detector_recipec sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt d} dd t| D} |j j |d|j d}|rXt|t js.|j | |j | ||j|j|j j||| | |d|d|||d S|j j||| | |d|d|||d Sd S)aE Creates a detector rule. :param str detector_recipe_id: (required) Detector recipe OCID :param oci.cloud_guard.models.CreateDetectorRecipeDetectorRuleDetails create_detector_recipe_detector_rule_details: (required) The details with which detector rule is to be created. :param str opc_request_id: (optional) The client request ID for tracing. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.DetectorRecipeDetectorRule` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_detector_recipe_detector_rule API. rq1/detectorRecipes/{detectorRecipeId}/detectorRulesr)$create_detector_recipe_detector_rulezvhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/DetectorRecipeDetectorRule/CreateDetectorRecipeDetectorRule)rrr.r,csg|]}|vr|qSr%r%r/r1r%r&r2Ur3zICloudGuardClient.create_detector_recipe_detector_rule..z9create_detector_recipe_detector_rule got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9^r3zICloudGuardClient.create_detector_recipe_detector_rule..Nrr:r;r<r.r,)r>r?rBr@cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9jr3rrDDetectorRecipeDetectorRulerrFrP)r#rsZ,create_detector_recipe_detector_rule_detailsr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r sr($      z5CloudGuardClient.create_detector_recipe_detector_rulec sg}d}d}d}d}gdfddt|D}|rFtd|d d |d t|d td } d dt| D} |jj|d|jd} | rt | t j s|j | |j | | |j| j|jj||| |d|d|||d S|jj||| |d|d|||d SdS)a Creates a new ManagedList resource. :param oci.cloud_guard.models.CreateManagedListDetails create_managed_list_details: (required) Details for the new ManagedList resources :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ManagedList` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_managed_list API. /managedListsr)create_managed_listzXhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ManagedList/CreateManagedListrcsg|]}|vr|qSr%r%r/r1r%r&r2r3z8CloudGuardClient.create_managed_list..z(create_managed_list got unknown kwargs: r<r,r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3z8CloudGuardClient.create_managed_list..rrD ManagedListrrNr) r#Zcreate_managed_list_detailsr$rOrGrHrMrNr`rJrr%r1r&rsb%       z$CloudGuardClient.create_managed_listc sg}d}d}d}d}gdfddt|D}|rFtd|d d |d t|d td } d dt| D} |jj|d|jd} | rt | t j s|j | |j | | |j| j|jj||| |d|d|||d S|jj||| |d|d|||d SdS)a Creates a responder recipe (ResponderRecipe resource), from values passed in a CreateResponderRecipeDetails resource. :param oci.cloud_guard.models.CreateResponderRecipeDetails create_responder_recipe_details: (required) Details for ResponderRecipe :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ResponderRecipe` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_responder_recipe API. /responderRecipesr)create_responder_recipez`https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResponderRecipe/CreateResponderRecipercsg|]}|vr|qSr%r%r/r1r%r&r2"r3z.z,create_responder_recipe got unknown kwargs: r<r,r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9-r3z.rrDResponderReciperrNr) r#Zcreate_responder_recipe_detailsr$rOrGrHrMrNr`rJrr%r1r&rsb&       z(CloudGuardClient.create_responder_recipec sg}d}d}d}d}gdfddt|D}|rFtd|d d |d t|d td } d dt| D} |jj|d|jd} | rt | t j s|j | |j | | |j| j|jj||| |d|d|||d S|jj||| |d|d|||d SdS)a Creates a SavedQuery resource. :param oci.cloud_guard.models.CreateSavedQueryDetails create_saved_query_details: (required) Details for the new SavedQuery resource :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.SavedQuery` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_saved_query API. /savedQueriesr)create_saved_queryzVhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SavedQuery/CreateSavedQueryrcsg|]}|vr|qSr%r%r/r1r%r&r2r3z7CloudGuardClient.create_saved_query..z'create_saved_query got unknown kwargs: r<r,r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3z7CloudGuardClient.create_saved_query..rrD SavedQueryrrNr) r#Zcreate_saved_query_detailsr$rOrGrHrMrNr`rJrr%r1r&rPsb%       z#CloudGuardClient.create_saved_queryc sg}d}d}d}d}gdfddt|D}|rFtd|d d |d t|d td } d dt| D} |jj|d|jd} | rt | t j s|j | |j | | |j| j|jj||| |d|d|||d S|jj||| |d|d|||d SdS)a Creates a security zone recipe (SecurityRecipe resource), using parameters passed in a CreateSecurityRecipeDetails resource. :param oci.cloud_guard.models.CreateSecurityRecipeDetails create_security_recipe_details: (required) Details for the new `SecurityRecipe` resource :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.SecurityRecipe` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_security_recipe API. /securityRecipesr)create_security_recipez^https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SecurityRecipe/CreateSecurityRecipercsg|]}|vr|qSr%r%r/r1r%r&r2r3z;CloudGuardClient.create_security_recipe..z+create_security_recipe got unknown kwargs: r<r,r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3z;CloudGuardClient.create_security_recipe..rrDSecurityReciperrNr) r#Zcreate_security_recipe_detailsr$rOrGrHrMrNr`rJrr%r1r&rsb&       z'CloudGuardClient.create_security_recipec sg}d}d}d}d}gdfddt|D}|rFtd|d d |d t|d td } d dt| D} |jj|d|jd} | rt | t j s|j | |j | | |j| j|jj||| |d|d|||d S|jj||| |d|d|||d SdS)a Creates a security zone (SecurityZone resource) for a compartment. Pass parameters through a CreateSecurityZoneDetails resource. :param oci.cloud_guard.models.CreateSecurityZoneDetails create_security_zone_details: (required) Details for the new `SecurityZone` resource :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.SecurityZone` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_security_zone API. /securityZonesr)create_security_zonezZhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SecurityZone/CreateSecurityZonercsg|]}|vr|qSr%r%r/r1r%r&r2Dr3z9CloudGuardClient.create_security_zone..z)create_security_zone got unknown kwargs: r<r,r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9Or3z9CloudGuardClient.create_security_zone..rrDrErrNr) r#Zcreate_security_zone_detailsr$rOrGrHrMrNr`rJrr%r1r&rsb&       z%CloudGuardClient.create_security_zonec sg}d}d}d}d}gdfddt|D}|rFtd|d d |d t|d td } d dt| D} |jj|d|jd} | rt | t j s|j | |j | | |j| j|jj||| |d|d|||d S|jj||| |d|d|||d SdS)a Creates a target (Target resource), using parameters passed in a CreateTargetDetails resource. :param oci.cloud_guard.models.CreateTargetDetails create_target_details: (required) Contains generic target information which is required for all target types :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.Target` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_target API. /targetsr) create_targetzNhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/Target/CreateTargetrcsg|]}|vr|qSr%r%r/r1r%r&r2r3z2CloudGuardClient.create_target..z"create_target got unknown kwargs: r<r,r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3z2CloudGuardClient.create_target..rrDTargetrrNr) r#Zcreate_target_detailsr$rOrGrHrMrNr`rJrr%r1r&rrsb%       zCloudGuardClient.create_targetc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt d} dd t| D} |j j |d|j d}|rXt|t js.|j | |j | ||j|j|j j||| | |d|d|||d S|j j||| | |d|d|||d Sd S)a Attaches a DetectorRecipe to a target (Target resource) identified by targetId, using parameters passed in a TargetAttachTargetDetectorRecipeDetails resource. Attach a DetectorRecipe with the Target :param str target_id: (required) OCID of the target :param oci.cloud_guard.models.AttachTargetDetectorRecipeDetails attach_target_detector_recipe_details: (required) Details for associating DetectorRecipe with Target :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.TargetDetectorRecipe` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_target_detector_recipe API. targetId)/targets/{targetId}/targetDetectorRecipesr)create_target_detector_recipezjhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/TargetDetectorRecipe/CreateTargetDetectorRecipercsg|]}|vr|qSr%r%r/r1r%r&r2 r3zBCloudGuardClient.create_target_detector_recipe..z2create_target_detector_recipe got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9 r3zBCloudGuardClient.create_target_detector_recipe..Nrr:r;r<r,r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9 r3rrDTargetDetectorReciperrFrP)r# target_idZ%attach_target_detector_recipe_detailsr$rOrGrHrMrNr`rIr7r8rJrr%r1r&rsr*$      z.CloudGuardClient.create_target_detector_recipec sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt d} dd t| D} |j j |d|j d}|rXt|t js.|j | |j | ||j|j|j j||| | |d|d|||d S|j j||| | |d|d|||d Sd S)a, Attaches a responder recipe to a target. :param str target_id: (required) OCID of the target :param oci.cloud_guard.models.AttachTargetResponderRecipeDetails attach_target_responder_recipe_details: (required) Details for attaching a responder recipe to a target :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.TargetResponderRecipe` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_target_responder_recipe API. r*/targets/{targetId}/targetResponderRecipesr)create_target_responder_recipezlhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/TargetResponderRecipe/CreateTargetResponderRecipercsg|]}|vr|qSr%r%r/r1r%r&r2x r3zCCloudGuardClient.create_target_responder_recipe..z3create_target_responder_recipe got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9 r3zCCloudGuardClient.create_target_responder_recipe..Nrr:r;r<r,r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9 r3rrDTargetResponderReciperrFrP)r#rZ&attach_target_responder_recipe_detailsr$rOrGrHrMrNr`rIr7r8rJrr%r1r&rC sr($      z/CloudGuardClient.create_target_responder_recipec sg}d}d}d}d}gdfddt|D}|rFtd|d d |d t|d td } d dt| D} |jj|d|jd} | rt | t j s|j | |j | | |j| j|jj||| |d|d|||d S|jj||| |d|d|||d SdS)a Creates and registers a WLP agent for an on-premise resource. :param oci.cloud_guard.models.CreateWlpAgentDetails create_wlp_agent_details: (required) Details for the WLP agent to be created :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.WlpAgent` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_wlp_agent API. /wlpAgentsr)create_wlp_agentzRhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/WlpAgent/CreateWlpAgentrcsg|]}|vr|qSr%r%r/r1r%r&r2 r3z5CloudGuardClient.create_wlp_agent..z%create_wlp_agent got unknown kwargs: r<r,r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9 r3z5CloudGuardClient.create_wlp_agent..rrDWlpAgentrrNr) r#Zcreate_wlp_agent_detailsr$rOrGrHrMrNr`rJrr%r1r&r sb&       z!CloudGuardClient.create_wlp_agentc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d} | r^t| t js8|j | |j | | |j| j|j j||| | |d|||d S|j j||| | |d|||dSd S)a Deletes a AdhocQuery resource identified by adhocQueryId. :param str adhoc_query_id: (required) Adhoc query OCID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use delete_adhoc_query API. adhocQueryId/adhocQueries/{adhocQueryId}rcdelete_adhoc_queryzVhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/AdhocQuery/DeleteAdhocQueryrmcsg|]}|vr|qSr%r%r/r1r%r&r2M r3z7CloudGuardClient.delete_adhoc_query..z'delete_adhoc_query got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9V r3z7CloudGuardClient.delete_adhoc_query..Nrr:r;r<r-r.r,rncSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9c r3rrDrrgrPr#adhoc_query_idr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r sl,$       z#CloudGuardClient.delete_adhoc_queryc sndg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt d} dd t| D} |j j |d|j d} | rHt| t js"|j | | |j| j|j j||| | |d|||d S|j j||| | |d|||dSd S)a Deletes a DataMaskRule resource, identified by dataMaskRuleId. :param str data_mask_rule_id: (required) OCID of the data mask rule :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use delete_data_mask_rule API. dataMaskRuleId/dataMaskRules/{dataMaskRuleId}rcdelete_data_mask_rulezZhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/DataMaskRule/DeleteDataMaskRulerecsg|]}|vr|qSr%r%r/r1r%r&r2 r3z:CloudGuardClient.delete_data_mask_rule..z*delete_data_mask_rule got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9 r3z:CloudGuardClient.delete_data_mask_rule..Nrr:r;r<r-r.rfcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9 r3rrDrrgrhr#data_mask_rule_idr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r sh%$     z&CloudGuardClient.delete_data_mask_rulec sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d} | r^t| t js8|j | |j | | |j| j|j j||| | |d|||d S|j j||| | |d|||dSd S)a Deletes a data source (DataSource resource) identified by dataSourceId. :param str data_source_id: (required) Data source OCID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use delete_data_source API. rk/dataSources/{dataSourceId}rcdelete_data_sourcezVhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/DataSource/DeleteDataSourcermcsg|]}|vr|qSr%r%r/r1r%r&r2% r3z7CloudGuardClient.delete_data_source..z'delete_data_source got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9. r3z7CloudGuardClient.delete_data_source..Nrr:r;r<r-r.r,rncSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9; r3rrDrrgrPr#rpr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r sl,$       z#CloudGuardClient.delete_data_sourcec sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d} | r^t| t js8|j | |j | | |j| j|j j||| | |d|||d S|j j||| | |d|||dSd S)a Deletes a detector recipe (DetectorRecipe resource) identified by detectorRecipeId. :param str detector_recipe_id: (required) Detector recipe OCID :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use delete_detector_recipe API. rq#/detectorRecipes/{detectorRecipeId}rcdelete_detector_recipez^https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/DetectorRecipe/DeleteDetectorRecipermcsg|]}|vr|qSr%r%r/r1r%r&r2 r3z;CloudGuardClient.delete_detector_recipe..z+delete_detector_recipe got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9 r3z;CloudGuardClient.delete_detector_recipe..Nrr:r;r<r-r.r,rncSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9 r3rrDrrgrPr#rsr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r\ sl,$       z'CloudGuardClient.delete_detector_recipec srddg}d}d}d}d}gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrdd|dt |dt d} dd t| D} |j j |d|j d}|rLt|t js&|j | ||j|j|j j||| | |d|||d S|j j||| | |d|||dSdS)a~ Deletes the DetectorRecipeDetectorRule resource identified by detectorRuleId. :param str detector_recipe_id: (required) Detector recipe OCID :param str detector_rule_id: (required) The unique identifier of a detector rule. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use delete_detector_recipe_detector_rule API. rqdetectorRuleIdB/detectorRecipes/{detectorRecipeId}/detectorRules/{detectorRuleId}rc$delete_detector_recipe_detector_rulezvhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/DetectorRecipeDetectorRule/DeleteDetectorRecipeDetectorRulerecsg|]}|vr|qSr%r%r/r1r%r&r2 r3zICloudGuardClient.delete_detector_recipe_detector_rule..z9delete_detector_recipe_detector_rule got unknown kwargs: rqrcSsi|]\}}|tur||qSr%r4r6r%r%r&r9 r3zICloudGuardClient.delete_detector_recipe_detector_rule..Nrr:r;r<r-r.rfcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9 r3rrDrrgrhr#rsdetector_rule_idr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r sj($     z5CloudGuardClient.delete_detector_recipe_detector_rulec stgd}d}d}d}d} gdfddt|D} | rJtd | |||d} d d t| D} t| D]<\} } | d ust| tjrtt| d krttd| dqtdd|dt |dt d}dd t|D}|j j |d|j d}|rNt|t js(|j |||j|j|j j||| ||d|| |d S|j j||| ||d|| |dSd S)a Deletes the DetectorRecipeDetectorRuleDataSource resource by identifier. :param str detector_recipe_id: (required) Detector recipe OCID :param str detector_rule_id: (required) The unique identifier of a detector rule. :param str data_source_id: (required) Data source OCID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use delete_detector_recipe_detector_rule_data_source API. )rqrrkz]/detectorRecipes/{detectorRecipeId}/detectorRules/{detectorRuleId}/dataSources/{dataSourceId}rc0delete_detector_recipe_detector_rule_data_sourcezhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/DetectorRecipeDetectorRule/DeleteDetectorRecipeDetectorRuleDataSourcerecsg|]}|vr|qSr%r%r/r1r%r&r2p r3zUCloudGuardClient.delete_detector_recipe_detector_rule_data_source..zEdelete_detector_recipe_detector_rule_data_source got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9{ r3zUCloudGuardClient.delete_detector_recipe_detector_rule_data_source..Nrr:r;r<r-r.rfcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9 r3rrDrrgrh)r#rsrrpr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r8 sl+$     zACloudGuardClient.delete_detector_recipe_detector_rule_data_sourcec sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d} | r^t| t js8|j | |j | | |j| j|j j||| | |d|||d S|j j||| | |d|||dSd S)a Deletes a managed list identified by managedListId. :param str managed_list_id: (required) The managed list OCID to be passed in the request. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use delete_managed_list API. rt/managedLists/{managedListId}rcdelete_managed_listzXhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ManagedList/DeleteManagedListrmcsg|]}|vr|qSr%r%r/r1r%r&r2 r3z8CloudGuardClient.delete_managed_list..z(delete_managed_list got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9 r3z8CloudGuardClient.delete_managed_list..Nrr:r;r<r-r.r,rncSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9 r3rrDrrgrPr#rvr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r sl,$       z$CloudGuardClient.delete_managed_listc sndg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt d} dd t| D} |j j |d|j d} | rHt| t js"|j | | |j| j|j j||| | |d|||d S|j j||| | |d|||dSd S)a Deletes a responder recipe (ResponderRecipe resource) identified by responderRecipeId. :param str responder_recipe_id: (required) OCID of the responder recipe. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use delete_responder_recipe API. rw%/responderRecipes/{responderRecipeId}rcdelete_responder_recipez`https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResponderRecipe/DeleteResponderReciperecsg|]}|vr|qSr%r%r/r1r%r&r2J r3z.z,delete_responder_recipe got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9S r3z.Nrr:r;r<r-r.rfcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9_ r3rrDrrgrhr#ryr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r sh%$     z(CloudGuardClient.delete_responder_recipec sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d} | r^t| t js8|j | |j | | |j| j|j j||| | |d|||d S|j j||| | |d|||dSd S)a Deletes a SavedQuery resource identified by savedQueryId. :param str saved_query_id: (required) Saved query OCID :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use delete_saved_query API. rz/savedQueries/{savedQueryId}rcdelete_saved_queryzVhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SavedQuery/DeleteSavedQueryrmcsg|]}|vr|qSr%r%r/r1r%r&r2 r3z7CloudGuardClient.delete_saved_query..z'delete_saved_query got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9 r3z7CloudGuardClient.delete_saved_query..Nrr:r;r<r-r.r,rncSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9 r3rrDrrgrPr#r|r$rOrGrHrMrNr`rIr7r8rJrr%r1r&r sl,$       z#CloudGuardClient.delete_saved_queryc sndg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt d} dd t| D} |j j |d|j d} | rHt| t js"|j | | |j| j|j j||| | |d|||d S|j j||| | |d|||dSd S)a] Deletes a security zone recipe, identified by securityRecipeId. The recipe can't be associated with an existing security zone. :param str security_recipe_id: (required) The unique identifier of the security zone recipe. (`SecurityRecipe`) :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use delete_security_recipe API. r}#/securityRecipes/{securityRecipeId}rcdelete_security_recipez^https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SecurityRecipe/DeleteSecurityReciperecsg|]}|vr|qSr%r%r/r1r%r&r2"r3z;CloudGuardClient.delete_security_recipe..z+delete_security_recipe got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9+r3z;CloudGuardClient.delete_security_recipe..Nrr:r;r<r-r.rfcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r97r3rrDrrgrhr#rr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r sh%$     z'CloudGuardClient.delete_security_recipec sndg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt d} dd t| D} |j j |d|j d} | rHt| t js"|j | | |j| j|j j||| | |d|||d S|j j||| | |d|||dSd S)a Deletes a security zone, identified by securityZoneId. :param str security_zone_id: (required) The unique identifier of the security zone (`SecurityZone` resource). :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use delete_security_zone API. r(/securityZones/{securityZoneId}rcdelete_security_zonezZhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SecurityZone/DeleteSecurityZonerecsg|]}|vr|qSr%r%r/r1r%r&r2r3z9CloudGuardClient.delete_security_zone..z)delete_security_zone got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z9CloudGuardClient.delete_security_zone..Nrr:r;r<r-r.rfcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDrrgrhr#r_r$rOrGrHrMrNr`rIr7r8rJrr%r1r&rWsh%$     z%CloudGuardClient.delete_security_zonec sndg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt d} dd t| D} |j j |d|j d} | rHt| t js"|j | | |j| j|j j||| | |d|||d S|j j||| | |d|||dSd S)a Deletes a target (Target resource) identified by targetId. :param str target_id: (required) OCID of the target :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use delete_target API. r/targets/{targetId}rc delete_targetzNhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/Target/DeleteTargetrecsg|]}|vr|qSr%r%r/r1r%r&r2r3z2CloudGuardClient.delete_target..z"delete_target got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z2CloudGuardClient.delete_target..Nrr:r;r<r-r.rfcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDrrgrhr#rr$rOrGrHrMrNr`rIr7r8rJrr%r1r&rsh%$     zCloudGuardClient.delete_targetc srddg}d}d}d}d}gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrdd|dt |dt d} dd t| D} |j j |d|j d}|rLt|t js&|j | ||j|j|j j||| | |d|||d S|j j||| | |d|||dSdS)a Deletes the target detector recipe (TargetDetectorRecipe resource) identified by targetDetectorRecipeId, from a target (Target resource) identified by targetId. :param str target_id: (required) OCID of the target :param str target_detector_recipe_id: (required) OCID of the target detector recipe. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use delete_target_detector_recipe API. rtargetDetectorRecipeIdB/targets/{targetId}/targetDetectorRecipes/{targetDetectorRecipeId}rcdelete_target_detector_recipezjhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/TargetDetectorRecipe/DeleteTargetDetectorReciperecsg|]}|vr|qSr%r%r/r1r%r&r2[r3zBCloudGuardClient.delete_target_detector_recipe..z2delete_target_detector_recipe got unknown kwargs: rrcSsi|]\}}|tur||qSr%r4r6r%r%r&r9er3zBCloudGuardClient.delete_target_detector_recipe..Nrr:r;r<r-r.rfcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9qr3rrDrrgrhr#rtarget_detector_recipe_idr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r%sj)$     z.CloudGuardClient.delete_target_detector_recipec srddg}d}d}d}d}gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrdd|dt |dt d} dd t| D} |j j |d|j d}|rLt|t js&|j | ||j|j|j j||| | |d|||d S|j j||| | |d|||dSdS)a Detaches a target responder recipe (TargetResponderRecipe resource) identified by targetResponderRecipeId, from a target (Target resource) identified by targetId. :param str target_id: (required) OCID of the target :param str target_responder_recipe_id: (required) OCID of the target responder recipe. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use delete_target_responder_recipe API. rtargetResponderRecipeIdD/targets/{targetId}/targetResponderRecipes/{targetResponderRecipeId}rcdelete_target_responder_recipezlhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/TargetResponderRecipe/DeleteTargetResponderReciperecsg|]}|vr|qSr%r%r/r1r%r&r2r3zCCloudGuardClient.delete_target_responder_recipe..z3delete_target_responder_recipe got unknown kwargs: rrcSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3zCCloudGuardClient.delete_target_responder_recipe..Nrr:r;r<r-r.rfcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDrrgrhr#rtarget_responder_recipe_idr$rOrGrHrMrNr`rIr7r8rJrr%r1r&rsj*$     z/CloudGuardClient.delete_target_responder_recipec sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d} | r^t| t js8|j | |j | | |j| j|j j||| | |d|||d S|j j||| | |d|||dSd S)a Deletes and unregisters the WLP agent for an on-premise resource. x-obmcs-splat: routing: strategy: route-to-any-ad serviceList: [ 'cloudguard-cp-SPLAT_ENV' ] resources: wlpAgent: serviceResourceName: WlpAgent targetCompartmentId: downstream.getOr404('cloudguard-cp-SPLAT_ENV', 'GetWlpAgent', request.resourceId).compartmentId actionKind: delete resourceOcid: request.resourceId reconciliationCanStartAfterSecs: 30 permissions: [ "WLP_AGENT_DELETE" ] authorization: mode: automated check: resources['wlpAgent'].grantedPermissions.contains('WLP_AGENT_DELETE') allowCrossTenancy: true tagStore: mode: automated maximumAttemptCount: 3 throttling: perUserLimit: rpsLimit: 15 perTenantLimit: rpsLimit: 30 quotas: mode: automated search: mode: backfilling operationResourceName: wlpAgent lock: mode: test operationResourceName: wlpAgent :param str wlp_agent_id: (required) WLP agent OCID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use delete_wlp_agent API. wlpAgentId/wlpAgents/{wlpAgentId}rcdelete_wlp_agentzRhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/WlpAgent/DeleteWlpAgentrmcsg|]}|vr|qSr%r%r/r1r%r&r2Xr3z5CloudGuardClient.delete_wlp_agent..z%delete_wlp_agent got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9ar3z5CloudGuardClient.delete_wlp_agent..Nrr:r;r<r-r.r,rncSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9nr3rrDrrgrPr# wlp_agent_idr$rOrGrHrMrNr`rIr7r8rJrr%r1r&rslL$       z!CloudGuardClient.delete_wlp_agentc sddg}d}d}d}d}gdfdd t|D} | rJtd | d|i} d d t| D} t| D]<\} } | d ust| tjrpt| dkrptd| dqpd|i} dd t| D} dd|dt |dt |dt d}dd t|D}|j j |d|j d}|rt|t jsV|j ||j |||j|j|j j||| | ||d|d|||d S|j j||| | ||d|d|||d Sd S)aW Executes the responder execution. When provided, if-match is checked against etag values of the resource. :param str responder_execution_id: (required) The unique identifier of the responder execution. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param oci.cloud_guard.models.ExecuteResponderExecutionDetails execute_responder_execution_details: (optional) Details for responder configuration :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use execute_responder_execution API. responderExecutionId compartmentIdz;/responderExecutions/{responderExecutionId}/actions/executer)execute_responder_executionzghttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResponderExecution/ExecuteResponderExecution)rrr-r.r,#execute_responder_execution_detailscsg|]}|vr|qSr%r%r/r1r%r&r2r3z@CloudGuardClient.execute_responder_execution..z0execute_responder_execution got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z@CloudGuardClient.execute_responder_execution..Nrr:r;cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3r<r-r.r,rncSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDrr) rGrHrI query_paramsrJrKrrMrNrOrPr#responder_execution_idcompartment_idr$rOrGrHrMrNr`rIr7r8rrJrr%r1r&rsz3$       z,CloudGuardClient.execute_responder_executionc shdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d} | r@t| t js|j | | |j| j|j j||| | d|d|||d S|j j||| | d|d|||d Sd S)aa Returns an adhoc query identified by adhocQueryId. :param str adhoc_query_id: (required) Adhoc query OCID. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.AdhocQuery` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_adhoc_query API. rrGETget_adhoc_queryzShttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/AdhocQuery/GetAdhocQueryrrr.csg|]}|vr|qSr%r%r/r1r%r&r2;r3z4CloudGuardClient.get_adhoc_query..z$get_adhoc_query got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9Dr3z4CloudGuardClient.get_adhoc_query..Nrr:r;r<r.r>r?rBcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9Or3rrDrr rGrHrIrJrLrrMrNrOrhrr%r1r&rsj$    z CloudGuardClient.get_adhoc_queryc shdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d} | r@t| t js|j | | |j| j|j j||| | d|d|||d S|j j||| | d|d|||d Sd S)a Downloads the results for a given adhoc ID (from includes results from all monitoring regions). :param str adhoc_query_id: (required) Adhoc query OCID. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type stream :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_adhoc_query_result_content API. rz,/adhocQueries/{adhocQueryId}/results/contentrget_adhoc_query_result_contentzphttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/AdhocQueryResultCollection/GetAdhocQueryResultContentrcsg|]}|vr|qSr%r%r/r1r%r&r2r3zCCloudGuardClient.get_adhoc_query_result_content..z3get_adhoc_query_result_content got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3zCCloudGuardClient.get_adhoc_query_result_content..Nrr:r;zapplication/octet-streamr<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDstreamrrrhrr%r1r&rqsj$    z/CloudGuardClient.get_adhoc_query_result_contentc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqn|dt |dt d} dd t| D} dd|dt d} dd t| D} |j j |d|j d}|rpt|t jsF|j | ||j|j|j j||| | | d|d|||d S|j j||| | | d|d|||d Sd S)a  Returns a ConditionMetatDataType resource with its details. :param str condition_metadata_type_id: (required) The type of the condition metadata. Allowed values are: "ActivityCondition", "SecurityCondition", "CloudGuardCondition", "InstanceSecurityCondition", "ThreatCondition" :param str opc_request_id: (optional) The client request ID for tracing. :param str service_type: (optional) Service type filter for the condition metadata. :param str resource_type: (optional) Resource filter for the condition metadata. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ConditionMetadataType` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_condition_metadata_type API. ZconditionMetadataTypeIdz1/conditionMetadataTypes/{conditionMetadataTypeId}rget_condition_metadata_typezihttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ConditionMetadataType/GetConditionMetadataType)rrr. service_type resource_typecsg|]}|vr|qSr%r%r/r1r%r&r2r3z@CloudGuardClient.get_condition_metadata_type..z0get_condition_metadata_type got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z@CloudGuardClient.get_condition_metadata_type..Nrr:r;rr)Z serviceType resourceTypecSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDZConditionMetadataTyper rGrHrIrrJrLrrMrNrOrh)r#Zcondition_metadata_type_idr$rOrGrHrMrNr`rIr7r8rrJrr%r1r&rsv&$      z,CloudGuardClient.get_condition_metadata_typec sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} d d |d td} dd t| D} |jj|d|jd} | rt | t j s|j | | |j| j|jj||| | d|d|||d S|jj||| | d|d|||d SdS)a Returns the configuration details for a Cloud Guard tenancy, identified by root compartment OCID. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.Configuration` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_configuration API. r/configurationrget_configurationzYhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/Configuration/GetConfigurationrcsg|]}|vr|qSr%r%r/r1r%r&r2nr3z6CloudGuardClient.get_configuration..z&get_configuration got unknown kwargs: cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9vr3z6CloudGuardClient.get_configuration..r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9}r3rrD Configurationr rGrHrrJrLrrMrNrON)rrQrRrSr!r5r"rXrrTrrYr[r\r r]r^ r#rr$rOrGrHrMrNr`rrJrr%r1r&rCsd     z"CloudGuardClient.get_configurationc shdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d} | r@t| t js|j | | |j| j|j j||| | d|d|||d S|j j||| | d|d|||d Sd S)a Returns a DataMaskRule resource, identified by dataMaskRuleId. :param str data_mask_rule_id: (required) OCID of the data mask rule :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.DataMaskRule` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_data_mask_rule API. rrrget_data_mask_rulezWhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/DataMaskRule/GetDataMaskRulercsg|]}|vr|qSr%r%r/r1r%r&r2r3z7CloudGuardClient.get_data_mask_rule..z'get_data_mask_rule got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z7CloudGuardClient.get_data_mask_rule..Nrr:r;r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDrrrrhrr%r1r&rsj$    z#CloudGuardClient.get_data_mask_rulec shdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d} | r@t| t js|j | | |j| j|j j||| | d|d|||d S|j j||| | d|d|||d Sd S)av Returns a data source (DataSource resource) identified by dataSourceId. :param str data_source_id: (required) Data source OCID. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.DataSource` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_data_source API. rkrrget_data_sourcezShttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/DataSource/GetDataSourcercsg|]}|vr|qSr%r%r/r1r%r&r2)r3z4CloudGuardClient.get_data_source..z$get_data_source got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r92r3z4CloudGuardClient.get_data_source..Nrr:r;r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9=r3rrDZ DataSourcerrrhrr%r1r&rsj$    z CloudGuardClient.get_data_sourcec shdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d} | r@t| t js|j | | |j| j|j j||| | d|d|||d S|j j||| | d|d|||d Sd S)aW Returns a Detector resource, identified by detectorId. :param str detector_id: (required) Detector name. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.Detector` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_detector API. detectorIdz/detectors/{detectorId}r get_detectorzOhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/Detector/GetDetectorrcsg|]}|vr|qSr%r%r/r1r%r&r2r3z1CloudGuardClient.get_detector..z!get_detector got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z1CloudGuardClient.get_detector..Nrr:r;r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDZDetectorrrrh)r# detector_idr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r_sj$    zCloudGuardClient.get_detectorc shdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d} | r@t| t js|j | | |j| j|j j||| | d|d|||d S|j j||| | d|d|||d Sd S)a Returns a detector recipe (DetectorRecipe resource) identified by detectorRecipeId. :param str detector_recipe_id: (required) Detector recipe OCID :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.DetectorRecipe` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_detector_recipe API. rqrrget_detector_recipez[https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/DetectorRecipe/GetDetectorRecipercsg|]}|vr|qSr%r%r/r1r%r&r2r3z8CloudGuardClient.get_detector_recipe..z(get_detector_recipe got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z8CloudGuardClient.get_detector_recipe..Nrr:r;r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDrrrrhrr%r1r&rsj$    z$CloudGuardClient.get_detector_recipec slddg}d}d}d}d}gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrdd|dt d} dd t| D} |j j |d|j d}|rDt|t js|j | ||j|j|j j||| | d|d|||d S|j j||| | d|d|||d SdS)a Returns a detector rule (DetectorRule resource) identified by detectorRuleId. :param str detector_recipe_id: (required) Detector recipe OCID :param str detector_rule_id: (required) The unique identifier of a detector rule. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.DetectorRecipeDetectorRule` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_detector_recipe_detector_rule API. rqrrr!get_detector_recipe_detector_rulezshttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/DetectorRecipeDetectorRule/GetDetectorRecipeDetectorRulercsg|]}|vr|qSr%r%r/r1r%r&r2Lr3zFCloudGuardClient.get_detector_recipe_detector_rule..z6get_detector_recipe_detector_rule got unknown kwargs: rcSsi|]\}}|tur||qSr%r4r6r%r%r&r9Vr3zFCloudGuardClient.get_detector_recipe_detector_rule..Nrr:r;r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9ar3rrDrrrrhrr%r1r&r sl!$    z2CloudGuardClient.get_detector_recipe_detector_rulec slddg}d}d}d}d}gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrdd|dt d} dd t| D} |j j |d|j d}|rDt|t js|j | ||j|j|j j||| | d|d|||d S|j j||| | d|d|||d SdS)a Returns a detector rule (DetectorRule resource) identified by detectorRuleId. :param str detector_id: (required) Detector name. :param str detector_rule_id: (required) The unique identifier of a detector rule. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.DetectorRule` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_detector_rule API. rrz6/detectors/{detectorId}/detectorRules/{detectorRuleId}rget_detector_rulezWhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/DetectorRule/GetDetectorRulercsg|]}|vr|qSr%r%r/r1r%r&r2r3z6CloudGuardClient.get_detector_rule..z&get_detector_rule got unknown kwargs: )rrcSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z6CloudGuardClient.get_detector_rule..Nrr:r;r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDZ DetectorRulerrrh)r#rrr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r sl!$    z"CloudGuardClient.get_detector_rulec shdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d} | r@t| t js|j | | |j| j|j j||| | d|d|||d S|j j||| | d|d|||d Sd S)a Returns a managed list identified by managedListId. :param str managed_list_id: (required) The managed list OCID to be passed in the request. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ManagedList` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_managed_list API. rtrrget_managed_listzUhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ManagedList/GetManagedListrcsg|]}|vr|qSr%r%r/r1r%r&r2r3z5CloudGuardClient.get_managed_list..z%get_managed_list got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z5CloudGuardClient.get_managed_list..Nrr:r;r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9%r3rrDrrrrhrr%r1r&r sj$    z!CloudGuardClient.get_managed_listc shdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d} | r@t| t js|j | | |j| j|j j||| | d|d|||d S|j j||| | d|d|||d Sd S)aX Returns the Problem resource identified by problemId. :param str problem_id: (required) OCID of the problem. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.Problem` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_problem API. problemIdz/problems/{problemId}r get_problemzMhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/Problem/GetProblemrcsg|]}|vr|qSr%r%r/r1r%r&r2qr3z0CloudGuardClient.get_problem..z get_problem got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9zr3z0CloudGuardClient.get_problem..Nrr:r;r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDProblemrrrh)r# problem_idr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r Gsj$    zCloudGuardClient.get_problemc shdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d} | r@t| t js|j | | |j| j|j j||| | d|d|||d S|j j||| | d|d|||d Sd S)aV Returns a resource identified by resourceId :param str resource_id: (required) CloudGuard resource OCID :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.Resource` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_resource API. resourceIdz/resources/{resourceId}r get_resourcezOhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/Resource/GetResourcercsg|]}|vr|qSr%r%r/r1r%r&r2r3z1CloudGuardClient.get_resource..z!get_resource got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z1CloudGuardClient.get_resource..Nrr:r;r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDZResourcerrrh)r# resource_idr$rOrGrHrMrNr`rIr7r8rJrr%r1r&rsj$    zCloudGuardClient.get_resourcec shdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d} | r@t| t js|j | | |j| j|j j||| | d|d|||d S|j j||| | d|d|||d Sd S)a Returns details for a resource profile, identified by resourceProfileId. :param str resource_profile_id: (required) OCID of the resource profile. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ResourceProfile` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_resource_profile API. resourceProfileIdz%/resourceProfiles/{resourceProfileId}rget_resource_profilez]https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResourceProfile/GetResourceProfilercsg|]}|vr|qSr%r%r/r1r%r&r21r3z9CloudGuardClient.get_resource_profile..z)get_resource_profile got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9:r3z9CloudGuardClient.get_resource_profile..Nrr:r;r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9Er3rrDZResourceProfilerrrh)r#resource_profile_idr$rOrGrHrMrNr`rIr7r8rJrr%r1r&rsj$    z%CloudGuardClient.get_resource_profilec slddg}d}d}d}d}gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrdd|dt d} dd t| D} |j j |d|j d}|rDt|t js|j | ||j|j|j j||| | d|d|||d S|j j||| | d|d|||d SdS)a Returns the vulnerability details associated with the cveId where resource is an instance :param str resource_id: (required) CloudGuard resource OCID :param str vulnerability_key: (required) CloudGuard vulnerability id :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ResourceVulnerability` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_resource_vulnerability API. rvulnerabilityKeyz:/resources/{resourceId}/vulnerabilities/{vulnerabilityKey}rget_resource_vulnerabilityzihttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResourceVulnerability/GetResourceVulnerabilityrcsg|]}|vr|qSr%r%r/r1r%r&r2r3z?CloudGuardClient.get_resource_vulnerability..z/get_resource_vulnerability got unknown kwargs: )rrcSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z?CloudGuardClient.get_resource_vulnerability..Nrr:r;r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDZResourceVulnerabilityrrrh)r#rZvulnerability_keyr$rOrGrHrMrNr`rIr7r8rJrr%r1r&rgsl!$    z+CloudGuardClient.get_resource_vulnerabilityc shdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d} | r@t| t js|j | | |j| j|j j||| | d|d|||d S|j j||| | d|d|||d Sd S)a Returns a responder execution identified by responderExecutionId. :param str responder_execution_id: (required) The unique identifier of the responder execution. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ResponderExecution` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_responder_execution API. rz+/responderExecutions/{responderExecutionId}rget_responder_executionzchttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResponderExecution/GetResponderExecutionrcsg|]}|vr|qSr%r%r/r1r%r&r2r3z.z,get_responder_execution got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z.Nrr:r;r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9 r3rrDZResponderExecutionrrrh)r#rr$rOrGrHrMrNr`rIr7r8rJrr%r1r&rsj$    z(CloudGuardClient.get_responder_executionc shdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d} | r@t| t js|j | | |j| j|j j||| | d|d|||d S|j j||| | d|d|||d Sd S)a Returns a responder recipe (ResponderRecipe resource) identified by responderRecipeId. :param str responder_recipe_id: (required) OCID of the responder recipe. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ResponderRecipe` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_responder_recipe API. rwrrget_responder_recipez]https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResponderRecipe/GetResponderRecipercsg|]}|vr|qSr%r%r/r1r%r&r2Ur3z9CloudGuardClient.get_responder_recipe..z)get_responder_recipe got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9^r3z9CloudGuardClient.get_responder_recipe..Nrr:r;r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9ir3rrDrrrrhrr%r1r&r+sj$    z%CloudGuardClient.get_responder_recipec slddg}d}d}d}d}gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrdd|dt d} dd t| D} |j j |d|j d}|rDt|t js|j | ||j|j|j j||| | d|d|||d S|j j||| | d|d|||d SdS)a1 Returns a responder rule (ResponderRule resource) identified by responderRuleId. :param str responder_recipe_id: (required) OCID of the responder recipe. :param str responder_rule_id: (required) Unique identifier of the responder rule. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ResponderRecipeResponderRule` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_responder_recipe_responder_rule API. rwresponderRuleIdF/responderRecipes/{responderRecipeId}/responderRules/{responderRuleId}r#get_responder_recipe_responder_rulezwhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResponderRecipeResponderRule/GetResponderRecipeResponderRulercsg|]}|vr|qSr%r%r/r1r%r&r2r3zHCloudGuardClient.get_responder_recipe_responder_rule..z8get_responder_recipe_responder_rule got unknown kwargs: rwrcSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3zHCloudGuardClient.get_responder_recipe_responder_rule..Nrr:r;r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDResponderRecipeResponderRulerrrh)r#ryresponder_rule_idr$rOrGrHrMrNr`rIr7r8rJrr%r1r&rsl!$    z4CloudGuardClient.get_responder_recipe_responder_rulec shdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d} | r@t| t js|j | | |j| j|j j||| | d|d|||d S|j j||| | d|d|||d Sd S)a Returns a responder rule (ResponderRule resource) identified by resonderRuleId. :param str responder_rule_id: (required) Unique identifier of the responder rule. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ResponderRule` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_responder_rule API. rz!/responderRules/{responderRuleId}rget_responder_rulezYhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResponderRule/GetResponderRulercsg|]}|vr|qSr%r%r/r1r%r&r2r3z7CloudGuardClient.get_responder_rule..z'get_responder_rule got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9"r3z7CloudGuardClient.get_responder_rule..Nrr:r;r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9-r3rrDZ ResponderRulerrrh)r#rr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r sj$    z#CloudGuardClient.get_responder_rulec shdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d} | r@t| t js|j | | |j| j|j j||| | d|d|||d S|j j||| | d|d|||d Sd S)ag Returns a SavedQuery resource identified by savedQueryId. :param str saved_query_id: (required) Saved query OCID :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.SavedQuery` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_saved_query API. rzrrget_saved_queryzShttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SavedQuery/GetSavedQueryrcsg|]}|vr|qSr%r%r/r1r%r&r2yr3z4CloudGuardClient.get_saved_query..z$get_saved_query got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z4CloudGuardClient.get_saved_query..Nrr:r;r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDrrrrhrr%r1r&r!Osj$    z CloudGuardClient.get_saved_queryc shdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d} | r@t| t js|j | | |j| j|j j||| | d|d|||d S|j j||| | d|d|||d Sd S)af Returns a security zone policy (SecurityPolicy resource), identified by its unique ID (securityPolicyId). When a policy is enabled in a security zone, then any action in the zone that attempts to violate that policy is blocked. :param str security_policy_id: (required) The unique identifier of the security zone policy. (`SecurityPolicy`) :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.SecurityPolicy` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_security_policy API. ZsecurityPolicyIdz$/securityPolicies/{securityPolicyId}rget_security_policyz[https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SecurityPolicy/GetSecurityPolicyrcsg|]}|vr|qSr%r%r/r1r%r&r2r3z8CloudGuardClient.get_security_policy..z(get_security_policy got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z8CloudGuardClient.get_security_policy..Nrr:r;r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDZSecurityPolicyrrrh)r#Zsecurity_policy_idr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r"sj $    z$CloudGuardClient.get_security_policyc shdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d} | r@t| t js|j | | |j| j|j j||| | d|d|||d S|j j||| | d|d|||d Sd S)a Returns a security zone recipe (SecurityRecipe resource) identified by securityRecipeId. :param str security_recipe_id: (required) The unique identifier of the security zone recipe. (`SecurityRecipe`) :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.SecurityRecipe` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_security_recipe API. r}rrget_security_recipez[https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SecurityRecipe/GetSecurityRecipercsg|]}|vr|qSr%r%r/r1r%r&r2;r3z8CloudGuardClient.get_security_recipe..z(get_security_recipe got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9Dr3z8CloudGuardClient.get_security_recipe..Nrr:r;r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9Or3rrDrrrrhrr%r1r&r#sj$    z$CloudGuardClient.get_security_recipec shdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d} | r@t| t js|j | | |j| j|j j||| | d|d|||d S|j j||| | d|d|||d Sd S)a Returns a security zone (SecurityZone resource) identified by securityZoneId. :param str security_zone_id: (required) The unique identifier of the security zone (`SecurityZone` resource). :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.SecurityZone` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_security_zone API. r(rrget_security_zonezWhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SecurityZone/GetSecurityZonercsg|]}|vr|qSr%r%r/r1r%r&r2r3z6CloudGuardClient.get_security_zone..z&get_security_zone got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z6CloudGuardClient.get_security_zone..Nrr:r;r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDrErrrhrr%r1r&r$qsj$    z"CloudGuardClient.get_security_zonec shdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d} | r@t| t js|j | | |j| j|j j||| | d|d|||d S|j j||| | d|d|||d Sd S)ao Returns a single sighting (Sighting resource) identified by sightingId. :param str sighting_id: (required) OCID of the sighting. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.Sighting` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_sighting API. sightingIdz/sightings/{sightingId}r get_sightingzOhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/Sighting/GetSightingrcsg|]}|vr|qSr%r%r/r1r%r&r2r3z1CloudGuardClient.get_sighting..z!get_sighting got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z1CloudGuardClient.get_sighting..Nrr:r;r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDZSightingrrrh)r# sighting_idr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r&sj$    zCloudGuardClient.get_sightingc shdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d} | r@t| t js|j | | |j| j|j j||| | d|d|||d S|j j||| | d|d|||d Sd S)aW Returns a target (Target resource) identified by targetId. :param str target_id: (required) OCID of the target :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.Target` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_target API. rrr get_targetzKhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/Target/GetTargetrcsg|]}|vr|qSr%r%r/r1r%r&r2[r3z/CloudGuardClient.get_target..zget_target got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9dr3z/CloudGuardClient.get_target..Nrr:r;r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9or3rrDrrrrhrr%r1r&r(1sj$    zCloudGuardClient.get_targetc slddg}d}d}d}d}gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrdd|dt d} dd t| D} |j j |d|j d}|rDt|t js|j | ||j|j|j j||| | d|d|||d S|j j||| | d|d|||d SdS)a Returns a target detector recipe (TargetDetectorRecipe resource) identified by targetDetectorRecipeId. :param str target_id: (required) OCID of the target :param str target_detector_recipe_id: (required) OCID of the target detector recipe. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.TargetDetectorRecipe` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_target_detector_recipe API. rrrrget_target_detector_recipezghttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/TargetDetectorRecipe/GetTargetDetectorRecipercsg|]}|vr|qSr%r%r/r1r%r&r2r3z?CloudGuardClient.get_target_detector_recipe..z/get_target_detector_recipe got unknown kwargs: rcSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z?CloudGuardClient.get_target_detector_recipe..Nrr:r;r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDrrrrhrr%r1r&r)sl!$    z+CloudGuardClient.get_target_detector_recipec sngd}d}d}d}d} gdfddt|D} | rJtd | |||d} d d t| D} t| D]<\} } | d ust| tjrtt| d krttd| dqtdd|dt d}dd t|D}|j j |d|j d}|rFt|t js|j |||j|j|j j||| |d|d|| |d S|j j||| |d|d|| |d Sd S)a Returns DetectorRule resource by identified by targetDetectorRecipeId. :param str target_id: (required) OCID of the target :param str target_detector_recipe_id: (required) OCID of the target detector recipe. :param str detector_rule_id: (required) The unique identifier of the detector rule. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.TargetDetectorRecipeDetectorRule` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_target_detector_recipe_detector_rule API. rrra/targets/{targetId}/targetDetectorRecipes/{targetDetectorRecipeId}/detectorRules/{detectorRuleId}r(get_target_detector_recipe_detector_rulezhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/TargetDetectorRecipeDetectorRule/GetTargetDetectorRecipeDetectorRulercsg|]}|vr|qSr%r%r/r1r%r&r2%r3zMCloudGuardClient.get_target_detector_recipe_detector_rule..z=get_target_detector_recipe_detector_rule got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r90r3zMCloudGuardClient.get_target_detector_recipe_detector_rule..Nrr:r;r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9;r3rrD TargetDetectorRecipeDetectorRulerrrh)r#rrrr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r,sn$$    z9CloudGuardClient.get_target_detector_recipe_detector_rulec slddg}d}d}d}d}gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrdd|dt d} dd t| D} |j j |d|j d}|rDt|t js|j | ||j|j|j j||| | d|d|||d S|j j||| | d|d|||d SdS)aX Returns a target responder recipe (TargetResponderRecipe) identified by targetResponderRecipeId for a target (Target resource) identified by targetId. :param str target_id: (required) OCID of the target :param str target_responder_recipe_id: (required) OCID of the target responder recipe. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.TargetResponderRecipe` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_target_responder_recipe API. rrrrget_target_responder_recipezihttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/TargetResponderRecipe/GetTargetResponderRecipercsg|]}|vr|qSr%r%r/r1r%r&r2r3z@CloudGuardClient.get_target_responder_recipe..z0get_target_responder_recipe got unknown kwargs: rcSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z@CloudGuardClient.get_target_responder_recipe..Nrr:r;r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDrrrrhrr%r1r&r.]sl"$    z,CloudGuardClient.get_target_responder_recipec sngd}d}d}d}d} gdfddt|D} | rJtd | |||d} d d t| D} t| D]<\} } | d ust| tjrtt| d krttd| dqtdd|dt d}dd t|D}|j j |d|j d}|rFt|t js|j |||j|j|j j||| |d|d|| |d S|j j||| |d|d|| |d Sd S)aZ Returns a responder rule (ResponderRule resource) identified by responderRuleId, from a target responder recipe (TargetResponderRecipe resource) identified by targetResponderRecipeId, attached to a target (Target resource) identified by targetId. :param str target_id: (required) OCID of the target :param str target_responder_recipe_id: (required) OCID of the target responder recipe. :param str responder_rule_id: (required) Unique identifier of the responder rule. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.TargetResponderRecipeResponderRule` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_target_responder_recipe_responder_rule API. rrre/targets/{targetId}/targetResponderRecipes/{targetResponderRecipeId}/responderRules/{responderRuleId}r*get_target_responder_recipe_responder_rulezhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/TargetResponderRecipeResponderRule/GetTargetResponderRecipeResponderRulercsg|]}|vr|qSr%r%r/r1r%r&r2r3zOCloudGuardClient.get_target_responder_recipe_responder_rule..z?get_target_responder_recipe_responder_rule got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3zOCloudGuardClient.get_target_responder_recipe_responder_rule..Nrr:r;r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9 r3rrD"TargetResponderRecipeResponderRulerrrh)r#rrrr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r1sn'$    z;CloudGuardClient.get_target_responder_recipe_responder_rulec shdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d} | r@t| t js|j | | |j| j|j j||| | d|d|||d S|j j||| | d|d|||d Sd S)au Returns a WlpAgent resource for an on-premise resource identified by wlpAgentId. :param str wlp_agent_id: (required) WLP agent OCID. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.WlpAgent` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_wlp_agent API. rrr get_wlp_agentzOhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/WlpAgent/GetWlpAgentrcsg|]}|vr|qSr%r%r/r1r%r&r2Wr3z2CloudGuardClient.get_wlp_agent..z"get_wlp_agent got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9`r3z2CloudGuardClient.get_wlp_agent..Nrr:r;r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9kr3rrDrrrrhrr%r1r&r3-sj$    zCloudGuardClient.get_wlp_agentc shdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt d} dd t| D} |j j |d|j d} | r@t| t js|j | | |j| j|j j||| | d|d|||d S|j j||| | d|d|||d Sd S)a Returns details for a work request (WorkRequest resource) identified by workRequestId. :param str work_request_id: (required) The ID of the asynchronous request. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.WorkRequest` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_work_request API. rarbrget_work_requestzUhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/WorkRequest/GetWorkRequestrcsg|]}|vr|qSr%r%r/r1r%r&r2r3z5CloudGuardClient.get_work_request..z%get_work_request got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z5CloudGuardClient.get_work_request..Nrr:r;r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDZ WorkRequestrrrhrir%r1r&r4sj$    z!CloudGuardClient.get_work_requestc s"dg}d}d}d}d}gdfddt|D}|rHtd |d |vrrgd } |d | vrrtd | d |vrddg} |d | vrtd| d|vrddg} |d| vrtd| d|vrddg} |d| vrtd| ||d t|dt|dt|dt|dt|dt|d t|dt|dtd } dd t| D} d!d!|d"td#}d$d t|D}|jj|d%|jd&}|rt |t j s|j || |j|j|jj||| |d'|d(|||d) S|jj||| |d'|d(|||d) Sd*S)+a Returns a list of all adhoc queries (AdhocQuery resources) for a compartment identified by compartmentId. List is returned in a AdhocQueryCollection resource with page of AdhocQuerySummary resources. The ListAdhocQueries operation returns only the adhoc queries in 'compartmentId' passed. The list does not include any subcompartments of the compartmentId passed. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform ListAdhocQueries on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param str adhoc_query_status: (optional) The status of the adhoc query created. Default value for state is provisioning. If no value is specified state is provisioning. Allowed values are: "CREATING", "CREATED", "IN_PROGRESS", "PARTIALLY_COMPLETED", "EXPIRED", "COMPLETED", "FAILED" :param datetime time_started_filter_query_param: (optional) Start time for a filter. If start time is not specified, start time will be set to current time - 30 days. :param datetime time_ended_filter_query_param: (optional) End time for a filter. If end time is not specified, end time will be set to current time. :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param bool compartment_id_in_subtree: (optional) Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the setting of `accessLevel`. :param str access_level: (optional) Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`. Setting this to `ACCESSIBLE` returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to `RESTRICTED` permissions are checked and no partial results are displayed. Allowed values are: "RESTRICTED", "ACCESSIBLE" :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. Allowed values are: "timeCreated", "displayName" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.AdhocQueryCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_adhoc_queries API. rrrlist_adhoc_querieszVhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/AdhocQuery/ListAdhocQueries) rradhoc_query_statustime_started_filter_query_paramtime_ended_filter_query_paramlimitpagecompartment_id_in_subtree access_level sort_ordersort_byr.csg|]}|vr|qSr%r%r/r1r%r&r2Zr3z7CloudGuardClient.list_adhoc_queries..z'list_adhoc_queries got unknown kwargs: r6)CREATINGZCREATED IN_PROGRESSZPARTIALLY_COMPLETEDZEXPIREDZ COMPLETEDFAILEDz7Invalid value for `adhoc_query_status`, must be one of r< RESTRICTED ACCESSIBLE1Invalid value for `access_level`, must be one of r=ASCDESC/Invalid value for `sort_order`, must be one of r> timeCreated displayName,Invalid value for `sort_by`, must be one of r7r8r9r:r;) rZadhocQueryStatusZtimeStartedFilterQueryParamZtimeEndedFilterQueryParamr9r:compartmentIdInSubtree accessLevel sortOrdersortBycSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3z7CloudGuardClient.list_adhoc_queries..r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDZAdhocQueryCollectionrrNrrQrRr!r5rSr"rXrrTrrYr[r\r r]r^)r#rr$rOrGrHrMrNr`Z!adhoc_query_status_allowed_valuesaccess_level_allowed_valuessort_order_allowed_valuessort_by_allowed_valuesrrJrr%r1r&r5sX                  z#CloudGuardClient.list_adhoc_queriesc s ddg}d}d}d}d}gdfdd t|D} | rJtd | d|i} d d t| D} t| D]<\} } | d ust| tjrpt| dkrptd| dqpd|vrddg} |d| vrtd| d|vrddg}|d|vrtd|||dt |dt |dt |dt d}dd t|D}dd|dt d}d d t|D}|j j |d!|j d"}|rt|t js|j |||j|j|j j||| ||d#|d$|||d% S|j j||| ||d#|d$|||d% Sd S)&a Lists the results for a given adhoc ID (from includes results from all monitoring regions). :param str adhoc_query_id: (required) Adhoc query OCID. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. Allowed values are: "timeCreated", "displayName" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.AdhocQueryResultCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_adhoc_query_results API. rrz$/adhocQueries/{adhocQueryId}/resultsrlist_adhoc_query_resultszkhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/AdhocQueryResultCollection/ListAdhocQueryResultsrrr9r:r=r>r.csg|]}|vr|qSr%r%r/r1r%r&r2r3z=CloudGuardClient.list_adhoc_query_results..z-list_adhoc_query_results got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z=CloudGuardClient.list_adhoc_query_results..Nrr:r;r=rErFrGr>rHrIrJr9r:rr9r:rMrNcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDZAdhocQueryResultCollectionrrrh)r#rrr$rOrGrHrMrNr`rIr7r8rQrRrrJrr%r1r&rSs1 $          z)CloudGuardClient.list_adhoc_query_resultsc sdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrgd } |d | vrrtd | d |vrddg} |d | vrtd| d|vrddg} |d| vrtd| ||d t|dt|dt|d t|dtd} ddt| D} dd|dtd} ddt| D} |jj|d|jd}|rt |t j s|j | | |j|j|jj||| | d |d!|||d" S|jj||| | d |d!|||d" Sd#S)$a Returns a list of ConditionMetadataType resources. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param str lifecycle_state: (optional) The field lifecycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. Allowed values are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED" :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. Allowed values are: "timeCreated", "displayName" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ConditionMetadataTypeCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_condition_metadata_types API. rz/conditionMetadataTypesrlist_condition_metadata_typeszkhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ConditionMetadataType/ListConditionMetadataTypesrrlifecycle_stater9r:r=r>r.csg|]}|vr|qSr%r%r/r1r%r&r2r3zBCloudGuardClient.list_condition_metadata_types..z2list_condition_metadata_types got unknown kwargs: rXr?ZUPDATINGACTIVEINACTIVEZDELETINGDELETEDrA4Invalid value for `lifecycle_state`, must be one of r=rErFrGr>rHrIrJr9r:rlifecycleStater9r:rMrNcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3zBCloudGuardClient.list_condition_metadata_types..r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3rrDZConditionMetadataTypeCollectionrrNrOr#rr$rOrGrHrMrNr`lifecycle_state_allowed_valuesrQrRrrJrr%r1r&rV@s3             z.CloudGuardClient.list_condition_metadata_typesc sddg}d}d}d}d}gdfddt|D}|rHtd |d |vrrgd } |d | vrrtd | d |vrddg} |d | vrtd| d|vrddg} |d| vrtd| d|vrddg} |d| vrtd| d|vrddg} |d| vrtd| |dt||d t|d t|dt|dt|dt|dt|dt|d t|d!t|d"td# }d$d%t|D}d&d&|d'td(}d)d%t|D}|jj|d*|jd+}|r`__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.DataMaskRuleCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_data_mask_rules API. rrrlist_data_mask_ruleszYhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/DataMaskRule/ListDataMaskRules)rr display_namerXr<r9r:r=r>r.data_mask_rule_statusr iam_group_id target_typecsg|]}|vr|qSr%r%r/r1r%r&r23r3z9CloudGuardClient.list_data_mask_rules..z)list_data_mask_rules got unknown kwargs: rXrYr]r<rBrCrDr=rErFrGr>rHrIrJrdZENABLEDZDISABLEDz:Invalid value for `data_mask_rule_status`, must be one of rcr9r:rrerf) rIrr_rLr9r:rMrNZdataMaskRuleStatusrZ iamGroupIdZ targetTypecSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9ir3z9CloudGuardClient.list_data_mask_rules..r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9pr3rrDZDataMaskRuleCollectionrrNrO)r#rr$rOrGrHrMrNr`rarPrQrRZ$data_mask_rule_status_allowed_valuesrrJrr%r1r&rbsM                    z%CloudGuardClient.list_data_mask_rulesc s dg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|vrdg} |d| vrtd| |dt |dt |dt |dt |dt d}dd t|D}dd|dt d}dd t|D}|j j |d |j d!}|rt|t js|j |||j|j|j j||| ||d"|d#|||d$ S|j j||| ||d"|d#|||d$ Sd S)%a Returns a list of data source events (DataSourceEventCollection resource) from the data source (DataSource resource) identified by dataSourceId. :param str data_source_id: (required) Data source OCID. :param str region: (optional) A filter to return only resource where their region matches the given region. :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param int limit: (optional) The maximum number of items to return :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. If no value is specified timeCreated is default. Allowed values are: "timeCreated" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.DataSourceEventCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_data_source_events API. rkz"/dataSources/{dataSourceId}/eventsrlist_data_source_eventszZhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/DataSource/ListDataSourceEvents)rrregionr:r9r=r>r.csg|]}|vr|qSr%r%r/r1r%r&r2r3z.z,list_data_source_events got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9r3z.Nrr:r;r=rErFrGr>rHrJrhr:r9)rhr:r9rMrNcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9r3r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9 r3rrDZDataSourceEventCollectionrrrh)r#rpr$rOrGrHrMrNr`rIr7r8rQrRrrJrr%r1r&rgs3 $           z(CloudGuardClient.list_data_source_eventsc sdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrd d g} |d | vrrtd | d|vrgd} |d| vrtd| d|vrdg} |d| vrtd| d|vrddg} |d| vrtd| d|vrddg} |d| vrtd| d|vrJddg}|d|vrJtd||d t|d t||dt|d!t|d"t|dt|d#t|dt|dt|dtd$ }d%d&t|D}d'd'|d(td)}d*d&t|D}|jj|d+|jd,}|r^t |t j s6|j || |j|j|jj||||d-|d.|||d/ S|jj||||d-|d.|||d/ Sd0S)1a Returns a list of all data sources (DataSource resources) for a compartment identified by compartmentId. List is returned in a DataSourceCollection resource with page of DataSourceSummary resources. The ListAdhocQueries operation returns only the adhoc queries in 'compartmentId' passed. The list does not include any subcompartments of the compartmentId passed. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform ListAdhocQueries on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param str display_name: (optional) A filter to return only resources that match the entire display name given. :param str data_source_feed_provider: (optional) A filter to return only resources when their feed provider matches the given feed provider (`DataSourceFeedProvider` resource). Allowed values are: "LOGGINGQUERY", "SCHEDULEDQUERY" :param str lifecycle_state: (optional) The field lifecycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. Allowed values are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED" :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str logging_query_type: (optional) A filter to return only resources where their query type matches the given LoggingQueryType. Allowed values are: "INSIGHT" :param bool compartment_id_in_subtree: (optional) Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the setting of `accessLevel`. :param str access_level: (optional) Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`. Setting this to `ACCESSIBLE` returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to `RESTRICTED` permissions are checked and no partial results are displayed. Allowed values are: "RESTRICTED", "ACCESSIBLE" :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. Allowed values are: "timeCreated", "displayName" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.DataSourceCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_data_sources API. rrrlist_data_sourceszUhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/DataSource/ListDataSources) rrrcdata_source_feed_providerrXr9r:logging_query_typer;r<r=r>r.csg|]}|vr|qSr%r%r/r1r%r&r2 r3z6CloudGuardClient.list_data_sources..z&list_data_sources got unknown kwargs: rjZ LOGGINGQUERYZSCHEDULEDQUERYz>Invalid value for `data_source_feed_provider`, must be one of rXrYr]rkZINSIGHTz7Invalid value for `logging_query_type`, must be one of r<rBrCrDr=rErFrGr>rHrIrJrcr9r:r;) rIZdataSourceFeedProviderrr_r9r:ZloggingQueryTyperKrLrMrNcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9 r3z6CloudGuardClient.list_data_sources..r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9 r3rrDZDataSourceCollectionrrNrO)r#rr$rOrGrHrMrNr`Z(data_source_feed_provider_allowed_valuesraZ!logging_query_type_allowed_valuesrPrQrRrrJrr%r1r&ri% s_                     z"CloudGuardClient.list_data_sourcesc sLddg}d}d}d}d}gdfdd t|D} | rJtd | d|i} d d t| D} t| D]<\} } | d ust| tjrpt| dkrptd| dqpd|vrgd} |d| vrtd| d|vrddg}|d|vrtd|d|vr4ddg}|d|vr4td|||dt |dt |dt |dt |dt |dt d}d d t|D}d!d!|d"t d#}d$d t|D}|j j |d%|j d&}|r"t|t js|j |||j|j|j j||| ||d'|d(|||d) S|j j||| ||d'|d(|||d) Sd S)*a Returns a list of detector rules (DetectorRule resources) for a detector recipe (DetectorRecipe resource), identified by detectorRecipeId. :param str detector_recipe_id: (required) Detector recipe OCID :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param str display_name: (optional) A filter to return only resources that match the entire display name given. :param str lifecycle_state: (optional) The field lifecycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. Allowed values are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED" :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default. Allowed values are: "displayName", "riskLevel" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.DetectorRecipeDetectorRuleCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_detector_recipe_detector_rules API. rqrrr#list_detector_recipe_detector_ruleszuhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/DetectorRecipeDetectorRule/ListDetectorRecipeDetectorRules rrrcrXr9r:r=r>r.csg|]}|vr|qSr%r%r/r1r%r&r2J!r3zHCloudGuardClient.list_detector_recipe_detector_rules..z8list_detector_recipe_detector_rules got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9S!r3zHCloudGuardClient.list_detector_recipe_detector_rules..Nrr:r;rXrYr]r=rErFrGr>rI riskLevelrJrcr9r:rrIr_r9r:rMrNcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9w!r3r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9~!r3rrDZ$DetectorRecipeDetectorRuleCollectionrrrh)r#rsrr$rOrGrHrMrNr`rIr7r8rarQrRrrJrr%r1r&rl s9 $              z4CloudGuardClient.list_detector_recipe_detector_rulesc s"dg}d}d}d}d}gdfddt|D}|rHtd |d |vrrgd } |d | vrrtd | d |vrddg} |d | vrtd| d|vrddg} |d| vrtd| d|vrddg} |d| vrtd| |dt|dt||d t|dt|dt|dt|d t|dt|dtd } dd t| D} d!d!|d"td#}d$d t|D}|jj|d%|jd&}|rt |t j s|j || |j|j|jj||| |d'|d(|||d) S|jj||| |d'|d(|||d) Sd*S)+aZ Returns a list of all detector recipes (DetectorRecipe resources) in a compartment, identified by compartmentId. The ListDetectorRecipes operation returns only the detector recipes in `compartmentId` passed. The list does not include any subcompartments of the compartmentId passed. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform ListDetectorRecipes on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param str display_name: (optional) A filter to return only resources that match the entire display name given. :param bool resource_metadata_only: (optional) Default is false. When set to true, the list of all Oracle-managed resources metadata supported by Cloud Guard is returned. :param str lifecycle_state: (optional) The field lifecycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. Allowed values are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED" :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param bool compartment_id_in_subtree: (optional) Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the setting of `accessLevel`. :param str access_level: (optional) Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`. Setting this to `ACCESSIBLE` returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to `RESTRICTED` permissions are checked and no partial results are displayed. Allowed values are: "RESTRICTED", "ACCESSIBLE" :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. Allowed values are: "timeCreated", "displayName" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.DetectorRecipeCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_detector_recipes API. rrrlist_detector_recipesz]https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/DetectorRecipe/ListDetectorRecipes) rrrcresource_metadata_onlyrXr9r:r;r<r=r>r.csg|]}|vr|qSr%r%r/r1r%r&r2"r3z:CloudGuardClient.list_detector_recipes..z*list_detector_recipes got unknown kwargs: rXrYr]r<rBrCrDr=rErFrGr>rHrIrJrcrqr9r:r;) rIresourceMetadataOnlyrr_r9r:rKrLrMrNcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9<"r3z:CloudGuardClient.list_detector_recipes..r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9C"r3rrDZDetectorRecipeCollectionrrNrOr#rr$rOrGrHrMrNr`rarPrQrRrrJrr%r1r&rp!sX                  z&CloudGuardClient.list_detector_recipesc sLddg}d}d}d}d}gdfdd t|D} | rJtd | d|i} d d t| D} t| D]<\} } | d ust| tjrpt| dkrptd| dqpd|vrgd} |d| vrtd| d|vrddg}|d|vrtd|d|vr4ddg}|d|vr4td|||dt |dt |dt |dt |dt |dt d}d d t|D}d!d!|d"t d#}d$d t|D}|j j |d%|j d&}|r"t|t js|j |||j|j|j j||| ||d'|d(|||d) S|j j||| ||d'|d(|||d) Sd S)*a~ Returns a list of detector rules for the DetectorRecipe resource identified by detectorId. :param str detector_id: (required) Detector name. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param str display_name: (optional) A filter to return only resources that match the entire display name given. :param int limit: (optional) The maximum number of items to return :param str lifecycle_state: (optional) The field lifecycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. Allowed values are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED" :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. Allowed values are: "timeCreated", "displayName" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.DetectorRuleCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_detector_rules API. rrz%/detectors/{detectorId}/detectorRulesrlist_detector_ruleszYhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/DetectorRule/ListDetectorRules) rrrcr9rXr:r=r>r.csg|]}|vr|qSr%r%r/r1r%r&r2"r3z8CloudGuardClient.list_detector_rules..z(list_detector_rules got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9"r3z8CloudGuardClient.list_detector_rules..Nrr:r;rXrYr]r=rErFrGr>rHrIrJrcr9r:)rrIr9r_r:rMrNcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9"r3r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9"r3rrDZDetectorRuleCollectionrrrh)r#rrr$rOrGrHrMrNr`rIr7r8rarQrRrrJrr%r1r&rte"s9 $              z$CloudGuardClient.list_detector_rulesc sdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrgd } |d | vrrtd | d |vrddg} |d | vrtd| d|vrddg} |d| vrtd| ||dt|d t|dt|d t|dtd} ddt| D} dd|dtd} ddt| D} |jj|d|jd}|rt |t j s|j | | |j|j|jj||| | d |d!|||d" S|jj||| | d |d!|||d" Sd#S)$a Returns a detector catalog (DetectorCollection resource) with a list of DetectorSummary resources. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param int limit: (optional) The maximum number of items to return :param str lifecycle_state: (optional) The field lifecycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. Allowed values are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED" :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. Allowed values are: "timeCreated", "displayName" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.DetectorCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_detectors API. rz /detectorsrlist_detectorszQhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/Detector/ListDetectors)rrr9rXr:r=r>r.csg|]}|vr|qSr%r%r/r1r%r&r2L#r3z3CloudGuardClient.list_detectors..z#list_detectors got unknown kwargs: rXrYr]r=rErFrGr>rHrIrJr9r:)rr9r_r:rMrNcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9n#r3z3CloudGuardClient.list_detectors..r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9u#r3rrDZDetectorCollectionrrNrOr`r%r1r&ru#s3             zCloudGuardClient.list_detectorsc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|vrdg} |d| vrtd| |dt |dt |dt |dt d}dd t|D}dd|dt d}dd t|D}|j j |d|j d }|rt|t js|j |||j|j|j j||| ||d!|d"|||d# S|j j||| ||d!|d"|||d# Sd S)$a Returns a list of impacted resources for a problem identified by problemId. :param str problem_id: (required) OCID of the problem. :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. If no value is specified timeCreated is default. Allowed values are: "timeCreated" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ImpactedResourceCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_impacted_resources API. r z'/problems/{problemId}/impactedResourcesrlist_impacted_resourceszhhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ImpactedResourceSummary/ListImpactedResourcesrTcsg|]}|vr|qSr%r%r/r1r%r&r2#r3z.z,list_impacted_resources got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9#r3z.Nrr:r;r=rErFrGr>rHrJr9r:r9r:rMrNcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9#r3r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9#r3rrDZImpactedResourceCollectionrrrhr#rr$rOrGrHrMrNr`rIr7r8rQrRrrJrr%r1r&rv#s. $          z(CloudGuardClient.list_impacted_resourcesc sdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrgd } |d | vrrtd | d |vrddg} |d | vrtd| d|vrddg} |d| vrtd| ||d t|dt|dt|d t|dtd} ddt| D} dd|dtd} ddt| D} |jj|d|jd}|rt |t j s|j | | |j|j|jj||| | d |d!|||d" S|jj||| | d |d!|||d" Sd#S)$a Returns all managed list types (listType parameter) that Cloud Guard supports. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param str lifecycle_state: (optional) The field lifecycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. Allowed values are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED" :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default. Allowed values are: "displayName", "riskLevel" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ManagedListTypeCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_managed_list_types API. rz/managedListTypesrlist_managed_list_typeszfhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ManagedListTypeSummary/ListManagedListTypesrWcsg|]}|vr|qSr%r%r/r1r%r&r2g$r3z.z,list_managed_list_types got unknown kwargs: rXrYr]r=rErFrGr>rIrnrJr9r:r^cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9$r3z.r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9$r3rrDZManagedListTypeCollectionrrNrOr`r%r1r&ry#$s3             z(CloudGuardClient.list_managed_list_typesc sZdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrgd } |d | vrrtd | d |vrgd} |d | vrtd| d|vrddg} |d| vrtd| d|vrddg} |d| vrtd| d|vrddg} |d| vrtd| ||dt|dt|d t|d t|dt|dt|d t|dt|dt|dtd! }d"d#t|D}d$d$|d%td&}d'd#t|D}|jj|d(|jd)}|r2t |t j s |j || |j|j|jj||||d*|d+|||d, S|jj||||d*|d+|||d, Sd-S).ah Returns a list of all ManagedList resources in a compartment, identified by compartmentId. The ListManagedLists operation returns only the managed lists in `compartmentId` passed. The list does not include any subcompartments of the compartmentId passed. The parameter `accessLevel` specifies whether to return ManagedLists in only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform ListManagedLists on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param str display_name: (optional) A filter to return only resources that match the entire display name given. :param bool resource_metadata_only: (optional) Default is false. When set to true, the list of all Oracle-managed resources metadata supported by Cloud Guard is returned. :param str lifecycle_state: (optional) The field lifecycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. Allowed values are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED" :param str list_type: (optional) The type of managed list. Allowed values are: "CIDR_BLOCK", "USERS", "GROUPS", "IPV4ADDRESS", "IPV6ADDRESS", "RESOURCE_OCID", "REGION", "COUNTRY", "STATE", "CITY", "TAGS", "GENERIC", "FUSION_APPS_ROLE", "FUSION_APPS_PERMISSION" :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param bool compartment_id_in_subtree: (optional) Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the setting of `accessLevel`. :param str access_level: (optional) Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`. Setting this to `ACCESSIBLE` returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to `RESTRICTED` permissions are checked and no partial results are displayed. Allowed values are: "RESTRICTED", "ACCESSIBLE" :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. Allowed values are: "timeCreated", "displayName" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ManagedListCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_managed_lists API. rrrlist_managed_listszWhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ManagedList/ListManagedLists) rrrcrqrX list_typer9r:r;r<r=r>r.csg|]}|vr|qSr%r%r/r1r%r&r2$%r3z7CloudGuardClient.list_managed_lists..z'list_managed_lists got unknown kwargs: rXrYr]r{)Z CIDR_BLOCKZUSERSZGROUPSZ IPV4ADDRESSZ IPV6ADDRESSZ RESOURCE_OCIDREGIONZCOUNTRYZSTATEZCITYZTAGSZGENERICZFUSION_APPS_ROLEZFUSION_APPS_PERMISSIONz.Invalid value for `list_type`, must be one of r<rBrCrDr=rErFrGr>rHrIrJrcrqr9r:r;) rrIrrr_ZlistTyper9r:rKrLrMrNcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9Y%r3z7CloudGuardClient.list_managed_lists..r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9`%r3rrDZManagedListCollectionrrNrO)r#rr$rOrGrHrMrNr`raZlist_type_allowed_valuesrPrQrRrrJrr%r1r&rz$s\                    z#CloudGuardClient.list_managed_listsc sdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrd d g} |d | vrrtd | d|vrddg} |d| vrtd| ||dt|dt|d t|dtd} ddt| D} dd|dtd} ddt| D} |jj|d|jd} | rtt | t j sL|j | | |j| j|jj||| | d|d|||d S|jj||| | d|d|||d Sd S)!aw Returns the list of global policy statements (policy attributes) needed to fully enable Cloud Guard. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param str opc_request_id: (optional) The client request ID for tracing. :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. Allowed values are: "timeCreated", "displayName" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.PolicyCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_policies API. rz /policiesr list_policieszUhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/PolicySummary/ListPolicies)rrr.r9r:r=r>csg|]}|vr|qSr%r%r/r1r%r&r2%r3z2CloudGuardClient.list_policies..z"list_policies got unknown kwargs: r=rErFrGr>rHrIrJr9r:rUcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9%r3z2CloudGuardClient.list_policies..r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9%r3rrDZPolicyCollectionrrNrOr#rr$rOrGrHrMrNr`rQrRrrJrr%r1r&r}%s.           zCloudGuardClient.list_policiesc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|vrdg} |d| vrtd| |dt |dt |dt |dt d}dd t|D}dd|dt d}dd t|D}|j j |d|j d }|rt|t js|j |||j|j|j j||| ||d!|d"|||d# S|j j||| ||d!|d"|||d# Sd S)$a Returns a list of endpoints associated with a problem, identified by problemId. :param str problem_id: (required) OCID of the problem. :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. If no value is specified timeCreated is default. Allowed values are: "timeCreated" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ProblemEndpointCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_problem_endpoints API. r z/problems/{problemId}/endpointsrlist_problem_endpointszfhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ProblemEndpointSummary/ListProblemEndpointsrTcsg|]}|vr|qSr%r%r/r1r%r&r2A&r3z;CloudGuardClient.list_problem_endpoints..z+list_problem_endpoints got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9J&r3z;CloudGuardClient.list_problem_endpoints..Nrr:r;r=rErFrGr>rHrJr9r:rwcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9d&r3r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9k&r3rrDZProblemEndpointCollectionrrrhrxr%r1r&r&s. $          z'CloudGuardClient.list_problem_endpointsc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|vrdg} |d| vrtd| |dt |dt |dt |dt d}dd t|D}dd|dt d}dd t|D}|j j |d|j d }|rt|t js|j |||j|j|j j||| ||d!|d"|||d# S|j j||| ||d!|d"|||d# Sd S)$a Returns a list of entities for a problem. :param str problem_id: (required) OCID of the problem. :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param int limit: (optional) The maximum number of items to return :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. If no value is specified timeCreated is default. Allowed values are: "timeCreated" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ProblemEntityCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_problem_entities API. r z/problems/{problemId}/entitiesrlist_problem_entitieszVhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/Problem/ListProblemEntities)rrr:r9r=r>r.csg|]}|vr|qSr%r%r/r1r%r&r2&r3z:CloudGuardClient.list_problem_entities..z*list_problem_entities got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9&r3z:CloudGuardClient.list_problem_entities..Nrr:r;r=rErFrGr>rHrJr:r9)r:r9rMrNcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9&r3r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9&r3rrDZProblemEntityCollectionrrrhrxr%r1r&r&s. $          z&CloudGuardClient.list_problem_entitiesc sddg}d}d}d}d}gdfdd t|D} | rJtd | d|i} d d t| D} t| D]<\} } | d ust| tjrpt| dkrptd| dqpd|vrddg} |d| vrtd| d|vrdg}|d|vrtd|||dt |dt |dt |dt d}dd t|D}dd|dt d}dd t|D}|j j |d |j d!}|rt|t js|j |||j|j|j j||| ||d"|d#|||d$ S|j j||| ||d"|d#|||d$ Sd S)%ak Returns a list of actions taken on a problem. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param str problem_id: (required) OCID of the problem. :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. If no value is specified timeCreated is default. Allowed values are: "timeCreated" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ProblemHistoryCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_problem_histories API. r rz/problems/{problemId}/historiesrlist_problem_historieszWhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/Problem/ListProblemHistoriesrTcsg|]}|vr|qSr%r%r/r1r%r&r2\'r3z;CloudGuardClient.list_problem_histories..z+list_problem_histories got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9e'r3z;CloudGuardClient.list_problem_histories..Nrr:r;r=rErFrGr>rHrJr9r:rUcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9'r3r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9'r3rrDZProblemHistoryCollectionrrrh)r#rrr$rOrGrHrMrNr`rIr7r8rQrRrrJrr%r1r&r's1 $          z'CloudGuardClient.list_problem_historiesc sJdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrgd } |d | vrrtd | d |vrddg} |d | vrtd| d|vrgd} |d| vrtd| d|vrdg} |d| vrtd| d|vrddg} |d| vrtd| d|vrJddg}|d|vrJtd|d|vrxgd }|d|vrxtd!||d"t|d#t|d$t|d%t|d t|d t|d&t||d't|d(t|d)t|d*t|d+t|d,t|j|d-td.|dt|d/t|dt|d0t|dt|d1t|d2t|d3t|dt|dtd4}d5d6t|D}d7d7|d8td9}d:d6t|D}|jj|d;|j d<}|r"t |t j s|j |||j|j|jj||||d=|d>|||d? S|jj||||d=|d>|||d? Sd@S)Aac Returns a list of all Problems identified by Cloud Guard which are currently in the database and meet the filtering criteria. The ListProblems operation returns only the problems in `compartmentId` passed. The list does not include any subcompartments of the compartmentId passed. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform ListProblems on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param datetime time_last_detected_greater_than_or_equal_to: (optional) Start time for a filter. If start time is not specified, start time will be set to current time - 30 days. :param datetime time_last_detected_less_than_or_equal_to: (optional) End time for a filter. If end time is not specified, end time will be set to current time. :param datetime time_first_detected_greater_than_or_equal_to: (optional) Start time for a filter. If start time is not specified, start time will be set to current time - 30 days. :param datetime time_first_detected_less_than_or_equal_to: (optional) End time for a filter. If end time is not specified, end time will be set to current time. :param str lifecycle_detail: (optional) The field life cycle state. Only one state can be provided. Default value for state is active. Allowed values are: "OPEN", "RESOLVED", "DISMISSED", "DELETED" :param str lifecycle_state: (optional) The field lifecycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. Allowed values are: "ACTIVE", "INACTIVE" :param str region: (optional) OCI monitoring region. :param str risk_level: (optional) Risk level of the problem. :param str resource_type: (optional) Resource type associated with the resource. :param str city: (optional) City of the problem. :param str state: (optional) State or province of the problem. :param str country: (optional) Country of the problem. :param str label: (optional) User-defined label associated with the problem. :param list[str] detector_rule_id_list: (optional) Comma seperated list of detector rule IDs to be passed in to match against Problems. :param str detector_type: (optional) The field to list the problems by detector type. Allowed values are: "IAAS_ACTIVITY_DETECTOR", "IAAS_CONFIGURATION_DETECTOR", "IAAS_THREAT_DETECTOR", "IAAS_LOG_INSIGHT_DETECTOR", "IAAS_INSTANCE_SECURITY_DETECTOR" :param str target_id: (optional) The ID of the target in which to list resources. :param str problem_category: (optional) Setting this to `SECURITY_ZONE` returns only security zone-related violations. Allowed values are: "SECURITY_ZONE" :param bool compartment_id_in_subtree: (optional) Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the setting of `accessLevel`. :param str access_level: (optional) Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`. Setting this to `ACCESSIBLE` returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to `RESTRICTED` permissions are checked and no partial results are displayed. Allowed values are: "RESTRICTED", "ACCESSIBLE" :param str resource_id: (optional) The ID of the resource associated with the problem. :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for riskLevel, timeLastDetected and resourceName is descending. Default order for riskLevel and resourceName is ascending. If no value is specified timeLastDetected is default. Allowed values are: "riskLevel", "timeLastDetected", "resourceName" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ProblemCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_problems API. rz /problemsr list_problemszOhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/Problem/ListProblems)rr+time_last_detected_greater_than_or_equal_to(time_last_detected_less_than_or_equal_to,time_first_detected_greater_than_or_equal_to)time_first_detected_less_than_or_equal_tolifecycle_detailrXrh risk_levelrcitystatecountrylabeldetector_rule_id_list detector_typerproblem_categoryr;r<rr9r:r=r>r.csg|]}|vr|qSr%r%r/r1r%r&r2X(r3z2CloudGuardClient.list_problems..z"list_problems got unknown kwargs: r)OPENRESOLVED DISMISSEDr\5Invalid value for `lifecycle_detail`, must be one of rXrZr[r]rZIAAS_ACTIVITY_DETECTORZIAAS_CONFIGURATION_DETECTORZIAAS_THREAT_DETECTORZIAAS_LOG_INSIGHT_DETECTORZIAAS_INSTANCE_SECURITY_DETECTOR2Invalid value for `detector_type`, must be one of rZ SECURITY_ZONEz5Invalid value for `problem_category`, must be one of r<rBrCrDr=rErFrGr>)rntimeLastDetected resourceNamerJrrrrrhrrrrrrrmultirr;rr9r:)$timeLastDetectedGreaterThanOrEqualTo!timeLastDetectedLessThanOrEqualTo%timeFirstDetectedGreaterThanOrEqualTo"timeFirstDetectedLessThanOrEqualTolifecycleDetailr_rhrrnrrrrrdetectorRuleIdList detectorTyperZproblemCategoryrKrLrr9r:rMrNcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9(r3z2CloudGuardClient.list_problems..r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9(r3rrDZProblemCollectionrrNrrQrRr!r5r" generate_collection_format_paramrSrXrrTrrYr[r\r r]r^)r#rr$rOrGrHrMrNr`lifecycle_detail_allowed_valuesradetector_type_allowed_valuesZproblem_category_allowed_valuesrPrQrRrrJrr%r1r&r's                                   zCloudGuardClient.list_problemsc sPdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrd d g} |d | vrrtd | d|vrddg} |d| vrtd| d|vrddg} |d| vrtd| d|vrgd} |d| vrtd| d|vrgd} |d| vrtd| ||d t|dt|dt|dt|dt|dt|dt|dt|dtd }d!d"t|D}d#d#|d$td%}d&d"t|D}|jj|d'|jd(}|r(t |t j s|j || |j|j|jj||||d)|d*|||d+ S|jj||||d)|d*|||d+ Sd,S)-aO Returns a list of recommendations (RecommendationSummaryCollection resource with a page of RecommendationSummary resources) for a specified compartment OCID. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for riskLevel and timeCreated is descending. If no value is specified riskLevel is default. Allowed values are: "riskLevel", "timeCreated" :param str target_id: (optional) The ID of the target in which to list resources. :param bool compartment_id_in_subtree: (optional) Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the setting of `accessLevel`. :param str access_level: (optional) Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`. Setting this to `ACCESSIBLE` returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to `RESTRICTED` permissions are checked and no partial results are displayed. Allowed values are: "RESTRICTED", "ACCESSIBLE" :param str lifecycle_state: (optional) The field lifecycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. Allowed values are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED" :param str lifecycle_detail: (optional) The field lifecycle state. Only one state can be provided. Default value for state is active. Allowed values are: "OPEN", "RESOLVED", "DISMISSED" :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.RecommendationSummaryCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_recommendations API. rz/recommendationsrlist_recommendationszdhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/RecommendationSummary/ListRecommendations) rrr=r>rr;r<rXrr9r:r.csg|]}|vr|qSr%r%r/r1r%r&r22)r3z9CloudGuardClient.list_recommendations..z)list_recommendations got unknown kwargs: r=rErFrGr>rnrHrJr<rBrCrDrXrYr]r)rrrrrr;r9r:) rrMrNrrKrLr_rr9r:cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9f)r3z9CloudGuardClient.list_recommendations..r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9m)r3rrDZRecommendationSummaryCollectionrrNrO)r#rr$rOrGrHrMrNr`rQrRrPrarrrJrr%r1r&r(sK                   z%CloudGuardClient.list_recommendationsc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|vrddg} |d| vrtd| |dt |dt |dt |dt |dt d}dd t|D}dd|dt d}d d t|D}|j j |d!|j d"}|rt|t js|j |||j|j|j j||| ||d#|d$|||d% S|j j||| ||d#|d$|||d% Sd S)&a Returns the list of open ports associated with the resourceId where resource is an instance :param str resource_id: (required) CloudGuard resource OCID :param str open_port: (optional) open port associated with the resource. :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. Allowed values are: "timeCreated", "displayName" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ResourcePortCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_resource_ports API. rz/resources/{resourceId}/portsrlist_resource_portszchttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResourcePortCollection/ListResourcePorts)rr open_portr9r:r=r>r.csg|]}|vr|qSr%r%r/r1r%r&r2)r3z8CloudGuardClient.list_resource_ports..z(list_resource_ports got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9)r3z8CloudGuardClient.list_resource_ports..Nrr:r;r=rErFrGr>rHrIrJrr9r:)ZopenPortr9r:rMrNcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9)r3r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9)r3rrDZResourcePortCollectionrrrhr#rr$rOrGrHrMrNr`rIr7r8rQrRrrJrr%r1r&r)s1 $           z$CloudGuardClient.list_resource_portsc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|vrdg} |d| vrtd| |dt |dt |dt |dt d}dd t|D}dd|dt d}dd t|D}|j j |d|j d }|rt|t js|j |||j|j|j j||| ||d!|d"|||d# S|j j||| ||d!|d"|||d# Sd S)$a Returns a list of endpoints (ResourceProfileEndpointCollection resource with a page of ResourceProfileEndpointSummary resources) for a resource profile identified by resourceProfileId. :param str resource_profile_id: (required) OCID of the resource profile. :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. If no value is specified timeCreated is default. Allowed values are: "timeCreated" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ResourceProfileEndpointCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_resource_profile_endpoints API. rz//resourceProfiles/{resourceProfileId}/endpointsrlist_resource_profile_endpointszvhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResourceProfileEndpointSummary/ListResourceProfileEndpointsrTcsg|]}|vr|qSr%r%r/r1r%r&r2_*r3zDCloudGuardClient.list_resource_profile_endpoints..z4list_resource_profile_endpoints got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9h*r3zDCloudGuardClient.list_resource_profile_endpoints..Nrr:r;r=rErFrGr>rHrJr9r:rwcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9*r3r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9*r3rrDZ!ResourceProfileEndpointCollectionrrrhr#rr$rOrGrHrMrNr`rIr7r8rQrRrrJrr%r1r&r *s/ $          z0CloudGuardClient.list_resource_profile_endpointsc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|vrdg} |d| vrtd| |dt |dt |dt |dt d}dd t|D}dd|dt d}dd t|D}|j j |d|j d }|rt|t js|j |||j|j|j j||| ||d!|d"|||d# S|j j||| ||d!|d"|||d# Sd S)$a Returns a list of impacted resources (ResourceProfileImpactedResourceCollection resource with a page of ResourceProfileImpactedResourceSummary resources) for a resource profile identified by resourceProfileId. :param str resource_profile_id: (required) OCID of the resource profile. :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. If no value is specified timeCreated is default. Allowed values are: "timeCreated" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ResourceProfileImpactedResourceCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_resource_profile_impacted_resources API. rz7/resourceProfiles/{resourceProfileId}/impactedResourcesr(list_resource_profile_impacted_resourceszhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResourceProfileImpactedResourceSummary/ListResourceProfileImpactedResourcesrTcsg|]}|vr|qSr%r%r/r1r%r&r2*r3zMCloudGuardClient.list_resource_profile_impacted_resources..z=list_resource_profile_impacted_resources got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9*r3zMCloudGuardClient.list_resource_profile_impacted_resources..Nrr:r;r=rErFrGr>rHrJr9r:rwcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9+r3r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9+r3rrDZ)ResourceProfileImpactedResourceCollectionrrrhrr%r1r&r*s0 $          z9CloudGuardClient.list_resource_profile_impacted_resourcesc sRdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrd d g} |d | vrrtd | d|vrddg} |d| vrtd| d|vrgd} |d| vrtd| ||dt|dt|dt|dt|dt|d t|j|dtd|dt|dt|j|dtd|j|dtd|d t|d!t|dt|dtd"} d#d$t| D} d%d%|d&td'} d(d$t| D} |jj|d)|j d*}|r*t |t j s|j | ||j|j|jj||| | d+|d,|||d- S|jj||| | d+|d,|||d- Sd.S)/a Returns a list of all resource profile summaries (ResourceProfileCollection resource with a page of ResourceProfileSummary resources) for a compartment, identified by compartmentId and filtered as specified. The ListResourceProfiles operation returns only the resource profiles in `compartmentId` passed. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform ListResourceProfiles on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param datetime time_last_detected_greater_than_or_equal_to: (optional) Start time for a filter. If start time is not specified, start time will be set to current time - 30 days. :param datetime time_last_detected_less_than_or_equal_to: (optional) End time for a filter. If end time is not specified, end time will be set to current time. :param datetime time_first_detected_greater_than_or_equal_to: (optional) Start time for a filter. If start time is not specified, start time will be set to current time - 30 days. :param datetime time_first_detected_less_than_or_equal_to: (optional) End time for a filter. If end time is not specified, end time will be set to current time. :param bool compartment_id_in_subtree: (optional) Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the setting of `accessLevel`. :param str access_level: (optional) Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`. Setting this to `ACCESSIBLE` returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to `RESTRICTED` permissions are checked and no partial results are displayed. Allowed values are: "RESTRICTED", "ACCESSIBLE" :param list[str] resource_types: (optional) A filter to return only resources that match the list of resource types given. :param float risk_score_greater_than_or_equal_to: (optional) Risk score filter. :param float risk_score_less_than_or_equal_to: (optional) Risk score filter, :param list[str] techniques: (optional) A filter to return only resources that match the list of techniques given. :param list[str] tactics: (optional) A filter to return only resources that match the list of tactics given. :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort resource profiles. Only one sort order may be provided. Default order for timeLastDetected is descending. If no value is specified timeLastDetected is default. Allowed values are: "riskScore", "riskScoreGrowth", "timeFirstDetected", "timeLastDetected", "sightingsCount", "displayName", "type" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ResourceProfileCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_resource_profiles API. rz/resourceProfilesrlist_resource_profileszfhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResourceProfileSummary/ListResourceProfiles)rrrrrrr;r<resource_types#risk_score_greater_than_or_equal_to risk_score_less_than_or_equal_to techniquestacticsr9r:r=r>r.csg|]}|vr|qSr%r%r/r1r%r&r2+r3z;CloudGuardClient.list_resource_profiles..z+list_resource_profiles got unknown kwargs: r<rBrCrDr=rErFrGr>) riskScoreriskScoreGrowthtimeFirstDetectedrZsightingsCountrItyperJrrrrr;rrrrrrr9r:)rrrrrrKrLZ resourceTypesZriskScoreGreaterThanOrEqualToZriskScoreLessThanOrEqualTorrr9r:rMrNcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9+r3z;CloudGuardClient.list_resource_profiles..r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9+r3rrDZResourceProfileCollectionrrNrr#rr$rOrGrHrMrNr`rPrQrRrrJrr%r1r&r;+se                   z'CloudGuardClient.list_resource_profilesc sdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrgd } |d | vrrtd | d |vrgd} |d | vrtd| d|vrddg} |d| vrtd| d|vrddg} |d| vrtd| ||d t|d t|dt|dt|dt|dtd} ddt| D} dd|dtd}d dt|D}|jj|d!|jd"}|rt |t j s|j || |j|j|jj||| |d#|d$|||d% S|jj||| |d#|d$|||d% Sd&S)'a Returns a single ResourceTypeCollection resource, containing a list of resource types, identified by parameters specified. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param str detector_id: (optional) Detector type. Allowed values are: "IAAS_ACTIVITY_DETECTOR", "IAAS_CONFIGURATION_DETECTOR", "IAAS_THREAT_DETECTOR", "IAAS_LOG_INSIGHT_DETECTOR", "IAAS_INSTANCE_SECURITY_DETECTOR" :param str lifecycle_state: (optional) The field lifecycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. Allowed values are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED" :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default. Allowed values are: "displayName", "riskLevel" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ResourceTypeCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_resource_types API. rz/resourceTypesrlist_resource_typesz`https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResourceTypeSummary/ListResourceTypes) rrrrXr9r:r=r>r.csg|]}|vr|qSr%r%r/r1r%r&r2[,r3z8CloudGuardClient.list_resource_types..z(list_resource_types got unknown kwargs: rrz0Invalid value for `detector_id`, must be one of rXrYr]r=rErFrGr>rIrnrJr9r:)rrr_r9r:rMrNcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9,r3z8CloudGuardClient.list_resource_types..r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9,r3rrDZResourceTypeCollectionrrNrO)r#rr$rOrGrHrMrNr`Zdetector_id_allowed_valuesrarQrRrrJrr%r1r&r,s9                z$CloudGuardClient.list_resource_typesc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|vrddg} |d| vrtd| |dt |dt |dt |dt |dt |dt d}dd t|D}dd|dt d }d!d t|D}|j j |d"|j d#}|rt|t js|j |||j|j|j j||| ||d$|d%|||d& S|j j||| ||d$|d%|||d& Sd S)'a* Returns the list of vulnerabilities associated with the resourceId where resource is an instance :param str resource_id: (required) CloudGuard resource OCID :param str cve_id: (optional) CVE ID associated with the resource. :param str risk_level: (optional) Risk level of the problem. :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. Allowed values are: "timeCreated", "displayName" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ResourceVulnerabilityCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_resource_vulnerabilities API. rz'/resources/{resourceId}/vulnerabilitiesrlist_resource_vulnerabilitieszvhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResourceVulnerabilityCollection/ListResourceVulnerabilities) rrcve_idrr9r:r=r>r.csg|]}|vr|qSr%r%r/r1r%r&r2,r3zBCloudGuardClient.list_resource_vulnerabilities..z2list_resource_vulnerabilities got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9,r3zBCloudGuardClient.list_resource_vulnerabilities..Nrr:r;r=rErFrGr>rHrIrJrrr9r:)cveIdrnr9r:rMrNcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9-r3r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9 -r3rrDZResourceVulnerabilityCollectionrrrhrr%r1r&r,s4 $            z.CloudGuardClient.list_resource_vulnerabilitiesc s|dg}d}d}d}d}gdfddt|D}|rHtd |d |vrrgd } |d | vrrtd | d |vrddg} |d | vrtd| d|vrddg} |d| vrtd| d|vrddg} |d| vrtd| ||dt|dt|dt|dt|dt|dt|dt|d t|d!t|j|d"td#|d t|d$t|d%t|d&t|d t|dt|dtd'} d(d)t| D} d*d*|d+td,}d-d)t|D}|jj|d.|j d/}|rTt |t j s,|j |||j|j|jj||| |d0|d1|||d2 S|jj||| |d0|d1|||d2 Sd3S)4a Returns a list of all resources in a compartment The ListResources operation returns only the resources in `compartmentId` passed. The list does not include any subcompartments of the compartmentId passed. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform ListResources on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param str target_id: (optional) The ID of the target in which to list resources. :param str region: (optional) OCI monitoring region. :param int cvss_score: (optional) Cvss score associated with the resource. :param int cvss_score_greater_than: (optional) Cvss score greater than associated with the resource. :param int cvss_score_less_than: (optional) Cvss score less than associated with the resource. :param str cve_id: (optional) CVE ID associated with the resource. :param str risk_level: (optional) Risk level of the problem. :param str risk_level_greater_than: (optional) To filter risk level greater than the one mentioned in query param :param str risk_level_less_than: (optional) To filter risk level less than the one mentioned in query param :param list[str] detector_rule_id_list: (optional) Comma seperated list of detector rule IDs to be passed in to match against Problems. :param str detector_type: (optional) The field to list the problems by detector type. Allowed values are: "IAAS_ACTIVITY_DETECTOR", "IAAS_CONFIGURATION_DETECTOR", "IAAS_THREAT_DETECTOR", "IAAS_LOG_INSIGHT_DETECTOR", "IAAS_INSTANCE_SECURITY_DETECTOR" :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param bool compartment_id_in_subtree: (optional) Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the setting of `accessLevel`. :param str access_level: (optional) Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`. Setting this to `ACCESSIBLE` returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to `RESTRICTED` permissions are checked and no partial results are displayed. Allowed values are: "RESTRICTED", "ACCESSIBLE" :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. Allowed values are: "timeCreated", "displayName" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ResourceCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_resources API. rz /resourcesrlist_resourceszQhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/Resource/ListResources)rrrrh cvss_scorecvss_score_greater_thancvss_score_less_thanrrrisk_level_greater_thanrisk_level_less_thanrrr9r:r;r<r=r>r.csg|]}|vr|qSr%r%r/r1r%r&r2-r3z3CloudGuardClient.list_resources..z#list_resources got unknown kwargs: rrrr<rBrCrDr=rErFrGr>rHrIrJrrhrrrrrrrrrr9r:r;)rrrhZ cvssScoreZcvssScoreGreaterThanZcvssScoreLessThanrrnZriskLevelGreaterThanZriskLevelLessThanrrr9r:rKrLrMrNcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9.r3z3CloudGuardClient.list_resources..r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9 .r3rrDZResourceCollectionrrNr)r#rr$rOrGrHrMrNr`rrPrQrRrrJrr%r1r&rD-sn                        zCloudGuardClient.list_resourcesc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|vrddg} |d| vrtd| |dt |dt |dt |dt d}dd t|D}dd|dt d}dd t|D}|j j |d |j d!}|rt|t js|j |||j|j|j j||| ||d"|d#|||d$ S|j j||| ||d"|d#|||d$ Sd S)%a Returns a list of responder activities for a problem, identified by problemId, in a ResponderActivityCollection resource, with a page of ResponderActivitySummary resources. :param str problem_id: (required) OCID of the problem. :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for responderRuleName is ascending. If no value is specified timeCreated is default. Allowed values are: "timeCreated", "responderRuleName" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ResponderActivityCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_responder_activities API. r z)/problems/{problemId}/responderActivitiesrlist_responder_activitieszkhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResponderActivitySummary/ListResponderActivitiesrTcsg|]}|vr|qSr%r%r/r1r%r&r2l.r3z>CloudGuardClient.list_responder_activities..z.list_responder_activities got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9u.r3z>CloudGuardClient.list_responder_activities..Nrr:r;r=rErFrGr>rHresponderRuleNamerJr9r:rwcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9.r3r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9.r3rrDZResponderActivityCollectionrrrhrxr%r1r&r-.s/ $          z*CloudGuardClient.list_responder_activitiesc sdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrd d g} |d | vrrtd | d|vrddg} |d| vrtd| d|vrgd} |d| vrtd| d|vrgd} |d| vrtd| d|vrddg} |d| vrtd| d|vrLgd}|d|vrLtd|||dt|d t|j|d td!|d"t|d#t|d$t|d%t|d&t|d't|dt|dt|dt|d(t|d)t|dt|dtd*}d+d,t|D}d-d-|d.td/}d0d,t|D}|jj|d1|j d2}|rt |t j s~|j |||j|j|jj||||d3|d4|||d5 S|jj||||d3|d4|||d5 Sd6S)7a" Returns a list of responder executions. A responder execution is an entity that tracks the collective execution of multiple responder rule executions for a given problem. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param bool compartment_id_in_subtree: (optional) Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the setting of `accessLevel`. :param str access_level: (optional) Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`. Setting this to `ACCESSIBLE` returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to `RESTRICTED` permissions are checked and no partial results are displayed. Allowed values are: "RESTRICTED", "ACCESSIBLE" :param list[str] responder_rule_ids: (optional) Responder rule unique identifier filter for the responder executions. :param datetime time_created_greater_than_or_equal_to: (optional) Creation start time for filtering :param datetime time_created_less_than_or_equal_to: (optional) Creation end time for filtering. :param datetime time_completed_greater_than_or_equal_to: (optional) Completion end time. :param datetime time_completed_less_than_or_equal_to: (optional) Completion start time. :param str target_id: (optional) The ID of the target in which to list resources. :param str resource_type: (optional) Resource type associated with the resource. :param str responder_type: (optional) The field to list the responder executions by responder type. Valid values are REMEDIATION and NOTIFICATION. Allowed values are: "REMEDIATION", "NOTIFICATION" :param str responder_execution_status: (optional) The status of the responder execution in which to list responders. Allowed values are: "STARTED", "AWAITING_CONFIRMATION", "AWAITING_INPUT", "SUCCEEDED", "FAILED", "SKIPPED", "ALL" :param str responder_execution_mode: (optional) The mode of the responder execution in which to list responders. Allowed values are: "MANUAL", "AUTOMATED", "ALL" :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for responderRuleName and resourceName is ascending. If no value is specified timeCreated is default. Allowed values are: "timeCreated", "responderRuleName", "resourceName", "timeCompleted" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ResponderExecutionCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_responder_executions API. rz/responderExecutionsrlist_responder_executionszlhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResponderExecutionSummary/ListResponderExecutions)rrr;r<responder_rule_ids%time_created_greater_than_or_equal_to"time_created_less_than_or_equal_to'time_completed_greater_than_or_equal_to$time_completed_less_than_or_equal_torrresponder_typeresponder_execution_statusresponder_execution_moder9r:r=r>r.csg|]}|vr|qSr%r%r/r1r%r&r28/r3z>CloudGuardClient.list_responder_executions..z.list_responder_executions got unknown kwargs: r<rBrCrDr REMEDIATION NOTIFICATIONz3Invalid value for `responder_type`, must be one of r)STARTEDAWAITING_CONFIRMATIONZAWAITING_INPUT SUCCEEDEDrASKIPPEDALLz?Invalid value for `responder_execution_status`, must be one of r)ZMANUALZ AUTOMATEDrz=Invalid value for `responder_execution_mode`, must be one of r=rErFrGr>)rHrrZ timeCompletedrJr;rrrrrrrrr9r:)rrKrLZresponderRuleIdsZtimeCreatedGreaterThanOrEqualToZtimeCreatedLessThanOrEqualTo!timeCompletedGreaterThanOrEqualTotimeCompletedLessThanOrEqualTorrZ responderTypeZresponderExecutionStatusZresponderExecutionModer9r:rMrNcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9z/r3z>CloudGuardClient.list_responder_executions..r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9/r3rrDZResponderExecutionCollectionrrNr)r#rr$rOrGrHrMrNr`rPZresponder_type_allowed_valuesZ)responder_execution_status_allowed_valuesZ'responder_execution_mode_allowed_valuesrQrRrrJrr%r1r&r.sb                         z*CloudGuardClient.list_responder_executionsc sLddg}d}d}d}d}gdfdd t|D} | rJtd | d|i} d d t| D} t| D]<\} } | d ust| tjrpt| dkrptd| dqpd|vrgd} |d| vrtd| d|vrddg}|d|vrtd|d|vr4ddg}|d|vr4td|||dt |dt |dt |dt |dt |dt d}d d t|D}d!d!|d"t d#}d$d t|D}|j j |d%|j d&}|r"t|t js|j |||j|j|j j||| ||d'|d(|||d) S|j j||| ||d'|d(|||d) Sd S)*aB Returns a list of responder rules (ResponderRule resources in a responderRecipeResponderRuleCollection resource, with page of ResponderRuleSummary resources), for a responder recipe (ResponderRecipe resource), identified by responderRecipeId. :param str responder_recipe_id: (required) OCID of the responder recipe. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param str display_name: (optional) A filter to return only resources that match the entire display name given. :param str lifecycle_state: (optional) The field lifecycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. Allowed values are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED" :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default. Allowed values are: "displayName", "riskLevel" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ResponderRecipeResponderRuleCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_responder_recipe_responder_rules API. rwrz4/responderRecipes/{responderRecipeId}/responderRulesr%list_responder_recipe_responder_ruleszyhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResponderRecipeResponderRule/ListResponderRecipeResponderRulesrmcsg|]}|vr|qSr%r%r/r1r%r&r2/r3zJCloudGuardClient.list_responder_recipe_responder_rules..z:list_responder_recipe_responder_rules got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9/r3zJCloudGuardClient.list_responder_recipe_responder_rules..Nrr:r;rXrYr]r=rErFrGr>rIrnrJrcr9r:rocSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r90r3r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9$0r3rrDZ&ResponderRecipeResponderRuleCollectionrrrh)r#ryrr$rOrGrHrMrNr`rIr7r8rarQrRrrJrr%r1r&r/s; $              z6CloudGuardClient.list_responder_recipe_responder_rulesc s"dg}d}d}d}d}gdfddt|D}|rHtd |d |vrrgd } |d | vrrtd | d |vrddg} |d | vrtd| d|vrddg} |d| vrtd| d|vrddg} |d| vrtd| ||dt|dt|d t|dt|dt|dt|d t|dt|dtd } dd t| D} d!d!|d"td#}d$d t|D}|jj|d%|jd&}|rt |t j s|j || |j|j|jj||| |d'|d(|||d) S|jj||| |d'|d(|||d) Sd*S)+a Returns a list (ResponderRecipeCollection resource, with a page of ResponderRecipeSummary resources) of all responder recipes (RespponderRecipe resources) in a compartment, identified by compartmentId. The ListResponderRecipe operation returns only the targets in `compartmentId` passed. The list does not include any subcompartments of the compartmentId passed. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform ListResponderRecipe on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param bool resource_metadata_only: (optional) Default is false. When set to true, the list of all Oracle-managed resources metadata supported by Cloud Guard is returned. :param str display_name: (optional) A filter to return only resources that match the entire display name given. :param str lifecycle_state: (optional) The field lifecycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. Allowed values are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED" :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param bool compartment_id_in_subtree: (optional) Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the setting of `accessLevel`. :param str access_level: (optional) Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`. Setting this to `ACCESSIBLE` returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to `RESTRICTED` permissions are checked and no partial results are displayed. Allowed values are: "RESTRICTED", "ACCESSIBLE" :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. Allowed values are: "timeCreated", "displayName" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ResponderRecipeCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_responder_recipes API. rrrlist_responder_recipesz_https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResponderRecipe/ListResponderRecipes) rrrqrcrXr9r:r;r<r=r>r.csg|]}|vr|qSr%r%r/r1r%r&r20r3z;CloudGuardClient.list_responder_recipes..z+list_responder_recipes got unknown kwargs: rXrYr]r<rBrCrDr=rErFrGr>rHrIrJrqrcr9r:r;) rrrrIr_r9r:rKrLrMrNcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r90r3z;CloudGuardClient.list_responder_recipes..r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r90r3rrDZResponderRecipeCollectionrrNrOrsr%r1r&rH0sX                  z'CloudGuardClient.list_responder_recipesc sdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrgd } |d | vrrtd | d |vrddg} |d | vrtd| d|vrddg} |d| vrtd| ||dt|d t|dt|dt|d t|dtd} ddt| D} dd|dtd} ddt| D} |jj|d|jd }|rt |t j s|j | | |j|j|jj||| | d!|d"|||d# S|jj||| | d!|d"|||d# Sd$S)%a Returns a list of responder rules for the ResponderRecipe resource identified by responderId. The list is contained in a ResponderRuleCollection resource with a page of ResponderRuleSummary resources. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param str display_name: (optional) A filter to return only resources that match the entire display name given. :param str lifecycle_state: (optional) The field lifecycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. Allowed values are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED" :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. Allowed values are: "timeCreated", "displayName" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ResponderRuleCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_responder_rules API. rz/responderRulesrlist_responder_rulesz[https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResponderRule/ListResponderRulesrmcsg|]}|vr|qSr%r%r/r1r%r&r2U1r3z9CloudGuardClient.list_responder_rules..z)list_responder_rules got unknown kwargs: rXrYr]r=rErFrGr>rHrIrJrcr9r:rocSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9x1r3z9CloudGuardClient.list_responder_rules..r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r91r3rrDZResponderRuleCollectionrrNrOr`r%r1r&r 1s8               z%CloudGuardClient.list_responder_rulesc sdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrd d g} |d | vrrtd | d|vrddg} |d| vrtd| d|vrddg} |d| vrtd| ||dt|dt|dt|dt|d t|dt|dtd} ddt| D} dd|dtd} d dt| D} |jj|d!|jd"}|rt |t j s|j | | |j|j|jj||| | d#|d$|||d% S|jj||| | d#|d$|||d% Sd&S)'a Returns a list of saved queries run in a tenancy. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param str display_name: (optional) A filter to return only resources that match the entire display name given. :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param bool compartment_id_in_subtree: (optional) Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the setting of `accessLevel`. :param str access_level: (optional) Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`. Setting this to `ACCESSIBLE` returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to `RESTRICTED` permissions are checked and no partial results are displayed. Allowed values are: "RESTRICTED", "ACCESSIBLE" :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. Allowed values are: "timeCreated", "displayName" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.SavedQueryCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_saved_queries API. rrrlist_saved_querieszVhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SavedQuery/ListSavedQueries) rrrcr9r:r;r<r=r>r.csg|]}|vr|qSr%r%r/r1r%r&r21r3z7CloudGuardClient.list_saved_queries..z'list_saved_queries got unknown kwargs: r<rBrCrDr=rErFrGr>rHrIrJrcr9r:r;)rrIr9r:rKrLrMrNcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r92r3z7CloudGuardClient.list_saved_queries..r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r92r3rrDZSavedQueryCollectionrrNrOrr%r1r&r1s@                z#CloudGuardClient.list_saved_queriesc sdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrgd } |d | vrrtd | d |vrddg} |d | vrtd| d|vrddg} |d| vrtd| ||d t|dt|dt|dt|dt|d t|dtd} ddt| D} dd|dtd} ddt| D} |jj|d |jd!}|rt |t j s|j | | |j|j|jj||| | d"|d#|||d$ S|jj||| | d"|d#|||d$ Sd%S)&a Returns a list of security zone policies (SecurityPolicySummary resources), identified by compartmentId. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param str lifecycle_state: (optional) The field lifecycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. Allowed values are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED" :param str display_name: (optional) A filter to return only resources that match the entire display name given. :param str id: (optional) The unique identifier of the security zone policy. (`SecurityPolicy`) :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. Allowed values are: "timeCreated", "displayName" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.SecurityPolicyCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_security_policies API. rz/securityPoliciesrlist_security_policieszhhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SecurityPolicyCollection/ListSecurityPolicies rrrXrcidr9r:r=r>r.csg|]}|vr|qSr%r%r/r1r%r&r22r3z;CloudGuardClient.list_security_policies..z+list_security_policies got unknown kwargs: rXrYr]r=rErFrGr>rHrIrJrcrr9r:rr_rIrr9r:rMrNcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r92r3z;CloudGuardClient.list_security_policies..r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r92r3rrDZSecurityPolicyCollectionrrNrOr`r%r1r&rA2s:                z'CloudGuardClient.list_security_policiesc sdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrgd } |d | vrrtd | d |vrddg} |d | vrtd| d|vrddg} |d| vrtd| ||d t|dt|dt|dt|dt|d t|dtd} ddt| D} dd|dtd} ddt| D} |jj|d |jd!}|rt |t j s|j | | |j|j|jj||| | d"|d#|||d$ S|jj||| | d"|d#|||d$ Sd%S)&a Returns a list of security zone recipes (SecurityRecipeSummary resources) in a compartment, identified by compartmentId. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param str lifecycle_state: (optional) The field lifecycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. Allowed values are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED" :param str display_name: (optional) A filter to return only resources that match the entire display name given. :param str id: (optional) The unique identifier of the security zone recipe. (`SecurityRecipe`) :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. Allowed values are: "timeCreated", "displayName" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.SecurityRecipeCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_security_recipes API. rrrlist_security_recipeszghttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SecurityRecipeCollection/ListSecurityRecipesrcsg|]}|vr|qSr%r%r/r1r%r&r2(3r3z:CloudGuardClient.list_security_recipes..z*list_security_recipes got unknown kwargs: rXrYr]r=rErFrGr>rHrIrJrcrr9r:rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9L3r3z:CloudGuardClient.list_security_recipes..r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9S3r3rrDZSecurityRecipeCollectionrrNrOr`r%r1r&r2s:                z&CloudGuardClient.list_security_recipesc sdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrgd } |d | vrrtd | d |vrddg} |d | vrtd| d|vrddg} |d| vrtd| ||d t|dt|dt|dt|dt|dt|dt|d t|dtd } ddt| D} dd|dtd } d!dt| D} |jj|d"|jd#}|rt |t j s|j | | |j|j|jj||| | d$|d%|||d& S|jj||| | d$|d%|||d& Sd'S)(a Returns a list of security zones (SecurityZone resources) in a compartment identified by compartmentId. List is contained in a page of SecurityZoneSummary resources. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param str lifecycle_state: (optional) The field lifecycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. Allowed values are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED" :param str display_name: (optional) A filter to return only resources that match the entire display name given. :param str id: (optional) The unique identifier of the security zone (`SecurityZone` resource). :param str security_recipe_id: (optional) The unique identifier of the security zone recipe. (`SecurityRecipe` resource). :param bool is_required_security_zones_in_subtree: (optional) Is security zones in the subtree? :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. Allowed values are: "timeCreated", "displayName" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.SecurityZoneCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_security_zones API. rrrlist_security_zoneszchttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SecurityZoneCollection/ListSecurityZones) rrrXrcrr%is_required_security_zones_in_subtreer9r:r=r>r.csg|]}|vr|qSr%r%r/r1r%r&r23r3z8CloudGuardClient.list_security_zones..z(list_security_zones got unknown kwargs: rXrYr]r=rErFrGr>rHrIrJrcrrrr9r:) rr_rIrr}Z isRequiredSecurityZonesInSubtreer9r:rMrNcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r93r3z8CloudGuardClient.list_security_zones..r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r93r3rrDZSecurityZoneCollectionrrNrOr`r%r1r&ru3s@                 z$CloudGuardClient.list_security_zonesc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|vrdg} |d| vrtd| |dt |dt |dt |dt d}dd t|D}dd|dt d}dd t|D}|j j |d|j d }|rt|t js|j |||j|j|j j||| ||d!|d"|||d# S|j j||| ||d!|d"|||d# Sd S)$a_ Returns sighting endpoints details in a SightingEndpointsCollection resource with a page of SightingEndpointSummary resources. :param str sighting_id: (required) OCID of the sighting. :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. If no value is specified timeCreated is default. Allowed values are: "timeCreated" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.SightingEndpointCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_sighting_endpoints API. r%z!/sightings/{sightingId}/endpointsrlist_sighting_endpointszhhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SightingEndpointSummary/ListSightingEndpointsrTcsg|]}|vr|qSr%r%r/r1r%r&r2Y4r3z.z,list_sighting_endpoints got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9b4r3z.Nrr:r;r=rErFrGr>rHrJr9r:rwcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9|4r3r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r94r3rrDZSightingEndpointCollectionrrrhr#r'r$rOrGrHrMrNr`rIr7r8rQrRrrJrr%r1r&r4s0 $          z(CloudGuardClient.list_sighting_endpointsc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrddg} |d| vrtd| d|vrdg} |d| vrtd| |dt |dt |dt |dt d}dd t|D}dd|dt d}dd t|D}|j j |d|j d }|rt|t js|j |||j|j|j j||| ||d!|d"|||d# S|j j||| ||d!|d"|||d# Sd S)$a Returns a list of impacted resources for a sighting, identified by sightingId, in a SightingImpactedResourceCollection resource with a page of SightingImpactedResourceSummary resources. :param str sighting_id: (required) OCID of the sighting. :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. If no value is specified timeCreated is default. Allowed values are: "timeCreated" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.SightingImpactedResourceCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_sighting_impacted_resources API. r%z)/sightings/{sightingId}/impactedResourcesr list_sighting_impacted_resourceszxhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SightingImpactedResourceSummary/ListSightingImpactedResourcesrTcsg|]}|vr|qSr%r%r/r1r%r&r24r3zECloudGuardClient.list_sighting_impacted_resources..z5list_sighting_impacted_resources got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r94r3zECloudGuardClient.list_sighting_impacted_resources..Nrr:r;r=rErFrGr>rHrJr9r:rwcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9 5r3r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r95r3rrDZ"SightingImpactedResourceCollectionrrrhrr%r1r&r4s/ $          z1CloudGuardClient.list_sighting_impacted_resourcesc sdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrd d g} |d | vrrtd | d|vrddg} |d| vrtd| d|vrdg} |d| vrtd| |dt|dt||dt|d t|dt|dt|dt|dt|dt|dtd } ddt| D} dd|d td!} d"dt| D} |jj|d#|jd$}|rt |t j s|j | | |j|j|jj||| | d%|d&|||d' S|jj||| | d%|d&|||d' Sd(S))a For the parameters passed, returns a list of sightings (SightingCollection resource) with a page of SightingSummary resources. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform ListSightings on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param str problem_id: (optional) OCID of the problem. :param str resource_profile_id: (optional) OCID of the resource profile. :param bool compartment_id_in_subtree: (optional) Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the setting of `accessLevel`. :param str access_level: (optional) Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`. Setting this to `ACCESSIBLE` returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to `RESTRICTED` permissions are checked and no partial results are displayed. Allowed values are: "RESTRICTED", "ACCESSIBLE" :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. If no value is specified timeCreated is default. Allowed values are: "timeCreated" :param datetime time_last_detected_greater_than_or_equal_to: (optional) Start time for a filter. If start time is not specified, start time will be set to current time - 30 days. :param datetime time_last_detected_less_than_or_equal_to: (optional) End time for a filter. If end time is not specified, end time will be set to current time. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.SightingCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_sightings API. rz /sightingsrlist_sightingszXhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SightingSummary/ListSightings) rrrrr;r<r9r:r=r>rrr.csg|]}|vr|qSr%r%r/r1r%r&r25r3z3CloudGuardClient.list_sightings..z#list_sightings got unknown kwargs: r<rBrCrDr=rErFrGr>rHrJrrr;r9r:rr) r rrrKrLr9r:rMrNrrcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r95r3z3CloudGuardClient.list_sightings..r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r95r3rrDZSightingCollectionrrNrOrr%r1r&r45sU                  zCloudGuardClient.list_sightingsc sdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrgd } |d | vrrtd | d |vrddg} |d | vrtd| d|vrdg} |d| vrtd| ||d t|dt|dt|d t|dtd} ddt| D} dd|dtd} ddt| D} |jj|d|jd}|rt |t j s~|j | | |j|j|jj||| | d|d |||d! S|jj||| | d|d |||d! Sd"S)#aa Returns a list of TacticSummary resources for a compartment, identified by compartmentId. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param str lifecycle_state: (optional) The field lifecycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. Allowed values are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED" :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default. Allowed values are: "displayName" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.TacticCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_tactics API. rz/tacticsr list_tacticszThttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/TacticSummary/ListTacticsrWcsg|]}|vr|qSr%r%r/r1r%r&r236r3z1CloudGuardClient.list_tactics..z!list_tactics got unknown kwargs: rXrYr]r=rErFrGr>rIrJr9r:r^cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9U6r3z1CloudGuardClient.list_tactics..r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9\6r3rrDZTacticCollectionrrNrOr`r%r1r&r5s3             zCloudGuardClient.list_tacticsc sNgd}d}d}d}d} gdfddt|D} | rJtd | ||d } d d t| D} t| D]<\} } | d ust| tjrrt| dkrrtd| dqrd|vrgd}|d|vrtd|d|vrddg}|d|vrtd|d|vr6ddg}|d|vr6td|||dt |dt |dt |dt |dt |dt d}d d t|D}d!d!|d"t d#}d$d t|D}|j j |d%|j d&}|r$t|t js|j |||j|j|j j||| ||d'|d(|| |d) S|j j||| ||d'|d(|| |d) Sd S)*a Returns a list of DetectorRule associated with DetectorRecipe within a Target. :param str target_id: (required) OCID of the target :param str target_detector_recipe_id: (required) OCID of the target detector recipe. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param str display_name: (optional) A filter to return only resources that match the entire display name given. :param str lifecycle_state: (optional) The field lifecycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. Allowed values are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED" :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default. Allowed values are: "displayName", "riskLevel" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.TargetDetectorRecipeDetectorRuleCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_target_detector_recipe_detector_rules API. )rrrzP/targets/{targetId}/targetDetectorRecipes/{targetDetectorRecipeId}/detectorRulesr*list_target_detector_recipe_detector_ruleszhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/TargetDetectorRecipeDetectorRule/ListTargetDetectorRecipeDetectorRulesrmcsg|]}|vr|qSr%r%r/r1r%r&r26r3zOCloudGuardClient.list_target_detector_recipe_detector_rules..z?list_target_detector_recipe_detector_rules got unknown kwargs: rcSsi|]\}}|tur||qSr%r4r6r%r%r&r96r3zOCloudGuardClient.list_target_detector_recipe_detector_rules..Nrr:r;rXrYr]r=rErFrGr>rIrnrJrcr9r:rocSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r96r3r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r97r3rrDZ*TargetDetectorRecipeDetectorRuleCollectionrrrh)r#rrrr$rOrGrHrMrNr`rIr7r8rarQrRrrJrr%r1r&r~6s< $              z;CloudGuardClient.list_target_detector_recipe_detector_rulesc sLddg}d}d}d}d}gdfdd t|D} | rJtd | d|i} d d t| D} t| D]<\} } | d ust| tjrpt| dkrptd| dqpd|vrgd} |d| vrtd| d|vrddg}|d|vrtd|d|vr4ddg}|d|vr4td||dt ||dt |dt |dt |dt |dt d}d d t|D}d!d!|d"t d#}d$d t|D}|j j |d%|j d&}|r"t|t js|j |||j|j|j j||| ||d'|d(|||d) S|j j||| ||d'|d(|||d) Sd S)*aY Returns a list of all target detector recipes (TargetDetectorRecipe resources) associated with a target (Target resource), identified by targetId. The list is contained in a TargetDetectorRecipeCollection resource with page of TargetDetectorRecipeSummary resources. :param str target_id: (required) OCID of the target :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param str display_name: (optional) A filter to return only resources that match the entire display name given. :param str lifecycle_state: (optional) The field lifecycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. Allowed values are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED" :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. Allowed values are: "timeCreated", "displayName" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.TargetDetectorRecipeCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_target_detector_recipes API. rrrrlist_target_detector_recipeszihttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/TargetDetectorRecipe/ListTargetDetectorRecipesrmcsg|]}|vr|qSr%r%r/r1r%r&r2r7r3zACloudGuardClient.list_target_detector_recipes..z1list_target_detector_recipes got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9{7r3zACloudGuardClient.list_target_detector_recipes..Nrr:r;rXrYr]r=rErFrGr>rHrIrJrcr9r:rIrr_r9r:rMrNcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r97r3r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r97r3rrDZTargetDetectorRecipeCollectionrrrhr#rrr$rOrGrHrMrNr`rIr7r8rarQrRrrJrr%r1r&r%7s; $              z-CloudGuardClient.list_target_detector_recipesc sNgd}d}d}d}d} gdfddt|D} | rJtd | ||d } d d t| D} t| D]<\} } | d ust| tjrrt| dkrrtd| dqrd|vrgd}|d|vrtd|d|vrddg}|d|vrtd|d|vr6ddg}|d|vr6td|||dt |dt |dt |dt |dt |dt d}d d t|D}d!d!|d"t d#}d$d t|D}|j j |d%|j d&}|r$t|t js|j |||j|j|j j||| ||d'|d(|| |d) S|j j||| ||d'|d(|| |d) Sd S)*a Returns a list of responder rules (ResponderRule resources) associated with a responder recipe (ResponderRecipe resource) attached to a Target. List is returned in a TargetResponderRecipeResponderRuleCollection resource with page of TargetResponderRecipeResponderRuleSummary resources. :param str target_id: (required) OCID of the target :param str target_responder_recipe_id: (required) OCID of the target responder recipe. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param str display_name: (optional) A filter to return only resources that match the entire display name given. :param str lifecycle_state: (optional) The field lifecycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. Allowed values are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED" :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default. Allowed values are: "displayName", "riskLevel" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.TargetResponderRecipeResponderRuleCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_target_responder_recipe_responder_rules API. )rrrzS/targets/{targetId}/targetResponderRecipes/{targetResponderRecipeId}/responderRulesr,list_target_responder_recipe_responder_ruleszhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/TargetResponderRecipeResponderRule/ListTargetResponderRecipeResponderRulesrmcsg|]}|vr|qSr%r%r/r1r%r&r28r3zQCloudGuardClient.list_target_responder_recipe_responder_rules..zAlist_target_responder_recipe_responder_rules got unknown kwargs: rcSsi|]\}}|tur||qSr%r4r6r%r%r&r9%8r3zQCloudGuardClient.list_target_responder_recipe_responder_rules..Nrr:r;rXrYr]r=rErFrGr>rIrnrJrcr9r:rocSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9I8r3r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9P8r3rrDZ,TargetResponderRecipeResponderRuleCollectionrrrh)r#rrrr$rOrGrHrMrNr`rIr7r8rarQrRrrJrr%r1r&r7s? $              z=CloudGuardClient.list_target_responder_recipe_responder_rulesc sLddg}d}d}d}d}gdfdd t|D} | rJtd | d|i} d d t| D} t| D]<\} } | d ust| tjrpt| dkrptd| dqpd|vrgd} |d| vrtd| d|vrddg}|d|vrtd|d|vr4ddg}|d|vr4td||dt ||dt |dt |dt |dt |dt d}d d t|D}d!d!|d"t d#}d$d t|D}|j j |d%|j d&}|r"t|t js|j |||j|j|j j||| ||d'|d(|||d) S|j j||| ||d'|d(|||d) Sd S)*aW Returns a list of summary information for all responder recipes (TargetResponderRecipeCollection resource, with a page of TargetResponderRecipeSummary resources) attached to a target identified by targetId, located in a compartment identified by compartmentId. :param str target_id: (required) OCID of the target :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param str display_name: (optional) A filter to return only resources that match the entire display name given. :param str lifecycle_state: (optional) The field lifecycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. Allowed values are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED" :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. Allowed values are: "timeCreated", "displayName" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.TargetResponderRecipeCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_target_responder_recipes API. rrrrlist_target_responder_recipeszkhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/TargetResponderRecipe/ListTargetResponderRecipesrmcsg|]}|vr|qSr%r%r/r1r%r&r28r3zBCloudGuardClient.list_target_responder_recipes..z2list_target_responder_recipes got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r98r3zBCloudGuardClient.list_target_responder_recipes..Nrr:r;rXrYr]r=rErFrGr>rHrIrJrcr9r:rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r98r3r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r98r3rrDZTargetResponderRecipeCollectionrrrhrr%r1r&rt8s; $              z.CloudGuardClient.list_target_responder_recipesc s"dg}d}d}d}d}gdfddt|D}|rHtd |d |vrrgd } |d | vrrtd | d |vrddg} |d | vrtd| d|vrddg} |d| vrtd| d|vrddg} |d| vrtd| |dt||dt|d t|dt|d t|dt|dt|dt|dtd } dd t| D} d!d!|d"td#}d$d t|D}|jj|d%|jd&}|rt |t j s|j || |j|j|jj||| |d'|d(|||d) S|jj||| |d'|d(|||d) Sd*S)+av Returns a list of targets (TargetCollection resource with page of TargetSummary resources) for the target identified by compartmentId. By default, only the target associated with the compartment is returned. Setting compartmentIdInSubtree to true returns the entire hierarchy of targets in subcompartments. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform ListTargets on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all targets in compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param str display_name: (optional) A filter to return only resources that match the entire display name given. :param bool is_non_security_zone_targets_only_query: (optional) Default is false. When set to true, only the targets that would be deleted as part of security zone creation will be returned. :param str lifecycle_state: (optional) The field lifecycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. Allowed values are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED" :param bool compartment_id_in_subtree: (optional) Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the setting of `accessLevel`. :param str access_level: (optional) Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`. Setting this to `ACCESSIBLE` returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to `RESTRICTED` permissions are checked and no partial results are displayed. Allowed values are: "RESTRICTED", "ACCESSIBLE" :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. Allowed values are: "timeCreated", "displayName" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.TargetCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_targets API. rrr list_targetszMhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/Target/ListTargets) rrrc'is_non_security_zone_targets_only_queryrXr;r<r9r:r=r>r.csg|]}|vr|qSr%r%r/r1r%r&r29r3z1CloudGuardClient.list_targets..z!list_targets got unknown kwargs: rXrYr]r<rBrCrDr=rErFrGr>rHrIrJrcrr;r9r:) rIrZ!isNonSecurityZoneTargetsOnlyQueryr_rKrLr9r:rMrNcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r99r3z1CloudGuardClient.list_targets..r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r99r3rrDZTargetCollectionrrNrOrsr%r1r&r9sX                  zCloudGuardClient.list_targetsc sdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrgd } |d | vrrtd | d |vrddg} |d | vrtd| d|vrdg} |d| vrtd| ||j|dtd|d t|dt|dt|d t|dtd} ddt| D} dd|dtd} ddt| D} |jj|d|j d }|rt |t j s|j | ||j|j|jj||| | d!|d"|||d# S|jj||| | d!|d"|||d# Sd$S)%a Returns a list of techniques associated with detector rules. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param list[str] tactics: (optional) A filter to return only resources that match the list of tactics given. :param str lifecycle_state: (optional) The field lifecycle state. Only one state can be provided. Default value for state is active. If no value is specified state is active. Allowed values are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED" :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for displayName is ascending. If no value is specified displayName is default. Allowed values are: "displayName" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.TechniqueCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_techniques API. rz /techniquesrlist_techniqueszZhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/TechniqueSummary/ListTechniques) rrrrXr9r:r=r>r.csg|]}|vr|qSr%r%r/r1r%r&r2$:r3z4CloudGuardClient.list_techniques..z$list_techniques got unknown kwargs: rXrYr]r=rErFrGr>rIrJrrr9r:)rrr_r9r:rMrNcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9G:r3z4CloudGuardClient.list_techniques..r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9N:r3rrDZTechniqueCollectionrrNrrQrRr"rr!r5rSrXrrTrrYr[r\r r]r^r`r%r1r&r9s6              z CloudGuardClient.list_techniquesc sdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrd d g} |d | vrrtd | d|vrddg} |d| vrtd| ||dt|dt|d t|dtd} ddt| D} dd|dtd} ddt| D} |jj|d|jd} | rtt | t j sL|j | | |j| j|jj||| | d|d|||d S|jj||| | d|d|||d Sd S)!aG Returns a list of WLP agents in a compartment. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. Allowed values are: "timeCreated", "displayName" :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.WlpAgentCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_wlp_agents API. rrrlist_wlp_agentszQhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/WlpAgent/ListWlpAgentsrTcsg|]}|vr|qSr%r%r/r1r%r&r2:r3z4CloudGuardClient.list_wlp_agents..z$list_wlp_agents got unknown kwargs: r=rErFrGr>rHrIrJr9r:rUcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9:r3z4CloudGuardClient.list_wlp_agents..r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9:r3rrDZWlpAgentCollectionrrNrOr~r%r1r&rp:s.           z CloudGuardClient.list_wlp_agentsc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrdg} |d| vrtd| d|vrddg} |d| vrtd| |dt |dt |dt |dt d}dd t|D}dd|dt d}dd t|D}|j j |d|j d }|rt|t js|j |||j|j|j j||| ||d!|d"|||d# S|j j||| ||d!|d"|||d# Sd S)$a Returns a list of errors for a work request identified by workRequestId. :param str work_request_id: (required) The ID of the asynchronous request. :param str opc_request_id: (optional) The client request ID for tracing. :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param int limit: (optional) The maximum number of items to return :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Allowed values are: "timeCreated" :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.WorkRequestErrorCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_work_request_errors API. raz$/workRequests/{workRequestId}/errorsrlist_work_request_errorszahttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/WorkRequestError/ListWorkRequestErrorsrrr.r:r9r>r=csg|]}|vr|qSr%r%r/r1r%r&r20;r3z=CloudGuardClient.list_work_request_errors..z-list_work_request_errors got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r99;r3z=CloudGuardClient.list_work_request_errors..Nrr:r;r>rHrJr=rErFrGr:r9r:r9rNrMcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9S;r3r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9Z;r3rrDZWorkRequestErrorCollectionrrrhr#rjr$rOrGrHrMrNr`rIr7r8rRrQrrJrr%r1r&r:s/ $          z)CloudGuardClient.list_work_request_errorsc sdg}d}d}d}d}gdfddt|D}|rHtd |d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqnd|vrdg} |d| vrtd| d|vrddg} |d| vrtd| |dt |dt |dt |dt d}dd t|D}dd|dt d}dd t|D}|j j |d|j d }|rt|t js|j |||j|j|j j||| ||d!|d"|||d# S|j j||| ||d!|d"|||d# Sd S)$a7 Returns a paginated list (WorkRequestLogEntryCollection resource) of log entries for a request, identified by workRequestId. :param str work_request_id: (required) The ID of the asynchronous request. :param str opc_request_id: (optional) The client request ID for tracing. :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param int limit: (optional) The maximum number of items to return :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Allowed values are: "timeCreated" :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.WorkRequestLogEntryCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_work_request_logs API. raz"/workRequests/{workRequestId}/logsrlist_work_request_logszbhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/WorkRequestLogEntry/ListWorkRequestLogsrcsg|]}|vr|qSr%r%r/r1r%r&r2;r3z;CloudGuardClient.list_work_request_logs..z+list_work_request_logs got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9;r3z;CloudGuardClient.list_work_request_logs..Nrr:r;r>rHrJr=rErFrGr:r9rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9;r3r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9;r3rrDZWorkRequestLogEntryCollectionrrrhrr%r1r&r~;s/ $          z'CloudGuardClient.list_work_request_logsc sdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrgd } |d | vrrtd | d |vrddg} |d | vrtd| d|vrdg} |d| vrtd| ||d t|dt|dt|dt|d t|dtd} ddt| D} dd|dtd} ddt| D} |jj|d|jd}|rt |t j s|j | | |j|j|jj||| | d |d!|||d" S|jj||| | d |d!|||d" Sd#S)$a Returns a list of work requests (WorkRequestSummaryCollection resource), in a compartment identified by compartmentId. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param str status: (optional) A filter to return only resources their lifecycleState matches the given operation status (OperationStatus resource). Allowed values are: "ACCEPTED", "IN_PROGRESS", "WAITING", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED" :param str resource_id: (optional) The ID of the resource affected by the work request. :param str opc_request_id: (optional) The client request ID for tracing. :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param int limit: (optional) The maximum number of items to return :param str sort_order: (optional) The sort order to use Allowed values are: "ASC", "DESC" :param str sort_by: (optional) The field to sort by. Only one sort order may be provided. Default order for timeAccepted is descending. Allowed values are: "timeAccepted" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.WorkRequestSummaryCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_work_requests API. rz /workRequestsrlist_work_requestszWhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/WorkRequest/ListWorkRequests) rrstatusrr.r:r9r=r>csg|]}|vr|qSr%r%r/r1r%r&r2T<r3z7CloudGuardClient.list_work_requests..z'list_work_requests got unknown kwargs: r)ZACCEPTEDr@ZWAITINGrArZ CANCELINGZCANCELEDz+Invalid value for `status`, must be one of r=rErFrGr>Z timeAcceptedrJrr:r9)rrrr:r9rMrNcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9w<r3z7CloudGuardClient.list_work_requests..r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9~<r3rrDZWorkRequestSummaryCollectionrrNrO)r#rr$rOrGrHrMrNr`Zstatus_allowed_valuesrQrRrrJrr%r1r&r <s7               z#CloudGuardClient.list_work_requestsc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|rbt|t js8|j | |j | ||j|j|j j||| | |d|d|||d S|j j||| | |d|d|||d Sd S)aF Removes a compartment from a security zone (SecurityZone resource), identified by securityZoneId. Pass compartmentId of compartment to remove through a RemoveCompartmentDetails resource. When you remove a subcompartment from a security zone, it no longer enforces security zone policies on the resources in the subcompartment. You can't remove the primary compartment that was used to create the security zone. :param str security_zone_id: (required) The unique identifier of the security zone (`SecurityZone` resource). :param oci.cloud_guard.models.RemoveCompartmentDetails remove_compartment_details: (required) The compartment to remove from the security zone :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.SecurityZone` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use remove_compartment API. r(z9/securityZones/{securityZoneId}/actions/removeCompartmentr)remove_compartmentzYhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SecurityZone/RemoveCompartmentr+csg|]}|vr|qSr%r%r/r1r%r&r2<r3z7CloudGuardClient.remove_compartment..z'remove_compartment got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9<r3z7CloudGuardClient.remove_compartment..Nrr:r;r<r,r-r.r=cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9<r3rrDrErrFrP)r#r_Zremove_compartment_detailsr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r<st2$       z#CloudGuardClient.remove_compartmentc s2dg}d}d}d}d}gdfddt|D}|rHtd |||d t|d td } d dt| D} dd|dtd} ddt| D} |jj|d|jd} | r t | t j s|j | | |j| j|jj||| | d|d|||d S|jj||| | d|d|||d SdS)a Returns a page of RiskScoreAggregation resources for a compartment, identified by compartmentId. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.RiskScoreAggregationCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use request_risk_scores API. rz /riskScoresr)request_risk_scoreszahttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/RiskScoreAggregation/RequestRiskScoresrrr9r:r.csg|]}|vr|qSr%r%r/r1r%r&r2N=r3z8CloudGuardClient.request_risk_scores..z(request_risk_scores got unknown kwargs: r9r:rr9r:cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9X=r3z8CloudGuardClient.request_risk_scores..r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9_=r3rrDRiskScoreAggregationCollectionrrNrOrr%r1r&r=sh%       z$CloudGuardClient.request_risk_scoresc sFdg}d}d}d}d}gdfddt|D}|rHtd |||d t|d t|d t|d td} ddt| D} dd|dtd} ddt| D} |jj|d|jd} | rt | t j s|j | | |j| j|jj||| | d|d|||d S|jj||| | d|d|||d SdS)a Returns a page of SecurityScoreTrendAggregation resources. These measure the number of resources examined across all regions and compare it with the number of problems detected. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param datetime time_score_computed_greater_than_or_equal_to: (optional) Start time for a filter. If start time is not specified, start time will be set to today's current time - 30 days. :param datetime time_score_computed_less_than_or_equal_to: (optional) End time for a filter. If end time is not specified, end time will be set to today's current time. :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.SecurityScoreTrendAggregationCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use request_security_score_summarized_trend API. rz&/securityScores/actions/summarizeTrendr)'request_security_score_summarized_trendz|https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SecurityScoreTrendAggregation/RequestSecurityScoreSummarizedTrendrr,time_score_computed_greater_than_or_equal_to)time_score_computed_less_than_or_equal_tor9r:r.csg|]}|vr|qSr%r%r/r1r%r&r2=r3zLCloudGuardClient.request_security_score_summarized_trend..z.r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9=r3rrD'SecurityScoreTrendAggregationCollectionrrNrOrr%r1r&r=sl+          z8CloudGuardClient.request_security_score_summarized_trendc s2dg}d}d}d}d}gdfddt|D}|rHtd |||d t|d td } d dt| D} dd|dtd} ddt| D} |jj|d|jd} | r t | t j s|j | | |j| j|jj||| | d|d|||d S|jj||| | d|d|||d SdS)a: Returns a page of SecurityScoreAggregation resources. These measure the number of resources examined across all regions and compare it with the number of problems detected. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.SecurityScoreAggregationCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use request_security_scores API. rz/securityScoresr)request_security_scoreszihttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SecurityScoreAggregation/RequestSecurityScoresrcsg|]}|vr|qSr%r%r/r1r%r&r2$>r3z.z,request_security_scores got unknown kwargs: r9r:rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9.>r3z.r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r95>r3rrD"SecurityScoreAggregationCollectionrrNrOrr%r1r&r=sh%       z(CloudGuardClient.request_security_scoresc s|dg}d}d}d}d}gdfddt|D}|rHtd |d |vrrd d g} |d | vrrtd | ||dt|d t|dt|dt|dtd} ddt| D} dd|dtd} ddt| D} |jj|d|jd} | rTt | t j s,|j | | |j| j|jj||| | d|d|||d S|jj||| | d|d|||d SdS)a Returns the summary of problems generated by OCI Activity Detector rules, identified by parameters specified. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform summarize API on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE. The compartmentId to be passed with `accessLevel` and `compartmentIdInSubtree` params has to be the root compartment id (tenant-id) only. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param bool compartment_id_in_subtree: (optional) Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the setting of `accessLevel`. :param str access_level: (optional) Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`. Setting this to `ACCESSIBLE` returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to `RESTRICTED` permissions are checked and no partial results are displayed. Allowed values are: "RESTRICTED", "ACCESSIBLE" :param int limit: (optional) The maximum number of items to return :param bool include_unknown_locations: (optional) Default is false. When set to true, the summary of activity problems that has unknown values for city, state or country will be included. :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ActivityProblemAggregationCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use request_summarized_activity_problems API. rz+/problems/actions/summarizeActivityProblemsr)$request_summarized_activity_problemszwhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ActivityProblemAggregation/RequestSummarizedActivityProblems)rrr;r<r9include_unknown_locationsr:r.csg|]}|vr|qSr%r%r/r1r%r&r2>r3zICloudGuardClient.request_summarized_activity_problems..z9request_summarized_activity_problems got unknown kwargs: r<rBrCrDr;r9rr:)rrKrLr9ZincludeUnknownLocationsr:cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9>r3zICloudGuardClient.request_summarized_activity_problems..r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9>r3rrDZ$ActivityProblemAggregationCollectionrrNrO r#rr$rOrGrHrMrNr`rPrrJrr%r1r&rW>szF           z5CloudGuardClient.request_summarized_activity_problemsc sddg}d}d}d}d}gdfdd t|D} | rJtd | gd } |D]} | | vrVtd | qVd |vrddg} |d | vrtd| |j|d||dt|d t|dt|dtd} ddt| D} dd|dtd}ddt|D}|jj|d|j d}|rt |t j sX|j |||j|j|jj||| |d|d|||d S|jj||| |d|d|||d Sd!S)"a@ Returns the number of problems matching the key-value pairs in dimensionMap. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform summarize API on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE. :param oci.cloud_guard.models.list[str] list_dimensions: (required) The possible attributes based on which the problems can be distinguished. Allowed values are: "RESOURCE_TYPE", "REGION", "COMPARTMENT_ID", "RISK_LEVEL" :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param bool compartment_id_in_subtree: (optional) Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the setting of `accessLevel`. :param str access_level: (optional) Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`. Setting this to `ACCESSIBLE` returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to `RESTRICTED` permissions are checked and no partial results are displayed. Allowed values are: "RESTRICTED", "ACCESSIBLE" :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ProblemAggregationCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use request_summarized_problems API. listDimensionsrz/problems/actions/summarizer)request_summarized_problemszghttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ProblemAggregation/RequestSummarizedProblems)rrr;r<r9r:r.csg|]}|vr|qSr%r%r/r1r%r&r2>?r3z@CloudGuardClient.request_summarized_problems..z0request_summarized_problems got unknown kwargs: )Z RESOURCE_TYPEr|ZCOMPARTMENT_IDZ RISK_LEVELz4Invalid value for `list_dimensions`, must be one of r<rBrCrDrr;r9r:)rrrKrLr9r:cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9Y?r3z@CloudGuardClient.request_summarized_problems..r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9`?r3rrDZProblemAggregationCollectionrrNr)r#Zlist_dimensionsrr$rOrGrHrMrNr`Zlist_dimensions_allowed_valuesZlist_dimensions_itemrPrrJrr%r1r&r >sC           z,CloudGuardClient.request_summarized_problemsc s<ddg}d}d}d}d}gdfdd t|D} | rJtd | d d g} |D]} | | vrVtd | qVd|vrddg} |dD]} | | vrtd| qd|vrgd}|dD]}||vrtd|qd|vrddg}|d|vrtd||j|d|j|dtd|j|dtd||dt|dt|dt|dtd}ddt|D}d d |d!td"}d#dt|D}|jj|d$|j d%}|rt |t j s|j |||j|j|jj||||d&|d'|||d( S|jj||||d&|d'|||d( Sd)S)*u Returns the number of responder executions, identified by parameters specified, in a page of ResponderExecutionAggregation resources. Setting accessLevel to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions, directly or indirectly (permissions can be on a resource in a subcompartment). “Not Authorized” is returned if user doesn't have access to at least one of the child compartments. When accessLevel is set to RESTRICTED, permissions are checked and no partial results are displayed. This is valid only when compartmentIdInSubtree is set to true. Setting accessLevel to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions, directly or indirectly (permissions can be on a resource in a subcompartment). “Not Authorized” is returned if user doesn't have access to at least one of the child compartments. When accessLevel is set to RESTRICTED, permissions are checked and no partial results are displayed. This is valid only when compartmentIdInSubtree is set to true. :param oci.cloud_guard.models.list[str] responder_executions_dimensions: (required) The possible attributes based on which the responder executions can be distinguished. Allowed values are: "RESPONDER_RULE_TYPE", "RESPONDER_EXECUTION_STATUS" :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param list[str] responder_type_filter: (optional) The possible filters for responder type dimension to distinguish responder executions. If no values are passed, the metric for responder executions of all responder types are returned. Allowed values are: "REMEDIATION", "NOTIFICATION" :param list[str] responder_execution_status_filter: (optional) The possible filters for responder type dimension to distinguish responder executions. If no values are passed, the metric for responder executions of all status are returned. Allowed values are: "STARTED", "AWAITING_CONFIRMATION", "SUCCEEDED", "FAILED", "SKIPPED" :param bool compartment_id_in_subtree: (optional) Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the setting of `accessLevel`. :param str access_level: (optional) Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`. Setting this to `ACCESSIBLE` returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to `RESTRICTED` permissions are checked and no partial results are displayed. Allowed values are: "RESTRICTED", "ACCESSIBLE" :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ResponderExecutionAggregationCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use request_summarized_responder_executions API. responderExecutionsDimensionsrz&/responderExecutions/actions/summarizer)'request_summarized_responder_executionsz}https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResponderExecutionAggregation/RequestSummarizedResponderExecutions) rrresponder_type_filter!responder_execution_status_filterr;r<r9r:r.csg|]}|vr|qSr%r%r/r1r%r&r2?r3zLCloudGuardClient.request_summarized_responder_executions..z.r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9@r3rrDZ'ResponderExecutionAggregationCollectionrrNr)r#Zresponder_executions_dimensionsrr$rOrGrHrMrNr`Z.responder_executions_dimensions_allowed_valuesZ$responder_executions_dimensions_itemZ$responder_type_filter_allowed_valuesZresponder_type_filter_itemZ0responder_execution_status_filter_allowed_valuesZ&responder_execution_status_filter_itemrPrrJrr%r1r&r ?sO              z8CloudGuardClient.request_summarized_responder_executionsc s2dg}d}d}d}d}gdfddt|D}|rHtd |||d t|d td } d dt| D} dd|dtd} ddt| D} |jj|d|jd} | r t | t j s|j | | |j| j|jj||| | d|d|||d S|jj||| | d|d|||d SdS)a DEPRECATED :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.RiskScoreAggregationCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use request_summarized_risk_scores API. rz$/problems/actions/summarizeRiskScorer)request_summarized_risk_scoreszkhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/RiskScoreAggregation/RequestSummarizedRiskScoresrcsg|]}|vr|qSr%r%r/r1r%r&r2k@r3zCCloudGuardClient.request_summarized_risk_scores..z3request_summarized_risk_scores got unknown kwargs: r9r:rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9u@r3zCCloudGuardClient.request_summarized_risk_scores..r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9|@r3rrDrrrNrOrr%r1r&r9@sh$       z/CloudGuardClient.request_summarized_risk_scoresc s2dg}d}d}d}d}gdfddt|D}|rHtd |||d t|d td } d dt| D} dd|dtd} ddt| D} |jj|d|jd} | r t | t j s|j | | |j| j|jj||| | d|d|||d S|jj||| | d|d|||d SdS)a DEPRECATED :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.SecurityScoreAggregationCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use request_summarized_security_scores API. rz(/problems/actions/summarizeSecurityScorer)"request_summarized_security_scoreszshttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SecurityScoreAggregation/RequestSummarizedSecurityScoresrcsg|]}|vr|qSr%r%r/r1r%r&r2@r3zGCloudGuardClient.request_summarized_security_scores..z7request_summarized_security_scores got unknown kwargs: r9r:rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9@r3zGCloudGuardClient.request_summarized_security_scores..r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9@r3rrDrrrNrOrr%r1r&r@sh$       z3CloudGuardClient.request_summarized_security_scoresc sdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrgd } |d | vrrtd | d |vrddg} |d | vrtd| ||dt|dt|dt|d t|dt|d t|dt|dtd } ddt| D} dd|dtd} ddt| D} |jj|d|jd} | rt | t j st|j | | |j| j|jj||| | d |d!|||d" S|jj||| | d |d!|||d" Sd#S)$a4 Returns a list of resource profile risk score aggregation summaries (ResourceProfileRiskScoreAggregationSummaryCollection resource with a page of ResourceProfileRiskScoreAggregationSummary resources) for a specified compartment. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param datetime time_score_computed_greater_than_or_equal_to: (optional) Start time for a filter. If start time is not specified, start time will be set to today's current time - 30 days. :param datetime time_score_computed_less_than_or_equal_to: (optional) End time for a filter. If end time is not specified, end time will be set to today's current time. :param bool compartment_id_in_subtree: (optional) Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the setting of `accessLevel`. :param str sort_by: (optional) The field to sort trendlines for resource profiles. Only one sort order may be provided. If no value is specified riskScore is default. Allowed values are: "riskScore", "riskScoreGrowth", "timeFirstDetected", "timeLastDetected" :param int count: (optional) Number of resource profile risk score trend-lines to be displayed. Default value is 10. :param str access_level: (optional) Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`. Setting this to `ACCESSIBLE` returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to `RESTRICTED` permissions are checked and no partial results are displayed. Allowed values are: "RESTRICTED", "ACCESSIBLE" :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ResourceProfileRiskScoreAggregationSummaryCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use request_summarized_top_trend_resource_profile_risk_scores API. rz5/resourceProfileRiskScores/actions/summarizeTopTrendsr)9request_summarized_top_trend_resource_profile_risk_scoreszhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResourceProfileRiskScoreAggregationSummary/RequestSummarizedTopTrendResourceProfileRiskScores) rrrrr;r>countr<r9r:r.csg|]}|vr|qSr%r%r/r1r%r&r2ZAr3z^CloudGuardClient.request_summarized_top_trend_resource_profile_risk_scores..zNrequest_summarized_top_trend_resource_profile_risk_scores got unknown kwargs: r>)rrrrrJr<rBrCrDrrr;rr9r:) rrrrKrNrrLr9r:cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9xAr3z^CloudGuardClient.request_summarized_top_trend_resource_profile_risk_scores..r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9Ar3rrDZ4ResourceProfileRiskScoreAggregationSummaryCollectionrrNrO)r#rr$rOrGrHrMrNr`rRrPrrJrr%r1r&rAsC                zJCloudGuardClient.request_summarized_top_trend_resource_profile_risk_scoresc sdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrd d g} |d | vrrtd | ||dt|dt|dt|d t|dt|dtd} ddt| D} dd|dtd} ddt| D} |jj|d|jd} | r^t | t j s6|j | | |j| j|jj||| | d|d|||d S|jj||| | d|d|||d SdS) an Returns a ProblemTrendAggregationCollection resource for a compartment, identified by compartmentId, for the specified time period. The ProblemTrendAggregationCollection resource contains a list of ProblemTrendAggregation resources. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform summarize API on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param datetime time_first_detected_greater_than_or_equal_to: (optional) Start time for a filter. If start time is not specified, start time will be set to current time - 30 days. :param datetime time_first_detected_less_than_or_equal_to: (optional) End time for a filter. If end time is not specified, end time will be set to current time. :param bool compartment_id_in_subtree: (optional) Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the setting of `accessLevel`. :param str access_level: (optional) Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`. Setting this to `ACCESSIBLE` returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to `RESTRICTED` permissions are checked and no partial results are displayed. Allowed values are: "RESTRICTED", "ACCESSIBLE" :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ProblemTrendAggregationCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use request_summarized_trend_problems API. rz /problems/actions/summarizeTrendr)!request_summarized_trend_problemszqhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ProblemTrendAggregation/RequestSummarizedTrendProblems) rrrrr;r<r9r:r.csg|]}|vr|qSr%r%r/r1r%r&r2Ar3zFCloudGuardClient.request_summarized_trend_problems..z6request_summarized_trend_problems got unknown kwargs: r<rBrCrDrrr;r9r:)rrrrKrLr9r:cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9 Br3zFCloudGuardClient.request_summarized_trend_problems..r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9Br3rrDZ!ProblemTrendAggregationCollectionrrNrOrr%r1r&rAs|D             z2CloudGuardClient.request_summarized_trend_problemsc sdg}d}d}d}d}gdfddt|D} | rHtd | d |vrrd d g} |d | vrrtd | ||dt|dt|dt|d t|dt|dtd} ddt| D} dd|dtd} ddt| D} |jj|d|jd} | r`t | t j s6|j | | |j| j|jj||| | |d|d|||d S|jj||| | |d|d|||d SdS) a? Returns a summary of risk score trends in a ResourceRiskScoreAggregationCollection resource, with a page of ResourceRiskScoreAggregation resources, filtered by parameters that you specify in a RequestSummarizedTrendResourceRiskScoresDetailsresource. :param oci.cloud_guard.models.RequestSummarizedTrendResourceRiskScoresDetails request_summarized_trend_resource_risk_scores_details: (required) The filter to fetch risk score trend :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param datetime time_score_computed_greater_than_or_equal_to: (optional) Start time for a filter. If start time is not specified, start time will be set to today's current time - 30 days. :param datetime time_score_computed_less_than_or_equal_to: (optional) End time for a filter. If end time is not specified, end time will be set to today's current time. :param bool compartment_id_in_subtree: (optional) Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the setting of `accessLevel`. :param str access_level: (optional) Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`. Setting this to `ACCESSIBLE` returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to `RESTRICTED` permissions are checked and no partial results are displayed. Allowed values are: "RESTRICTED", "ACCESSIBLE" :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ResourceRiskScoreAggregationCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use request_summarized_trend_resource_risk_scores API. rz*/resourceRiskScores/actions/summarizeTrendr)-request_summarized_trend_resource_risk_scoreszhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResourceRiskScoreAggregation/RequestSummarizedTrendResourceRiskScores) rrrrr;r<r9r:r.csg|]}|vr|qSr%r%r/r1r%r&r2Br3zRCloudGuardClient.request_summarized_trend_resource_risk_scores..zBrequest_summarized_trend_resource_risk_scores got unknown kwargs: r<rBrCrDrrr;r9r:)rrrrKrLr9r:cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9Br3zRCloudGuardClient.request_summarized_trend_resource_risk_scores..r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9Br3rrDZ&ResourceRiskScoreAggregationCollectionr rGrHrrJrKrLrrMrNrONrO)r#Z5request_summarized_trend_resource_risk_scores_detailsrr$rOrGrHrMrNr`rPrrJrr%r1r&r5Bs>             z>CloudGuardClient.request_summarized_trend_resource_risk_scoresc sdg}d}d}d}d}gdfddt|D}|rHtd |d |vrrd d g} |d | vrrtd | |dt|dt||dt|d t|dt|dtd} ddt| D} dd|dtd} ddt| D} |jj|d|jd} | r^t | t j s6|j | | |j| j|jj||| | d|d|||d S|jj||| | d|d|||d SdS) aY Returns the number of remediations performed by Responders, for a given time period. The parameter `accessLevel` specifies whether to return only those compartments for which the requestor has INSPECT permissions on at least one resource directly or indirectly (ACCESSIBLE) (the resource can be in a subcompartment) or to return Not Authorized if Principal doesn't have access to even one of the child compartments. This is valid only when `compartmentIdInSubtree` is set to `true`. The parameter `compartmentIdInSubtree` applies when you perform summarize API on the `compartmentId` passed and when it is set to true, the entire hierarchy of compartments can be returned. To get a full list of all compartments and subcompartments in the tenancy (root compartment), set the parameter `compartmentIdInSubtree` to true and `accessLevel` to ACCESSIBLE. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param datetime time_completed_greater_than_or_equal_to: (optional) Completion end time. :param datetime time_completed_less_than_or_equal_to: (optional) Completion start time. :param bool compartment_id_in_subtree: (optional) Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the setting of `accessLevel`. :param str access_level: (optional) Valid values are `RESTRICTED` and `ACCESSIBLE`. Default is `RESTRICTED`. Setting this to `ACCESSIBLE` returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to `RESTRICTED` permissions are checked and no partial results are displayed. Allowed values are: "RESTRICTED", "ACCESSIBLE" :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ResponderExecutionTrendAggregationCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use request_summarized_trend_responder_executions API. rz+/responderExecutions/actions/summarizeTrendr)-request_summarized_trend_responder_executionszhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResponderExecutionTrendAggregation/RequestSummarizedTrendResponderExecutions) rrrrr;r<r9r:r.csg|]}|vr|qSr%r%r/r1r%r&r2Cr3zRCloudGuardClient.request_summarized_trend_responder_executions..zBrequest_summarized_trend_responder_executions got unknown kwargs: r<rBrCrDrrr;r9r:)rrrrKrLr9r:cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r90Cr3zRCloudGuardClient.request_summarized_trend_responder_executions..r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r97Cr3rrDZ,ResponderExecutionTrendAggregationCollectionrrNrOrr%r1r&rBs|D             z>CloudGuardClient.request_summarized_trend_responder_executionsc sFdg}d}d}d}d}gdfddt|D}|rHtd |||d t|d t|d t|d td} ddt| D} dd|dtd} ddt| D} |jj|d|jd} | rt | t j s|j | | |j| j|jj||| | d|d|||d S|jj||| | d|d|||d SdS)aF DEPRECATED :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param datetime time_score_computed_greater_than_or_equal_to: (optional) Start time for a filter. If start time is not specified, start time will be set to today's current time - 30 days. :param datetime time_score_computed_less_than_or_equal_to: (optional) End time for a filter. If end time is not specified, end time will be set to today's current time. :param int limit: (optional) The maximum number of items to return :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.SecurityScoreTrendAggregationCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use request_summarized_trend_security_scores API. rz-/problems/actions/summarizeSecurityScoreTrendr)(request_summarized_trend_security_scoresz}https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SecurityScoreTrendAggregation/RequestSummarizedTrendSecurityScoresrcsg|]}|vr|qSr%r%r/r1r%r&r2Cr3zMCloudGuardClient.request_summarized_trend_security_scores..z=request_summarized_trend_security_scores got unknown kwargs: rrr9r:rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9Cr3zMCloudGuardClient.request_summarized_trend_security_scores..r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9Cr3rrDrrrNrOrr%r1r&rYCsl*          z9CloudGuardClient.request_summarized_trend_security_scoresc sg}d}d}d}d}gdfddt|D}|rFtd|d d |d td } d d t| D} |jj|d|jd} | rt | t j s|j | | |j| j|jj||| ||d|||d S|jj||| ||d|||dSdS)a Skips the execution for a bulk of responder executions. :param oci.cloud_guard.models.SkipBulkResponderExecutionDetails skip_bulk_responder_execution_details: (required) A list of responder execution IDs to skip the execution :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use skip_bulk_responder_execution API. z%/responderExecutions/actions/bulkSkipr)skip_bulk_responder_executionzhhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResponderExecution/SkipBulkResponderExecutionrcsg|]}|vr|qSr%r%r/r1r%r&r2Cr3zBCloudGuardClient.skip_bulk_responder_execution..z2skip_bulk_responder_execution got unknown kwargs: r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9Cr3zBCloudGuardClient.skip_bulk_responder_execution..rrDrrNrO) r#Z%skip_bulk_responder_execution_detailsr$rOrGrHrMrNr`rJrr%r1r&rCsZ     z.CloudGuardClient.skip_bulk_responder_executionc sddg}d}d}d}d}gdfdd t|D} | rJtd | d|i} d d t| D} t| D]<\} } | d ust| tjrpt| dkrptd| dqpd|i} dd t| D} dd|dt |dt |dt d}dd t|D}|j j |d|j d}|r~t|t jsV|j ||j |||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a Skips the execution of the responder execution. When provided, If-Match is checked against etag values of the resource. :param str responder_execution_id: (required) The unique identifier of the responder execution. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use skip_responder_execution API. rrz8/responderExecutions/{responderExecutionId}/actions/skipr)skip_responder_executionzdhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResponderExecution/SkipResponderExecutionrmcsg|]}|vr|qSr%r%r/r1r%r&r2YDr3z=CloudGuardClient.skip_responder_execution..z-skip_responder_execution got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9bDr3z=CloudGuardClient.skip_responder_execution..Nrr:r;cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9kDr3r<r-r.r,rncSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9tDr3rrDr) rGrHrIrrJrrMrNrOrPrr%r1r&rDsv/$       z)CloudGuardClient.skip_responder_executionc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|r`t|t js8|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)u Sends the problem identified by problemId to the responder engine, to be processed by rule that’s identified by responderRuleId, in the TriggerResponderDetails resource that’s passed. :param str problem_id: (required) OCID of the problem. :param oci.cloud_guard.models.TriggerResponderDetails trigger_responder_details: (required) The responder may update the problem :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param str opc_request_id: (optional) The client request ID for tracing. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use trigger_responder API. r z./problems/{problemId}/actions/triggerResponderr)trigger_responderzShttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/Problem/TriggerResponderrrr,r.r-csg|]}|vr|qSr%r%r/r1r%r&r2Dr3z6CloudGuardClient.trigger_responder..z&trigger_responder got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9Dr3z6CloudGuardClient.trigger_responder..Nrr:r;r<r,r.r-r>r?r@rBrAcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9Dr3rrDrrorP)r#rZtrigger_responder_detailsr$rOrGrHrMrNr`rIr7r8rJrr%r1r&rDsp0$       z"CloudGuardClient.trigger_responderc sg}d}d}d}d}gdfddt|D}|rFtd|d d |d td } d d t| D} |jj|d|jd} | rt | t j s|j | | |j| j|jj||| ||d|||d S|jj||| ||d|||dSdS)aa Changes the status for all problems listed in the problemIds array, passed through the UpdateBulkProblemStatusDetails resource, from the current status to the status set in UpdateBulkProblemStatusDetails. :param oci.cloud_guard.models.UpdateBulkProblemStatusDetails update_bulk_problem_status_details: (required) A list of Problem IDs to be passed in to update the Problem status :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_bulk_problem_status API. z"/problems/actions/bulkUpdateStatusr)update_bulk_problem_statuszZhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/Problem/UpdateBulkProblemStatusrcsg|]}|vr|qSr%r%r/r1r%r&r28Er3z?CloudGuardClient.update_bulk_problem_status..z/update_bulk_problem_status got unknown kwargs: r<r.rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9BEr3z?CloudGuardClient.update_bulk_problem_status..rrDrrNrO) r#Z"update_bulk_problem_status_detailsr$rOrGrHrMrNr`rJrr%r1r&rEsZ     z+CloudGuardClient.update_bulk_problem_statusc sBdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} d d |d t|dt|dtd} dd t| D} |jj|d|jd} | rt | t j s|j | |j | | |j| j|jj||| | |d|d|||d S|jj||| | |d|d|||d SdS)a2 Updates configuration details for a Cloud Guard tenancy, identified by root compartment OCID. The reporting region cannot be updated once created. :param oci.cloud_guard.models.UpdateConfigurationDetails update_configuration_details: (required) Updates configuration details of Cloud Guard for a Tenancy. :param str compartment_id: (required) The OCID of the compartment in which to list resources. :param str opc_request_id: (optional) The client request ID for tracing. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.Configuration` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_configuration API. rrPUTupdate_configurationz\https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/Configuration/UpdateConfiguration)rrr.r,r-csg|]}|vr|qSr%r%r/r1r%r&r2Er3z9CloudGuardClient.update_configuration..z)update_configuration got unknown kwargs: cSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9Er3z9CloudGuardClient.update_configuration..r<r.r,r-)r>r?rBr@rAcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9Er3rrDrrrN)rrQrRrSr!r5r"rXrrTrrYrZr[r\r r]r^) r#Zupdate_configuration_detailsrr$rOrGrHrMrNr`rrJrr%r1r&rbEsn0        z%CloudGuardClient.update_configurationc svdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt d} dd t| D} |j j |d|j d}|rLt|t js"|j | ||j|j|j j||| | |d|d|||d S|j j||| | |d|d|||d Sd S)a Updates a data mask rule (DataMaskRule resource) identified by dataMaskRuleId. :param str data_mask_rule_id: (required) OCID of the data mask rule :param oci.cloud_guard.models.UpdateDataMaskRuleDetails update_data_mask_rule_details: (required) The data mask rule information to be updated :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.DataMaskRule` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_data_mask_rule API. rrrupdate_data_mask_rulezZhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/DataMaskRule/UpdateDataMaskRulerecsg|]}|vr|qSr%r%r/r1r%r&r2 Fr3z:CloudGuardClient.update_data_mask_rule..z*update_data_mask_rule got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9Fr3z:CloudGuardClient.update_data_mask_rule..Nrr:r;r<r-r.rfcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9 Fr3rrDrrrFrh)r#rZupdate_data_mask_rule_detailsr$rOrGrHrMrNr`rIr7r8rJrr%r1r&rEsp($     z&CloudGuardClient.update_data_mask_rulec sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|r`t|t js8|j | |j | ||j|j|j j||| | ||d|||d S|j j||| | ||d|||d Sd S)a Updates a data source (DataSource resource) identified by dataSourceId, using values passed in an UpdateDataSourceDetails resource. :param str data_source_id: (required) Data source OCID. :param oci.cloud_guard.models.UpdateDataSourceDetails update_data_source_details: (required) Details for the DataSource resource to be updated :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_data_source API. rkrrupdate_data_sourcezVhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/DataSource/UpdateDataSourcermcsg|]}|vr|qSr%r%r/r1r%r&r2Fr3z7CloudGuardClient.update_data_source..z'update_data_source got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9Fr3z7CloudGuardClient.update_data_source..Nrr:r;r<r-r.r,rncSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9Fr3rrDrrorP)r#rpZupdate_data_source_detailsr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r DFsp0$       z#CloudGuardClient.update_data_sourcec sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|rbt|t js8|j | |j | ||j|j|j j||| | |d|d|||d S|j j||| | |d|d|||d Sd S)a Updates a detector recipe (DetectorRecipe resource) identified by detectorRecipeId. :param str detector_recipe_id: (required) Detector recipe OCID :param oci.cloud_guard.models.UpdateDetectorRecipeDetails update_detector_recipe_details: (required) Details for the DetectorRecipe to be updated :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.DetectorRecipe` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_detector_recipe API. rqrrupdate_detector_recipez^https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/DetectorRecipe/UpdateDetectorRecipermcsg|]}|vr|qSr%r%r/r1r%r&r2Fr3z;CloudGuardClient.update_detector_recipe..z+update_detector_recipe got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9Gr3z;CloudGuardClient.update_detector_recipe..Nrr:r;r<r-r.r,rncSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9Gr3rrDrrrFrP)r#rsZupdate_detector_recipe_detailsr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r!Fst/$       z'CloudGuardClient.update_detector_recipec szddg}d}d}d}d} gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrdd|dt |dt d}dd t|D}|j j |d|j d}|rPt|t js&|j |||j|j|j j||| ||d|d|| |d S|j j||| ||d|d|| |d SdS)at Updates a detector rule (DetectorRule resource) identified by detectorRuleId. :param str detector_recipe_id: (required) Detector recipe OCID :param str detector_rule_id: (required) The unique identifier of a detector rule. :param oci.cloud_guard.models.UpdateDetectorRecipeDetectorRuleDetails update_detector_recipe_detector_rule_details: (required) The details to be updated for DetectorRule :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.DetectorRecipeDetectorRule` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_detector_recipe_detector_rule API. rqrrr$update_detector_recipe_detector_rulezvhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/DetectorRecipeDetectorRule/UpdateDetectorRecipeDetectorRulerecsg|]}|vr|qSr%r%r/r1r%r&r2kGr3zICloudGuardClient.update_detector_recipe_detector_rule..z9update_detector_recipe_detector_rule got unknown kwargs: rcSsi|]\}}|tur||qSr%r4r6r%r%r&r9uGr3zICloudGuardClient.update_detector_recipe_detector_rule..Nrr:r;r<r-r.rfcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9Gr3rrDrrrFrh)r#rsrZ,update_detector_recipe_detector_rule_detailsr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r"3Gsr+$     z5CloudGuardClient.update_detector_recipe_detector_rulec sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|rbt|t js8|j | |j | ||j|j|j j||| | |d|d|||d S|j j||| | |d|d|||d Sd S)a Updates a ManagedList resource, identified by managedList. :param str managed_list_id: (required) The managed list OCID to be passed in the request. :param oci.cloud_guard.models.UpdateManagedListDetails update_managed_list_details: (required) Details for the ManagedList resource to be updated :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ManagedList` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_managed_list API. rtrrupdate_managed_listzXhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ManagedList/UpdateManagedListrmcsg|]}|vr|qSr%r%r/r1r%r&r2Gr3z8CloudGuardClient.update_managed_list..z(update_managed_list got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9Gr3z8CloudGuardClient.update_managed_list..Nrr:r;r<r-r.r,rncSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9Gr3rrDrrrFrP)r#rvZupdate_managed_list_detailsr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r#Gst/$       z$CloudGuardClient.update_managed_listc sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|rbt|t js8|j | |j | ||j|j|j j||| | |d|d|||d S|j j||| | |d|d|||d Sd S)a Changes the current status of the problem, identified by problemId, to the status specified in the UpdateProblemStatusDetails resource that you pass. :param str problem_id: (required) OCID of the problem. :param oci.cloud_guard.models.UpdateProblemStatusDetails update_problem_status_details: (required) The additional details for the problem :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param str opc_request_id: (optional) The client request ID for tracing. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.Problem` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_problem_status API. r z*/problems/{problemId}/actions/updateStatusr)update_problem_statuszVhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/Problem/UpdateProblemStatusrcsg|]}|vr|qSr%r%r/r1r%r&r2ZHr3z:CloudGuardClient.update_problem_status..z*update_problem_status got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9cHr3z:CloudGuardClient.update_problem_status..Nrr:r;r<r,r.r-rcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9pHr3rrDrrrFrP)r#rZupdate_problem_status_detailsr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r$Hst/$       z&CloudGuardClient.update_problem_statusc svdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt d} dd t| D} |j j |d|j d}|rLt|t js"|j | ||j|j|j j||| | |d|d|||d S|j j||| | |d|d|||d Sd S)a Updates a responder recipe (ResponderRecipe resource) identified by responderRecipeId, passed in an UpdateResponderRecipeDetails resource. :param str responder_recipe_id: (required) OCID of the responder recipe. :param oci.cloud_guard.models.UpdateResponderRecipeDetails update_responder_recipe_details: (required) The details to be updated :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ResponderRecipe` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_responder_recipe API. rwrrupdate_responder_recipez`https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResponderRecipe/UpdateResponderReciperecsg|]}|vr|qSr%r%r/r1r%r&r2Hr3z.z,update_responder_recipe got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9Hr3z.Nrr:r;r<r-r.rfcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9Hr3rrDrrrFrh)r#ryZupdate_responder_recipe_detailsr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r%Hsp)$     z(CloudGuardClient.update_responder_recipec szddg}d}d}d}d} gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrdd|dt |dt d}dd t|D}|j j |d|j d}|rPt|t js&|j |||j|j|j j||| ||d|d|| |d S|j j||| ||d|d|| |d SdS)a Updates a responder rule (ResponderRule resource) identified by responderRuleId, passed in a UpdateResponderRecipeResponderRuleDetails resource. :param str responder_recipe_id: (required) OCID of the responder recipe. :param str responder_rule_id: (required) Unique identifier of the responder rule. :param oci.cloud_guard.models.UpdateResponderRecipeResponderRuleDetails update_responder_recipe_responder_rule_details: (required) The details to be updated for responder rule :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.ResponderRecipeResponderRule` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_responder_recipe_responder_rule API. rwrrr&update_responder_recipe_responder_rulezzhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/ResponderRecipeResponderRule/UpdateResponderRecipeResponderRulerecsg|]}|vr|qSr%r%r/r1r%r&r2=Ir3zKCloudGuardClient.update_responder_recipe_responder_rule..z;update_responder_recipe_responder_rule got unknown kwargs: rcSsi|]\}}|tur||qSr%r4r6r%r%r&r9GIr3zKCloudGuardClient.update_responder_recipe_responder_rule..Nrr:r;r<r-r.rfcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9SIr3rrDrrrFrh)r#ryrZ.update_responder_recipe_responder_rule_detailsr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r&Isr,$     z7CloudGuardClient.update_responder_recipe_responder_rulec sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|rbt|t js8|j | |j | ||j|j|j j||| | |d|d|||d S|j j||| | |d|d|||d Sd S)a Updates a saved query identified by savedQueryId. :param str saved_query_id: (required) Saved query OCID :param oci.cloud_guard.models.UpdateSavedQueryDetails update_saved_query_details: (required) Details for the SavedQuery resource to be updated :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.SavedQuery` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_saved_query API. rzrrupdate_saved_queryzVhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SavedQuery/UpdateSavedQueryrmcsg|]}|vr|qSr%r%r/r1r%r&r2Ir3z7CloudGuardClient.update_saved_query..z'update_saved_query got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9Ir3z7CloudGuardClient.update_saved_query..Nrr:r;r<r-r.r,rncSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9Ir3rrDrrrFrP)r#r|Zupdate_saved_query_detailsr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r'wIst/$       z#CloudGuardClient.update_saved_queryc svdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt d} dd t| D} |j j |d|j d}|rLt|t js"|j | ||j|j|j j||| | |d|d|||d S|j j||| | |d|d|||d Sd S)ac Updates a security zone recipe (SecurityRecipe resource), identified by securityRecipeId, using parameters passed in an UpdateSecurityRecipeDetails resource. :param str security_recipe_id: (required) The unique identifier of the security zone recipe. (`SecurityRecipe`) :param oci.cloud_guard.models.UpdateSecurityRecipeDetails update_security_recipe_details: (required) The information to be updated in the security zone recipe :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.SecurityRecipe` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_security_recipe API. r}rrupdate_security_recipez^https://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SecurityRecipe/UpdateSecurityReciperecsg|]}|vr|qSr%r%r/r1r%r&r2%Jr3z;CloudGuardClient.update_security_recipe..z+update_security_recipe got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9.Jr3z;CloudGuardClient.update_security_recipe..Nrr:r;r<r-r.rfcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9:Jr3rrDrrrFrh)r#rZupdate_security_recipe_detailsr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r(Isp)$     z'CloudGuardClient.update_security_recipec svdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt d} dd t| D} |j j |d|j d}|rLt|t js"|j | ||j|j|j j||| | |d|d|||d S|j j||| | |d|d|||d Sd S)a8 Updates a security zone (SecurityZone resource) identified by securityZoneId. Pass parameters through an UpdateSecurityZoneDetails resource. :param str security_zone_id: (required) The unique identifier of the security zone (`SecurityZone` resource). :param oci.cloud_guard.models.UpdateSecurityZoneDetails update_security_zone_details: (required) The security zone information to be updated :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.SecurityZone` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_security_zone API. r(rrupdate_security_zonezZhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/SecurityZone/UpdateSecurityZonerecsg|]}|vr|qSr%r%r/r1r%r&r2Jr3z9CloudGuardClient.update_security_zone..z)update_security_zone got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9Jr3z9CloudGuardClient.update_security_zone..Nrr:r;r<r-r.rfcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9Jr3rrDrErrFrh)r#r_Zupdate_security_zone_detailsr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r)^Jsp)$     z%CloudGuardClient.update_security_zonec svdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt d} dd t| D} |j j |d|j d}|rLt|t js"|j | ||j|j|j j||| | |d|d|||d S|j j||| | |d|d|||d Sd S)a Updates a target (Target resource) identified by targetId, using parameters passed in an UpdateTargetDetails resource. :param str target_id: (required) OCID of the target :param oci.cloud_guard.models.UpdateTargetDetails update_target_details: (required) The information to be updated :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.Target` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_target API. rrr update_targetzNhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/Target/UpdateTargetrecsg|]}|vr|qSr%r%r/r1r%r&r2Kr3z2CloudGuardClient.update_target..z"update_target got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9 Kr3z2CloudGuardClient.update_target..Nrr:r;r<r-r.rfcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9Kr3rrDrrrFrh)r#rZupdate_target_detailsr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r*Jsp)$     zCloudGuardClient.update_targetc szddg}d}d}d}d} gdfdd t|D} | rJtd | ||d } d d t| D} t| D]<\} } | dust| tjrrt| dkrrtd| dqrdd|dt |dt d}dd t|D}|j j |d|j d}|rPt|t js&|j |||j|j|j j||| ||d|d|| |d S|j j||| ||d|d|| |d SdS)a Updates a target detector recipe (TargtetDetectorRecipe resource) identified by targetDetectorRecipeId, using parameters passed in an UpdateTargetDetectorRecipeDetails resource. :param str target_id: (required) OCID of the target :param str target_detector_recipe_id: (required) OCID of the target detector recipe. :param oci.cloud_guard.models.UpdateTargetDetectorRecipeDetails update_target_detector_recipe_details: (required) The details to be updated :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.TargetDetectorRecipe` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_target_detector_recipe API. rrrrupdate_target_detector_recipezjhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/TargetDetectorRecipe/UpdateTargetDetectorReciperecsg|]}|vr|qSr%r%r/r1r%r&r2uKr3zBCloudGuardClient.update_target_detector_recipe..z2update_target_detector_recipe got unknown kwargs: rcSsi|]\}}|tur||qSr%r4r6r%r%r&r9Kr3zBCloudGuardClient.update_target_detector_recipe..Nrr:r;r<r-r.rfcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9Kr3rrDrrrFrh)r#rrZ%update_target_detector_recipe_detailsr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r+`__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.TargetDetectorRecipeDetectorRule` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_target_detector_recipe_detector_rule API. r*r+r+update_target_detector_recipe_detector_rulezhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/TargetDetectorRecipeDetectorRule/UpdateTargetDetectorRecipeDetectorRulerecsg|]}|vr|qSr%r%r/r1r%r&r2Kr3zPCloudGuardClient.update_target_detector_recipe_detector_rule..z@update_target_detector_recipe_detector_rule got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9Kr3zPCloudGuardClient.update_target_detector_recipe_detector_rule..Nrr:r;r<r-r.rfcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9Lr3rrDr-rrFrh)r#rrrZ3update_target_detector_recipe_detector_rule_detailsr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r,Kst.$     z`__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.TargetResponderRecipe` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_target_responder_recipe API. rrrrupdate_target_responder_recipezlhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/TargetResponderRecipe/UpdateTargetResponderReciperecsg|]}|vr|qSr%r%r/r1r%r&r2`Lr3zCCloudGuardClient.update_target_responder_recipe..z3update_target_responder_recipe got unknown kwargs: rcSsi|]\}}|tur||qSr%r4r6r%r%r&r9jLr3zCCloudGuardClient.update_target_responder_recipe..Nrr:r;r<r-r.rfcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9vLr3rrDrrrFrh)r#rrZ&update_target_responder_recipe_detailsr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r-%Lsr.$     z/CloudGuardClient.update_target_responder_recipec s|gd}d}d}d} d} gdfddt|D} | rJtd | |||d} d d t| D} t| D]<\} }|d ust|tjrtt|d krttd| dqtdd|dt |dt d}dd t|D}|j j |d|j d}|rRt|t js(|j |||j|j|j j||| ||d|d| | |d S|j j||| ||d|d| | |d Sd S)a9 Updates a responder rule (ResponderRule resource) identified by responderRuleId, for a target responder recipe (TargetResponderRecipe resource) identified by targetResponderRecipeId, for a target (Target resource) identified by targetId. Parameters for the update are passed through an UpdateTargetResponderRecipeResponderRuleDetails resource. :param str target_id: (required) OCID of the target :param str target_responder_recipe_id: (required) OCID of the target responder recipe. :param str responder_rule_id: (required) Unique identifier of the responder rule. :param oci.cloud_guard.models.UpdateTargetResponderRecipeResponderRuleDetails update_target_responder_recipe_responder_rule_details: (required) The details to be updated for the ResponderRule resource. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.TargetResponderRecipeResponderRule` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_target_responder_recipe_responder_rule API. r/r0r-update_target_responder_recipe_responder_rulezhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/TargetResponderRecipeResponderRule/UpdateTargetResponderRecipeResponderRulerecsg|]}|vr|qSr%r%r/r1r%r&r2Lr3zRCloudGuardClient.update_target_responder_recipe_responder_rule..zBupdate_target_responder_recipe_responder_rule got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9Lr3zRCloudGuardClient.update_target_responder_recipe_responder_rule..Nrr:r;r<r-r.rfcSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9Lr3rrDr2rrFrh)r#rrrZ5update_target_responder_recipe_responder_rule_detailsr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r.Lst2$     z>CloudGuardClient.update_target_responder_recipe_responder_rulec sdg}d}d}d}d}gdfddt|D} | rHtd | d|i} d d t| D} t| D]<\} } | d ust| tjrnt| d krntd| dqndd|dt |dt |dt d} dd t| D} |j j |d|j d}|rbt|t js8|j | |j | ||j|j|j j||| | |d|d|||d S|j j||| | |d|d|||d Sd S)a Updates and renews the certificate for an on-premise WLP agent identified by wlpAgentId. :param str wlp_agent_id: (required) WLP agent OCID. :param oci.cloud_guard.models.UpdateWlpAgentDetails update_wlp_agent_details: (required) Details for the WlpAgent resource to be updated :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. :param str opc_request_id: (optional) The client request ID for tracing. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.cloud_guard.models.WlpAgent` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_wlp_agent API. rrrupdate_wlp_agentzRhttps://docs.oracle.com/iaas/api/#/en/cloud-guard/20200131/WlpAgent/UpdateWlpAgentrmcsg|]}|vr|qSr%r%r/r1r%r&r2QMr3z5CloudGuardClient.update_wlp_agent..z%update_wlp_agent got unknown kwargs: cSsi|]\}}|tur||qSr%r4r6r%r%r&r9ZMr3z5CloudGuardClient.update_wlp_agent..Nrr:r;r<r-r.r,rncSs&i|]\}}|tur|dur||qSrCr4r6r%r%r&r9gMr3rrDrrrFrP)r#rZupdate_wlp_agent_detailsr$rOrGrHrMrNr`rIr7r8rJrr%r1r&r/Mst/$       z!CloudGuardClient.update_wlp_agentN)__name__ __module__ __qualname____doc__r'r*rdrlrrrurxr{r~rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr r r r rrrrrrr r!r"r#r$r&r(r)r,r.r1r3r4r5rSrVrbrgrirlrprtrurvryrzr}rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr r rrrrrrrrrrrrrr r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r%r%r%r&rs[|gxyvxvxx``_`o`a`aa`qoaqgqqkoqgqggglm``r\````dd````d``d``b````dhek``DD[$D$ Q  )>Vjj&D!%<(&+&D{fpf8 e e     o T { w T t n w x r x x o s x o o o s v u zrN)Z __future__rZ oci._vendorrrZocirrZoci.base_clientrZ oci.configrr Z oci.signerr Zoci.utilr r r Zoci.exceptionsrZ oci.alloyrZmodelsrr5objectrr%r%r%r&s