Documentation
¶
Overview ¶
Command ufm-fixture-tool redacts a workflow data dump for use as a deterministic test fixture. UUIDs, emails, and sensitive metadata (including stable org-scoped URLs) are replaced with placeholders.
Usage:
# Step 1 — dump workflow data to disk via built-in env vars: SNYK_TMP_PATH=./dump INTERNAL_IN_MEMORY_THRESHOLD_BYTES=1 INTERNAL_CLEANUP_GLOBAL_TEMP_DIR_ENABLED=false \ snyk secrets test . --report --org=my-org # Step 2 — redact the dump into a fixture: go run ./cmd/ufm-fixture-tool --input=./dump/workflow.TestResult.12345 --output=my_fixture.testresult.json
Directories
¶
| Path | Synopsis |
|---|---|
|
Package redact normalises a raw UFM test-result JSON dump into a deterministic fixture by replacing UUIDs, emails, and Snyk org slugs inside URLs with stable placeholders.
|
Package redact normalises a raw UFM test-result JSON dump into a deterministic fixture by replacing UUIDs, emails, and Snyk org slugs inside URLs with stable placeholders. |
Click to show internal directories.
Click to hide internal directories.