Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Converting JSON to XML
Hello,
I have a use case where I'd like to take a CVE's JSON details, and convert certain fields to XML format. The reason for this would be to create custom vulnerability checks for Rapid7 InsightVM programmatically using the specified CVE. I can pull the CVE data using a connector, then I would need to convert the relevant fields to XML.
I see that there is a utility to convert XML to JSON, but does the reverse exist?
Solved! Go to Solution.
Labels:
- Labels:
-
FortiSOAR v7.4.x
1 Solution
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can do this using a code snippet step in a playbook. Here is a sample playbook that converts json to xml
Dylan Spille
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you! I was wondering about using a code snippet as well. I'll test it out.
Appreciate your response.
Nelson
