REFERENCE

Your own apps

You build or buy Windows apps that no public catalog carries, and you want them tested and rolled out like everything else, from an upload or straight from CI.

UPDATED

Your own apps are the line-of-business tools you build and the installers vendors hand you privately: Windows apps no public catalog carries. Attestree takes them in under a package-id prefix you claim, tests each version in a sandbox (detonation) and attests it like any other, and rolls it out through your groups and rings. This page covers the whole path, from claiming the prefix to removing an old version. The console calls them in-house apps.

Claim a prefix

A prefix is the start of the package ids your apps use, such as Contoso. It covers Contoso itself and every id under Contoso., so Contoso.Tool but not ContosoX. Where two of your prefixes overlap, the longer one wins. A prefix is refused when a public winget-pkgs id equals it or sits under it, and also when the public index cannot be read to check: ids under your prefix then come only from your own ways in, never from the public winget catalog.

On Community Edition you claim prefixes in Settings › Catalog policy, in the Manifest sources section at the end of the page (since platform 26.10.3101); a dedicated instance has the same section on its admin settings. It takes the catalog.sources.manage permission, and no default policy grants it: claiming a prefix makes the platform read manifests and installers from a server you name, so it is a trust decision, like trusting a Chocolatey feed. Grant it to an admin on the Privilege grants page under Policy (/policy/grants). Until then the section is read-only. Every change is previewed, then saved with a typed confirmation and a reason.

Each prefix also says which addresses its source may use: public addresses only, or private ones too (the 10/8, 172.16/12, 192.168/16, 100.64/10 and fc00::/7 ranges). Loopback, link-local and cloud metadata addresses are always refused. A prefix can carry your own certificate authority for internal servers, trusted for that prefix’s private addresses only and never added to the platform’s trust store.

Where versions come from

A version reaches the catalog one of three ways, and its package page, chain of custody and evidence say which (since 26.11.100). Since 26.11.502 an uploaded version’s origin line also names who uploaded it: From a console upload by <account> on <date>. Your apps’ ids match in any letter casing, as winget compares them (since 26.11.700).

  • A repository source. A folder in winget-pkgs’ layout, or a winget REST source, read for that prefix alone. It signs in one of four ways: anonymously; with one secret in a request header you name; with a Microsoft Entra app registration and its client secret; or, for a folder on GitHub, with a GitHub token sent to GitHub only. A REST source and a folder on GitHub list their versions, so new versions are found automatically; any other folder needs a versions.json, or its versions are entered by hand.
  • An upload in the console (since 26.11.201), described below.
  • A CI pipeline you bind, which publishes with its own OIDC token (pipeline bindings in the console since 26.11.100), described below.

A prefix with no repository source is listed as Hosted by Attestree: it takes only uploads and pipeline publishes, and no update check looks for its new versions anywhere. The label means your own Attestree server holds the installers, not Attestree the company: the server you run on Community Edition, or your dedicated instance in your Azure subscription.

Upload an installer

Since platform 26.11.201 an admin adds a version from the catalog. The Ingest dialog offers two ways in: a winget-pkgs package, as before, or An in-house app, which opens the Add an in-house app version drawer.

  • Before a byte is sent, the drawer checks the id against the prefixes you claimed, and that the version has neither arrived already nor been removed from the catalog. A version the catalog already holds, by any way in and in any letter case, is refused with a message naming the existing row (since 26.11.502), and 1.0 and 1.0.0 count as the same version (since 26.11.700).
  • One installer per upload, for x64, x86 or arm64, from a file. The console takes no URL; a pipeline can name its installer by URL instead.
  • The size limit is the sandbox’s own installer budget, 4 GiB unless your deployment sets a lower one. A larger file is refused before it is sent.
  • The installer type is read from the bytes: MSI, MSIX, Inno Setup, Nullsoft, Burn or another EXE. A file Attestree cannot read as an installer, a zip for example, is kept, and its review says to discard it.

When the upload ends, the drawer says what was kept, with its size and SHA-256, the type it read, and what happens next.

Since 26.11.1600 a publisher can supply its own SBOM: in the console upload, through a pipeline push’s sbom input, or as <id>.sbom.cdx.json or <id>.sbom.spdx.json at a repository source. It is CycloneDX 1.5–1.7 or SPDX 2.2, 2.3 or 3.0 JSON of up to 32 MiB, and one that cannot be read refuses the upload, the push or the version.

The review

A version waits for an admin’s review when it is the app’s first, when its installer type differs from the last reviewed version’s, or, for a pipeline’s version, when its manifest sets different install fields. Any other version reuses the last review and goes straight on. Since 26.11.1500 a push can name switches in the request, and a request that changes switches waits for review. In the review, which lists the unused manifest keys, an admin can change a pushed version’s custom switches; a waiting pushed version is titled by its PackageName.

A version waiting for review has its own package page, which opens the review. With the decision queue on (the default since platform 26.11.1800), it also has a decision on Home that opens the same review (since 26.11.201). It names the pipeline and run that published the version, or the upload, sets the last review’s fields beside the new ones, and says why the version waits. The version’s Overview says how it installs, with the installer type, install scope and silent switches each naming where it came from.

  • Approve. An uploaded version goes to the sandbox at once. A pipeline’s version waits for admission: the update pipeline takes it to the sandbox on its next sweep, once your update grant covers the app.
  • The first version subscribes the app (since 26.11.502). Approving an app’s first version also subscribes the app, whether it was uploaded or pushed, and the review says so before you click: Approving also subscribes <id>. If the subscription is refused, because you may not subscribe, the emergency stop is on or the write fails, nothing is approved and the version keeps waiting, with the reason. Later versions never subscribe the app again, so an app you unsubscribed stays unsubscribed.
  • Refuse. Refusing asks for a reason. The version is not added to the catalog, and its pipeline reads your reason.

