Don't fail StoreSecurityReportsWorker if the pipeline does not exist
What does this MR do and why?
It's possible that the pipeline can be deleted by the user before the Sidekiq worker picks up the job therefore we need to use find_by_id
.
There is not a related issue as I noticed this while checking the "Threat Insights Engineering Kibana Dashboard" and just took a stab at it.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.