SDK reference / Models / Residency

ResidencyReport

Kind: class

Namespace: Egulu.Sdk.Models.Residency

A signed residency receipt (W68; ADR-1204): it attests the data boundary of the resources it describes, which are the project's resources theglobal resource index lists as live when the receipt is issued, in every cell. A resource the index has not yet heard of (made moments before,or of a service that writes no resource events) is not described, and the receipt says nothing about it.

Properties

NameTypeJSON nameDescription
Boundarystring?boundaryThe data boundary the receipt attests, for example EU: the one the organisation requires, else the home location's.
DescribedResourcesList<string>?describedResourcesOne descriptor a resource, sorted: its name, location and data boundary, then its placement framed and encoded.
DriftFindingIdstring?driftFindingIdThe ID of the project's security finding that carries the violation (`residency-drift`), present only when the verdict is `VIOLATION`. It is signed too.
IssuedAtDateTimeOffset?issuedAtWhen the receipt was signed.
JwsCompactstring?jwsCompactThe compact ES256 JWS (typ residency-receipt+jwt, the key ID in its protected header) whose payload is the receipt.
KeyIdstring?keyIdThe key that signed it, receipts-{location}:v{n}; a verifier finds it in the key set it pinned.
OrgUidstring?orgUidThe project's organisation.
ProjectUidstring?projectUidThe project the receipt is about.
ReceiptIdstring?receiptIdThe receipt's ID, rrcpt- and 32 hexadecimal digits (128 random bits).
VerdictModels.Residency.ResidencyVerdict?verdictThe drift check's verdict when the receipt was issued. It is in the signed payload, so `egulu receipts verify` prints what was signed. A `VIOLATION` receipt is still issued and signed: it says the platform's own stores contradict it.