RHACS to detect OpenJDK Java Platform as a component

Solution Verified - Updated -

Issue

  • Adopt OpenJDK Java Platform is not detected in the image scan.
  • This JDK is installed in a container as per below instruction in the Dockerfile
<snip>
"instruction": "RUN",
 "value": "set -eux; \t\tarch=\"$(dpkg --print-architecture)\"; \tcase \"$arch\" in \t\t'amd64') \t\t\tdownloadUrl='https://github.com/AdoptOpenJDK/openjdk8-upstream-binaries/releases/download/jdk8u342-b07/OpenJDK8U-jre_x64_linux_8u342b07.tar.gz'; \t\t\t;; \t\t'arm64') \t\t\tdownloadUrl='https://github.com/AdoptOpenJDK/openjdk8-upstream-binaries/releases/download/jdk8u342-b07/OpenJDK8U-jre_aarch64_linux_8u342b07.tar.gz'; \t\t\t;
</snip>
  • RHACS should identify it as a component in the image and scan it accordingly.

Environment

  • Red Hat Advance Cluster Security for Kubernetes 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content