FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
rarora
Staff
Staff
Article Id 198133

Description
This article describes how to Edit security policy via CLI to add security profiles.

Related document.
https://docs.fortinet.com/document/fortigate/6.2.1/cli-reference/242620/firewall-policyExternal

Solution
In the below image, policy 1 does not have any security profiles added to it.



 
 
'show full-configuration' to view attached security profiles, will not give any result.
Also, modifying or attaching the security profiles will fail as depicted below:
 
 

 
 
In order to attach the security profiles to a policy, enable the UTM features first and then it will add any security profiles.
Same is illustrated in the below image: