Container Scanning

Check whether container scanning is enabled

Report whether the CONTAINER full-scan module is enabled for any repository the caller can access. Container scanning runs as a standalone phase (independent of source-code scans), so only full-scan settings are inspected. Powers the Containers tab gate.

post/api/v2/containerImages/settingsEnabled

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).

Response

Setting state retrieved

enabledboolean required

True when at least one accessible repository has container scanning enabled.

hasRepositoriesboolean required

False when the caller has no accessible repositories.

Changes

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