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 36c20f8 commit 3b1f31c
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 @@ -19,6 +19,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:

--8<-- "../include/rule-creation-initial-step.md"
Expand All @@ -45,6 +47,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.

<!-- temporary unavailable, bug: https://wallarm.atlassian.net/browse/PLUTO-6979?focusedCommentId=208654
## Reaction to policy violation
Expand Down

0 comments on commit 3b1f31c

Please sign in to comment.