Skip to content

Commit

Permalink
Added CodeQL Suppression Comment (#7504)
Browse files Browse the repository at this point in the history
This PR introduces a comment in the `serverUtils.js` file to suppress a
CodeQL finding related to certificate validation.
  • Loading branch information
Robbie-Microsoft authored Jan 14, 2025
1 parent bc9dd3e commit d03cccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/e2eTestUtils/jest-puppeteer-utils/serverUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async function isServerUp(port, timeout) {
host: "localhost",
port: port,
family: 4,
rejectUnauthorized: false,
rejectUnauthorized: false, // codeql[js/disabling-certificate-validation]: This line is necessary for first-party HTTPS samples using self-signed SSL certificates. It is safe to ignore this finding as it is only used in MSAL.js samples and never hits the production environment.
};

https
Expand Down

0 comments on commit d03cccc

Please sign in to comment.