Container Scanning

Enable container image monitoring

Enable recurring monitoring on a container image by setting a cron schedule. The monitoring scheduler re-scans the image on that schedule. Validates the crontab before persisting it.

post/api/v2/containerImages/monitor

Request

  • Base URL
    https://zeropath.com
  • Auth
    API key in header X-ZeroPath-API-Token-Id and API key in header X-ZeroPath-API-Token-Secret

Request body

organizationIdstring

Organization ID (optional).

containerImageIdstring required

ID of the container image.

crontabstring required

Cron expression for recurring re-scans, e.g. "0 0 * * 1" for every Monday.

Response

Monitoring enabled

containerImageIdstring required

Changes

No recorded changes to this operation across all 1 revision of this API.