rarora
Staff
Created on
09-22-2020
11:04 PM
Edited on
02-05-2024
01:38 AM
By
Jean-Philippe_P
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:
