gatherVulnerableProperties

This extension function is used to gather all properties from a PropertyProvider for a ProductWithBranches.

It returns a Map with the PropertySource as key and the property as value.