GraphQueryScope
Bounds anchor selection to a subset of the organization. Scope restricts only where anchors are selected, never where traversal may reach.
Properties
accountsarray[string] optionalInsights account names to select anchors from. Naming an account also selects every account beneath it in the ‘/’-separated hierarchy. Omitted means all accounts visible to the caller.stacksarray[string] optionalStack selectors in ‘project/stack’ form. The stack segment may be the literal ‘*’ to select every stack in the project. Never org-qualified: a query already runs inside one organization, so the ‘org/project/stack’ form used elsewhere in the API — and reported as a stack node’s id — is rejected here with a 400. Omitted means all stacks visible to the caller.- Delivery stages to select anchors from. Each resolves to the stacks the stage deployed in the run it last converged with, and the union is applied as if listed in ‘stacks’; combined with ‘stacks’, the two intersect. Available only in organizations with Delivery. Omitted means no stage bound.
- ↳
pipelinestring requiredThe pipeline stack, in ‘project/stack’ form, never org-qualified. - ↳
stagestring requiredThe stage name, compared case-sensitively. includeDiscoveredboolean optionalWhether discovered (non-IaC) resources are included in anchor selection. Defaults to true.