Fortinet black logo

CLI Reference

waf websocket-security policy

Use this command to create WebSocket policy.

To use this command, your administrator account’s access control profile must have either w or rw permission to the wafgrp area. For details, see Permissions.

Syntax

config waf websocket-security policy

edit "<"<policy_name>"

config rule-list

edit rule-list_id

set rule "<rule_name>"

end

Variable

Description

Default

"<policy_name>"

Enter the WebSocket Security policy name. No default.

rule-list_id

Enter the sequence number of the rule in the rule list.

rule "<rule_name>"

Select the created WebSocket security rule name. No default.

Related topics

Use this command to create WebSocket policy.

To use this command, your administrator account’s access control profile must have either w or rw permission to the wafgrp area. For details, see Permissions.

Syntax

config waf websocket-security policy

edit "<"<policy_name>"

config rule-list

edit rule-list_id

set rule "<rule_name>"

end

Variable

Description

Default

"<policy_name>"

Enter the WebSocket Security policy name. No default.

rule-list_id

Enter the sequence number of the rule in the rule list.

rule "<rule_name>"

Select the created WebSocket security rule name. No default.

Related topics