GraphOS Data Privacy and Compliance
Understand what GraphOS ingests and learn about GDPR
This article describes which data is and is not sent to Apollo GraphOS by other Apollo tools and libraries.
Our top priority is ensuring the privacy and security of your data and your customers' data. No Apollo tool or library running in your environment sends any data to GraphOS unless you configure it to do so. Features that potentially send highly sensitive data require additional opt-in.
Does GraphOS store operation result data returned by my graph?
No. Your graph's operation results never even reach any Apollo-managed service, with one important exception: cloud supergraphs use a GraphOS Router, which passes results directly from your subgraphs to requesting clients, without logging, persisting, or sending those results to any other system (other data like operation metrics are persisted).
Which tools send data to GraphOS?
The GraphOS Router, Apollo Server, the Rover CLI, and the legacy Apollo CLI have opt-in features that send data to GraphOS.
The Rover CLI also collects anonymous usage data by default. You can turn this off.
The Apollo Kotlin IDE plugin also collects anonymous usage data by default. You can turn this off.
If you have a cloud supergraph, its router is hosted and managed by GraphOS, and it automatically enables metrics reporting. Learn about data collection for cloud supergraphs.
Apollo Client libraries do not send data to GraphOS.
Where is data sent?
All data sent to GraphOS is sent to an endpoint with one of the following base URLs:
Current URLs
Base URL | Used by |
---|---|
https://usage-reporting.api.apollographql.com | Metrics reporting from the GraphOS Router (v0.1.0+), Apollo Server (v2.18.0+), and third-party API servers |
https://rover.apollo.dev | The Rover CLI—all commands if telemetry is enabled, rover supergraph compose when fetching new plugin versions, all rover template commands, and once per day to check for version updates |
https://api.apollographql.com/graphql | All Rover CLI (v0.6+) commands that communicate with GraphOS, along with all requests to the GraphOS Platform API |
https://router.apollo.dev | The GraphOS Router installer (all versions), along with GraphOS Router (v1.9.0+) telemetry when enabled |
https://uplink.api.apollographql.com | GraphOS Router (v0.1.0+) with managed federation and/or Enterprise features enabled, Apollo Server with Apollo Gateway (v0.34.0+) with managed federation |
https://aws.uplink.api.apollographql.com | GraphOS Router (v0.1.0+) with managed federation and/or Enterprise features enabled, Apollo Server with Apollo Gateway (v0.45.0+) with managed federation |
https://persisted-queries.api.apollographql.com/ | GraphOS Router (v1.25.0+) with GraphOS persisted queries enabled |
https://aws.persisted-queries.api.apollographql.com/ | GraphOS Router (v1.25.0+) with GraphOS persisted queries enabled |
https://schema-reporting.api.apollographql.com | Schema registration via schema reporting in Apollo Server (v2.18.0+) and third-party API servers |
https://graphql.api.apollographql.com/api/graphql | Anonymous usage data from the Apollo Kotlin IDE plugin |
Active legacy URLs
Base URL | Used by |
---|---|
https://engine-report.apollodata.com | Metrics reporting from Apollo Server (v2.0-2.17.x) |
https://edge-server-reporting.api.apollographql.com | Schema registration via schema reporting in Apollo Server (v2.15.0-2.17.x) |
https://engine-graphql.apollographql.com | All legacy Apollo CLI (v2.30 and earlier) commands that communicate with GraphOS |
https://storage.googleapis.com | Apollo Server with Apollo Gateway (v0.15.1 and earlier) with managed federation, or with the operation registry plugin (v0.3.1 and earlier) |
https://federation.api.apollographql.com | Apollo Server with Apollo Gateway (v0.16.0-v0.33.0) with managed federation |
https://storage-secrets.api.apollographql.com | Apollo Server with Apollo Gateway (v0.16.0-v0.33.0) with managed federation, or with the operation registry plugin |
https://operations.api.apollographql.com | Apollo Server with the operation registry plugin (v0.4.1+) |
https://graphql.api.apollographql.com | All Rover CLI (prior to v0.6) commands and legacy Apollo CLI(v2.31+) commands that communicate with GraphOS |
If your environment uses a corporate proxy or firewall, you might need to configure it to allow outbound traffic to these domains. Note that data might be sent to multiple endpoints in a given domain.
Which types of data do the GraphOS Router and Apollo Server send to GraphOS?
You can configure both the GraphOS Router and Apollo Server to report certain data to GraphOS for each operation resolved by these libraries. These types of data include:
Several fields besides
data
from every operation response- Neither the GraphOS Router nor Apollo Server ever sends the
data
field of an operation response to GraphOS.
- Neither the GraphOS Router nor Apollo Server ever sends the
The normalized query operation string for every executed operation
Trace data indicating the execution time for every resolver in the operation
The values of operation GraphQL variables and HTTP headers
These types of data are covered in the subsections below.
In addition, you can configure a standalone instance of Apollo Server to report its schema to GraphOS.
ⓘ NOTE
All data sent to GraphOS from both the GraphOS Router and Apollo Server is transmitted using HTTPS on port 443, and HTTP traffic on port 80 is turned off.
Operation response fields
Let's walk through the default behaviors of the GraphOS Router and Apollo Server when reporting fields in a typical GraphQL response:
// GraphQL Response{"data": { ... }, // NEVER sent to GraphOS"errors": [ ... ] // Can be sent to GraphOS, used to report on errors for operations and fields.}
response.data
As mentioned, the GraphOS Router and Apollo Server never send the contents of this field to GraphOS. The responses from your graph stay internal to your application.
response.errors
Both the GraphOS Router and Apollo Server can report certain error information to GraphOS, but the exact behavior varies:
The GraphOS Router
Currently, the GraphOS Router reports only which fields in an operation produced errors. Other error details (such as messages) are masked in reports to GraphOS.
You cannot currently configure the GraphOS Router to report any additional error details.
Apollo Server 4
By default, Apollo Server 4 reports only which fields in an operation produced errors.
You can configure Apollo Server 4 to provide additional error details (such as error messages and extensions). To do so, provide the sendErrors
option to Apollo Server's usage reporting plugin.
Apollo Server 2 and 3
ⓘ NOTE
Apollo Server versions 2 and 3 are deprecated.
By default, Apollo Server versions 2 and 3 report all error details to GraphOS, including messages and extensions.
You can use the usage reporting plugin's rewriteError
option to filter or transform errors before they're stored in GraphOS. Use this to strip sensitive data from errors or filter "safe" errors from Studio reports.
Query operation strings
The GraphOS Router and Apollo Server both report a normalized string representation of each query operation to GraphOS. By default, this normalization algorithm strips out string literals that are passed as arguments. However, we highly recommend that users do not include sensitive data (such as passwords or personally identifiable information) in operation strings. Instead, include this information in GraphQL variables, which you can send selectively.
ⓘ NOTE
If you enable enhanced operation signature normalization in the router, the operation signature includes the input object shapes while redacting any of the actual values. Learn more.
Operation traces
If you're using the GraphOS Router, your subgraphs can include operation trace data in each of their responses to the router. This data includes timing information for each resolver that contributed to the operation.
To check which subgraph libraries support federated traces, consult the FEDERATED TRACING
entry in this table.
You can configure the GraphOS Router to include this trace data in its reports to GraphOS (learn how). By doing so, you can visualize the performance of your operations in GraphOS Studio, broken down by resolver.
If you're using a standalone instance of Apollo Server, you can also configure it to report operation traces to GraphOS.
GraphQL variable values
This section pertains to the values of variables that are included in GraphQL operations. The names of these variables are included in operation strings that are sent to GraphOS.
Apollo Server 2.7.0 and later
In Apollo Server 2.7.0 and later, none of an operation's GraphQL variable values are sent to GraphOS by default.
You can set a value for the usage reporting plugin's sendVariableValues
option to specify a different strategy for reporting some or all variable values.
Apollo Server prior to 2.7.0
In versions of Apollo Server 2 prior to 2.7.0, all of an operation's GraphQL variable values are sent to GraphOS by default.
If you're using an earlier version of Apollo Server, it's recommended that you update. If you can't update for whatever reason, you can use the privateVariables
reporting option to specify the names of variables that should not be sent to GraphOS. You can also set this option to false
to prevent all variables from being sent. This reporting option is deprecated and will not be available in future versions of Apollo Server.
GraphOS Router
By default, the GraphOS Router does not send an operation's GraphQL variable values to GraphOS.
To enable variable value reporting in the GraphOS Router, see this section.
HTTP headers
Regardless of your server configuration, GraphOS never collects the values of the following HTTP headers, even if they're sent:
Authorization
Cookie
Set-Cookie
You can, however, configure reporting options for all other HTTP headers.
ⓘ NOTE
If you perform authorization in a header other than those listed above (such as X-My-API-Key
), do not send that header to GraphOS.
Apollo Server 2.7.0 and later
In Apollo Server 2.7.0 and later, none of an operation's HTTP headers is sent to GraphOS by default.
You can set a value for the usage reporting plugin's sendHeaders
option to specify a different strategy for reporting some or all your HTTP headers.
Apollo Server prior to 2.7.0
In versions of Apollo Server 2 prior to 2.7.0, all of an operation's HTTP headers (except the confidential headers listed above) are sent to GraphOS by default.
If you're using an earlier version of Apollo Server, it's recommended that you
update. If you can't update for whatever reason, you can use the privateHeaders
reporting option to specify the names of variables that should not be sent to GraphOS. You can also set this option to false
to prevent all headers from being sent. This reporting option is deprecated and will not be available in future versions of Apollo Server.
GraphOS Router
By default, the GraphOS Router does not send an operation's HTTP header values to GraphOS.
To enable header reporting in the GraphOS Router, see this section.
Which types of data are collected by a cloud supergraph?
A cloud supergraph uses a GraphOS Router to execute operations across one or more subgraphs hosted in your infrastructure:
Each instance of GraphOS Router runs in its own managed container. These instances use the same mechanisms to report operation metrics to GraphOS as a GraphOS Router or Apollo Router Core instance running in any other environment. The only difference is that metrics reporting is always enabled for a cloud supergraph's router.
GraphOS Routers do not persist or log any response data returned by your subgraphs. They only assemble this data into responses for requesting clients.
What data does GraphOS log about operations executed in the Explorer?
Only frontend usage metrics for improving the product. The GraphOS Studio Explorer enables you to build and execute operations against your graph. These operations are sent directly from your browser and do not pass through Apollo systems.
GDPR
Effective May 25, 2018, the General Data Protection Regulation (GDPR) expands European Union (EU) residents' (Data Subjects) rights concerning their personal data. Meteor Development Group Inc. (“MDG” also dba Apollo) stands ready to assist our customers to become or remain compliant with GDPR after this crucial transition.
What is GDPR?
GDPR standardizes EU regulations and expands the rights of Data Subjects pertaining to personal data while expanding the definition of what constitutes personal data. GDPR provides Data Subjects with increased rights to control and delete their personal data, and it broadly prohibits the processing of special categories of personal data.
How has Apollo prepared for GDPR?
We have been complying with GDPR since before it became enforceable on May 25, 2018. We are enhancing our products, processes, and procedures to meet our obligations as a data processor (Processor).
How will GDPR affect the way companies use Apollo's products or services?
Our products and services are not intended to be used for processing personal data. Our products and services are focused on software, systems, and applications - not individuals. If a customer wishes to set up a custom API, custom attribute, or custom event to track such data, it may do so. Our processing is data agnostic and automated, so all data is processed in the same way in accordance with a customer's configuration. If, however, a customer believes that it has included personal data in the information processed by Apollo, we will assist the customer in meeting its obligations in accordance with the requirements of GDPR and the terms of our Data Processing Agreement.
How can Apollo assist customers in meeting their obligations under GDPR?
As a Processor, we will assist customers in fulfilling their obligations as data controllers (Controllers) by:
- supporting customers in complying with requests from Data Subjects
- aggregating applicable personal data for customers replying to complaints from Data Subjects
- replying to investigations and inquiries from supervisory authorities concerning processing activities on behalf of a customer
- conducting Data Protection Impact Assessments
How can Apollo help address requests from Data Subjects?
Apollo has implemented a process to intake, review, and fulfill customer requests arising from Data Subject Access Requests (DSAR) they receive. As a result of a DSAR, customers might request that Apollo securely delete or return the Data Subject's personal data. Due to their sensitivity, such requests will be handled by Apollo on a case-by-case basis.
Where can I learn more about Apollo's security and privacy policies?
The legal terms and policies that apply to Apollo's corporate websites and customer products or services are available at https://www.apollographql.com/Apollo-Website-Terms-of-Service.pdf and https://www.apollographql.com/Apollo-Terms-of-Service.pdf.
Where can I get more help?
If you have any additional questions or encounter any issues, please reach out to support.
Organizations with an Enterprise plan can request a Data Processing Addendum (DPA) from support.
Requesting deletion of data
To request the deletion of specific data from your Apollo organization, please email support@apollographql.com with the subject Data deletion request.
In your email, please include the following:
- A description of the data that needs to be deleted
- An approximate timestamp of when that data was reported to Apollo
- The ID of the graph that the data is associated with
ⓘ NOTE
Currently, data deletion is performed across all variants of an affected graph. Per-variant deletion is not available.
You can also request that members of your organization be removed from marketing outreach. To do so, provide the email addresses of those members in your email.
Policies and agreements
To learn about other ways that we protect your data, please read over our Terms of Service and Privacy Policy.