Uploaded image for project: 'Clair'
  1. Clair
  2. CLAIRDEV-126

Remove RHEL container-api support

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • None
    • indexer
    • None

      Currently, when claircore is looking up RHEL repositories in layers it first consults the /root/buildinfo/content_manifests/ in the hopes of find content sets (and translating them to repo CPEs via the repository-to-cpe.json.

      If this process results in no repos being found there is a fallback to calling the container API https://catalog.redhat.com/api/containers/v1/images/nvr/ in the hopes of finding repository CPEs for specific images.

      Falling back to the API should be deprecated for the following reasons:

      • Newer images built with Konflux no longer include a dockerfile, which the API lookup fallback needs to decipher name and version information.
      • Making external calls in the indexing process is a liability and can result in non-deterministic outcomes

              jcroslan@redhat.com Joseph Crosland
              jcroslan@redhat.com Joseph Crosland
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: