Conversation
️✔️AzureCLI-FullTest
|
|
Hi @evelyn-ys, |
️✔️AzureCLI-BreakingChangeTest
|
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
|
The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR. Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
There was a problem hiding this comment.
Pull Request Overview
This PR replaces real shared keys in Container App test recording files with a fake placeholder to satisfy credential scanning checks.
- Manually updates
sharedKeyvalues to"testFakeSharedKey=="in multiple recording YAMLs - Ensures
azdev scanand the Credential Scanner no longer flag these tests - No functional logic changes; purely test data sanitization
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/azure-cli/azure/cli/command_modules/containerapp/tests/latest/recordings/test_containerapp_env_mtls.yaml | sharedKey replaced with fake value |
| src/azure-cli/azure/cli/command_modules/containerapp/tests/latest/recordings/test_containerapp_env_e2e.yaml | sharedKey replaced with fake value |
| src/azure-cli/azure/cli/command_modules/containerapp/tests/latest/recordings/test_containerapp_create_with_environment_id.yaml | sharedKey replaced with fake value (twice) |
| src/azure-cli/azure/cli/command_modules/containerapp/tests/latest/recordings/test_container_app_mount_azurefile_e2e.yaml | sharedKey replaced with fake value |
Related command
Description
The shared keys in container app test recording files (generated by #31449) were not detected by
azdev scanbecause it locates in low confidence level rules. However, they are scanned byCredential Scanner. This PR manually replces the shared keys in the test recordings with fake values though the test resources have been deleted and the logged shared keys are no longer validTesting Guide
History Notes
[Component Name 1] BREAKING CHANGE:
az command a: Make some customer-facing breaking change[Component Name 2]
az command b: Add some customer-facing featureThis checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.