Skip to main content

Add a Certificate to a Trusted Certificate List

POST 

/api/v33.01/settings/trusted-certificate

x-prisma-cloud-target-env: {"permission":"authConfiguration"}

Returns the telemetry settings that anonymously reports the threats and vulnerabilities to Prisma Cloud Compute.

For more information, see telemetry article.

cURL Request

Refer to the following example cURL request that retrieves the settings if telemetry is enabled or not:

$ curl -k \
-u <USER> \
-H 'Content-Type: application/json' \
-X GET \
"https://<CONSOLE>/api/v<VERSION>/settings/telemetry"

Request

Body

    certificate string

    Data is the certificate pem data.

Responses

TrustedCertSignature represents a trusted cert settings

Schema
    cn string

    CN is the certificate common name.

    issuer string

    Issuer is the certificate issuer.

    notAfter1 date-time

    NotAfter is the certificate expiration time Remark: the 1 suffix required for backward compatibility (previous values were strings and cannot be serialized).

    notBefore1 date-time

    NotBefore is the minimum time for which the cert is valid Remark: the 1 suffix required for backward compatibility (previous values were strings and cannot be serialized).

    raw string

    Raw is the raw certificate (in PEM format).

Loading...