busbar-actions/Busbar Anonymize & Extract

Extract data from a source Salesforce org, anonymize it, and load it into a target sandbox

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 7, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: busbar-actions/sf-anonymize-extract@d2e57baee5b581eaddc21f0c0756bde0cefcdcd8 # no releases — HEAD as of 2026-07-11

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
source-instanceInstance URL of the SOURCE org (a Salesforce org with Busbar installed and trust established), e.g. https://yourdomain.my.salesforce.com. Mapped to SF_SOURCE_INSTANCE_URL; the source session self-mints its own short-lived token via GitHub OIDC, bound to this org. Requires the caller job to grant `permissions: id-token: write`. no""
target-instanceInstance URL of the TARGET org (a Salesforce org with Busbar installed and trust established). Mapped to SF_TARGET_INSTANCE_URL; the target session self-mints in-process via GitHub OIDC, bound to this org. Required unless dry-run=true. no""
config-filePipeline config (YAML): extraction mapping, anonymization rules, load settings.yes
dry-runExtract and anonymize but do NOT load into the target org.nofalse
snapshotSnapshot the target objects before load so the run can be rolled back.notrue
rollback-on-failureIf the load partially fails, surface the backup-id for MANUAL rollback (v1: no automated in-place restore).notrue
validate-residual-piiRun the PII validator on the anonymized data BEFORE loading. Aborts the load if the threshold is breached.notrue
residual-pii-fail-onAbort load if anonymized data still contains PII at or above this severity. Same scale as pii-scan.nohigh
output-dirWhere extracted data, anonymized data, and the run report are written.no.busbar/pipeline-runs
upload-artifactUpload the run report (NOT the data) as a workflow artifact.notrue
artifact-nameArtifact name when upload-artifact=true.nopipeline-run
upload-dataAlso upload the extracted+anonymized data as an artifact. Off by default — anonymized data can still be sensitive.nofalse
versionRelease tag of the sf-anonymize-extract 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
statusOne of: success, dry-run, residual-pii-blocked, failed.
operation-idPipeline operation ID.
backup-idSnapshot/backup ID for MANUAL rollback (empty if no snapshot taken).
records-extractedRecords extracted from the source org.
records-loadedRecords successfully loaded into the target org.
records-failedRecords that failed to load.
residual-pii-countPII findings remaining in the anonymized data at or above residual-pii-fail-on.
report-pathPath to the run report JSON.