CycloneDX / CycloneDX/cyclonedx-cli

Grep command not working on CyclonDX XML format

Open
#467 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

I have a pre-setup VM machine I am doing a task on with certain limitations. I am to do the task within these limitations, which are no internet connection, and no graphical environment and DNF manager disabled to mention some. So I downloaded a docker image with the command syft "docker image name" -o cyclonedx > outputfilename_sbom_xml. I tried to search for dependencies with grep in the file I created but I get the whole file and not just matching lines. I have gone through it manually so I know they are there. The output have to be in a CycloneDX XML format. Any tips on how to get past this hurdle?

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.