| @@ -1,31 +1,27 @@ |
| 1 | # gh-attest — Privacy Policy |
1 | # gh-attest — Data handling |
| 2 | |
2 | |
| 3 | **Effective date:** 2026-07-19 |
3 | gh-attest is self-hosted. Audit Labs does not run an instance and receives no |
| |
4 | data from any deployment. Whoever deploys it operates it: the data described |
| |
5 | here is stored in that operator's own Cloudflare account, and the operator is |
| |
6 | responsible for it. |
| 4 | |
7 | |
| 5 | gh-attest ("the App") is a GitHub App operated by Audit Labs ("we", |
8 | This document describes what a deployment processes, where it is stored, and |
| 6 | "us"). It helps compliance and security teams collect |
9 | how long it is kept. It does not cover GitHub itself — see GitHub's Privacy |
| 7 | point-in-time evidence about the security configuration of their own |
10 | Statement for how GitHub handles your data. |
| 8 | GitHub organization and map it to SOC 2 and ISO 27001 control |
| |
| 9 | identifiers. This policy explains what the App processes, why, how long |
| |
| 10 | it is kept, and your choices. |
| |
| 11 | |
11 | |
| 12 | This policy covers the gh-attest App and its dashboard only. It does not |
12 | ## What a deployment processes |
| 13 | cover GitHub itself — see GitHub's Privacy Statement for how GitHub |
| |
| 14 | handles your data. |
| |
| 15 | |
13 | |
| 16 | ## What we process |
14 | A deployment processes data only for organizations that have installed its |
| 17 | |
15 | GitHub App, and only within the scope of the permissions granted at |
| 18 | The App processes data only for organizations that have installed it, |
16 | installation. |
| 19 | and only within the scope of the permissions granted at installation. |
| |
| 20 | |
17 | |
| 21 | **Organization & installation metadata.** Installation ID, organization |
18 | **Organization & installation metadata.** Installation ID, organization |
| 22 | login, and installation/suspension timestamps. If you exclude repositories |
19 | login, and installation/suspension timestamps. If repositories are excluded |
| 23 | from scanning, the App stores the excluded repository names for your |
20 | from scanning, the excluded repository names are stored for that installation. |
| 24 | installation. |
| |
| 25 | |
21 | |
| 26 | **Security & access-control signals (the evidence).** As your |
22 | **Security & access-control signals (the evidence).** As configuration |
| 27 | configuration changes and on a periodic re-sync, the App records |
23 | changes and on a periodic re-sync, the Worker records point-in-time |
| 28 | point-in-time "snapshots" of security-relevant state, which may include: |
24 | "snapshots" of security-relevant state, which may include: |
| 29 | |
25 | |
| 30 | - branch protection and repository ruleset configuration (enabled / |
26 | - branch protection and repository ruleset configuration (enabled / |
| 31 | disabled); |
27 | disabled); |
| @@ -37,112 +33,54 @@ webhook payload that produced it. These payloads can contain repository |
| 37 | names, team names, and the GitHub logins of members whose access |
33 | names, team names, and the GitHub logins of members whose access |
| 38 | changed. |
34 | changed. |
| 39 | |
35 | |
| 40 | **Dashboard sign-in.** When you sign in to the dashboard, the App reads |
36 | **Dashboard sign-in.** On sign-in, the Worker reads the user's GitHub user ID |
| 41 | your GitHub user ID and login and the list of installations you can |
37 | and login and the list of installations they can access, solely to confirm |
| 42 | access, solely to confirm you belong to an organization that installed |
38 | they belong to an organization that installed the App. The profile is stored |
| 43 | the App. Your GitHub profile is stored only inside a signed, expiring |
39 | only inside a signed, expiring session cookie in the browser — it is **not** |
| 44 | session cookie in your browser — it is **not** written to our database. |
40 | written to the database. |
| 45 | |
41 | |
| 46 | **Exports.** Evidence exports you generate (CSV or PDF) are stored so |
42 | **Exports.** Evidence exports (CSV or PDF) are stored so they can be |
| 47 | you can download them, along with metadata about each export job. |
43 | downloaded, along with metadata about each export job. |
| 48 | |
44 | |
| 49 | ## What we do NOT process |
45 | ## What it does NOT process |
| 50 | |
46 | |
| 51 | - We do **not** store the contents of your source code. |
47 | - It does **not** store the contents of source code. |
| 52 | - We do **not** store GitHub personal access tokens. The App |
48 | - It does **not** store GitHub personal access tokens. The Worker |
| 53 | authenticates using short-lived installation access tokens minted per |
49 | authenticates using short-lived installation access tokens minted per |
| 54 | request (valid ~1 hour) and never persisted. |
50 | request (valid ~1 hour) and never persisted. |
| 55 | - We do **not** collect passwords or payment information. |
51 | - It does **not** collect passwords or payment information. |
| 56 | - We do **not** sell your data or share it with third parties for |
52 | - It does **not** send data anywhere other than the operator's Cloudflare |
| 57 | advertising, and we do **not** aggregate data across organizations. |
53 | account and GitHub's API. |
| 58 | |
| |
| 59 | ## How we use it |
| |
| 60 | |
| |
| 61 | Solely to provide the App's function: presenting your current security |
| |
| 62 | posture, mapping it to SOC 2 / ISO 27001 controls, and generating |
| |
| 63 | point-in-time evidence exports and access-review comparisons for your |
| |
| 64 | own organization. |
| |
| 65 | |
54 | |
| 66 | ## Where it is stored and how it is protected |
55 | ## Where it is stored and how it is protected |
| 67 | |
56 | |
| 68 | All data is stored on Cloudflare's platform (D1 and R2) in the |
57 | All data is stored in the operator's Cloudflare account (D1 and R2). The |
| 69 | **European Union**. Both the database and the object storage are created |
58 | deployment steps in the README create both under Cloudflare's `eu` |
| 70 | under Cloudflare's `eu` jurisdiction, which restricts them to storing and |
59 | jurisdiction, which restricts them to storing and running within the EU. |
| 71 | running within the EU. |
| |
| 72 | |
60 | |
| 73 | Note that the application code itself runs on Cloudflare Workers, which |
61 | The Worker itself runs on Cloudflare Workers, which execute at the network |
| 74 | execute at the network edge close to the requesting user. A request made |
62 | edge close to the requesting user. A request made from outside the EU is |
| 75 | from outside the EU is therefore processed outside the EU, even though |
63 | therefore processed outside the EU, even though the data it reads and writes |
| 76 | the data it reads and writes is stored within the EU. We do not currently |
64 | is stored within the EU. |
| 77 | use Cloudflare's Regional Services to constrain where request processing |
| |
| 78 | occurs. |
| |
| 79 | |
65 | |
| 80 | Protections include: |
66 | Protections include: |
| 81 | |
67 | |
| 82 | - webhook payloads are verified with HMAC-SHA256 signatures before |
68 | - webhook payloads are verified with HMAC-SHA256 signatures before |
| 83 | processing; |
69 | processing; |
| 84 | - the GitHub App private key, webhook secret, and session-signing key |
70 | - the GitHub App private key, webhook secret, and session-signing key |
| 85 | are stored as encrypted platform secrets, never in source code; |
71 | are stored as encrypted Worker secrets, never in source code; |
| 86 | - authentication uses short-lived installation tokens that are never |
72 | - authentication uses short-lived installation tokens that are never |
| 87 | stored; |
73 | stored; |
| 88 | - all stored data is scoped per installation, and the dashboard enforces |
74 | - all stored data is scoped per installation, and the dashboard enforces |
| 89 | that a signed-in user can access only their own organization's data. |
75 | that a signed-in user can access only their own organization's data. |
| 90 | |
76 | |
| 91 | ## Subprocessors |
| |
| 92 | |
| |
| 93 | - **Cloudflare, Inc.** — hosting, database (D1), and object storage (R2), |
| |
| 94 | under the EU jurisdiction described above. |
| |
| 95 | |
| |
| 96 | **GitHub, Inc.** is the system the data comes from. Your organization has |
| |
| 97 | its own relationship with GitHub, so GitHub is not a subprocessor we |
| |
| 98 | engage on your behalf. |
| |
| 99 | |
| |
| 100 | If we add or replace a subprocessor, we will notify installed |
| |
| 101 | organizations in advance so they have an opportunity to object. |
| |
| 102 | |
| |
| 103 | ## Security incidents |
| |
| 104 | |
| |
| 105 | If we become aware of a breach affecting your organization's data, we |
| |
| 106 | will notify you without undue delay and provide the information you need |
| |
| 107 | to meet your own notification obligations. |
| |
| 108 | |
| |
| 109 | ## Data retention & deletion |
77 | ## Data retention & deletion |
| 110 | |
78 | |
| 111 | Evidence snapshots are retained for 13 months, export files |
79 | Evidence snapshots are retained for 13 months, export files for 90 days, and |
| 112 | for 90 days, and all data for an organization is deleted when the App |
80 | all data for an organization is deleted when the App is uninstalled. The |
| 113 | is uninstalled. You may also request deletion at any time. |
81 | operator can also purge an installation through `POST /admin/purge`. |
| 114 | |
| |
| 115 | ## Your choices and rights |
| |
| 116 | |
| |
| 117 | **If you administer an installing organization:** |
| |
| 118 | |
| |
| 119 | - **Uninstall** the App at any time from your organization's GitHub |
| |
| 120 | settings to stop all processing and trigger deletion of your data. |
| |
| 121 | - **Exclude repositories** from scanning and reporting from the |
| |
| 122 | dashboard, so the App stops collecting new evidence about them. |
| |
| 123 | - **Export** your organization's data as CSV or PDF from the dashboard |
| |
| 124 | at any time. |
| |
| 125 | - **Request deletion** of your organization's data by contacting us. |
| |
| 126 | - Request a **Data Processing Addendum** if you need one for your own |
| |
| 127 | compliance obligations. |
| |
| 128 | |
| |
| 129 | **If you are an individual whose GitHub login appears in an |
| |
| 130 | organization's data:** we hold that data on behalf of that organization, |
| |
| 131 | which decides how it is used. We have no direct relationship with you |
| |
| 132 | and cannot verify your identity, so please direct access, correction, or |
| |
| 133 | deletion requests to the organization. If you contact us, we will refer |
| |
| 134 | your request to them rather than acting on it ourselves. |
| |
| 135 | |
| |
| 136 | Depending on your jurisdiction (e.g., GDPR, CCPA/CPRA), you may have |
| |
| 137 | additional rights; the organization can exercise them with our |
| |
| 138 | assistance. |
| |
| 139 | |
82 | |
| 140 | ## Contact |
83 | ## Contact |
| 141 | |
84 | |
| 142 | privacy@audit-labs.dev — Audit Labs |
85 | Questions about the software: privacy@audit-labs.dev. Requests about data held |
| 143 | |
86 | by a deployment go to the organization that operates it. |
| 144 | ## Changes |
| |
| 145 | |
| |
| 146 | We may update this policy. Material changes will be reflected by the |
| |
| 147 | effective date above and, where appropriate, communicated to installed |
| |
| 148 | organizations. |
| |