Softanza
StartFrançais
Softanza
The library documents itself · Security & governance

stzSecurityLedger

36 own methods · 0 forms written with extensions, listed under their method

the source: base/security/stzSecurityLedger.ring(opens in a new tab) · All classes · The area reference: Security & governance

Under each method, its extensions (Q CS XT Z ZZ IB W U): bold and ticked, it exists; struck, it does not. The extensions and what they mean

No method of this class is run on this page: the class reaches files, the network, processes, the clock, chance or sound, and an example run here would only be an example of its effects. Each method carries the explanation the library gives of itself.

Method
Explanation, as the source carries it
init
(no comment in the source: the name reads as a sentence) initno extension
Handle
(no comment in the source: the name reads as a sentence) handleno extension
AdoptHandle
Bind this face to a ledger owned elsewhere (the process ledger). Destroy() will not free an adopted handle -- the owner does.no extension
Capacity
The engine's own answer -- a face bound to the process ledger (AdoptHandle) never knew the capacity it was created with.no extension
Record
recording --------------------------------------------------- Append an stzSecurityEvent. The engine chains it; nothing about the digest is under the caller's control.no extension
AppendCanonical
Append a canonical line directly -- the acquisition path (I8), used when rebuilding a ledger from verified evidence. The chain is recomputed here; it does not carry the original file's.no extension
PersistTo
Call it BEFORE recording. Returns [ :ok, :verified, :brokenAt, :why ]; a broken stored history is REFUSED (:ok = 0) and nothing is attached.no extension
IsDurable
(no comment in the source: the name reads as a sentence) is durableno extension
VerifyDurable
Verify the WHOLE stored history from genesis -- where Verify() can only speak for the retained window. [ :intact, :brokenAt, :message ]no extension
Count
Events ever recorded (keeps counting past capacity).no extension
Size
Events still retained in the window.no extension
At
reading ----------------------------------------------------- The record at 1-based position i (oldest retained first), in the I0 field shape plus its chain digest.no extension
All
(no comment in the source: the name reads as a sentence) allno extension
Recent
(no comment in the source: the name reads as a sentence) recentno extension
OfActor
the analyst's pivotsno extension
OfSubject
(no comment in the source: the name reads as a sentence) of subjectno extension
OfKind
(no comment in the source: the name reads as a sentence) of kindno extension
OfTrace
(no comment in the source: the name reads as a sentence) of traceno extension
OfOutcome
(no comment in the source: the name reads as a sentence) of outcomeno extension
OfSeverity
(no comment in the source: the name reads as a sentence) of severityno extension
OfOrigin
(no comment in the source: the name reads as a sentence) of originno extension
Refusals
Everything that was not granted -- the signal to watch. Refused and failed -- NOT "everything that is not granted". The negative form was here too, and it was wrong the moment the OBSERVED outcome arrived (I2's session seams): an expired session would have been counted as a refusal by this pivot, in a system whose whole point is that a warning must mean something. Kept in step with stzSecurityEvent.IsRefusal(), deliberately as one positive list.no extension
Since
(no comment in the source: the name reads as a sentence) sinceno extension
Between
(no comment in the source: the name reads as a sentence) betweenno extension
Digest
the chain --------------------------------------------------- The head digest: one string that commits to the ENTIRE history ever recorded (including evicted entries).no extension
DigestAt
(no comment in the source: the name reads as a sentence) digest atno extension
Verify
[ :intact, :brokenAt, :message ] -- brokenAt is the 1-based index of the first entry whose stored digest disagrees with a recomputation, 0 when the retained window is consistent.no extension
SealAttestedTo
sealing (evidence leaves the process) ----------------------- Write the retained window as a verifiable file: one "<digest>TAB<canonical>" line per entry, a header carrying the count and an HMAC seal over (head digest | count). Re-check it with StzVerifySealedLedger(path, key) -- editing any line breaks the chain; editing the seal without the key is not possible. As SealTo, plus WHO attested and WHEN -- the custody header that turns a sealed file into an attested one (I7). Unknown "#" lines are ignored by verifiers, so the format stayed compatible.no extension
SealTo
(no comment in the source: the name reads as a sentence) seal tono extension
ToOcsfNdJson
OCSF, newline-delimited: what a collector ingests as a stream.no extension
ToOcsfJson
OCSF as one JSON array (the batch form).no extension
ToOtelLogsJson
The OTLP logs envelope -- the same shape stzLog ships (perf P9), so security events and log lines arrive at one collector looking like what they are: records of the same run, sharing trace ids.no extension
Explain
legibilityno extension
Show
(no comment in the source: the name reads as a sentence) showno extension
Reset
(no comment in the source: the name reads as a sentence) resetno extension
Destroy
(no comment in the source: the name reads as a sentence) destroyno extension