Skip to main content

Built-in variables

Every scan starts with a set of built-in variables. They describe the target and its workspace and are available in any step's prompt - no setup required.

The built-ins

VariableWhat it holds
repo_fullThe target repository, e.g. owner/repo (or its URL).
commit_shaThe commit the scan is pinned to.
repo_scopeYour free-text description of what to focus on.
dependenciesThe dependency repos checked out alongside the target.
configurationThe JSON configuration object you set on the scan.
workspace_rootAbsolute path to the checked-out repository root.
workspace_layoutThe dependency-expanded directory tree of the workspace.
workspace_manifest_jsonA JSON manifest of every repo in the workspace and its commit.

Using them

Reference any built-in like any other variable:

Analyze {{repo_full}} at commit {{commit_sha}}.
Focus on: {{repo_scope}}.
Declared dependencies: {{dependencies}}.

Beyond the built-ins, downstream steps also see every key emitted by earlier depths, plus your own extra values.