-
Notifications
You must be signed in to change notification settings - Fork 299
Suppress SM05137 in deserialization variable replacement settings #3004
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suppress SM05137 in deserialization variable replacement settings #3004
Conversation
|
/azp run |
|
Azure Pipelines successfully started running 6 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds a CodeQL suppression comment to silence the SM05137 warning for the use of DefaultAzureCredential() in the Azure Key Vault secret client initialization. The suppression is consistent with similar suppressions already present throughout the codebase.
Key Changes:
- Added inline CodeQL suppression comment for SM05137 rule with appropriate rationale
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
souvikghosh04
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
/azp run |
|
Azure Pipelines successfully started running 6 pipeline(s). |
RubenCerna2079
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
) ## Why make this change? This change cherry picks the commits associated with the updating of how we do variable replacement during deserialization, adding AKV to those variables that we look for. It further includes the commits for refactoring the MCP project so that the tools have their common code shared in utility functions, and have their responses aligned. ## What is this change? Cherry picked PRs: #### Azure Key Vault Support: * #2882 * #2957 * #3004 #### MCP Refactoring: * #2986 * #2984 ## How was this tested? The PRs in question were tested against the regular test suite and had tests added to cover new code changes, as well as being manually tested e.g. mcp inspector tool. ## Sample Request(s) N/A --------- Co-authored-by: Copilot <[email protected]> Co-authored-by: Aniruddh Munde <[email protected]> Co-authored-by: Souvik Ghosh <[email protected]>
Why make this change?
Silences CodeQL flag.
What is this change?
Adds the suppression language to the usage of
DefaultAzureCredential()How was this tested?
Against usual test suite, no real code change, just a comment.
Sample Request(s)
N/A