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?
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?