Skip to main content

Get VM Image Scan Settings

GET 

/api/v31.02/settings/vm

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

Retrieves the list of VM image scan scopes.

This endpoint maps to the VM images scope table data in the Defend > Vulnerabilities > Hosts > VM images Console UI.

cURL Request

Refer to the following example cURL command that retrieves all the scopes used for pattern matching on VM functions:

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

Responses