IncidentFields
Common Scripts Pack.#
This Script is part of theReturns a dict of all incident fields that exist in the system.
#
Script DataName | Description |
---|---|
Script Type | python3 |
Cortex XSOAR Version | 5.0.0 |
#
DependenciesThis script uses the following commands and scripts.
- core-api-get
#
InputsArgument Name | Description |
---|---|
exclude_system_fields | Whether to only return non-system fields. If "true", will only output non-system fields. The default value is "false". |
short_names | Whether to shorten the incident field names. If "true", will cause output to use shortened field names. The default value is "true". |
#
OutputsThere are no outputs for this script.
#
Script Examples#
Example command!IncidentFields exclude_system_fields="false" short_names="true"
#
Context Example#
Human Readable Output#
TroubleshootingMulti-tenant environments should be configured with the Cortex Rest API instance when using this automation. Make sure the Use tenant parameter (in the Cortex Rest API integration) is checked to ensure that API calls are made to the current tenant instead of the master tenant.