Get VM Image Names
GET/api/v32.07/vms/names
x-prisma-cloud-target-env: {"permission":"monitorHosts"}
Returns an array of strings containing VM image names.
cURL Request
Refer to the following example cURL command:
$ curl -k \
-X GET \
-u <USER> \
-H 'Content-Type: application/json' \
"https://<CONSOLE>/api/v<VERSION>/vms/names"
cURL Response
Refer to the following example response:
[
"new-auto-images-cen7-dock",
"ubuntu-pro-2004-focal-v20210720",
"user-encrypted2",
"ubuntu-20.04-lts:1.0.0",
"user-test-b",
"user-ubuntu-image-scan1",
"Canonical:0001-com-ubuntu-server-focal:20_04-lts:20.04.202110260",
"ubuntu-20.04-lts"
]
Request
Query Parameters
Offsets the result to a specific report count. Offset starts from 0.
Limit is the amount to fix.
Sorts the result using a key.
Sorts the result in reverse order.
Filters the result based on VM IDs.
Filters the result based on image names.
Filters the result based on cloud credentials.
Filters the result based on OS distribution names.
Filters the result based on release versions.
Filters the result based on cloud image types. Example: Use marketplace, managed, or gallery for Microsoft Azure.
Filters the result based on compliance IDs.
Filters the result based on applied compliance rule name.
Retrieves the result in the normalized form of low, medium, high, and critical based on vulnerability's severity level. Default is false.
Possible values: [vulnerabilities,compliance,
]
Filters results by issue type.
Responses
- 200
- default
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
string
[
"string"
]