Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add unit test json files for Mend Platform - SAST Findings Code findings in API 3.0 / Platform for Mend, SAST respectively. * Update test_mend_parser.py * Fix newline eof * Update parser.py Remove locations / path from Description of SCA Platform output and instead implement locations in steps_to_reproduce. * Update test_mend_parser.py Updating value to a placeholder severityRating right now of 2.143. Still working on this and the cvssv3 assertion values. * Update test_mend_parser.py * Refactoring this for SCA only and SAST will be an additional PR - need to restructure format slightly for SAST * Update parser.py * Update parser.py * Update parser.py * fix loc 399 to 3999 for locations + add steps_to_reproduce for SCA Platform similar to SCA Legacy so Findings can be structured similarly * Fix spacing, remove trailing comma * Fix space * Removing redundancy * Fix the join on locations for Platform SCA * Removing redundancy component dependency type from description since it's in impact as well Removing redundancy component dependency type from description since it's in impact as well * Make Impact more readible * Update parser.py * Update format for unit test * Fix case on unit test * Remove duplicate join to fix steps_to_reproduce formatting Remove duplicate join to fix steps_to_reproduce formatting * Fix join for locations and steps_to_reproduce * fix newline eof * fix comma, remove redundant locations reference * Update parser.py * Fix eof * Update parser.py * fix , * Update parser.py * Update parser.py * edit steps_to_reproduce locations found * Update parser.py * fix 500 internal server error bug, add else None to impact for edge case * fix typo * adding cneil suggestion for truncating locations adding cneil suggestion for truncating locations * implement suggestion from Mend engineers * fix new line * Update parser.py * Update parser.py * fix indentation * fix finding_info * attempt to fix conditional logic for only getting ACTIVE findingInfo status * attempt to fix cve and title for new component logic * update unit test for new title check * fix whitespace before comma * add unit test case for legacy title * fix duplicate conditional - add into tree_node logic * add title logic back in * add OPEN in addition to ACTIVE * Update parser.py
- Loading branch information