I have setup a scan using a graphql schema which appears to be working correctly however as all errors are handled by returning an object within the response, all attacks result in an 200 response code.
This makes any potential issues hard to uncover without looking through all the responses.
Is there a way to filter and flag specific requests that were made based on there being errors within the response?
Response content examples:
The below I'd want to raise an alert.
{"errors":[{"message":"Unexpected Execution Error"...}]
While this is an expected and valid error.
{"errors":[{"message":"The required input field `id` is missing."...}]