FortiSOAR Knowledge Base
FortiSOAR: Security Orchestration and Response software provides innovative case management, automation, and orchestration. It pulls together all of an organization's tools, helps unify operations, and reduce alert fatigue, context switching, and the mean time to respond to incidents.
Andy_G
Staff
Staff
Article Id 196201
Description

There might be cases where you might want to remove duplicate items from a list, running 2 different searches concurrently, but the combined search results have duplicate IDs of records. Normally, in Python, you would cast this list to a set to get rid of the duplicates but Jinja does not have a "set" function.

However, you can easily get rid of duplicate items in a list by using the "unique" filter.

  

{{my_list|unique}}

 


Contributors