Remove default password examples from VM reimage help - #30042
Merged
ZelinWang (wangzelin007) merged 1 commit intoAug 20, 2026
Conversation
Haider Agha (haagha)
requested review from
NoriZC,
Audrey Toney (audreyttt),
Ojo Okoka (ookoka),
Teresa Ritorto (teresaritorto) and
Julie Zhu (yanzhudd)
as code owners
August 19, 2026 21:21
Contributor
|
Azure Pipelines: Successfully started running 1 pipeline(s). There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Invoke-AzVMReimage reference help to remove explicit example “default password” literals, reducing false-positive secret scanning when the generated help is published externally (e.g., SharePoint).
Changes:
- Replaced the explicit password example denylist in
-AdminPasswordhelp with equivalent general guidance.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| <br> Has a digit | ||
| <br> Has a special character (Regex match [\\W_]) | ||
| <br><br> **Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\" | ||
| <br><br> **Disallowed values:** Common or easily guessed passwords aren't allowed. |
Member
|
/azp run |
Contributor
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
ZelinWang (wangzelin007)
approved these changes
Aug 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 PR Validation —⚠️ Review suggested
️✔️Az.Accounts
️✔️Az.EventHub
️✔️Az.Storage
Summary
Invoke-AzVMReimagehelp with equivalent guidanceValidation
maingit diff --checkpasses