post
/incidenttypes/import
Import an incident type to Cortex XSOAR.
CURL
curl -X POST \
-H "Authorization: [[apiKey]]" \
-H "Accept: application/json" \
-H "Content-Type: multipart/form-data" \
"https://hostname:443/incidenttypes/import"
Form parameters
file
required
Object
format: binary
file
format: binary
Example:
BINARY_DATA_HERE
Responses
The saved incident type
Body
error
optional
String
incidentTypes
optional
Array
autorun
optional
Boolean
cacheVersn
optional
Number
(Long)
format: int64
closureScript
optional
String
color
optional
String
commitMessage
optional
String
created
optional
Object
format: date-time
days
optional
Number
(Long)
format: int64
daysR
optional
Number
(Long)
format: int64
default
optional
Boolean
definitionId
optional
String
detached
optional
Boolean
disabled
optional
Boolean
extractSettings
optional
fieldCliNameToExtractSettings
optional
Map
extractAsIsIndicatorTypeId
optional
String
extractIndicatorTypesIDs
optional
Array
of strings
isExtractingAllIndicatorTypes
optional
Boolean
mode
optional
String
fromServerVersion
optional
Digits
optional
Array
of numbers
(Long)
WARNING: when adding new attributes or changing the names
of the existing ones, remember to add support in UnmarshalJSON
for items that were exported by msgpack.
format: int64
Label
optional
String
highlight
optional
Map
hours
optional
Number
(Long)
format: int64
hoursR
optional
Number
(Long)
format: int64
id
optional
String
indexName
optional
String
itemVersion
optional
Digits
optional
Array
of numbers
(Long)
WARNING: when adding new attributes or changing the names
of the existing ones, remember to add support in UnmarshalJSON
for items that were exported by msgpack.
format: int64
Label
optional
String
layout
optional
String
locked
optional
Boolean
modified
optional
Object
format: date-time
name
optional
String
numericId
optional
Number
(Long)
format: int64
onChangeRepAlg
optional
Number
(Double)
format: double
packID
optional
String
packName
optional
String
packPropagationLabels
optional
Array
of strings
playbookId
optional
String
preProcessingScript
optional
String
prevName
optional
String
primaryTerm
optional
Number
(Long)
format: int64
propagationLabels
optional
Array
of strings
readonly
optional
Boolean
remote
optional
Boolean
reputationCalc
optional
Number
(Double)
format: double
sequenceNumber
optional
Number
(Long)
format: int64
shouldCommit
optional
Boolean
sizeInBytes
optional
Number
(Long)
format: int64
sla
optional
Number
(Long)
format: int64
slaReminder
optional
Number
(Long)
format: int64
sortValues
optional
Array
of strings
syncHash
optional
String
system
optional
Boolean
toServerVersion
optional
Digits
optional
Array
of numbers
(Long)
WARNING: when adding new attributes or changing the names
of the existing ones, remember to add support in UnmarshalJSON
for items that were exported by msgpack.
format: int64
Label
optional
String
vcShouldIgnore
optional
Boolean
vcShouldKeepItemLegacyProdMachine
optional
Boolean
version
optional
Number
(Long)
format: int64
weeks
optional
Number
(Long)
format: int64
weeksR
optional
Number
(Long)
format: int64