Skip to content

Commit

Permalink
DOCS-2861 Little fixes to GraphQL rule
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximBashurov committed Feb 4, 2025
1 parent 70331bb commit 2d22491
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/latest/api-protection/graphql-rule.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Wallarm supports both POST and GET HTTP methods for GraphQL requests.

## Creating and applying the rule

GraphQL rule is recommended to be created for the GraphQL specific endpoints. Creating it as a [default](../user-guides/rules/rules.md#default-rules) rule for the entire system is not recommended.

To set and apply GraphQL policy:

1. Proceed to Wallarm Console → **Rules****Add rule**.
Expand All @@ -42,6 +44,8 @@ To set and apply GraphQL policy:

![GraphQL thresholds](../images/user-guides/rules/graphql-rule.png)

Once created, the rule may be at any moment temporarily disabled and later re-enabled again using the **Mode** parameter of the rule.

## Reaction to policy violation

Reaction to the policy violation is defined by the [filtration mode](../admin-en/configure-wallarm-mode.md) applied to the endpoints targeted by the rule.
Expand Down

0 comments on commit 2d22491

Please sign in to comment.