CycloneDX / CycloneDX/cyclonedx-cli

Issue regarding BOM component for converting from CSV to JSON

Open
#296 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
541
Forks
82
PR merge metrics
No merged PRs in 30d

Description

Faced an issue regarding BOM component. In the BOM there is a column named "Type", for converting it from CSV to JSON it is encountering an error.

Command Used in command line: cyclonedx-win-x64.exe convert --input-file BOM.csv --output-file Output.json

Error Faced: Type conversion error.

**Accepted TYPE for Tool: Application, Library, Framework
Accepted TYPE for CycloneDx: Application, Library, Framework, Operating-System, File, Device, Firmware, Container.**

Please provide a solution that if any type other than Application, Library and Framework, for example: Operating-system, File, Device or Firmware is there in the Type column of BOM CSV file. Please find the files I have provided below for reference and better understanding.

[BOM.csv](https://github.com/CycloneDX/cyclonedx-cli/files/10307884/BOM.csv)
[Error.txt](https://github.com/CycloneDX/cyclonedx-cli/files/10307886/Error.txt)
![CycloneDX_Website](https://user-images.githubusercontent.com/121481361/209661197-0c38d37b-cdc5-484c-bfa2-86aaa59efb3c.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.