-
Notifications
You must be signed in to change notification settings - Fork 312
Suppress spurious CodeQL warning related to DefaultAzureCredential #3503
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
Conversation
- Suppressed use of DefaultAzureCredential.
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 suppresses a CodeQL security warning related to the use of DefaultAzureCredential in the ActiveDirectoryAuthenticationProvider class. The change adds a comment explaining that this is library code and applications are responsible for using more secure credential options.
- Adds a CodeQL suppression comment with justification for DefaultAzureCredential usage
- Clarifies that the library provides a default implementation while applications should use more secure alternatives
...crosoft.Data.SqlClient/src/Microsoft/Data/SqlClient/ActiveDirectoryAuthenticationProvider.cs
Outdated
Show resolved
Hide resolved
...crosoft.Data.SqlClient/src/Microsoft/Data/SqlClient/ActiveDirectoryAuthenticationProvider.cs
Outdated
Show resolved
Hide resolved
...crosoft.Data.SqlClient/src/Microsoft/Data/SqlClient/ActiveDirectoryAuthenticationProvider.cs
Outdated
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3503 +/- ##
==========================================
+ Coverage 64.78% 69.82% +5.04%
==========================================
Files 276 276
Lines 62192 62192
==========================================
+ Hits 40289 43424 +3135
+ Misses 21903 18768 -3135
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
- Suppressed use of DefaultAzureCredential.
Suppressed CodeQL warning related to our use of DefaultAzureCredential.