[ BUG ] GraphQL operation does not support variables when using abstracted keywords (IdentityProtection) #902
Labels
API usage
General API usage issues and questions
bug 🐛
Something isn't working
identity protection
Identity Protection issues and questions
SDK usage
General SDK usage issues and questions
Describe the bug
When working with the GraphQL operation, you are unable to provide variables to the processor without leveraging the
body
keyword.variables
needs to be added to this method as an allowed keyword.To Reproduce
See additional context below.
Expected behavior
Variables can be provided to GraphQL without having to leverage the
body
keyword.Environment (please complete the following information):
Additional context
Discussed in #901
Originally posted by cl6227 January 31, 2023
Is there a way to use GraphQL queries that paginate? I'd like a report that returns more than 1000 results (the limit without paginating).
I'm using IdentityProtection / falcon.graphql: https://github.com/CrowdStrike/falconpy/wiki/Identity-Protection
The response object contains 'hasNextPage' and 'endCursor' values to obtain the next page of results. How can I use this information to gather the next page of data?
An example graphql query that has pagination enabled is below. You'll note that I only have 'first' set to 2 so the output response is small and can be easily read for troubleshooting. However with pagination enabled, it should repeat batches of 2 results until all results have been obtained. Normally 'first' would be set to 1000.
falconpy 1.2.8
Python 3.9.2
OS Win 2012 R2
The text was updated successfully, but these errors were encountered: