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.
jankit6
Staff
Staff
Article Id 382245
Description This article describes how to configure Jinja to map the source ID, or any other field containing a long number, to a text file in FortiSOAR.
Scope FortiSOAR.
Solution

The value of the field in FortiSOAR changes to scientific notation instead of retaining the original long number when mapping a field ingested from a third-party tool. As a result, this may impact subsequent actions, depending on the value.

 

  1. Open the 'create record step' in the playbook, which is responsible for ingesting the data and creating records in FortiSOAR.
  2. To map fields like 'source ID', follow these steps:
    1. Search for the field: Locate the field where the mapping is required, such as 'source_id'.
    2. Use Jinja syntax: Enclose the mapping in single quotes and use the following syntax to retain the original value without it converting to scientific notation. This will ensure that the value is mapped as-is, preserving the long number without converting it into scientific notation:

 

'{{vars.data.source_Id}}'