VulnerabilityScanningClientCompositeOperations

class oci.vulnerability_scanning.VulnerabilityScanningClientCompositeOperations(client, **kwargs)

This class provides a wrapper around VulnerabilityScanningClient and offers convenience methods for operations that would otherwise need to be chained together. For example, instead of performing an action on a resource (e.g. launching an instance, creating a load balancer) and then using a waiter to wait for the resource to enter a given state, you can call a single method in this class to accomplish the same functionality

Methods

__init__(client, **kwargs) Creates a new VulnerabilityScanningClientCompositeOperations object
create_container_scan_recipe_and_wait_for_state(…) Calls create_container_scan_recipe() and waits for the WorkRequest to enter the given state(s).
create_container_scan_target_and_wait_for_state(…) Calls create_container_scan_target() and waits for the WorkRequest to enter the given state(s).
create_host_scan_recipe_and_wait_for_state(…) Calls create_host_scan_recipe() and waits for the WorkRequest to enter the given state(s).
create_host_scan_target_and_wait_for_state(…) Calls create_host_scan_target() and waits for the WorkRequest to enter the given state(s).
delete_container_scan_recipe_and_wait_for_state(…) Calls delete_container_scan_recipe() and waits for the WorkRequest to enter the given state(s).
delete_container_scan_result_and_wait_for_state(…) Calls delete_container_scan_result() and waits for the WorkRequest to enter the given state(s).
delete_container_scan_target_and_wait_for_state(…) Calls delete_container_scan_target() and waits for the WorkRequest to enter the given state(s).
delete_host_agent_scan_result_and_wait_for_state(…) Calls delete_host_agent_scan_result() and waits for the WorkRequest to enter the given state(s).
delete_host_cis_benchmark_scan_result_and_wait_for_state(…) Calls delete_host_cis_benchmark_scan_result() and waits for the WorkRequest to enter the given state(s).
delete_host_endpoint_protection_scan_result_and_wait_for_state(…) Calls delete_host_endpoint_protection_scan_result() and waits for the WorkRequest to enter the given state(s).
delete_host_port_scan_result_and_wait_for_state(…) Calls delete_host_port_scan_result() and waits for the WorkRequest to enter the given state(s).
delete_host_scan_recipe_and_wait_for_state(…) Calls delete_host_scan_recipe() and waits for the WorkRequest to enter the given state(s).
delete_host_scan_target_and_wait_for_state(…) Calls delete_host_scan_target() and waits for the WorkRequest to enter the given state(s).
update_container_scan_recipe_and_wait_for_state(…) Calls update_container_scan_recipe() and waits for the WorkRequest to enter the given state(s).
update_container_scan_target_and_wait_for_state(…) Calls update_container_scan_target() and waits for the WorkRequest to enter the given state(s).
update_host_scan_recipe_and_wait_for_state(…) Calls update_host_scan_recipe() and waits for the WorkRequest to enter the given state(s).
update_host_scan_target_and_wait_for_state(…) Calls update_host_scan_target() and waits for the WorkRequest to enter the given state(s).
__init__(client, **kwargs)

Creates a new VulnerabilityScanningClientCompositeOperations object

