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.Grant

GrantConditions — ⚪ definition

structure · source

Conditions that constrain a cross-account trust grant. Go source: CTL.IAM.TRUST.EXTERNALID.001, CTL.IAM.POLICY.CONDITION.ORGID.001.

structure GrantConditions where

TrustGrant — ⚪ definition

structure · source

A concrete trust grant with conditions. Go source: individual control YAML unsafe_predicate fields.

structure TrustGrant where

wildcardGrant — ⚪ definition

def · source

Target is wildcard (* or broad). Any principal from any account. Go source: CTL.IAM.TRUST.EXTERNAL.CLOUD.001, CTL.OPENSEARCH.POLICY.CROSSACCOUNT.WILDCARD.001.

def wildcardGrant (g : TrustGrant) : Bool

conditionedGrant — ⚪ definition

def · source

Grant has conditions that meaningfully constrain access. Go source: CTL.IAM.TRUST.EXTERNALID.001 + CTL.IAM.POLICY.CONDITION.ORGID.001.

def conditionedGrant (g : TrustGrant) : Bool

scopedGrant — ⚪ definition

def · source

Grant target is a specific account (not wildcard). Go source: non-wildcard principal patterns in control predicates.

def scopedGrant (g : TrustGrant) : Bool