End-of-Life (EoL)

20.09 Porting Guide

This article outlines the differences in the API between 20.04 and 20.09. It’s intended to help you port your code forward to the latest version of Prisma Cloud Compute.

Breaking changes

If you’re using any of the following endpoints, you’ll need to update your integrations when migrating to 20.09.

Defender install with /api/v1/scripts

The method for accessing the following endpoints has changed from GET to POST:

Defender install with /api/v1/defenders

The method for accessing the following endpoints has changed from GET to POST:

Scan configuration

Starting in 20.09, all endpoints that take credentials now uniformly reference them by credential ID. Credential details are no longer specified inline with POST requests or returned in GET responses in the credential object. If you’re configuring registry or serverless scanning via the API, you’ll need to update the way you invoke the following endpoints to reference the credential ID:
The following snippet shows the response from GET /api/v1/settings/registry in 20.09. Notice that the credential object now holds null values. The credentialID is what Primsa Cloud uses to scan the registry.
{ "registry": "gcr.io", "repository": "sandbox/jon/prom/*", "tag": "*", "cap": 5, "os": "linux", "hostname": "", "namespace": "", "useAWSRole": false, "version": "gcr", "credential": { "_id": "", "type": "", "accountID": "", "accountGUID": "", "secret": { "encrypted": "" }, "apiToken": { "encrypted": "" }, "lastModified": "0001-01-01T00:00:00Z", "owner": "", "tokens": null }, "credentialID": "GCR Scanning", "roleArn": "", "scanners": 2, "versionPattern": "" }

Serverless auto-protect

Serverless auto-protect lets you automatically add the Serverless Defender to the AWS Lambda functions deployed in your account. The endpoints for managing this capability have changed.
Old 20.04 endpoints:
New 20.09 endpoints:

Deprecated

The following endpoints have been deprecated in line with the features that have been deprecated in 20.09.

CNNF policies and enforcement

Enforcment in CNNF is not supported in 20.09 but will return in the next major release. If you rely on CNNF enforcement, consider skipping 20.09. When the next major release ships, steps will be provided to export rules from 20.04 and import them into it. CNNF rules will be deleted on upgrade.
The following policy endpoints have been deprecated in 20.09:
The following audit endpoints have been deprecated in 20.09:

Host runtime

As part of the revamped host runtime protection capabilities in 20.09, host models are no longer available. The following endpoints have been deprecated:

High Availability

Prisma Cloud High Availability (HA) has been deprecated this release. For your HA needs, use a container orchestrator, such as Kubernetes, to run and manage the Console container.
The following endpoints have been deprecated:

Misc

Other endpoints that have been deprecated:

Recommended For You