Fortinet black logo

CLI Reference

config security waf api-gateway-policy

config security waf api-gateway-policy

An API Gateway is an intermediate level or tier of indirection (Gateway) for handling multiple client calls to microservice endpoints. In a microservices architecture, the gateway keeps client apps from directly consuming functionality from multiple microservices, which can become very difficult when there are many microservices. Without API Gateways, the client apps must send requests directly to the microservices and that raises problems, such as coupling, too many round trips, security issues, all microsercvices handle same concerns such as authorization, SSL, etc. Having an API gateway addresses these issues and simplifies the process.

Syntax

config security waf api-gateway-policy

edit <policy-name>

config rule-list

edit <policy-rule-id>

set rule <datasource_api_rule>

set status {enable|disable}

next

end

next

end

CLI Parameter

Description

rule

Specify one or more rules created in API Gateway Rule to be used in policy. The rules will be checked one by one from top to bottom until URL in request is matched to the Full URL Pattern in a rule.

status

Enable or disable the policy rule

See also:

config security waf api-gateway-policy

config security waf api-gateway-policy

An API Gateway is an intermediate level or tier of indirection (Gateway) for handling multiple client calls to microservice endpoints. In a microservices architecture, the gateway keeps client apps from directly consuming functionality from multiple microservices, which can become very difficult when there are many microservices. Without API Gateways, the client apps must send requests directly to the microservices and that raises problems, such as coupling, too many round trips, security issues, all microsercvices handle same concerns such as authorization, SSL, etc. Having an API gateway addresses these issues and simplifies the process.

Syntax

config security waf api-gateway-policy

edit <policy-name>

config rule-list

edit <policy-rule-id>

set rule <datasource_api_rule>

set status {enable|disable}

next

end

next

end

CLI Parameter

Description

rule

Specify one or more rules created in API Gateway Rule to be used in policy. The rules will be checked one by one from top to bottom until URL in request is matched to the Full URL Pattern in a rule.

status

Enable or disable the policy rule

See also: