Skip to content

Add --redact-file for shared response masks#316

Open
jongio wants to merge 1 commit into
mainfrom
idea/redact-file
Open

Add --redact-file for shared response masks#316
jongio wants to merge 1 commit into
mainfrom
idea/redact-file

Conversation

@jongio

@jongio jongio commented Jul 20, 2026

Copy link
Copy Markdown
Owner

Closes #313

Adds --redact-file to read one JSON redaction path per line, with blank line and comment support. File paths are merged before inline --redact paths, and missing or malformed files fail before the request runs.

Validation:

  • go test -short ./src/internal/service ./src/internal/cmd
  • mage test build
  • golangci-lint run --timeout=5m --new-from-rev=origin/main

Note: mage preflight currently fails on unchanged baseline lint issues in cli/src/internal/service/format_table.go, cli/src/internal/service/repeat.go, and cli/src/internal/cmd/mcp.go.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@jongio jongio added the idea Feature idea from the idea pipeline label Jul 20, 2026
@jongio jongio self-assigned this Jul 20, 2026
github-actions Bot added a commit that referenced this pull request Jul 20, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Website Preview

Your PR preview is ready!

📎 Preview URL: https://jongio.github.io/azd-rest/pr/316/

This preview will be automatically cleaned up when the PR is closed.

@github-actions

Copy link
Copy Markdown
Contributor

🚀 Test This PR

A preview build (0.5.0-pr316) is ready for testing!

One-Line Install (Recommended)

PowerShell (Windows):

iex "& { $(irm https://raw.githubusercontent.com/jongio/azd-rest/main/scripts/install-pr.ps1) } -PrNumber 316 -Version 0.5.0-pr316"

Bash (macOS/Linux):

curl -fsSL https://raw.githubusercontent.com/jongio/azd-rest/main/scripts/install-pr.sh | bash -s 316 0.5.0-pr316

Uninstall

PowerShell (Windows):

iex "& { $(irm https://raw.githubusercontent.com/jongio/azd-rest/main/scripts/uninstall-pr.ps1) } -PrNumber 316"

Bash (macOS/Linux):

curl -fsSL https://raw.githubusercontent.com/jongio/azd-rest/main/scripts/uninstall-pr.sh | bash -s 316

Build Info:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

idea Feature idea from the idea pipeline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add --redact-file for shared response masks

1 participant