Review: add new import / export options#464
Conversation
There was a problem hiding this comment.
Export:
1- "OpenVEX Assessment archive compatible with the CLI" . Maybe we should say it is assessments only (no time estimate cvss or variant).
The CLI is wrong and incomplete as both format "OpenVex", and "VulnScout JSON" should be exportable/importable via the CLI commands. Can you fix the CLI in this PR?
I think we should have:
-import-custom-vulnscout-data: Export custom VulnScout format
-import-custom-openvex-assessments: Export a OpenVex .json file format with --variant specified
-export-custom-vulnscout-data: Export custom VulnScout format
-export-custom-openvex-assessments: Export a OpenVex .json file format with --variant specified
We get rid of the OpenVex tar archive, it is too much to maintain right now.
So, the OpenVex format become an exclusive choice in your tab.
2- VulnScout JSON should also be able to export AI assessments if the user wants them
Import:
-Based on the modifications above, the menu should get two modes with "OpenVex", which ask for a variant exclusive selection, and "VulnScout JSON" mode it concerns every variants presents in the file
448cdce to
83d6c22
Compare
Status
How to verify this change
Review UI
custom_data_...json.assessments,cvss, andtime_estimatesentries should only reference selected variants.review_openvex_<variant>_...json.Review Import
CLI: VulnScout JSON
Run from the repository checkout, or use the equivalent container entrypoint flags.
Export one variant:
Import the JSON into a project containing matching variants:
CLI: OpenVEX
Export one variant:
Import it into a chosen target variant:
CLI Negative Checks
Pull Request Checklist
Please review and check all that apply before submitting your PR: