LoadJSONFileToContext

Loads a JSON file from the war room to context.

python · Common Scripts

Details

IDLoadJSONFileToContext
Languagepython
From Version6.5.0
Docker Imagedemisto/python3:3.12.13.10404775
TagsUtility

README

Loads a JSON file from the war room to context.

Script Data


Name Description
Script Type python3
Tags Utility

Inputs


Argument Name Description
entryID The Entry ID of the JSON file to load into context.
contextKey The context key to put the loaded JSON under, default is JSON.

Outputs


There are no outputs for this script.

args:
- description: The Entry ID of the JSON file to load into context.
  name: entryID
  required: true
- defaultValue: JSON
  description: The context key to put the loaded JSON under, default is JSON.
  name: contextKey
comment: Loads a JSON file from the war room to context.
commonfields:
  id: LoadJSONFileToContext
  version: -1
contentitemexportablefields:
  contentitemfields:
    fromServerVersion: ""
dockerimage: demisto/python3:3.12.13.10404775
enabled: true
name: LoadJSONFileToContext
runas: DBotWeakRole
script: ''
scripttarget: 0
subtype: python3
tags:
- Utility
type: python
fromversion: 6.5.0
tests:
- No tests (auto formatted)