Skip to main content

Start Image Scan

POST 

/api/v32.07/images/scan

x-prisma-cloud-target-env: {"permission":"monitorImages"}

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

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 string

    Image digest (requires V2 or later registry).

    id string

    ID of the image.

    registry string

    Registry name to which the image belongs.

    repo string

    Repository name to which the image belongs.

    tag string

    Image tag.

Responses

OK

Loading...