How this template works
APIs Selection
The API selection filters in this template use a regular expression to match URLs that contain the word "graphql". This ensures that the template is applied only to API endpoints that are related to GraphQL.
Execute request
The execute section of the template specifies a single request to be executed. The request modifies the URL by replacing any occurrence of "graphql" with "graphql". It also replaces the request body with a GraphQL introspection query.
Validation
The validation section checks if the response payload contains both the "data" field and the "__schema" field. This ensures that the response contains the expected GraphQL schema information.
Frequently asked questions
"The text editor in Akto is absolutely remarkable. Its user-friendly YAML format strikes the perfect balance between simplicity and power. With intuitive features like 'API selection filter', 'Execute', Validate' creating test rules becomes incredibly easy. Akto's test editor is a game-changer, enabling seamless creation of highly personalized and effective tests that could meet the needs of any modern day organization. "
Security team,
Rippling
Explore other tests
eSMTP - Config Discovery
Nginx - Git Configuration Exposure
Laravel - Sensitive Information Disclosure
Docker Container - Misconfiguration Exposure
Msmtp - Config Exposure
Parameters.yml - File Discovery
Mongo Express - Unauthenticated Access
Apache Airflow Configuration Exposure
Dockerrun AWS Configuration Exposure
Apache Config file disclosure
Appspec Yml Disclosure
CGI script environment variable