Start Image Scan
x-prisma-cloud-target-env: {"permission":"monitorImages","saas":true,"self-hosted":true}
x-public: true
Re-scan all images immediately. This endpoint returns the time that the scans were initiated.
cURL Request
Refer to the following example cURL command that forces Prisma Cloud Compute to re-scan all images:
$ curl -k \
-u <USER> \
-X POST \
https://<CONSOLE>/api/v<VERSION>/images/scan
- application/json
Request Body
- hostname string
Hostname is the optional host name to scan.
imageTag object
ImageTag represents an image repository and its associated tag or registry digest
digest stringImage digest (requires V2 or later registry).
id stringID of the image.
registry stringRegistry name to which the image belongs.
repo stringRepository name to which the image belongs.
tag stringImage tag.
Responses
- 200
- default
OK
Loading...