ConvertXmlFileToJson

Converts XML file entry to JSON format

python · Common Scripts

Details

IDConvertXmlFileToJson
Languagepython
From Version5.0.0
Docker Imagedemisto/xml-feed:1.0.0.10133006
TagsUtility

README

Converts a XML file entry into JSON format.

Script Data


Name Description
Script Type javascript
Tags Utility

Inputs


Argument Name Description
entryID The entry ID of a valid XML file to convert to JSON format.
contextKey The context key to push the JSON result to.
verbose Prints the JSON result to War Room.

Outputs


There are no outputs for this script.

commonfields:
  id: ConvertXmlFileToJson
  version: -1
name: ConvertXmlFileToJson
script: ''
type: python
subtype: python3
tags:
- Utility
comment: Converts XML file entry to JSON format
enabled: true
args:
- name: entryID
  required: true
  default: true
  description: Entry ID of a valid xml file to convert to json format.
- name: contextKey
  description: The context key to push json result to.
- name: verbose
  auto: PREDEFINED
  predefined:
  - "True"
  - "False"
  description: Print json result to warrom.
  defaultValue: "True"
scripttarget: 0
fromversion: 5.0.0
dockerimage: demisto/xml-feed:1.0.0.10133006
tests:
- No tests (auto formatted)