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

Export Report to XML failing #954

Closed
MoCityMM opened this issue Apr 8, 2020 · 1 comment
Closed

Export Report to XML failing #954

MoCityMM opened this issue Apr 8, 2020 · 1 comment

Comments

@MoCityMM
Copy link

MoCityMM commented Apr 8, 2020

Go is a new language for me so, didn't know how to fix this issue... I do have 'encoding/xml' in the 'util.go' file but, didn't work. Here is the error:

ERROR [localhost] Failed to write JSON:
github.com/future-architect/vuls/report.FillCveInfos
/home/cdev-1/Go/src/github.com/future-architect/vuls/report/report.go:106

  • Failed to write summary report:
    github.com/future-architect/vuls/report.overwriteJSONFile
    /home/cdev-1/Go/src/github.com/future-architect/vuls/report/util.go:412
  • Failed to Marshal to XML:
    github.com/future-architect/vuls/report.LocalFileWriter.Write
    /home/cdev-1/Go/src/github.com/future-architect/vuls/report/localfile.go:98
  • xml: unsupported type: map[config.IPS]string
@kotakanbe
Copy link
Member

https://github.com/chrismalek/jsontoxml-cli
This may be helpful.

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

No branches or pull requests

2 participants