πŸ”Έ
Container Scanning
Detect security vulnerabilities in your Docker images.
CloudDefense Container scans are performed on a docker image using our fully packaged Docker image without any additional software installation. Please make sure you have the following prerequisites before running the scans.

Prerequisites

    Install CLI​
    Install Docker if not already present.
      Version: 18.x or greater

Example

Run the following command from your console
1
cdefense container --api-key=<YOUR_API_KEY> \
2
--image-name=<your image name> --project-name="my-docker-project"
Copied!
For private container repositories with credentials
1
cdefense container --api-key=<YOUR_API_KEY> \
2
--image-name=<your image name> --project-name="my-docker-mage" \
3
--username=<docker login> --password=<docker password>
Copied!
To securely enter the password use --W option without the actual password
1
cdefense container --api-key=<YOUR_API_KEY> \
2
--image-name=<your image name> --project-name="my-docker-mage" \
3
--username=<docker login> --W
Copied!
Last modified 1mo ago
Copy link