Fortinet black logo

CLI Reference

waf api-policy

waf api-policy

Use this command to create API gateway policy.

Syntax

config waf api-policy

edit <api-policy_name>

config api-rule-list

edit <api-rule-list_id>

set api-rule-name <api-rule-name_str>

next

end

next

end

Variable Description Default

<api-policy_name>

Enter a name for the API gateway policy.

No default.

<api-rule-list_id>

The index number of the API gateway rule entry.

No default.

api-rule-name <api-rule-name_str>

Select the created API gateway rule.

No default.

Related topics

waf api-policy

Use this command to create API gateway policy.

Syntax

config waf api-policy

edit <api-policy_name>

config api-rule-list

edit <api-rule-list_id>

set api-rule-name <api-rule-name_str>

next

end

next

end

Variable Description Default

<api-policy_name>

Enter a name for the API gateway policy.

No default.

<api-rule-list_id>

The index number of the API gateway rule entry.

No default.

api-rule-name <api-rule-name_str>

Select the created API gateway rule.

No default.

Related topics