Listing Container Image Scans

List potential OS vulnerabilities detected on a specific image in Container Registry.

Oracle uses common vulnerabilities and exposures (CVE) numbers to identify security vulnerabilities for operating systems and other software, including critical patch updates and security alert advisories. CVE numbers are unique, common identifiers for publicly known information about security vulnerabilities. View Qualys IDs (QIDs) in the Vulnerability Scanning service user interface.

The results of a container image scan include the specific vulnerabilities in the CVE database that were detected in the image.

Each image in Container Registry is identified by the following information.

  • Image tag- A string used to refer to a particular image in a repository.

    Examples: 4.6.3, version2.0.test

  • Image path- The fully qualified path to the image, including the repository name and image tag.

    Example: us-phoenix-1.ocir.io/mytenancy/myrepo:version2.0.test

  • To view the results of container image scans:

    1. Open the navigation menu  and select Identity & Security. Under Scanning, select Scanning Reports.
    2. To view the resources in a different compartment, use the Compartment filter to switch compartments.

      You must have permission to work in a compartment to see the resources in it. If you're not sure which compartment to use, contact an administrator. For more information, see Understanding Compartments.

    3. Select the Container images tab.
    4. (Optional) Filter the table of reports by selecting a value in Risk level.
    5. (Optional) Select dates in Scan start date and Scan end date.

      By default, only the most recent scan reports are displayed. To view older reports, select specific start and end dates.

      Or, select Scan start date and select either Past 7 Days or Past 30 Days.

      Select Reset at any time to set the risk level and date ranges back to the default values.

    6. (Optional) Select the table columns to sort the container image scans.
  • Use the oci vulnerability-scanning container scan result list command and required parameters to retrieve a list of container scan results in a compartment:

    oci vulnerability-scanning container scan result list --compartment-id <compartment_ocid>

    For example:

    oci vulnerability-scanning container scan result list --compartment-id ocid1.compartment.oc1..exampleuniqueID

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

  • Run the ListContainerScanResults operation to retrieve a list of container scan results in a compartment.