Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Seclib.CrossAccount.Topology

TrustPair — ⚪ definition

structure · source

A service × mechanism × direction triple — one row in the taxonomy. Go source: cross-account-v1.yaml check id.

structure TrustPair where

TrustEdge — ⚪ definition

structure · source

A directed trust edge between two accounts for a specific service. Go source: individual control YAML predicates.

structure TrustEdge where

Topology — ⚪ definition

structure · source

Cross-account trust topology: the graph of inter-account trust grants.

structure Topology where

Topology.hasEdge — ⚪ definition

def · source

Whether a direct trust edge exists between accounts for a service.

def Topology.hasEdge (t : Topology) (src dst : AccountId) (svc : Service) : Bool

Topology.servicesFrom — ⚪ definition

def · source

All services with edges from a given account.

def Topology.servicesFrom (t : Topology) (acct : AccountId) : List Service

Topology.targetsFor — ⚪ definition

def · source

All accounts a service grants access to from a given account.

def Topology.targetsFor (t : Topology) (acct : AccountId) (svc : Service) : List AccountId