Skip to content

Commit

Permalink
chore: noch readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Karol Nowak committed Dec 22, 2023
1 parent 5df1764 commit 0df01cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,11 @@ For Flamingo Core Framework GraphQL Schema we use the prefix `Core_` and for Fla

## Config

You can enable `LimitOperationAmountMiddleware` to prevent batching attack by setting `graphql.security.limitQueryAmountMiddleware.enable` to true.
You can enable `LimitOperationAmountMiddleware` to prevent batching attack by setting `graphql.security.limitOperationAmount.enable` to true.

`graphql.security.limitQueryAmountMiddleware.sameOperationsThreshold` option can be used to set a threshold for the same operations called in a single request.
`graphql.security.limitOperationAmount.sameOperationLimit` option can be used to set a limit for the same operations called in a single request.

`graphql.security.limitQueryAmountMiddleware.allOperationsThreshold` option can be used to set a threshold for all the operations called in a single request.
`graphql.security.limitOperationAmount.totalOperationLimit` option can be used to set a limit for all the operations called in a single request.



Expand Down

0 comments on commit 0df01cc

Please sign in to comment.