What we read, and how a run happens
We would like you to know exactly what Pipesure Check looks at before you let it near a repository. The short answer: your pipeline files and a few settings, read-only, and nothing else.
What we read
When Pipesure Check runs in your own pipeline on GitHub, it reads these files, and only these. Each is read as text, up to one megabyte. A file that is too large, or unreadable, is recorded as a problem and not read. A linked file (a symbolic link) is not followed.
.github/**/action.yaml.github/**/action.yml.github/CODEOWNERS.github/dependabot.yaml.github/dependabot.yml.github/renovate.json.github/renovate.json5.github/workflows/*.yaml.github/workflows/*.yml.gitlab/renovate.json.gitlab/renovate.json5.renovaterc.renovaterc.json.renovaterc.json5CODEOWNERSaction.yamlaction.ymldocs/CODEOWNERSrenovate.jsonrenovate.json5
Some of these are your workflow files and action definitions. The rest decide who owns a path and how dependencies are updated. We do not read any other source code, any secret, any issue or any pull request.
In your own pipeline it also reads the list of file names in the checkout, with no contents, so that a check can tell whether a file a workflow runs is part of the repository.
It also reads one list of its own: the published security advisories for GitHub Actions, which control PH-40 compares with the actions your workflows pin. That list is part of the release you run, so nothing is fetched for it during a run. We refresh it for each release; a list more than 14 days older than the run makes PH-40 report Blocked and say so, never Pass.
For Azure DevOps, in your own pipeline, it reads the pipeline file you name, the template files that pipeline includes from the same repository, and the Dependabot and Renovate files above. If you switch it on, it also reads the project’s build settings, branch policies, repository and agent pool settings through the job’s own access token. It never reads a secret value.
When we run it for you in the Assurance Centre, we read the same kinds of file. For a public GitHub repository we take a shallow copy of the pipeline files only. For a private GitHub repository we read them through the token you give us. For Azure DevOps we read the repository and pipeline definitions through the token you give us. We record the commit we scanned in every case.
The three questions we ask GitHub
In your own pipeline, to check repository settings, it makes three read-only requests to the GitHub API. Nothing is written.
GET /repos/{owner}/{repo}GET /repos/{owner}/{repo}/branches/{branch}GET /repos/{owner}/{repo}/rules/branches/{branch}
They tell us whether the repository is public or private, what the default branch is, and which rules protect it. If a request fails, the checks that need the answer say so and report Blocked. They never pass by default. For a public repository run by us in the Centre, only the first request is made, so the checks that need branch rules report Blocked and say why.
Read-only, and how you can see that
- The access we ask for. In your own GitHub pipeline, the job’s own token with
contents: readandactions: readand nothing more. In the Centre for a private GitHub repository, a fine-grained token with Contents read-only and Metadata read-only, on the repositories you name. In the Centre for Azure DevOps, a token with Code, Build, Project and Team, and Agent Pools, each read-only. Nothing that can write. - We never run your code. We never execute your code or your pipeline. Pipeline files are parsed as text.
- Nothing kept beyond the run, apart from the result. When we run it for you, the working copy of the files is deleted when the run ends. What stays is the result, for the retention period below.
- Every pack lists what was read. Each evidence pack lists the files that were read and a hash of each (a fingerprint of the file as we read it).
- You can check a pack yourself. Compute the hash of a listed file at the commit named in the pack and compare it with the pack. A file that differs, or a file in the pack that we have not described on this page, is a reason to ask us.
Where a run happens
- Self-run, in your own pipeline. It runs on your machines, with your token, under our licence. Nothing leaves your pipeline unless you send the pack to us.
- Run by us, in the Assurance Centre. It runs on our server in the EU (Hetzner). Results are kept for 30 days. Sharing a result with us is your choice, and the answer starts as No.
What a result is
A result is a snapshot of your pipeline files and settings at one commit, from a self-run or a run by us. It is not a certificate and not an audit opinion. If you want a person to review the pipelines and write down their findings, that is the Review by Gatemark Systems, a service delivered by a human.
Limits
- GitHub limits how many API requests can be made in an hour. When the limit is reached, the run says which repositories it could not check and why, and you can run them again later.
- A daily cap applies to credit spend.
- A quote is shown before any credits are spent.