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.
nmathur
Staff
Staff
Article Id 323084
Description This article decribes the issue when running a custom Jinja function in FortiSOAR release 7.5.0, the following error is thrown:
'Argument 'v1' has incorrect type (expected str, got NoneType)'.
Scope FortiSOAR v7.5.0.
Solution

Step 1: Download and unzip the 'util_so.zip' file attached to this article to the FortiSOAR instance. This file contains the 'util.so' file. 

 

Step 2: Take a backup of the existing util.so file:


cp /opt/cyops-workflow/sealab/utility/util.so /

 

Step 3: Copy the downloaded util.so file to the same location:


cp util.so /opt/cyops-workflow/sealab/utility/

 

Step 4: Check the permissions of the util.so file:

ls -al /opt/cyops-workflow/sealab/utility/util.so

 

The permissions should be 'nginx:nginx'.

If the permissions are set to different a user, change the permissions:

 

chown nginx:nginx /opt/cyops-workflow/sealab/utility/util.so

 

Step 5: Restart the workflow service:


systemctl restart uwsgi celeryd