busbar-actions/Busbar — sf-cli

Run a declarative Salesforce CLI action inside a managed nono capability sandbox with a version-pinned sf install and a full audit trail.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
actionThe declarative action as an SfAction JSON document (e.g. {"action":"data_query","target_org":"my-org","soql":"SELECT Id FROM Account"}).yes
target-instanceInstance URL of the Busbar-equipped Salesforce org to mint a session against via GitHub OIDC (no trailing slash). REQUIRED for the default OIDC auth path; the job must grant `permissions: id-token: write`.no""
eca-client-idConsumer key of the External Client App in the Busbar-equipped org (non-secret). Defaults to the baked public key when empty.no""
token-handlerApex token-exchange handler dev name. Defaults to `GitHubTokenExchangeHandler` when empty.no""
oidc-audienceOIDC token audience. Defaults to `target-instance` when empty.no""
sf-cli-versionnpm version spec for `@salesforce/cli` to install (e.g. `2.69.6`, or `latest`). Pin an exact version for reproducibility.nolatest
working-dirWorking directory for the `sf` invocation.no""
outputPath to write the structured `sf` result JSON (in addition to stdout).no""
audit-outPath to write the JSON audit log for this run.no.busbar/logs/sandbox-audit.json
artifact-nameName for the uploaded sandbox audit + generalized-fingerprint artifact. Must be UNIQUE within a workflow run (set a distinct value per sf-cli step).nobusbar-sandbox-sf
versionRelease tag of the sf-cli binary. Falls back to env.BUSBAR_ACTION_VERSION, then "latest".no""
binary-repoGitHub repo hosting prebuilt binary releases. Falls back to env.BUSBAR_ACTION_REPO, then busbar-actions/actions-dist.no""
namedescription
success"true" when the action executed successfully.
duration-msWall-clock duration of the sf invocation in milliseconds.
risk-levelInherent risk level of the action (low | medium | high | critical).
sandbox-enforced"true" when kernel-enforced confinement was applied.
audit-pathPath to the JSON audit log written for this run.
result-pathPath to the structured sf result JSON (only when `output` was set).
sf-cli-pathPath to the managed sf binary installed for this run.
sf-cli-prefixPrefix directory containing the managed sf install.
sf-cli-versionVersion of @salesforce/cli that was installed.