IncidentFields
This Script is part of the Common Scripts Pack.#
Returns a dict of all incident fields that exist in the system.
Script Data#
| Name | Description |
|---|---|
| Script Type | python3 |
| Cortex XSOAR Version | 5.0.0 |
Dependencies#
This script uses the following commands and scripts.
- core-api-get
Inputs#
| Argument 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". |
Outputs#
There are no outputs for this script.
Script Examples#
Example command#
!IncidentFields exclude_system_fields="false" short_names="true"
Context Example#
Human Readable Output#
Troubleshooting#
Multi-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.