v1

latestOpenAPI 3.0.1Apache 2.02026-07-17111176225.7 KB
Images

Get the content of an image by type malware

get/images/{imageDigest}/content/malware

Path parameters

imageDigeststring required

Headers

x-anchore-accountstring

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

Response

Content of specified type from the image

imageDigeststring
content_typestring

Example response

{
  "content_type": "content_type",
  "content": [
    {
      "metadata": "{}",
      "findings": [
        {
          "path": "path",
          "signature": "signature"
        },
        {
          "path": "path",
          "signature": "signature"
        }
      ],
      "scanner": "scanner",
      "enabled": true
    },
    {
      "metadata": "{}",
      "findings": [
        {
          "path": "path",
          "signature": "signature"
        },
        {
          "path": "path",
          "signature": "signature"
        }
      ],
      "scanner": "scanner",
      "enabled": true
    }
  ],
  "imageDigest": "imageDigest"
}