VMWare Tanzu TAS (PCF) Defender
You can deploy a dedicated Defender on all Diego cells (Hosts) in your environment. PCF Defender supports the following functions:
- Vulnerability scanning for running apps.
- Vulnerability and compliance scanning for the underlying Diego cell hosts.
- Blobstore scanning for buildpack-based apps.
- Runtime protection (process, networking, and file system).
Defender is deployed as BOSH Director addon. Addons are BOSH release jobs that run on each Diego cell host. Defender runs as a service under the root user. The Defender service is monitored by the Bosh agent, with the help of Monit. Note that the Defender service isn’t a Garden container.
Console lets you deploy Defender to multiple TAS environments. In Console, Defenders report which Cloud Controller they report to.
Currently, PCF Defender doesn’t support blocking for runtime rules, vulnerability rules, and compliance rules The block action stops the entire container. The app lifecycle is controlled by the Tanzu TAS framework, so Prisma Cloud cannot effectively block running apps. PCF Defender, however, does support the prevent action.
PCF Defender currently doesn’t support custom compliance checks.
Install the PCF Defender
Go to the PCF Ops Manager Installation Dashboard to install PCF Defender.
IMPORTANT:If you’re upgrading from a previous release, you must first uninstall any previous versions of PCF Defender. The new 20-09 tile has been rearchitected. The old tile created a dedicated VM in the TAS environment with a Defender installed, and supported blobstore scanning only. The new tile installs Defender on every Diego cell in the TAS environment, with expanded support for app scanning, host scanning, and runtime defense.
- Prisma Cloud Console has already been installed. One option is to install Console on VMware Tanzu Kubernetes Grid, although there are many options, including Onebox.
- In Prisma Cloud Console, go toManage > System > Downloads, and download the PCF tile.
- In the Ops Manager Installation Dashboard, clickImport a Product, and select the tile you downloaded.
- Retrieve the install command from Prisma Cloud Console. It’s used to configure the tile.
- Go toManage > Defenders > Deploy > Single Defender.
- Choose the DNS name or IP address the PCF Defender will use to connect to Console. If a suitable option is not available, go toManage > Defenders > Names, and add a DNS name or IP address to the SAN table.
- Set the Defender type toPCF Defender.
- Copy the install command and set it aside.
- Go to the PCF Ops Manager Installation Dashboard.
- Add the Prisma Cloud tile to your staging area. Click the+button next to the version of the tile you want to install.
- Click the newly addedPrisma Cloud for PCFtile.
- Configure the tile.
- InPrisma Cloud Component Configuration, paste the install command you copied from Prisma Cloud Console, then clickSave.By default Prisma Cloud performs strict validation of your Cloud Controller’s (CC) TLS certificate. If you’re using self-signed certificates, this check will fail. To add your custom certificates to trusted cert list, you need to add the custom CA’s cert on the VM where the Prisma Cloud tile runs. For more details about how to do this, refer to Pivotal’s trusted certificates article.To skip strict validation of your Cloud Controller’s (CC) TLS certificate, enableSkip Cloud Controller TLS validation. Strict validation verifies the name, signer, and validity date of the CC’s certificate. Even with strict validation disabled, the sesssion is still encrypted. Skip strict validation when:
- You’re using self-signed certificates.certificates.
- You’re using certificates signed by a CA that isn’t in your cert store..
- When there’s a mismatch between the address you’re using to connect to the CC and the common name (CN) or subject alternative name (SAN) in the CC’s certificate.
- InCredentials, select your preferred authentication method: Basic Authentication or Certificate-based Authentication:For Basic Authentication, enter your Prisma Cloud Console credentials, then clickSave.For certificate-based Authentication, paste the certificate and private key used for authentication in PEM format, then clickSave.Notes:
- For Certificate-based Authentication, the root CA used to sign the certificate used for authentication must be entered underManage > Authentication > System Certificates > Advanced Certificate Configuration.
- Install the Prisma Cloud tile. Return to the Ops Manager Installation Dashboard, clickReview Pending Changes, select bothPrisma Cloud for PCFandPivotal Application Service, then clickApply changes.Pivotal Application Service must be staged when installing the Prisma Cloud tile.
- After the changes are applied, validate that Prisma Cloud Defenders are running in your environment.
- Log into Prisma Cloud Console.
- Go toManage > Defenders > Manage.In the table of deployed Defenders, you should see a Defender of typePCF, one per Diego cell.Prisma Cloud reports the agentID in the Host field. To correlate an agentID to a Diego cell IP address, and determine exactly which host runs a Defender, login to an Diego cell, and inspect /var/vcap/instance/dns/records.json. This file shows how the agentID maps to a host IP address.If a PCF Defender disconnects from Console for more than one day, all data it collected is purged from Console. The Defender is also removed from the table inManage > Defenders > Manage. The period of time that data from a disconneted Defender is retained (by default, one day) can be configured inManage > Defenders > Manage > Defenders > Advanced Settings.
Recommended For You
Recommended videos not found.