Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for cyclonedx and cyclonedx-json output-formats #396

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

ps-e
Copy link

@ps-e ps-e commented Oct 25, 2024

Add support for cyclonedx and cyclonedx-json output-formats

Signed-off-by: Piotr Solarczyk <ps@elisity.com>
@@ -404,6 +404,18 @@ async function runScan({
out.json = REPORT_FILE;
break;
}
case "cyclonedx": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of cyclonedx, should this be cyclonedx-xml? and should the file extensions be .cdx.xml and .cdx.json?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of cyclonedx, should this be cyclonedx-xml?

I guess it should be compatible with grype outputs but I can change to whatever you like.

and should the file extensions be .cdx.xml and .cdx.json?

Good idea. Changed

Signed-off-by: Piotr Solarczyk <ps@elisity.com>
Signed-off-by: Piotr Solarczyk <ps@elisity.com>
Signed-off-by: Piotr Solarczyk <ps@elisity.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants