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
| Name | Type | JSON name | Description |
|---|---|---|---|
Boundary | string? | boundary | The data boundary the receipt attests, for example EU: the one the organisation requires, else the home location's. |
DescribedResources | List<string>? | describedResources | One descriptor a resource, sorted: its name, location and data boundary, then its placement framed and encoded. |
DriftFindingId | string? | driftFindingId | The ID of the project's security finding that carries the violation (`residency-drift`), present only when the verdict is `VIOLATION`. It is signed too. |
IssuedAt | DateTimeOffset? | issuedAt | When the receipt was signed. |
JwsCompact | string? | jwsCompact | The compact ES256 JWS (typ residency-receipt+jwt, the key ID in its protected header) whose payload is the receipt. |
KeyId | string? | keyId | The key that signed it, receipts-{location}:v{n}; a verifier finds it in the key set it pinned. |
OrgUid | string? | orgUid | The project's organisation. |
ProjectUid | string? | projectUid | The project the receipt is about. |
ReceiptId | string? | receiptId | The receipt's ID, rrcpt- and 32 hexadecimal digits (128 random bits). |
Verdict | Models.Residency.ResidencyVerdict? | verdict | The 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. |