Parameters:client (VulnerabilityScanningClient) – The service client which will be wrapped by this object
create_container_scan_recipe_and_wait_for_state(create_container_scan_recipe_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_container_scan_recipe() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • create_container_scan_recipe_details (oci.vulnerability_scanning.models.CreateContainerScanRecipeDetails) – (required) Details for the new ContainerScanRecipe
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to create_container_scan_recipe()
  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
create_container_scan_target_and_wait_for_state(create_container_scan_target_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_container_scan_target() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • create_container_scan_target_details (oci.vulnerability_scanning.models.CreateContainerScanTargetDetails) – (required) Details for the new ContainerScanTarget
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to create_container_scan_target()
  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
create_host_scan_recipe_and_wait_for_state(create_host_scan_recipe_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_host_scan_recipe() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • create_host_scan_recipe_details (oci.vulnerability_scanning.models.CreateHostScanRecipeDetails) – (required) Details for the new HostScanRecipe
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to create_host_scan_recipe()
  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
create_host_scan_target_and_wait_for_state(create_host_scan_target_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls create_host_scan_target() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • create_host_scan_target_details (oci.vulnerability_scanning.models.CreateHostScanTargetDetails) – (required) Details for the new HostScanTarget
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to create_host_scan_target()
  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
delete_container_scan_recipe_and_wait_for_state(container_scan_recipe_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_container_scan_recipe() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • container_scan_recipe_id (str) – (required) unique ContainerScanRecipe identifier
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to delete_container_scan_recipe()
  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
delete_container_scan_result_and_wait_for_state(container_scan_result_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_container_scan_result() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • container_scan_result_id (str) – (required) unique container scan identifier
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to delete_container_scan_result()
  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
delete_container_scan_target_and_wait_for_state(container_scan_target_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_container_scan_target() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • container_scan_target_id (str) – (required) unique ContainerScanTarget identifier
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to delete_container_scan_target()
  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
delete_host_agent_scan_result_and_wait_for_state(host_agent_scan_result_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_host_agent_scan_result() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • host_agent_scan_result_id (str) – (required) unique host agent scan identifier
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to delete_host_agent_scan_result()
  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
delete_host_cis_benchmark_scan_result_and_wait_for_state(host_cis_benchmark_scan_result_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_host_cis_benchmark_scan_result() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • host_cis_benchmark_scan_result_id (str) – (required) unique host Cis benchmark scan identifier
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to delete_host_cis_benchmark_scan_result()
  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
delete_host_endpoint_protection_scan_result_and_wait_for_state(host_endpoint_protection_scan_result_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_host_endpoint_protection_scan_result() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • host_endpoint_protection_scan_result_id (str) – (required) unique host endpoint protection scan identifier
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to delete_host_endpoint_protection_scan_result()
  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
delete_host_port_scan_result_and_wait_for_state(host_port_scan_result_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_host_port_scan_result() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • host_port_scan_result_id (str) – (required) unique host port scan identifier
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to delete_host_port_scan_result()
  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
delete_host_scan_recipe_and_wait_for_state(host_scan_recipe_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_host_scan_recipe() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • host_scan_recipe_id (str) – (required) unique HostScanRecipe identifier
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to delete_host_scan_recipe()
  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
delete_host_scan_target_and_wait_for_state(host_scan_target_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls delete_host_scan_target() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • host_scan_target_id (str) – (required) unique HostScanTarget identifier
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to delete_host_scan_target()
  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
update_container_scan_recipe_and_wait_for_state(container_scan_recipe_id, update_container_scan_recipe_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_container_scan_recipe() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • container_scan_recipe_id (str) – (required) unique ContainerScanRecipe identifier
  • update_container_scan_recipe_details (oci.vulnerability_scanning.models.UpdateContainerScanRecipeDetails) – (required) The information to be updated.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to update_container_scan_recipe()
  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
update_container_scan_target_and_wait_for_state(container_scan_target_id, update_container_scan_target_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_container_scan_target() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • container_scan_target_id (str) – (required) unique ContainerScanTarget identifier
  • update_container_scan_target_details (oci.vulnerability_scanning.models.UpdateContainerScanTargetDetails) – (required) The information to be updated.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to update_container_scan_target()
  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
update_host_scan_recipe_and_wait_for_state(host_scan_recipe_id, update_host_scan_recipe_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_host_scan_recipe() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • host_scan_recipe_id (str) – (required) unique HostScanRecipe identifier
  • update_host_scan_recipe_details (oci.vulnerability_scanning.models.UpdateHostScanRecipeDetails) – (required) The information to be updated.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to update_host_scan_recipe()
  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
update_host_scan_target_and_wait_for_state(host_scan_target_id, update_host_scan_target_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={})

Calls update_host_scan_target() and waits for the WorkRequest to enter the given state(s).

Parameters:
  • host_scan_target_id (str) – (required) unique HostScanTarget identifier
  • update_host_scan_target_details (oci.vulnerability_scanning.models.UpdateHostScanTargetDetails) – (required) The information to be updated.
  • wait_for_states (list[str]) – An array of states to wait on. These should be valid values for status
  • operation_kwargs (dict) – A dictionary of keyword arguments to pass to update_host_scan_target()
  • waiter_kwargs (dict) – A dictionary of keyword arguments to pass to the oci.wait_until() function. For example, you could pass max_interval_seconds or max_interval_seconds as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait