IN-TOTO PREDICATE TYPE

Attestree endpoint snapshot, v1

The predicate of the signed in-toto statement in an endpoint evidence bundle: whose endpoint the rows describe, when they were read, how many rows each file holds, whether they carry user names, and which audit slice rides inside.

TYPE URI
https://attestree.com/attestation/endpoint-snapshot/v1
KIND
in-toto predicate type
USED AS
predicateType of the in-toto Statement v1 in attestation.intoto.jsonl, inside endpoint-evidence-{id}.tar.zst
SIGNED BY
The deployment’s catalog-attest key: ECDSA P-256 with SHA-256, in a DSSE envelope. The audit slice inside is signed by the instance key.
EMITTED SINCE
Platform 0.249.0
REPLACES
None. It is new.
PAGE UPDATED
2026-11-08

The bundle

Export evidence on the console’s endpoint page (or POST /api/v1/fleet/endpoints/{endpointId}/export-evidence, behind a typed confirmation) writes endpoint-evidence-{id}.tar.zst: everything the endpoint page shows, read at one instant and never cut to what the page renders. In tar order:

FileWhat it holds
facts.jsonThe page’s fact strip, one row: hostname, FQDN, OU, OS name and build, the ring the agent reports and the ring it is served by, agent version, last sync, offline, fence state and winget health. The owner’s UPN only when user names are included.
installed-packages.jsonMachine-wide installs: manager, package id, name, version, scope, catalog match (match, drift or foreign), the installer digest the install span signed, the span that installed it, when it was installed or first seen, and when it was last observed.
installed-packages.csvThe same rows: RFC 4180, UTF-8, CRLF line ends, one header line.
per-user-software.jsonInstalls in a user’s profile, scope=user. held marks a row the agent re-posted as last known, not read this cycle. A row carries userName only when user names are included.
per-user-software.csvThe same rows as CSV, with a user_name column only when user names are included.
app-in-use.jsonThe packages that remind or close on this endpoint: the configured and effective mode, whether the agent reads modes, whether the endpoint is unattended, and the close timings in effect and where they come from.
device-security.jsonThe endpoint’s live session tokens (public ids, no secret material) and its span keys with their state and protection, plus spanKeyState and decommissionedAt.
attestation.intoto.jsonlThe DSSE envelope (payloadType application/vnd.in-toto+json) holding the statement this page specifies. Its keyid is the signing key’s SPKI SHA-256, lowercase hex.
keys.jsonThe deployment’s public keys: a convenience copy, never a trust anchor.
README.txtWhat the bundle is, its counts, and how to verify it.
audit-slice.tar.zstOnly when the endpoint has signed spans: every span the page’s projections cite, as a whole audit bundle (manifest schema v8 since platform 26.11.801, v7 from 26.11.700, v6 from 26.11.300, v5 before) whose signed endpoint selection names this endpoint and its event kinds. A slice of the audit trail, never a complete window: since 26.11.300 the agent’s per-user session records are left out and listed in withheld-spans.ndjson by span id, type, start and content digest, and since 26.11.700 by the UTC hour the record started instead of its exact start. Since 26.11.801 a session record left out because its agent key was marked compromised is listed by span id and event type only, without its key. Extracted, it verifies on its own, with wep-bundle-verify from 26.11.801 or later for a v8 slice.

Each JSON file is canonical (keys sorted, no whitespace) and names its export, tenant, endpoint, read time and user-name setting, its section, its rows and their rowCount, and in unavailable why a section could not be read, or null. A section that could not be read says so; it never reads as “no rows”.

The subjects

One per other file in the bundle, name being the file name and digest.sha256 its SHA-256: the seven section files, keys.json, README.txt and, when it is carried, audit-slice.tar.zst. Every file but the envelope is a subject, and every subject is a file.

The predicate

{
  "exportId": "{uuid}",
  "tenant": "{issuer claim the endpoint was exported from}",
  "generatedAt": "<RFC 3339: when the page's rows were read>",
  "endpointId": "{the machine id its spans name}",
  "hostname": "{the endpoint's hostname}",
  "userNames": "omitted" | "included",
  "files": [ { "name": "app-in-use.json", "rowCount": 2 }, … ],
  "slice": null | {
    "file": "audit-slice.tar.zst",
    "bundleId": "{uuid, as the slice's manifest names it}",
    "spanCount": 41,
    "selection": { …the slice's signed endpoint selection… }
  }
}

Every field is always present; slice is null when the endpoint has no signed span.

FieldMeaning
exportIdUUID of the export, as every file and the platform’s audit record name it.
tenantThe tenant whose endpoint was exported (its issuer claim).
generatedAtRFC 3339: when the page’s rows were read.
endpointIdThe endpoint’s id: the machine id its spans name.
hostnameThe endpoint’s hostname, as the page and the typed phrase name it.
userNamesomitted (the default) or included. included only when the exporter asked, holds the per-user export permission, stated a purpose (recorded on the platform’s audit trail, not in the bundle), and the tenant allows it. Without it, no file carries a user name or the owner’s UPN.
filesEach section file and the rows it holds, {name, rowCount}, sorted by name: a JSON file’s rows, or a CSV’s data lines.
slicenull, or the slice inside: its file, the bundleId and spanCount its manifest states, and its signed selection.

What the signature means

The deployment holding the catalog-attest key exported these rows, as its endpoint page read them, at generatedAt. The rows are what the endpoint’s agent reported and what the platform derived from it: the signature says the platform exported them unchanged, not that every report is true. The slice’s spans carry their own signatures, which the audit bundle inside checks.

In the CSV files, a value a spreadsheet would run as a formula (one starting with =, +, -, @, a tab or a carriage return) is prefixed with '. The JSON files carry every value unchanged.

How to verify

wep-bundle-verify catalog-bundle endpoint-evidence-{id}.tar.zst --key keys.json

With the console’s keys.json, one file anchors both keys: the statement’s catalog-attest key and the slice’s instance key. Or pin both fingerprints, from the console, in one list:

wep-bundle-verify catalog-bundle endpoint-evidence-{id}.tar.zst \
  --expected-fingerprint {catalog-attest sha256} --expected-fingerprint {audit sha256}

The verifier fails with:

  • 7 when the predicate lacks a field above, lists a section twice or not at all, or a file cannot be counted;
  • 13 when a subject is not the bytes the statement names, the bundle carries audit-slice.tar.zst without the predicate naming one (or the reverse), or the slice is not the one the predicate names: an endpoint selection of this endpoint, from the same tenant, with the signed bundle id, span count and selection;
  • 19 when a file does not hold the rows its signed rowCount states;
  • 28, since platform 26.11.1100, when a span in audit-slice.tar.zst starts outside the slice’s signed time extent. It is checked after 13, so a slice that is not the one the predicate names still fails with 13.

The key exits are the same as for every catalog bundle: 10 for a key you did not pin, 11 for a key the trust anchor does not hold, 12 for a revoked one, 15 with no trust anchor at all. On success it prints an Endpoint snapshot: line with each file’s count, and the slice’s lines under Audit slice:.

By hand: rebuild the DSSE PAE, verify the ECDSA P-256/SHA-256 signature with a key you trust from outside the bundle, then check every subject’s SHA-256 and count each file’s rows. keys.json is a convenience copy, never a trust anchor.