Images

Get the content of an image by type malware

Changed on
get/images/{imageDigest}/content/malware

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /images/{imageDigest}/content/malware
  • Auth: none declared

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"
}

Changes