You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to add a new command, grype convert, to enable the conversion of previously generated scan report files into various formats (e.g., JSON, CycloneDX JSON, Table) without needing to re-scan the components.
Why is this needed:
Currently, generating multiple report formats (such as JSON, CycloneDX JSON, and Table) requires re-running the scan each time. This process significantly increases the job's duration and resource usage. Having a command to convert existing reports into multiple formats would save time and resources, improving the efficiency of the scanning workflow.
Additional context:
Implementing either the grype convert command or enabling multiple output formats in a single scan would streamline report generation by eliminating redundant scans.
The text was updated successfully, but these errors were encountered:
I think having a convert command would be great -- one thing it would help with is allowing more quick experimentation with templates, without needing to wait for a scan to run repeatedly.
Grype does support multiple output formats already, using multiple -o flags of the form <format>=<filename>. For example, this works:
What would you like to be added:
I would like to add a new command, grype convert, to enable the conversion of previously generated scan report files into various formats (e.g., JSON, CycloneDX JSON, Table) without needing to re-scan the components.
Why is this needed:
Currently, generating multiple report formats (such as JSON, CycloneDX JSON, and Table) requires re-running the scan each time. This process significantly increases the job's duration and resource usage. Having a command to convert existing reports into multiple formats would save time and resources, improving the efficiency of the scanning workflow.
Additional context:
Implementing either the grype convert command or enabling multiple output formats in a single scan would streamline report generation by eliminating redundant scans.
The text was updated successfully, but these errors were encountered: