Check for scanner when creating vulnerability finding
requested to merge 235146-sidekiq-storesecurityreportsworker-nomethoderror-undefined-method-update-for-nil-nilclass into master
What does this MR do?
This MR resolves issue #235146 (closed). It checks for the presence of a scanner before creating a vulnerability finding, as a finding cannot exist in the database without a scanner.
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry -
Documentation (if required) -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides -
Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. -
Tested in all supported browsers -
Informed Infrastructure department of a default or new setting change, if applicable per definition of done
Edited by Jonathan Schafer