QUESTION

How do I handle internal GraphQL types not listed in Panther’s public schema?

ANSWER

When working with Panther's GraphQL API, internal type names such as HttpLogSourceIntegration may appear in the __typename field, even though they are not included in Panther's public GraphQL schema. These types represent internal log source integrations used by the system, which is common behavior in GraphQL and does not impact the API's functionality.

While the public API officially uses the LogIntegration type, it is possible to encounter internal types like HttpLogSourceIntegration in responses. These internal types include all the necessary fields from LogIntegration and may contain additional internal fields for Panther’s own use. The presence of these internal types does not affect the expected data and functionality, as all required fields are still included in the response.