Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-4060

Don't delete manifest's security status on Clair error

XMLWordPrintable

      Currently if Clair returns errors Quay will delete the security
      status for that manifest, meaning it will revert to a "Queued"
      status and needs to be reindexed. This in-turn means that the
      functionality is not immediately recovered when Clair becomes
      healthy.

      It is also generally a bad idea (except in specific
      use-cases to have a data modification in a read path).

       

      Relevant code:

      https://github.com/quay/quay/blob/master/data/secscan_model/secscan_v4_model.py#L136-L165

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

                Created:
                Updated:
                Resolved: