Created on
01-16-2025
02:49 AM
Edited on
01-16-2025
03:20 AM
By
Anthony_E
This article describes how to create an API Call using Utilities Connector to list all values of a picklist.
FortiSOAR v7.
Sample output: System Picklist AlertState should list all the values New, Detail Extracted, Indicator Extracted, Similar Alerts Correlated, Ready to Investigate, and SLA Set.
Note down the picklist IRI:
Inputs: /api/3/picklist_names/picklist-iri
HTTP Method: GET
Step Utilites: PicklistName - {{vars.steps.Fetch_Picklist.data.picklists}}
{%- set res = [] -%}
{%- for item in vars.PicklistName -%}
{%- set _dummy = res.append(item.itemValue) -%}
{%- endfor -%}
{{res}}
It is possible to find attached, the playbook 'Get_Picklist_Values.json' for reference.
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.