Skip to content

Grep command not working on CyclonDX XML format #467

Description

@Smessi94

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions