vulnerablecode
vulnerablecode copied to clipboard
Move ssvc_calculator to utils.py to avoid code duplication
Moved the 'ssvc_calculator' function from 'v2_importers/vulnrichment_importer.py' to 'vulnerabilities/utils.py' because it is used in multiple places.
Updated imports in the original file. All tests pass.