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
- application/json
Body
Data is the certificate pem data.
Responses
- 200
- default
TrustedCertSignature represents a trusted cert settings
- application/json
- Schema
- Example (from schema)
Schema
CN is the certificate common name.
Issuer is the certificate issuer.
NotAfter is the certificate expiration time Remark: the 1 suffix required for backward compatibility (previous values were strings and cannot be serialized).
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 is the raw certificate (in PEM format).
{
"cn": "string",
"issuer": "string",
"notAfter1": "2024-07-29T15:51:28.071Z",
"notBefore1": "2024-07-29T15:51:28.071Z",
"raw": "string"
}