Commit 25270b1
authored
CodeQL Suppression for DefaultAzureCredential usage (#3233)
## Why make this change?
- Closes on #3232
- This PR addresses a CodeQL false positive regarding
- the usage of `DefaultAzureCredential()`
- Reference documentation:
-
https://eng.ms/docs/cloud-ai-platform/devdiv/one-engineering-system-1es/1es-docs/codeql/codeql-semmle
- [CodeQL suppression
syntax](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#suppressing-or-resolving-alerts)
- [DefaultAzureCredential
documentation](https://learn.microsoft.com/en-us/dotnet/api/azure.identity.defaultazurecredential)
-
https://liquid.microsoft.com/Web/Object/Read/Campaign.Requirements/Requirements/SSIRP.floss
## What is this change?
- Suppresses the CodeQL warnings:
- Adds a suppression rule to the relevant file
- No logic or runtime code is changed; this is a configuration only
update to streamline code analysis.
## How was this tested?
- [x] Integration Tests
- [x] Unit Tests
The change will be validated by running the full test suite and
triggering a CodeQL analysis to confirm the warning is suppressed and no
new issues are introduced as part of a next build.
## Sample Request(s)
- NA1 parent 80a7f7d commit 25270b1
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
521 | 521 | | |
522 | 522 | | |
523 | 523 | | |
524 | | - | |
| 524 | + | |
525 | 525 | | |
526 | 526 | | |
527 | 527 | | |
| |||
0 commit comments