The requeue endpoint now handles three scenarios: 1. Original queue items still exist — uses their finding data (ideal case) 2. Queue items deleted (Clear Completed) — looks up findings from ivanti_findings table using finding_ids_json 3. FP created outside dashboard (no queue_item_ids) — same fallback to finding_ids_json and ivanti_findings lookup 4. Last resort — creates queue items with just finding IDs if the findings aren't in ivanti_findings either
63 KiB
63 KiB