CloudDefense.AI
  • Connect Repositories
    • Scan a Github/Gitlab
    • Scan an Azure DevOps repository
    • Scan a Bitbucket repository
  • Scans
    • Written code Scan (SAST)
    • Open Source Libraries Scan (SCA)
    • Secrets Scan
    • DAST Scans
    • API Scan from CloudDefense UI
  • CI/CD
    • GitHub Enterprise Actions
    • Methods for CI/CD integration with CLI
    • CI/CD Policies
    • Jenkins integration with cdefence
  • Integration
    • IaC on GCR Scan
    • IaC on Amazon ECR Scan
    • IaC on Docker Hub Scan
    • Integration with ServiceNow
    • Integration with Jira
    • SSO Okta App Integration
    • Set up CloudDefense Single Sign-On (SSO)
    • SIEM
      • Azure Sentinel
      • IBM Qradar
      • Micro Focus ArcSight Logger
  • Features
    • Sharing Integration
    • How to Enable Multi-Factor Authentication
    • AUTO PR
    • Remediation using SAST Recommendations
    • Global Allowed List and Local allowed list - Documentation
    • File Exclude
  • CloudDefense CLI
    • Cloud Defense CLI
  • On-Prem Installation
    • Install CloudDefense Helm on a Kubernetes Cluster
    • Install CloudDefense suite on a Kubernetes cluster
  • Others
    • Team Management
    • User Management
    • App Management
    • LogIn/Signup process
Powered by GitBook
On this page
  • Prerequisites
  • To Scan Public Images
  • To Scan Private images
  • Step 1: Create Access Token in Docker Hub.
  • Step 2: Add Docker Hub integration in CloudDefense.
  • Step 3: Scan your private images.
  1. Integration

IaC on Docker Hub Scan

PreviousIaC on Amazon ECR ScanNextIntegration with ServiceNow

Last updated 2 years ago

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: