Details
| ID | DemistoUploadFile |
|---|---|
| Language | javascript |
| From Version | 5.0.0 |
| Tags | DemistoAPI |
README
Copies a file from an incident to a specified incident. The file is recorded as an entry in the specified incident’s War Room.
Script Data
| Name | Description |
|---|---|
| Script Type | javascript |
| Tags | DemistoAPI |
Dependencies
This script uses the following commands and scripts.
- core-api-multipart
Inputs
| Argument Name | Description |
|---|---|
| entryID | The file entry ID. |
| incidentID | The incident ID to upload the file to. |
| body | Request body |
Outputs
There are no outputs for this script.
commonfields: id: DemistoUploadFile version: -1 name: DemistoUploadFile deprecated: true script: '' type: javascript tags: - DemistoAPI comment: Deprecated. Use UploadFileV2 instead. enabled: true args: - name: entryID required: true description: File entry ID. - name: incidentID required: true description: Incident ID to upload the file to. - name: body description: Request body. scripttarget: 0 dependson: must: - core-api-multipart runas: DBotWeakRole tests: - DemistoUploadFileToIncident Test fromversion: 5.0.0