Since 26.11.300 an in-house version says where it stands on the catalog list and its package page, with a pill and a line that explains it: waiting for review, waiting for admission, superseded, not admitted, binding removed, source removed, manifest refused or installer not kept. An in-house app with no version in the catalog yet is listed above the catalog list. Since 26.11.700 a version that a check marked withdrawn, whichever way it came in, reads marked withdrawn, and its tombstone reads “Blocked · marked withdrawn”.

How they reach your endpoints

An in-house app is a winget package as far as your groups and rings are concerned: a group names its id, and the rings decide which attested version installs. Each version is detonated and gets an SBOM and a signed statement, and endpoints install it from the copy your server kept. It is served only to the endpoints it is assigned to.

  • Agent 0.252.0 or later. Endpoints install in-house apps since platform 26.11.201, on agent 0.252.0 or later. An endpoint with an older agent installs none; since 26.11.300 its endpoint page lists the in-house apps assigned to it, each with its version, and the endpoint gets them once its agent updates.
  • A fenced endpoint installs them from your attested feed, like everything else.
  • An unfenced endpoint gets a second winget source, attestree-apps, next to the public one. It answers your own apps and nothing else, and the agent installs your apps from it alone. It changes nothing else in winget’s settings, so the public source keeps resolving public apps as before.

Publish from CI

Bind a pipeline in the Manifest sources section with Bind a pipeline…: GitHub, GitHub Enterprise Server or Azure DevOps. A binding publishes one id, or every id under the prefix. Each job then signs in with the short-lived OIDC token its CI system issues for the run, so it stores no secret, and one token publishes one version. Publishing from CI has sample workflows, the publish status values and the refusals.

The tools are public, under the Apache-2.0 licence, at github.com/attestree/publish:

  • The GitHub Action, attestree/publish@v1.
  • The Azure Pipelines task, Attestree publish (AttestreePublish@1), on the Visual Studio Marketplace.
  • The attestree-publish command-line tool that both run, for Windows x64, Linux x64, Linux arm64 and macOS arm64, from that repository’s releases.

What the instance checks:

  • GitHub and GitHub Enterprise Server. The job needs id-token: write, and requests the audience the binding screen shows, attestree:<instance-id>. The instance accepts only the bound repository and its owner, the bound workflow file, and the ref: an exact branch, or a protected tag under a prefix you name. An Enterprise Server binding pins a branch, not a tag. A pull-request run cannot publish.
  • Azure DevOps. The job uses a workload-identity federation service connection, and the binding pins its issuer and subject. The token names no project and no branch, so to limit publishing to a branch, add a Branch control check on the service connection in Azure DevOps. Use a connection only for Attestree, with no Azure role assignments: Microsoft Entra ID accepts the same token for any app that trusts the connection.

The runner must reach your instance. On Community Edition the publish route can be added to the public listener that off-network agents use, from the same section; it is off by default, and the console stays off that listener either way. An instance with no inbound route can still take versions from CI: the Action can commit the version’s manifests to a GitHub repository of yours and attach the installers to a release there, and the instance reads that repository as a source.

With wait, the step waits until the version is attested or reaches another final state, and its exit code says which. A version that already exists with other content, for example a manifest that differs, is refused with a conflict rather than overwritten. The repository’s README lists the inputs and exit codes. The command-line tool and the API can also name an installer by URL with its SHA-256; the Action and the task take files.

Removing versions

  • Remove from catalog (since 26.11.100), in a version’s Actions menu, takes the same catalog.sources.manage permission and a typed confirmation. It is available once no endpoint runs the version and no ring, rollback, detonation or open update flight names it; otherwise it says what still does, counting and naming what holds it (since 26.11.502). The kept installer is freed once the cleanup grace has passed, so the drawer gives an approximate figure for the space it frees, counted within your tenant.
  • Automatic retention is off by default. Turned on, it keeps each app’s newest attested versions, five unless you choose otherwise and never fewer than two, and once a day removes an older version that nothing has used for 30 days. The panel previews what the next run would remove. It never removes a halted or stalled version, or a version from a pipeline whose binding has since been removed or changed, and after a binding change it removes nothing of that app for 30 days, so a suspected compromise keeps both the bad build and the last good one.

Where this stops

  • The agent floor. Endpoints below agent 0.252.0 install no in-house app.
  • Sources and sign-ins. A folder or a winget REST source, signing in anonymously, with a header secret, with an Entra app secret or with a GitHub token. No client certificates, no basic auth.
  • The console uploads files. A version by URL comes from a pipeline, the command-line tool or the API.
  • Pipelines sign in with OIDC only. A CI system that cannot issue an OIDC token cannot publish to the instance directly. A GitHub Enterprise Server binding is checked against the token shape GitHub documents, not yet against a real Enterprise Server.
  • No sandbox, no attestation. Without a detonation host nothing is attested, and an in-house version is served on the same terms as any other app: on Community Edition only once you accept it with an unverified-installer acceptance, which for an in-house app is bound to its way in.