Fortinet black logo

CLI Reference

config security waf openapi-validation-detection

config security waf openapi-validation-detection

This command sets the OpenAPI validation policy.

Syntax

config security waf openapi-validation-detection

edit <name>

set action <datasource>

set exception <datasource>

set severity {low | medium | high}

set schema-checks {enable | disable}

set openapi-schema-id <datasource>

next

end

action

Specify the action that FortiADC will take upon detecting a potential attack. The condition format-checks is enabled.

severity

Set the severity level in WAF logs for potential attacks detected by the OpenAPI detection profile by selecting high, medium, or low. The condition format-checks is enabled.

exception

Optional. Select the exception profile to be applied to the OpenAPI policy. The condition format-checks is enabled.

schema-checks

Enable or disable OpenAPI schema validation detection. The condition format-checks is enabled.

openapi-schema-id

Set OpenAPI schema files datasource

config security waf openapi-validation-detection

This command sets the OpenAPI validation policy.

Syntax

config security waf openapi-validation-detection

edit <name>

set action <datasource>

set exception <datasource>

set severity {low | medium | high}

set schema-checks {enable | disable}

set openapi-schema-id <datasource>

next

end

action

Specify the action that FortiADC will take upon detecting a potential attack. The condition format-checks is enabled.

severity

Set the severity level in WAF logs for potential attacks detected by the OpenAPI detection profile by selecting high, medium, or low. The condition format-checks is enabled.

exception

Optional. Select the exception profile to be applied to the OpenAPI policy. The condition format-checks is enabled.

schema-checks

Enable or disable OpenAPI schema validation detection. The condition format-checks is enabled.

openapi-schema-id

Set OpenAPI schema files datasource