-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
platform(sca): Fix bom report #3867
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job! Commented 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice work, added some comments
Co-authored-by: Anton Grübel <[email protected]>
Co-authored-by: Anton Grübel <[email protected]>
Co-authored-by: Anton Grübel <[email protected]>
Co-authored-by: Anton Grübel <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job! 🎖️
* fix bom report * bug fixes * fix testing * fix csv * clean * clean * clean * fix lint and testing * fix tests * fix lint * make test support new case * add logs * Update checkov/common/output/common.py Co-authored-by: Anton Grübel <[email protected]> * Update checkov/common/output/common.py Co-authored-by: Anton Grübel <[email protected]> * fix pr comments * Update checkov/common/output/csv.py Co-authored-by: Anton Grübel <[email protected]> * move unknown string to const * Update checkov/common/output/csv.py Co-authored-by: Anton Grübel <[email protected]> * fix lint * add tests * prettifier test Co-authored-by: Adam Varsano <[email protected]> Co-authored-by: Anton Grübel <[email protected]>
* fix bom report * bug fixes * fix testing * fix csv * clean * clean * clean * fix lint and testing * fix tests * fix lint * make test support new case * add logs * Update checkov/common/output/common.py Co-authored-by: Anton Grübel <[email protected]> * Update checkov/common/output/common.py Co-authored-by: Anton Grübel <[email protected]> * fix pr comments * Update checkov/common/output/csv.py Co-authored-by: Anton Grübel <[email protected]> * move unknown string to const * Update checkov/common/output/csv.py Co-authored-by: Anton Grübel <[email protected]> * fix lint * add tests * prettifier test Co-authored-by: Adam Varsano <[email protected]> Co-authored-by: Anton Grübel <[email protected]>
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Description
On creating the BOM report, the delimiter was a comma character, it cause an issue because there are some licenses that contain comma characters.
Fixes # (issue)
Instead of encode and decode the licenses to string, just pass them as a list.
New/Edited policies (Delete if not relevant)
Description
Include a description of what makes it a violation and any relevant external links.
Fix
How does someone fix the issue in code and/or in runtime?
Checklist: