Update vulnerability ingestion to calculate a ref contextual uuid and save to vulnerability_occurences.new_uuid
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Once we've added the new_uuid column to vulnerability_occurrences, we need to update the vulnerability ingestion process to calculate this new UUID value for findings. This new uuid differs from the current implementation by including the security_project_tracked_context_id in the UUID, thereby ensuring that the UUID's are unique per branch context. We'll later use this as the unique column for the upsert operation once it has been backfilled and unique indexed.
Edited by 🤖 GitLab Bot 🤖