Fortinet white logo
Fortinet white logo

CLI Reference

waf grpc-security policy

waf grpc-security policy

Use this command to create gRPC 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 grpc-security policy

edit "<"<policy_name>"

config rule-list

edit rule-list_id

set rule "<rule_name>"

next

end

next

end

Variable

Description

Default

"<policy_name>"

Enter the gPRC 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 gPRC security rule name. No default.

Related topics

waf grpc-security rule

waf grpc-security policy

waf grpc-security policy

Use this command to create gRPC 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 grpc-security policy

edit "<"<policy_name>"

config rule-list

edit rule-list_id

set rule "<rule_name>"

next

end

next

end

Variable

Description

Default

"<policy_name>"

Enter the gPRC 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 gPRC security rule name. No default.

Related topics

waf grpc-security rule