Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 926 Bytes

File metadata and controls

33 lines (22 loc) · 926 Bytes

This automation uses the Core REST API Integration to batch export Incidents to CSV and return the resulting CSV file to the war room.

Script Data


Name Description
Script Type python3
Tags Utility

Dependencies


This script uses the following commands and scripts.

  • core-api-get
  • core-api-post

Inputs


Argument Name Description
query The query for the Incidents that you want to export. (e.g. status:closed -category:job). You can and should generate the query from the Incidents search screen.
fetchdays Number of days you want to fetch back for (default is 7). Needs to be a number.
columns Comma separated list of columns (fields) for the CSV. (Default is: id,name,type,severity,status,owner,roles,playbookId,occurred,created,modified,closed)

Outputs


There are no outputs for this script.