Interface VulnerabilityScanning

  • All Superinterfaces:
    AutoCloseable
    All Known Implementing Classes:
    VulnerabilityScanningClient

    @Generated(value="OracleSDKGenerator",
               comments="API Version: 20210215")
    public interface VulnerabilityScanning
    extends AutoCloseable
    Use the Vulnerability Scanning Service (VSS) API to manage scan recipes, targets, and reports.

    For more information, see the Vulnerability Scanning documentation. This service client uses CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER for all the operations by default if no circuit breaker configuration is defined by the user.

    • Method Detail

      • refreshClient

        void refreshClient()
        Rebuilds the client from scratch.

        Useful to refresh certificates.

      • setEndpoint

        void setEndpoint​(String endpoint)
        Sets the endpoint to call (ex, https://www.example.com).
        Parameters:
        endpoint - The endpoint of the service.
      • getEndpoint

        String getEndpoint()
        Gets the set endpoint for REST call (ex, https://www.example.com)
      • setRegion

        void setRegion​(Region region)
        Sets the region to call (ex, Region.US_PHOENIX_1).

        Note, this will call setEndpoint after resolving the endpoint. If the service is not available in this Region, however, an IllegalArgumentException will be raised.

        Parameters:
        region - The region of the service.
      • setRegion

        void setRegion​(String regionId)
        Sets the region to call (ex, ‘us-phoenix-1’).

        Note, this will first try to map the region ID to a known Region and call setRegion.

        If no known Region could be determined, it will create an endpoint based on the default endpoint format (Region.formatDefaultRegionEndpoint(Service, String) and then call setEndpoint.

        Parameters:
        regionId - The public region ID.
      • useRealmSpecificEndpointTemplate

        void useRealmSpecificEndpointTemplate​(boolean realmSpecificEndpointTemplateEnabled)
        Determines whether realm specific endpoint should be used or not.

        Set realmSpecificEndpointTemplateEnabled to “true” if the user wants to enable use of realm specific endpoint template, otherwise set it to “false”

        Parameters:
        realmSpecificEndpointTemplateEnabled - flag to enable the use of realm specific endpoint template
      • changeContainerScanRecipeCompartment

        ChangeContainerScanRecipeCompartmentResponse changeContainerScanRecipeCompartment​(ChangeContainerScanRecipeCompartmentRequest request)
        Moves a ContainerScanRecipe into a different compartment.

        When provided, If-Match is checked against ETag values of the resource.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/ChangeContainerScanRecipeCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeContainerScanRecipeCompartment API.

      • changeContainerScanResultCompartment

        ChangeContainerScanResultCompartmentResponse changeContainerScanResultCompartment​(ChangeContainerScanResultCompartmentRequest request)
        Moves a ContainerScanResult into a different compartment.

        When provided, If-Match is checked against ETag values of the resource.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/ChangeContainerScanResultCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeContainerScanResultCompartment API.

      • changeContainerScanTargetCompartment

        ChangeContainerScanTargetCompartmentResponse changeContainerScanTargetCompartment​(ChangeContainerScanTargetCompartmentRequest request)
        Moves a ContainerScanTarget into a different compartment.

        When provided, If-Match is checked against ETag values of the resource.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/ChangeContainerScanTargetCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeContainerScanTargetCompartment API.

      • changeHostAgentScanResultCompartment

        ChangeHostAgentScanResultCompartmentResponse changeHostAgentScanResultCompartment​(ChangeHostAgentScanResultCompartmentRequest request)
        Moves a HostAgentScanResult into a different compartment.

        When provided, If-Match is checked against ETag values of the resource.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/ChangeHostAgentScanResultCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeHostAgentScanResultCompartment API.

      • changeHostCisBenchmarkScanResultCompartment

        ChangeHostCisBenchmarkScanResultCompartmentResponse changeHostCisBenchmarkScanResultCompartment​(ChangeHostCisBenchmarkScanResultCompartmentRequest request)
        Moves a HostCisBenchmarkScanResult into a different compartment.

        When provided, If-Match is checked against ETag values of the resource.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/ChangeHostCisBenchmarkScanResultCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeHostCisBenchmarkScanResultCompartment API.

      • changeHostEndpointProtectionScanResultCompartment

        ChangeHostEndpointProtectionScanResultCompartmentResponse changeHostEndpointProtectionScanResultCompartment​(ChangeHostEndpointProtectionScanResultCompartmentRequest request)
        Moves a HostEndpointProtectionScanResult into a different compartment.

        When provided, If-Match is checked against ETag values of the resource.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/ChangeHostEndpointProtectionScanResultCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeHostEndpointProtectionScanResultCompartment API.

      • changeHostPortScanResultCompartment

        ChangeHostPortScanResultCompartmentResponse changeHostPortScanResultCompartment​(ChangeHostPortScanResultCompartmentRequest request)
        Moves a HostPortScanResult into a different compartment.

        When provided, If-Match is checked against ETag values of the resource.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/ChangeHostPortScanResultCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeHostPortScanResultCompartment API.

      • changeHostScanRecipeCompartment

        ChangeHostScanRecipeCompartmentResponse changeHostScanRecipeCompartment​(ChangeHostScanRecipeCompartmentRequest request)
        Moves a HostScanRecipe into a different compartment.

        When provided, If-Match is checked against ETag values of the resource.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/ChangeHostScanRecipeCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeHostScanRecipeCompartment API.

      • changeHostScanTargetCompartment

        ChangeHostScanTargetCompartmentResponse changeHostScanTargetCompartment​(ChangeHostScanTargetCompartmentRequest request)
        Moves a HostScanTarget into a different compartment.

        When provided, If-Match is checked against ETag values of the resource.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/ChangeHostScanTargetCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeHostScanTargetCompartment API.

      • createContainerScanRecipe

        CreateContainerScanRecipeResponse createContainerScanRecipe​(CreateContainerScanRecipeRequest request)
        Creates a new ContainerScanRecipe.

        A recipe determines the types of security issues that you want scanned.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/CreateContainerScanRecipeExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateContainerScanRecipe API.

      • createContainerScanTarget

        CreateContainerScanTargetResponse createContainerScanTarget​(CreateContainerScanTargetRequest request)
        Creates a new ContainerScanTarget.

        A container scan target specifies a group of one or more Docker image repositories in Oracle Cloud Infrastructure Registry (OCIR) that you want routinely scanned for security vulnerabilities.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/CreateContainerScanTargetExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateContainerScanTarget API.

      • createHostScanRecipe

        CreateHostScanRecipeResponse createHostScanRecipe​(CreateHostScanRecipeRequest request)
        Creates a new HostScanRecipe.

        A recipe determines the types of security issues that you want scanned, and how often to scan.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/CreateHostScanRecipeExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateHostScanRecipe API.

      • createHostScanTarget

        CreateHostScanTargetResponse createHostScanTarget​(CreateHostScanTargetRequest request)
        Creates a new HostScanTarget.

        A host scan target is a collection of compute instances that you want routinely scanned for security vulnerabilities.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/CreateHostScanTargetExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateHostScanTarget API.

      • deleteContainerScanRecipe

        DeleteContainerScanRecipeResponse deleteContainerScanRecipe​(DeleteContainerScanRecipeRequest request)
        Deletes the ContainerScanRecipe identified by the recipe ID.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/DeleteContainerScanRecipeExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteContainerScanRecipe API.

      • deleteContainerScanResult

        DeleteContainerScanResultResponse deleteContainerScanResult​(DeleteContainerScanResultRequest request)
        Deletes the ContainerScanResult identified by the container scan ID.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/DeleteContainerScanResultExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteContainerScanResult API.

      • deleteContainerScanTarget

        DeleteContainerScanTargetResponse deleteContainerScanTarget​(DeleteContainerScanTargetRequest request)
        Deletes the ContainerScanTarget identified by the target ID.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/DeleteContainerScanTargetExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteContainerScanTarget API.

      • deleteHostAgentScanResult

        DeleteHostAgentScanResultResponse deleteHostAgentScanResult​(DeleteHostAgentScanResultRequest request)
        Deletes the HostAgentScanResult identified by the host agent scan ID.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/DeleteHostAgentScanResultExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteHostAgentScanResult API.

      • deleteHostCisBenchmarkScanResult

        DeleteHostCisBenchmarkScanResultResponse deleteHostCisBenchmarkScanResult​(DeleteHostCisBenchmarkScanResultRequest request)
        Deletes the HostCisBenchmarkScanResult identified by the benchmark scan result ID.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/DeleteHostCisBenchmarkScanResultExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteHostCisBenchmarkScanResult API.

      • deleteHostEndpointProtectionScanResult

        DeleteHostEndpointProtectionScanResultResponse deleteHostEndpointProtectionScanResult​(DeleteHostEndpointProtectionScanResultRequest request)
        Deletes the HostEndpointProtectionScanResult identified by the id
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/DeleteHostEndpointProtectionScanResultExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteHostEndpointProtectionScanResult API.

      • deleteHostPortScanResult

        DeleteHostPortScanResultResponse deleteHostPortScanResult​(DeleteHostPortScanResultRequest request)
        Deletes the HostPortScanResult identified by the host port scan ID.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/DeleteHostPortScanResultExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteHostPortScanResult API.

      • deleteHostScanRecipe

        DeleteHostScanRecipeResponse deleteHostScanRecipe​(DeleteHostScanRecipeRequest request)
        Deletes the HostScanRecipe identified by the recipe ID.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/DeleteHostScanRecipeExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteHostScanRecipe API.

      • deleteHostScanTarget

        DeleteHostScanTargetResponse deleteHostScanTarget​(DeleteHostScanTargetRequest request)
        Deletes the HostScanTarget identified by the target ID.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/DeleteHostScanTargetExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteHostScanTarget API.

      • exportHostAgentScanResultCsv

        ExportHostAgentScanResultCsvResponse exportHostAgentScanResultCsv​(ExportHostAgentScanResultCsvRequest request)
        Exports a list of HostAgentScanResultSummary objects within a compartment and during a specified time range in CSV format.

        You can filter the results by problem severity.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/ExportHostAgentScanResultCsvExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ExportHostAgentScanResultCsv API.

      • exportHostVulnerabilityCsv

        ExportHostVulnerabilityCsvResponse exportHostVulnerabilityCsv​(ExportHostVulnerabilityCsvRequest request)
        Exports a list of HostVulnerabilitySummary objects in a compartment in CSV format.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/ExportHostVulnerabilityCsvExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ExportHostVulnerabilityCsv API.

      • getContainerScanRecipe

        GetContainerScanRecipeResponse getContainerScanRecipe​(GetContainerScanRecipeRequest request)
        Retrieves a ContainerScanRecipe identified by the recipe ID.

        A recipe determines the types of security issues that you want scanned.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/GetContainerScanRecipeExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetContainerScanRecipe API.

      • getContainerScanResult

        GetContainerScanResultResponse getContainerScanResult​(GetContainerScanResultRequest request)
        Retrieves a ContainerScanResult identified by the container scan ID.

        The result includes a list of problems found in a specific image in a Docker repository.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/GetContainerScanResultExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetContainerScanResult API.

      • getContainerScanTarget

        GetContainerScanTargetResponse getContainerScanTarget​(GetContainerScanTargetRequest request)
        Gets a ContainerScanTarget identified by the target ID.

        A container scan target specifies a group of one or more Docker image repositories in Oracle Cloud Infrastructure Registry (OCIR) that you want routinely scanned for security vulnerabilities.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/GetContainerScanTargetExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetContainerScanTarget API.

      • getHostAgentScanResult

        GetHostAgentScanResultResponse getHostAgentScanResult​(GetHostAgentScanResultRequest request)
        Retrieves a HostAgentScanResult identified by the host agent scan ID.

        The result includes a list of CVEs detected in a specific compute instance.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/GetHostAgentScanResultExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetHostAgentScanResult API.

      • getHostCisBenchmarkScanResult

        GetHostCisBenchmarkScanResultResponse getHostCisBenchmarkScanResult​(GetHostCisBenchmarkScanResultRequest request)
        Retrieves a HostCisBenchmarkScanResult identified by the benchmark scan result ID.

        A CIS (Center for Internet Security) benchmark scan result includes a list of benchmarks that were tested on a specific compute instance, and whether each test passed or failed.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/GetHostCisBenchmarkScanResultExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetHostCisBenchmarkScanResult API.

      • getHostEndpointProtectionScanResult

        GetHostEndpointProtectionScanResultResponse getHostEndpointProtectionScanResult​(GetHostEndpointProtectionScanResultRequest request)
        Returns HostEndpointProtectionScanResults for the given host endpoint protection scan result ID.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/GetHostEndpointProtectionScanResultExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetHostEndpointProtectionScanResult API.

      • getHostPortScanResult

        GetHostPortScanResultResponse getHostPortScanResult​(GetHostPortScanResultRequest request)
        Retrieves a HostPortScanResult identified by the host port scan ID.

        The result includes a list of open ports that were detected in a specific compute instance.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/GetHostPortScanResultExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetHostPortScanResult API.

      • getHostScanRecipe

        GetHostScanRecipeResponse getHostScanRecipe​(GetHostScanRecipeRequest request)
        Retrieves a HostScanRecipe identified by the recipe ID.

        A recipe determines the types of security issues that you want scanned, and how often to scan.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/GetHostScanRecipeExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetHostScanRecipe API.

      • getHostScanTarget

        GetHostScanTargetResponse getHostScanTarget​(GetHostScanTargetRequest request)
        Retrieves a HostScanTarget identified by the target ID.

        A host scan target is a collection of compute instances that you want routinely scanned for security vulnerabilities.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/GetHostScanTargetExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetHostScanTarget API.

      • getHostVulnerability

        GetHostVulnerabilityResponse getHostVulnerability​(GetHostVulnerabilityRequest request)
        Retrieves a HostVulnerability identified by the host vulnerability ID.

        A host vulnerability describes a security issue that was detected in scans of one or more compute instances. Common Vulnerabilities and Exposures (CVE) numbers identify security vulnerabilities for operating systems and other software, including Critical Patch Updates and Security Alert advisories.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/GetHostVulnerabilityExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetHostVulnerability API.

      • getVulnerability

        GetVulnerabilityResponse getVulnerability​(GetVulnerabilityRequest request)
        Retrieves a Vulnerability identified by the vulnerability ID.

        A vulnerability describes a security issue that was detected in scans of one or more compute instances, container scan repositories. Common Vulnerabilities and Exposures (CVE) numbers identify security vulnerabilities for operating systems and other software, including Critical Patch Updates and Security Alert advisories.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/GetVulnerabilityExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetVulnerability API.

      • getWorkRequest

        GetWorkRequestResponse getWorkRequest​(GetWorkRequestRequest request)
        Gets the status of the work request with the given ID.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/GetWorkRequestExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetWorkRequest API.

      • listContainerScanRecipes

        ListContainerScanRecipesResponse listContainerScanRecipes​(ListContainerScanRecipesRequest request)
        Retrieves a list of ContainerScanRecipeSummary objects in a compartment.

        A recipe determines the types of security issues that you want scanned.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/ListContainerScanRecipesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListContainerScanRecipes API.

      • listContainerScanResults

        ListContainerScanResultsResponse listContainerScanResults​(ListContainerScanResultsRequest request)
        Retrieves a list of ContainerScanResultSummary objects in a compartment.

        You can filter and sort the results by problem severity and time. A container scan result includes a list of problems detected in a specific image in a Docker repository.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/ListContainerScanResultsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListContainerScanResults API.

      • listContainerScanTargets

        ListContainerScanTargetsResponse listContainerScanTargets​(ListContainerScanTargetsRequest request)
        Retrieves a list of ContainerScanTargetSummary objects in a compartment.

        A container scan target specifies a group of one or more Docker image repositories in Oracle Cloud Infrastructure Registry (OCIR) that you want routinely scanned for security vulnerabilities.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/ListContainerScanTargetsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListContainerScanTargets API.

      • listHostAgentScanResults

        ListHostAgentScanResultsResponse listHostAgentScanResults​(ListHostAgentScanResultsRequest request)
        Retrieves a list of HostAgentScanResultSummary objects in a compartment.

        You can filter and sort the results by problem severity and time. An agent scan result includes a list of CVEs detected in a specific compute instance.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/ListHostAgentScanResultsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListHostAgentScanResults API.

      • listHostCisBenchmarkScanResults

        ListHostCisBenchmarkScanResultsResponse listHostCisBenchmarkScanResults​(ListHostCisBenchmarkScanResultsRequest request)
        Retrieves a list of HostCisBenchmarkScanResultSummary objects in a compartment.

        You can filter and sort the results by problem severity and time. A CIS (Center for Internet Security) benchmark scan result includes the number of failed benchmark tests on a specific compute instance.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/ListHostCisBenchmarkScanResultsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListHostCisBenchmarkScanResults API.

      • listHostEndpointProtectionScanResults

        ListHostEndpointProtectionScanResultsResponse listHostEndpointProtectionScanResults​(ListHostEndpointProtectionScanResultsRequest request)
        Returns a collection of HostEndpointProtectionScanResultSummary objects
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/ListHostEndpointProtectionScanResultsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListHostEndpointProtectionScanResults API.

      • listHostPortScanResults

        ListHostPortScanResultsResponse listHostPortScanResults​(ListHostPortScanResultsRequest request)
        Retrieves a list of HostPortScanResultSummary objects in a compartment.

        You can filter and sort the results by problem severity and time. A port scan result includes a list of open ports that were detected in a specific compute instance.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/ListHostPortScanResultsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListHostPortScanResults API.

      • listHostScanRecipes

        ListHostScanRecipesResponse listHostScanRecipes​(ListHostScanRecipesRequest request)
        Retrieves a list of HostScanRecipeSummary objects in a compartment.

        A recipe determines the types of security issues that you want scanned, and how often to scan.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/ListHostScanRecipesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListHostScanRecipes API.

      • listHostScanTargetErrors

        ListHostScanTargetErrorsResponse listHostScanTargetErrors​(ListHostScanTargetErrorsRequest request)
        Retrieves list of errors during scanning on instances associated with HostScanTarget identified by the target ID.

        A host scan target is a collection of compute instances that you want routinely scanned for security vulnerabilities.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/ListHostScanTargetErrorsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListHostScanTargetErrors API.

      • listHostScanTargets

        ListHostScanTargetsResponse listHostScanTargets​(ListHostScanTargetsRequest request)
        Retrieves a list of HostScanTargetSummary objects in a compartment.

        A host scan target is a collection of compute instances that you want routinely scanned for security vulnerabilities.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/ListHostScanTargetsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListHostScanTargets API.

      • listHostVulnerabilities

        ListHostVulnerabilitiesResponse listHostVulnerabilities​(ListHostVulnerabilitiesRequest request)
        Retrieves a list of HostVulnerabilitySummary objects in a compartment.

        You can filter and sort the vulnerabilities by problem severity and time. A host vulnerability describes a security issue that was detected in scans of one or more compute instances.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/ListHostVulnerabilitiesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListHostVulnerabilities API.

      • listHostVulnerabilityImpactedHosts

        ListHostVulnerabilityImpactedHostsResponse listHostVulnerabilityImpactedHosts​(ListHostVulnerabilityImpactedHostsRequest request)
        Retrieves a list of HostVulnerabilityImpactedHostSummary objects for a specific host vulnerability ID.

        An impacted host summary identifies a compute instance on which the specified vulnerability was detected.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/ListHostVulnerabilityImpactedHostsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListHostVulnerabilityImpactedHosts API.

      • listVulnerabilities

        ListVulnerabilitiesResponse listVulnerabilities​(ListVulnerabilitiesRequest request)
        Retrieves a list of VulnerabilitySummary objects in a compartment.

        You can filter and sort the vulnerabilities by problem severity and time and type. A vulnerability describes a security issue that was detected in scans of one or more compute instances, container images.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/ListVulnerabilitiesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListVulnerabilities API.

      • listVulnerabilityImpactedContainers

        ListVulnerabilityImpactedContainersResponse listVulnerabilityImpactedContainers​(ListVulnerabilityImpactedContainersRequest request)
        Retrieves a list of VulnerabilityImpactedContainerSummary objects for a specific vulnerability ID.

        An impacted container image summary identifies container images on which the specified vulnerability was detected.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/ListVulnerabilityImpactedContainersExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListVulnerabilityImpactedContainers API.

      • listVulnerabilityImpactedHosts

        ListVulnerabilityImpactedHostsResponse listVulnerabilityImpactedHosts​(ListVulnerabilityImpactedHostsRequest request)
        Retrieves a list of VulnerabilityImpactedHostSummary objects for a specific host vulnerability ID.

        An impacted host summary identifies a compute instance on which the specified vulnerability was detected.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/ListVulnerabilityImpactedHostsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListVulnerabilityImpactedHosts API.

      • listWorkRequestErrors

        ListWorkRequestErrorsResponse listWorkRequestErrors​(ListWorkRequestErrorsRequest request)
        Return a (paginated) list of errors for a given work request.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/ListWorkRequestErrorsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequestErrors API.

      • listWorkRequestLogs

        ListWorkRequestLogsResponse listWorkRequestLogs​(ListWorkRequestLogsRequest request)
        Return a (paginated) list of logs for a given work request.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/ListWorkRequestLogsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequestLogs API.

      • listWorkRequests

        ListWorkRequestsResponse listWorkRequests​(ListWorkRequestsRequest request)
        Lists the work requests in a compartment.
        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/ListWorkRequestsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequests API.

      • updateContainerScanRecipe

        UpdateContainerScanRecipeResponse updateContainerScanRecipe​(UpdateContainerScanRecipeRequest request)
        Updates the ContainerScanRecipe identified by the recipe ID.

        A recipe determines the types of security issues that you want scanned.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/UpdateContainerScanRecipeExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateContainerScanRecipe API.

      • updateContainerScanTarget

        UpdateContainerScanTargetResponse updateContainerScanTarget​(UpdateContainerScanTargetRequest request)
        Updates the ContainerScanTarget identified by the target ID.

        A container scan target specifies a group of one or more Docker image repositories in Oracle Cloud Infrastructure Registry (OCIR) that you want routinely scanned for security vulnerabilities.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/UpdateContainerScanTargetExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateContainerScanTarget API.

      • updateHostScanRecipe

        UpdateHostScanRecipeResponse updateHostScanRecipe​(UpdateHostScanRecipeRequest request)
        Updates the HostScanRecipe identified by the recipe ID.

        A recipe determines the types of security issues that you want scanned, and how often to scan.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/UpdateHostScanRecipeExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateHostScanRecipe API.

      • updateHostScanTarget

        UpdateHostScanTargetResponse updateHostScanTarget​(UpdateHostScanTargetRequest request)
        Updates the HostScanTarget identified by the target ID.

        A host scan target is a collection of compute instances that you want routinely scanned for security vulnerabilities.

        Parameters:
        request - The request object containing the details to send
        Returns:
        A response object containing details about the completed operation
        Throws:
        BmcException - when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries

        Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/vulnerabilityscanning/UpdateHostScanTargetExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateHostScanTarget API.

      • getWaiters

        VulnerabilityScanningWaiters getWaiters()
        Gets the pre-configured waiters available for resources for this service.
        Returns:
        The service waiters.
      • getPaginators

        VulnerabilityScanningPaginators getPaginators()
        Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.

        These paginators provide an Iterable interface so that service responses, or resources/records, can be iterated through without having to manually deal with pagination and page tokens.

        Returns:
        The service paginators.