[release/v7.4] Add CodeQL scanning to APIScan build#24800
Merged
TravisEz13 merged 1 commit intorelease/v7.4from Jan 16, 2025
Merged
[release/v7.4] Add CodeQL scanning to APIScan build#24800TravisEz13 merged 1 commit intorelease/v7.4from
TravisEz13 merged 1 commit intorelease/v7.4from
Conversation
* Enable CodeQL in the APIScan build * fix indentation * fix build name * Manually add CodeQL * enable TSA directly in codeql * update codeql source code directory * go back to version 0 * switch to variable to configure source code root * Update .pipelines/apiscan-gen-notice.yml
Member
Author
|
/azp run PowerShell-CI-macos, PowerShell-CI-Linux, PowerShell-CI-Windows, PowerShell-CI-static-analysis, PSResourceGet ACR, PowerShell-Windows-Packaging-CI |
|
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
Contributor
|
📣 Hey @TravisEz13, how did we do? We would love to hear your feedback with the link below! 🗣️ 🔗 https://aka.ms/PSRepoFeedback |
21 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport #24303
This pull request introduces several changes to the pipeline configuration files to enable and configure CodeQL scanning based on certain conditions. The main updates include adding parameters and variables to control CodeQL settings and integrating CodeQL tasks into the pipeline jobs.
Key changes include:
Enhancements to pipeline configuration:
.pipelines/apiscan-gen-notice.yml: Added aFORCE_CODEQLparameter and associated variables to control CodeQL scanning and its cadence. Updated theextends:section to conditionally enable CodeQL based on the new variables. [1] [2] [3]Integration of CodeQL tasks:
.pipelines/templates/compliance/apiscan.yml: AddedCodeql.SourceRootvariable and integratedCodeQL3000InitandCodeQL3000Finalizetasks to the job steps, conditioned on theCODEQL_ENABLEDvariable. [1] [2] [3]