IaC on Docker Hub Scan

Modified on Wed, 11 Oct 2023 at 07:35 PM



Prerequisites 

To integrate Docker Hub, users must have the following requirements available.
  • Docker Hub account 
  • Private images in Docker Hub


To Scan Public Images

Go to ‘Applications’ -> ‘Scan’ -> ‘Other’ -> ‘Docker Hub’ and insert name of the image you want to scan:



After the scan new application with the name of the image will be created:



To Scan Private images

Step 1: Create Access Token in Docker Hub.

Go to ‘Account settings’ -> ‘Security’ -> ‘New Access Token’. Fill ‘Token Description’ and choose Read-Only access permission:



Click on ‘Generate’ and copy your Docker Hub ID and Access Token:


Step 2: Add Docker Hub integration in CloudDefense.

Go to ‘Integrations’ -> ‘Container Coverage’ -> ‘Docker Hub’. Paste your Docker Hub ID and Access token and click ‘Configure’:



Step 3: Scan your private images.

After successful configuration you can scan your own images.
Go to the ‘Integrations’ -> ‘Container Coverage’ -> ‘Docker Hub’ or ‘Applications’ -> ‘Scan’ -> ‘Other’ -> ‘Docker Hub’ -> ‘Your own images’ and choose the image (images) you want to scan:

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article