Skip to main content

Get Alert Labels

GET 

/api/v31.02/settings/custom-labels

x-prisma-cloud-target-env: {"permission":"user","saas":true,"self-hosted":true}
x-public: true

Returns the list of alert labels configured in Prisma Cloud Compute.

cURL Request

Refer to the following example cURL command:

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

Responses

CustomLabelsSettings are customized label names that are used to augment audit events They can either be docker labels (which appears in the container label specification) or k8s/openshift labels (which appears in the pause container that monitors the target container)