| @@ -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", |
| 6 | | "us"). It helps compliance and security teams collect |
| 7 | | point-in-time evidence about the security configuration of their own |
| 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. |
| 8 | This document describes what a deployment processes, where it is stored, and |
| 9 | how long it is kept. It does not cover GitHub itself — see GitHub's Privacy |
| 10 | Statement for how GitHub handles your data. |
| 11 | 11 | |
| 12 | | This policy covers the gh-attest App and its dashboard only. It does not |
| 13 | | cover GitHub itself — see GitHub's Privacy Statement for how GitHub |
| 14 | | handles your data. |
| 12 | ## What a deployment processes |
| 15 | 13 | |
| 16 | | ## What we process |
| 17 | | |
| 18 | | The App processes data only for organizations that have installed it, |
| 19 | | and only within the scope of the permissions granted at installation. |
| 14 | A deployment processes data only for organizations that have installed its |
| 15 | GitHub App, and only within the scope of the permissions granted at |
| 16 | installation. |
| 20 | 17 | |
| 21 | 18 | **Organization & installation metadata.** Installation ID, organization |
| 22 | | login, and installation/suspension timestamps. If you exclude repositories |
| 23 | | from scanning, the App stores the excluded repository names for your |
| 24 | | installation. |
| 19 | login, and installation/suspension timestamps. If repositories are excluded |
| 20 | from scanning, the excluded repository names are stored for that installation. |
| 25 | 21 | |
| 26 | | **Security & access-control signals (the evidence).** As your |
| 27 | | configuration changes and on a periodic re-sync, the App records |
| 28 | | point-in-time "snapshots" of security-relevant state, which may include: |
| 22 | **Security & access-control signals (the evidence).** As configuration |
| 23 | changes and on a periodic re-sync, the Worker records point-in-time |
| 24 | "snapshots" of security-relevant state, which may include: |
| 29 | 25 | |
| 30 | 26 | - branch protection and repository ruleset configuration (enabled / |
| 31 | 27 | disabled); |
| @@ -37,112 +33,54 @@ webhook payload that produced it. These payloads can contain repository |
| 37 | 33 | names, team names, and the GitHub logins of members whose access |
| 38 | 34 | changed. |
| 39 | 35 | |
| 40 | | **Dashboard sign-in.** When you sign in to the dashboard, the App reads |
| 41 | | your GitHub user ID and login and the list of installations you can |
| 42 | | access, solely to confirm you belong to an organization that installed |
| 43 | | the App. Your GitHub profile is stored only inside a signed, expiring |
| 44 | | session cookie in your browser — it is **not** written to our database. |
| 36 | **Dashboard sign-in.** On sign-in, the Worker reads the user's GitHub user ID |
| 37 | and login and the list of installations they can access, solely to confirm |
| 38 | they belong to an organization that installed the App. The profile is stored |
| 39 | only inside a signed, expiring session cookie in the browser — it is **not** |
| 40 | written to the database. |
| 45 | 41 | |
| 46 | | **Exports.** Evidence exports you generate (CSV or PDF) are stored so |
| 47 | | you can download them, along with metadata about each export job. |
| 42 | **Exports.** Evidence exports (CSV or PDF) are stored so they can be |
| 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. |
| 52 | | - We do **not** store GitHub personal access tokens. The App |
| 47 | - It does **not** store the contents of source code. |
| 48 | - It does **not** store GitHub personal access tokens. The Worker |
| 53 | 49 | authenticates using short-lived installation access tokens minted per |
| 54 | 50 | request (valid ~1 hour) and never persisted. |
| 55 | | - We do **not** collect passwords or payment information. |
| 56 | | - We do **not** sell your data or share it with third parties for |
| 57 | | advertising, and we do **not** aggregate data across organizations. |
| 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. |
| 51 | - It does **not** collect passwords or payment information. |
| 52 | - It does **not** send data anywhere other than the operator's Cloudflare |
| 53 | account and GitHub's API. |
| 65 | 54 | |
| 66 | 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 |
| 69 | | **European Union**. Both the database and the object storage are created |
| 70 | | under Cloudflare's `eu` jurisdiction, which restricts them to storing and |
| 71 | | running within the EU. |
| 57 | All data is stored in the operator's Cloudflare account (D1 and R2). The |
| 58 | deployment steps in the README create both under Cloudflare's `eu` |
| 59 | jurisdiction, which restricts them to storing and running within the EU. |
| 72 | 60 | |
| 73 | | Note that the application code itself runs on Cloudflare Workers, which |
| 74 | | execute at the network edge close to the requesting user. A request made |
| 75 | | from outside the EU is therefore processed outside the EU, even though |
| 76 | | the data it reads and writes is stored within the EU. We do not currently |
| 77 | | use Cloudflare's Regional Services to constrain where request processing |
| 78 | | occurs. |
| 61 | The Worker itself runs on Cloudflare Workers, which execute at the network |
| 62 | edge close to the requesting user. A request made from outside the EU is |
| 63 | therefore processed outside the EU, even though the data it reads and writes |
| 64 | is stored within the EU. |
| 79 | 65 | |
| 80 | 66 | Protections include: |
| 81 | 67 | |
| 82 | 68 | - webhook payloads are verified with HMAC-SHA256 signatures before |
| 83 | 69 | processing; |
| 84 | 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 | 72 | - authentication uses short-lived installation tokens that are never |
| 87 | 73 | stored; |
| 88 | 74 | - all stored data is scoped per installation, and the dashboard enforces |
| 89 | 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 | 77 | ## Data retention & deletion |
| 110 | 78 | |
| 111 | | Evidence snapshots are retained for 13 months, export files |
| 112 | | for 90 days, and all data for an organization is deleted when the App |
| 113 | | is uninstalled. You may also request deletion at any time. |
| 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. |
| 79 | Evidence snapshots are retained for 13 months, export files for 90 days, and |
| 80 | all data for an organization is deleted when the App is uninstalled. The |
| 81 | operator can also purge an installation through `POST /admin/purge`. |
| 139 | 82 | |
| 140 | 83 | ## Contact |
| 141 | 84 | |
| 142 | | privacy@audit-labs.dev — Audit Labs |
| 143 | | |
| 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. |
| 85 | Questions about the software: privacy@audit-labs.dev. Requests about data held |
| 86 | by a deployment go to the organization that operates it. |