# Comparing Vulnerabilities Across Image Versions via the Anchore Enterprise API

DevFeed: [Comparing Vulnerabilities Across Image Versions via the Anchore Enterprise API](<https://devfeed.tech/articles/comparing-vulnerabilities-across-image-versions-via-the-anchore-enterprise-api-50304.md>)

Original publisher: [Read original article](<https://anchore.com/blog/comparing-vulnerabilities-across-image-versions-anchore-enterprise-api/>)

Author: Ben Lang

Published: 2026-07-07T12:11:21Z

Content type: tutorial

Language: en

Sources: [Anchore](<https://devfeed.tech/sources/anchore.md>)

Topics: [API](<https://devfeed.tech/topics/api.md>), [container-security](<https://devfeed.tech/topics/container-security.md>), [Vulnerabilities](<https://devfeed.tech/topics/vulnerabilities.md>), [container images](<https://devfeed.tech/topics/container-images.md>), [Python](<https://devfeed.tech/topics/python.md>), [Script](<https://devfeed.tech/topics/script.md>)

Tags: [anchore](<https://devfeed.tech/tags/anchore.md>), [api](<https://devfeed.tech/tags/api.md>), [blog](<https://devfeed.tech/tags/blog.md>), [container](<https://devfeed.tech/tags/container.md>), [container-images](<https://devfeed.tech/tags/container-images.md>), [container-security](<https://devfeed.tech/tags/container-security.md>), [python](<https://devfeed.tech/tags/python.md>), [versioning](<https://devfeed.tech/tags/versioning.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>)

## AI overview

This tutorial explains how to compare vulnerability profiles across two versions of a container image using the Anchore Enterprise API. It covers resolving image tags to digests, fetching vulnerability data, and using Python set operations to identify fixed, newly introduced, and persistent vulnerabilities.

## Source excerpt

The post Comparing Vulnerabilities Across Image Versions via the Anchore Enterprise API appeared first on Anchore.Through the Looking Glass: Tweedledee and Tweedledum This is post 6 in a seven-part series on what the Anchore Enterprise API makes possible for container security teams. Tweedledee and Tweedledum stood under their tree looking nearly identical -- same coat, same posture, same expression -- and Alice could only tell them apart by the collars [...]