|
| 1 | +:tocdepth: 1 |
| 2 | + |
| 3 | +.. _about-telemetry-in-codeql-for-visual-studio-code: |
| 4 | + |
| 5 | +About telemetry in CodeQL for Visual Studio Code |
| 6 | +================================================= |
| 7 | + |
| 8 | +If you specifically opt-in to permit GitHub to do so, GitHub will collect usage data and metrics for the purposes of helping the core developers to improve the CodeQL extension for VS Code. This data will not be shared with any parties outside of GitHub. IP addresses and installation IDs will be retained for a maximum of 30 days. Anonymous data will be retained for a maximum of 180 days. |
| 9 | + |
| 10 | +Why do you collect data? |
| 11 | +-------------------------------------- |
| 12 | + |
| 13 | +GitHub collects aggregated, anonymous usage data and metrics to help us improve CodeQL for VS Code. IP addresses and installation IDs are collected only to ensure that anonymous data is not duplicated during aggregation. |
| 14 | + |
| 15 | +What data is collected |
| 16 | +-------------------------------------- |
| 17 | + |
| 18 | +If you opt in, GitHub collects the following information related to the usage of the extension. The data collected are: |
| 19 | + |
| 20 | +- The identifiers of any CodeQL-related `VS Code commands <https://code.visualstudio.com/docs/getstarted/tips-and-tricks#_command-palette>`__ that are run |
| 21 | +- For each command: the timestamp, time taken, and whether or not the command completed successfully |
| 22 | +- VS Code and extension version |
| 23 | +- Randomly generated GUID that uniquely identifies a CodeQL extension installation. (Discarded before aggregation.) |
| 24 | +- IP address of the client sending the telemetry data. (Discarded before aggregation.) |
| 25 | +- Whether or not the ``codeQL.canary`` setting is enabled and set to `true` |
| 26 | + |
| 27 | +How long will data be retained? |
| 28 | +-------------------------------------- |
| 29 | + |
| 30 | +IP address and GUIDs will be retained for a maximum of 30 days. Anonymous, aggregated data that includes command identifiers, run times, and timestamps will be retained for a maximum of 180 days. |
| 31 | + |
| 32 | +Who will have access to this data? |
| 33 | +-------------------------------------- |
| 34 | + |
| 35 | +IP address and GUIDs will only be available to the core developers of CodeQL. Aggregated data will be available to GitHub employees. |
| 36 | + |
| 37 | +What data is **NOT** collected? |
| 38 | +-------------------------------------- |
| 39 | + |
| 40 | +We only collect the minimal amount of data we need to answer the questions about how our users are experiencing this product. To that end, we do not collect the following information: |
| 41 | + |
| 42 | +- No GitHub user ID |
| 43 | +- No CodeQL database names or contents |
| 44 | +- No contents of CodeQL queries |
| 45 | +- No filesystem paths. |
| 46 | + |
| 47 | +How do I disable telemetry reporting? |
| 48 | +--------------------------------------------------------- |
| 49 | + |
| 50 | +When telemetry collection is disabled, no data will be sent to GitHub servers. |
| 51 | + |
| 52 | +You can disable telemetry collection by setting ``codeQL.telemetry.enableTelemetry`` to ``false`` in `your settings <https://code.visualstudio.com/docs/getstarted/settings#_settings-editor>`__. Telemetry collection is _disabled_ by default. |
| 53 | + |
| 54 | +Additionally, telemetry collection will be disabled if the global ``telemetry.enableTelemetry`` setting is set to ``false``. For more information on global telemetry collection, see `Microsoft’s documentation <https://code.visualstudio.com/docs/supporting/faq#_how-to-disable-telemetry-reporting>`__. |
| 55 | + |
| 56 | +More information |
| 57 | +------------------- |
| 58 | + |
| 59 | +See GitHub's `Privacy Statement <https://docs.github.com/en/free-pro-team@latest/github/site-policy/github-privacy-statement>`__ and `Terms of Service <https://docs.github.com/en/free-pro-team@latest/github/site-policy/github-terms-of-service>`__ for more information. |
0 commit comments