Seclib.CrossAccount.Invariants
noWildcardTrust — ⚪ definition
def · source
No wildcard trust grant exists for a service. Go source: CTL..POLICY.CROSSACCOUNT.WILDCARD., CTL.IAM.TRUST.EXTERNAL.CLOUD.001. Topology-level: no edge from any account grants access to * for the service.
def noWildcardTrust (t : Topology) (svc : Service) : Prop
orgBounded — ⚪ definition
def · source
All trust grants for a service stay within an org boundary. Go source: CTL.IAM.TRUST.ORGBOUNDARY.001, CTL.IAM.POLICY.CONDITION.ORGID.001. Simplified: all target accounts share a prefix with the source.
def orgBounded (t : Topology) (orgPrefix : String) : Prop
externalIdEnforced — ⚪ definition
def · source
Every cross-account AssumeRole trust policy requires ExternalId. Go source: CTL.IAM.TRUST.EXTERNALID.001, CTL.IAM.TRUST.EXTERNALID.SCOPED.001.
def externalIdEnforced (grants : List TrustGrant) : Prop
noExfiltration — ⚪ definition
def · source
No outbound-flow grant exists for a service (no data exfiltration path). Go source: CTL.EC2.EBS.CROSSACCOUNT.SNAPSHOT.* (attribute-share outbound controls).
def noExfiltration (t : Topology) (svc : Service) : Prop