VMWare Tanzu blobstore scanning
Prisma Cloud for TAS can scan the droplets in your blobstores for vulnerabilities. Prisma Cloud can be configured to scan your blobstores periodically. Defenders are the entities that perform the scanning.
When you install PCF Defender in your environment, it automatically scans the running apps and hosts in your environment without any special configuration required.
Tanzu stores large binary files in blobstores. Blobstores are roughly equivalent to registries. One type of file stored in the blobstore is the droplet.
Droplets are archives that contain ready to run applications. They are roughly equivalent to container images. Droplets contain the OS stack, a buildpack (which contains the languages, libraries, and services used by the app), and custom app code. Before running an app on your infrastructure, the Cloud Controller stages it for delivery by combining the OS stack, buildpack, and source code into a droplet, then storing the droplet in a blobstore.
Configure Prisma Cloud to scan a blobstore
Prisma Cloud can scan internal and external blobstores, and blobstores configured to use the Fog Ruby gem or WebDAV protocol.
External blobstores that require a custom authentication flow, such as those offered by cloud providers, are not supported.
Prequisite:You’ve already installed PCF Defender in your environment.
- Log into Prisma Cloud Console.
- Go toDefend > Vulnerabilities > PCF Blobstore.
- ClickAdd Blobstore.
- Specify the cloud controller.
- Specify a Defender to execute the scanning.Prisma Cloud lists all the agentIDs where Defender is installed. To correlate the agentID to the Diego cell’s IP address, and determine which host runs a Defender, log into any Diego cell, and inspect /var/vcap/instance/dns/records.json. This file shows the correlation between agentID and host IP address.
- Specify the droplets to scan. To scan all droplets, enter a wildcard (*).
- Specify the maximum number of droplets to scan. To scan all droplets, enter 0.
Review scan reports
Scan reports show all vulnerabilities found in the droplets in your blobstores. By default, droplets are rescanned every 24 hours.
A droplet, which is an artifact of the app staging process, contains the minimum required data to specify an app (binaries/libraries). Droplets are stored in blobstores. Review scan reports for droplets in
Monitor > Vulnerabilities > PCF Blobstore.
When an application is run in a Diego cell, it’s run on top of a stack, currently cflinuxfs3, which is derived from Ubuntu Bionic 18.04. Defender automatically scans all running applications (buildpack and docker). Review the scan reports for running apps in
Monitor > Vulnerabilities > Images.
If you compare the findings for a buildpack app in
Monitor > Vulnerabilities > PCF Blobstoreand
Monitor > Vulnerabilities > Images, you’ll notice a difference in the number of findings. Remember that
Monitor > Vulnerabilities > Imagesreports any additional findings in the app’s underlying stack that would not be found in the droplet alone.
When TAS stages Docker-based apps, it doesn’t stage an associated droplet in the blobstore. Therefore, blobstore scanning alone won’t cover Docker-based apps. If you’re running Docker containers in TAS, and you want to scan the images before they run, then configure Prisma Cloud to scan the container registry.
- Log into Prisma Cloud Console.
- Go toMonitor > Vulnerabilities > PCF Blobstoreto see a list of summary reports for each droplet.
- To drill into a specific scan report, click on a row in the table.
Recommended For You
Recommended videos not found.