Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Bug] Version Comparison Bug in Related Integrations Field at Build T…
…ime (#2331) * addresses version comparison bug for related_integrations field during build * Update detection_rules/misc.py Co-authored-by: Mika Ayenson <[email protected]> * Update detection_rules/misc.py Co-authored-by: Mika Ayenson <[email protected]> * Update detection_rules/integrations.py Co-authored-by: Mika Ayenson <[email protected]> * addressed package version loading bug * addressed flake errors * adjusted find_least_compatible_version function to address sorting and semantic version comparison * adjusted major version comparison in compare_versions sub function * removed compare_versions sub function and included logic in iteration * Update detection_rules/integrations.py Co-authored-by: Mika Ayenson <[email protected]> * Update detection_rules/integrations.py Co-authored-by: Mika Ayenson <[email protected]> * added OrderedDict to version and manifest iteration to enforce sorted dict object Co-authored-by: Mika Ayenson <[email protected]> (cherry picked from commit 4abd3b8)
- Loading branch information