Unable to get vulnerability notifications in Red Hat Quay
Issue
-
Configuring notifications for events like push to registry works fine, but notifications in event of vulnerability found does not work:
notificationworker stdout | 2024-06-05 10:30:02,489 [68] [ERROR] [workers.worker] Operation raised exception notificationworker stdout | Traceback (most recent call last): notificationworker stdout | File "/quay-registry/workers/worker.py", line 86, in _operation_func notificationworker stdout | return operation_func() notificationworker stdout | File "/quay-registry/workers/queueworker.py", line 134, in poll_queue notificationworker stdout | self.process_queue_item(job_details) notificationworker stdout | File "/quay-registry/workers/notificationworker/notificationworker.py", line 45, in process_queue_item notificationworker stdout | raise exc notificationworker stdout | File "/quay-registry/workers/notificationworker/notificationworker.py", line 41, in process_queue_item notificationworker stdout | method_handler.perform(notification, event_handler, job_details) notificationworker stdout | File "/quay-registry/notifications/notificationmethod.py", line 179, in perform notificationworker stdout | event_handler.get_summary(notification_data["event_data"], notification_data), notificationworker stdout | File "/quay-registry/notifications/notificationevent.py", line 250, in get_summary notificationworker stdout | len(event_data["tags"]), notificationworker stdout | KeyError: 'tags'
Environment
- Red Hat Quay (Quay)
- 3.10
- Red Hat OpenShift Container Platform (RHOCP)
- 4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.