Skip to content

{ACR} Redact refresh token from expose-token test recording - #34114

Merged
Julie Zhu (yanzhudd) merged 1 commit into
Azure:devfrom
lizMSFT:zoeyli/acr/fix_credential_scanner
Sep 23, 2026
Merged

Julie Zhu (yanzhudd) merged 1 commit into
Azure:devfrom
lizMSFT:zoeyli/acr/fix_credential_scanner

Conversation

@lizMSFT

@lizMSFT Zoey Li (lizMSFT) commented Sep 22, 2026

Copy link
Copy Markdown
Member

🤖 PR Validation — ️✔️ All clear

Breaking Changes Tests
️✔️ None ️✔️ 130/130

Description

Redacts the ACR refresh token accidentally captured in the test_acr_login_expose_token recording introduced by #34053.

Testing Guide

This is a recording-only change. The exposed value is replaced with the standard *** secret placeholder.

History Notes

No customer-facing behavior change.


This checklist is used to make sure that common guidelines for a pull request are followed.

Copilot AI lite review requested due to automatic review settings September 22, 2026 16:27
@lizMSFT
Zoey Li (lizMSFT) requested a review from a team as a code owner September 22, 2026 16:27
@azure-client-tools-bot-prd

Copy link
Copy Markdown

Hi Zoey Li (@lizMSFT),
Since the current milestone time is less than 7 days, this pr will be reviewed in the next milestone.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The recording-only secret redaction is complete with no unresolved issues.

Review effort: Lite
Findings: None

What changed in this PR

Redacts an accidentally captured ACR refresh token from a test recording without changing CLI behavior.

Changes:

  • Replaces the exposed token with ***.
File Description
src/​azure-cli/​azure/​cli/​command_modules/​acr/​tests/​latest/​recordings/​test_acr_login_expose_token.yaml Redacts the refresh token response.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).

@yanzhudd
Julie Zhu (yanzhudd) merged commit 6cd3827 into Azure:dev Sep 23, 2026
52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants